command not found

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

Moderators: Developers, Moderators

Post Reply
Stubbs
Posts: 10
Joined: Tue Mar 01, 2005 3:25 am

command not found

Post by Stubbs »

I'm trying to recover from a server crash over the weekend, the video card went, and in the recovery process I managed to corrupt one of my partitions, now whenever I try and run the poller I get the following error:
sh: line 1: -: command not found
and when I try and view graphs, I get the following in my apache2 log:
sh: line 1: graph: command not found
I've re-installed cacti (8.6c) php (4.3.10) gd (20.032) & rrdtool (1.0.49)

Has anyone seen this before?
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Do you have NET-SNMP installed?

That is the only thing I can think of that might generate that error in the web UI.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
Stubbs
Posts: 10
Joined: Tue Mar 01, 2005 3:25 am

Post by Stubbs »

Yes, I have net-snmp installed (5.2)

My two main suspects were either PHP, or rrdtool, however I re-installed both, and wrote a quick php script and that didn't come up with the same message.

I'm guessing the error about "graph" is coming from where "rrdtool graph" is called, so I'll have a look at that ...
Stubbs
Posts: 10
Joined: Tue Mar 01, 2005 3:25 am

Post by Stubbs »

See this post for the solution to my problem.

http://forums.cacti.net/viewtopic.php?t=6729
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest