File not found

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

Moderators: Developers, Moderators

Post Reply
General1
Posts: 11
Joined: Mon Apr 30, 2007 8:43 am

File not found

Post by General1 »

Hey,

Installed cacti 0.8.6k-beta2 - but cacti says, [ERROR: File not found] to all binarys. But the files ARE THERE!

System is SuSE10.1 with PLESK8.2 - the vhost has safemode=off.
The SNMP agent works great (tested it with the tutorial available here in forums)

What is the error? And better: how can I fix it?

Would be great to hear from you soon!
User avatar
rcaston
Cacti User
Posts: 204
Joined: Tue Jan 06, 2004 7:47 pm
Location: US-Dallas, TX
Contact:

Re: File not found

Post by rcaston »

General1 wrote:Hey,

Installed cacti 0.8.6k-beta2 - but cacti says, [ERROR: File not found] to all binarys. But the files ARE THERE!

System is SuSE10.1 with PLESK8.2 - the vhost has safemode=off.
The SNMP agent works great (tested it with the tutorial available here in forums)

What is the error? And better: how can I fix it?

Would be great to hear from you soon!
Where are you seeing "ERROR: File not found" ? in the logs? in the install process where it trys to locate each program, etc.
General1
Posts: 11
Joined: Mon Apr 30, 2007 8:43 am

Re: File not found

Post by General1 »

rcaston wrote:
General1 wrote:Hey,

Installed cacti 0.8.6k-beta2 - but cacti says, [ERROR: File not found] to all binarys. But the files ARE THERE!

System is SuSE10.1 with PLESK8.2 - the vhost has safemode=off.
The SNMP agent works great (tested it with the tutorial available here in forums)

What is the error? And better: how can I fix it?

Would be great to hear from you soon!
Where are you seeing "ERROR: File not found" ? in the logs? in the install process where it trys to locate each program, etc.
First within the install progress - BUT there was also a green [found] in front of each line. so i clicked continue.
and now in the settings page in cacti there is the error-line under each box to fill the path in.
User avatar
rcaston
Cacti User
Posts: 204
Joined: Tue Jan 06, 2004 7:47 pm
Location: US-Dallas, TX
Contact:

Re: File not found

Post by rcaston »

General1 wrote:
rcaston wrote:
General1 wrote:Hey,

Installed cacti 0.8.6k-beta2 - but cacti says, [ERROR: File not found] to all binarys. But the files ARE THERE!

System is SuSE10.1 with PLESK8.2 - the vhost has safemode=off.
The SNMP agent works great (tested it with the tutorial available here in forums)

What is the error? And better: how can I fix it?

Would be great to hear from you soon!
Where are you seeing "ERROR: File not found" ? in the logs? in the install process where it trys to locate each program, etc.
First within the install progress - BUT there was also a green [found] in front of each line. so i clicked continue.
and now in the settings page in cacti there is the error-line under each box to fill the path in.
You are supplying the absolute path to the files there, right?
General1
Posts: 11
Joined: Mon Apr 30, 2007 8:43 am

Re: File not found

Post by General1 »

rcaston wrote: You are supplying the absolute path to the files there, right?
correct
User avatar
rcaston
Cacti User
Posts: 204
Joined: Tue Jan 06, 2004 7:47 pm
Location: US-Dallas, TX
Contact:

Re: File not found

Post by rcaston »

General1 wrote:
correct
is there a specific error you are getting on the path screen in the config? a php error?
Last edited by rcaston on Thu Aug 09, 2007 12:58 pm, edited 1 time in total.
General1
Posts: 11
Joined: Mon Apr 30, 2007 8:43 am

Re: File not found

Post by General1 »

rcaston wrote:
General1 wrote:
rcaston wrote: You are supplying the absolute path to the files there, right?
correct
is there a specific error you are getting on the path screen in the config? a php error?
no, just the path not found.
User avatar
rcaston
Cacti User
Posts: 204
Joined: Tue Jan 06, 2004 7:47 pm
Location: US-Dallas, TX
Contact:

Re: File not found

Post by rcaston »

General1 wrote:
no, just the path not found.
odd question, but can the userid that the webserver runs as / cd to and read each of the files being referenced?
General1
Posts: 11
Joined: Mon Apr 30, 2007 8:43 am

Re: File not found

Post by General1 »

rcaston wrote:
General1 wrote:
no, just the path not found.
odd question, but can the userid that the webserver runs as / cd to and read each of the files being referenced?
yes, it can. was the first thing i checked!
User avatar
rcaston
Cacti User
Posts: 204
Joined: Tue Jan 06, 2004 7:47 pm
Location: US-Dallas, TX
Contact:

Re: File not found

Post by rcaston »

General1 wrote: yes, it can. was the first thing i checked!
I'm stumped, please post a screenshot of the error codes and your paths.
General1
Posts: 11
Joined: Mon Apr 30, 2007 8:43 am

Post by General1 »

screenshot
Attachments
Unbenannt.PNG
Unbenannt.PNG (27.22 KiB) Viewed 3339 times
User avatar
nebj00la
Cacti User
Posts: 112
Joined: Fri Feb 17, 2006 9:02 pm
Location: Massachusetts, USA
Contact:

Re: File not found

Post by nebj00la »

General1 wrote:Hey,

Installed cacti 0.8.6k-beta2 - but cacti says, [ERROR: File not found] to all binarys. But the files ARE THERE!

System is SuSE10.1 with PLESK8.2 - the vhost has safemode=off.
The SNMP agent works great (tested it with the tutorial available here in forums)

What is the error? And better: how can I fix it?

Would be great to hear from you soon!
Post the results of the following (including permissions, etc.):

# cd /usr/bin
# ls -la | grep snmp
Thanks,
nebj00la
General1
Posts: 11
Joined: Mon Apr 30, 2007 8:43 am

Post by General1 »

see the following

Code: Select all

-rwxr-xr-x  1 root root      21785 Aug 26  2006 net-snmp-config
-rwxr-xr-x  1 root root       7368 Aug 26  2006 snmpbulkget
-rwxr-xr-x  1 root root       9264 Aug 26  2006 snmpbulkwalk
-rwxr-xr-x  1 root root      33694 Aug 26  2006 snmpcheck
-rwxr-xr-x  1 root root      26137 Aug 26  2006 snmpconf
-rwxr-xr-x  1 root root      16444 Aug 26  2006 snmpdelta
-rwxr-xr-x  1 root root       9436 Aug 26  2006 snmpdf
-rwxr-xr-x  1 root root       6972 Aug 26  2006 snmpget
-rwxr-xr-x  1 root root       6952 Aug 26  2006 snmpgetnext
lrwxrwxrwx  1 root root          8 Aug  7 17:14 snmpinform -> snmptrap
-r-xr-xr-x  1 root root       4692 Apr 23  2006 snmpkey
-rwxr-xr-x  1 root root      52076 Aug 26  2006 snmpnetstat
-rwxr-xr-x  1 root root       8812 Aug 26  2006 snmpset
-rwxr-xr-x  1 root root      10876 Aug 26  2006 snmpstatus
-rwxr-xr-x  1 root root      18504 Aug 26  2006 snmptable
-rwxr-xr-x  1 root root      12384 Aug 26  2006 snmptest
-rwxr-xr-x  1 root root      11588 Aug 26  2006 snmptranslate
-rwxr-xr-x  1 root root      10524 Aug 26  2006 snmptrap
-rwxr-xr-x  1 root root      24372 Aug 26  2006 snmpusm
-rwxr-xr-x  1 root root      17124 Aug 26  2006 snmpvacm
-rwxr-xr-x  1 root root       9544 Aug 26  2006 snmpwalk
User avatar
nebj00la
Cacti User
Posts: 112
Joined: Fri Feb 17, 2006 9:02 pm
Location: Massachusetts, USA
Contact:

Post by nebj00la »

OK then... Without knowing the ins and outs of the program, I would try changing the paths to something you know won't work. Save the changes, then change them back to the correct paths.

If you still have the problem, I would delete the cacti database, be sure all the prerequisites are met and then reinstall. Assuming you don't have any data sources yet, this should save you time and aggrivation.
Thanks,
nebj00la
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests