cacti 0.67 upgrade

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
thecheater

cacti 0.67 upgrade

Post by thecheater »

After doing the upgrade, did also the other upgrades and everything went fine, i get some errors.
After starting the new cacti, he tells me /usr/bin/rrdtool, snmpget, snmpwalk and php not found(errorcode=13, permission denied)
What went wrong and what to do now??

Thanx thecheater
raX
Lead Developer
Posts: 2243
Joined: Sat Oct 13, 2001 7:00 pm
Location: Carlisle, PA
Contact:

Post by raX »

I assume that cacti was reporting that it cannot find those files when you were in the upgrade screen. Do the paths /usr/bin/rrdtool, etc exist? Are you getting graphs? Double check your paths with the paths found in the "cacti Settings" section to make sure they are correct.

-Ian
Guest

Post by Guest »

raX wrote:I assume that cacti was reporting that it cannot find those files when you were in the upgrade screen. Do the paths /usr/bin/rrdtool, etc exist? Are you getting graphs? Double check your paths with the paths found in the "cacti Settings" section to make sure they are correct.

-Ian
Yes, it happens in the upgrade screen.
Yes, i did check everything. the patchs do exist and i dont see my graphics.
raX
Lead Developer
Posts: 2243
Joined: Sat Oct 13, 2001 7:00 pm
Location: Carlisle, PA
Contact:

Post by raX »

What happens if you print out the graph source, then execute that command at the command line?

Also, what are you doing that gives you the '(errorcode=13, permission denied)' error?

-Ian
Guest

Post by Guest »

raX wrote:What happens if you print out the graph source, then execute that command at the command line?

Also, what are you doing that gives you the '(errorcode=13, permission denied)' error?

-Ian
When i execute the command myself i get a nice output. How do i print out the graph source?
The errorcode was given in the upgradescreen after first login in cacti, he showd the current config and then gave this errorcode for the executables.
Also i have to say, when i hit on cronprintout and then show output, nothing happens.

Tnanx
raX
Lead Developer
Posts: 2243
Joined: Sat Oct 13, 2001 7:00 pm
Location: Carlisle, PA
Contact:

Post by raX »

It seems as if you have incorrect permissions on your rrdtool/php/snmp executables.

Type: ls -al /usr/bin/rrdtool

To make sure. The user your web server runs as must have write and execute rights to all of those executables. The reason you probably got that error is because cacti (and therefore your webserver) did not have access to those files.

-Ian
thecheater

Post by thecheater »

Ok thanx for your chelp, will check the permissions tomorrow.

Thanx Robert
Guest

Post by Guest »

Checked some permissions, but cant find a thing thats wrong.
maybe someone can give me a hint? Im not an apache expert.

Thanx
thecheater

Post by thecheater »

I found my problem, it seems my permissions were not correct of a lot files, i even could not log in anymore local, but only via network.
I fixed the permissions, and everything is working again.

Thanx for your help.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests