Permission Deneid: Driving me crazy!

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

User avatar
TheWitness
Developer
Posts: 17004
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

It's almost as if your web server account does not have access to the rrdtool binary. Is you web site chroot'd?

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
mshook
Posts: 46
Joined: Mon May 02, 2005 3:33 pm
Location: New York, NY

Re: some messages

Post by mshook »

yanhannet wrote:sh: /usr/local/rrdtool/bin/rrdtool: Permission denied

how can i do then ?????????????????
You just said rrdtool is under /var/www/rrdtool/bin not /usr/local/rrdtool/bin. Check Cacti settings...

[Edit]My bad, looks like you changed the path[/Edit]
User avatar
TheWitness
Developer
Posts: 17004
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Awful confusing isn't it...

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
mshook
Posts: 46
Joined: Mon May 02, 2005 3:33 pm
Location: New York, NY

Post by mshook »

TheWitness wrote:Awful confusing isn't it...
Indeed... :-D
yanhannet
Posts: 16
Joined: Mon Jun 20, 2005 9:45 pm

Post by yanhannet »

so sorry ,i have reinstalled my os and rrd. so the path is not same ..
mbrashear
Posts: 4
Joined: Fri Jan 20, 2006 2:02 pm

SELinux

Post by mbrashear »

Can you tell me the contents of your /etc/sysconfig/selinux file?

I am wondering if maybe selinux is stopping you from running the binary.

Marc
User avatar
dust2k
Cacti User
Posts: 101
Joined: Sun Dec 04, 2005 3:14 am

Post by dust2k »

I am pretty sure that's SELINUX's problem, the target policy he was using to create all those permission problem, better modify the policy or turn it off.
runlikeanantelope
Cacti User
Posts: 63
Joined: Thu Feb 15, 2007 12:08 pm

Post by runlikeanantelope »

I'm having a similar issue, did you ever resolve it. Here are some of the items asked for in this post:

[root@mikeclx log]# ls -al /usr/local/bin/rrdtool
-rwxr-xr-x 1 root root 4909 Mar 8 10:11 /usr/local/bin/rrdtool
[root@mikeclx log]# file /usr/local/bin/rrdtool
/usr/local/bin/rrdtool: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.5, dynamically linked (uses shared libs), not stripped
[root@mikeclx log]# more /etc/sysconfig/selinux
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - SELinux is fully disabled.
SELINUX=enforcing
# SELINUXTYPE= type of policy in use. Possible values are:
# targeted - Only targeted network daemons are protected.
# strict - Full SELinux protection.
SELINUXTYPE=targeted
runlikeanantelope
Cacti User
Posts: 63
Joined: Thu Feb 15, 2007 12:08 pm

Post by runlikeanantelope »

Bump - did you ever resolve this issue?
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests