Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


errors when running from command line

 
Post new topic   Reply to topic    Cacti Forum Index -> Help: Linux/Unix Specific
Author Message
ntwaddel



Joined: 12 Feb 2003
Posts: 29
Location: Templeton, CA

PostPosted: Wed Feb 12, 2003 2:29 am    Post subject: errors when running from command line Reply with quote

this is wierd, it worked before, now all of the sudden im getting this

Warning: internal_snmp_query(include/database.php)
[http://www.php.net/function.internal-snmp-query]: failed to create stream: No
such file or directory in /home/httpd/stats/include/snmp_functions.php on line
138

Warning: internal_snmp_query()
[http://www.php.net/function.internal-snmp-query]: Failed opening
'include/database.php' for inclusion
(include_path='.:/php/includes:/usr/share/php') in
/home/httpd/stats/include/snmp_functions.php on line 138

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in
/home/httpd/stats/include/snmp_functions.php on line 146

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result
resource in /home/httpd/stats/include/snmp_functions.php on line 147

Warning: get_snmp_network_data(include/config.php)
[http://www.php.net/function.get-snmp-network-data]: failed to create stream: No
such file or directory in /home/httpd/stats/include/snmp_functions.php on line
168

Warning: get_snmp_network_data()
[http://www.php.net/function.get-snmp-network-data]: Failed opening
'include/config.php' for inclusion
(include_path='.:/php/includes:/usr/share/php') in
/home/httpd/stats/include/snmp_functions.php on line 168

Warning: get_snmp_network_data(include/database.php)
[http://www.php.net/function.get-snmp-network-data]: failed to create stream: No
such file or directory in /home/httpd/stats/include/snmp_functions.php on line
169

Warning: get_snmp_network_data()
[http://www.php.net/function.get-snmp-network-data]: Failed opening
'include/database.php' for inclusion
(include_path='.:/php/includes:/usr/share/php') in
/home/httpd/stats/include/snmp_functions.php on line 169

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in
/home/httpd/stats/include/snmp_functions.php on line 176

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result
resource in /home/httpd/stats/include/snmp_functions.php on line 178

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in
/home/httpd/stats/include/snmp_functions.php on line 182

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in
/home/httpd/stats/include/snmp_functions.php on line 183

Warning: mysql_result(): supplied argument is not a valid MySQL result resource
in /home/httpd/stats/include/snmp_functions.php on line 184

Warning: get_snmp_interfaces(include/database.php)
[http://www.php.net/function.get-snmp-interfaces]: failed to create stream: No
such file or directory in /home/httpd/stats/include/snmp_functions.php on line
91

Warning: get_snmp_interfaces()
[http://www.php.net/function.get-snmp-interfaces]: Failed opening
'include/database.php' for inclusion
(include_path='.:/php/includes:/usr/share/php') in
/home/httpd/stats/include/snmp_functions.php on line 91

Warning: get_snmp_interfaces(include/functions.php)
[http://www.php.net/function.get-snmp-interfaces]: failed to create stream: No
such file or directory in /home/httpd/stats/include/snmp_functions.php on line
92

Warning: get_snmp_interfaces()
[http://www.php.net/function.get-snmp-interfaces]: Failed opening
'include/functions.php' for inclusion
(include_path='.:/php/includes:/usr/share/php') in
/home/httpd/stats/include/snmp_functions.php on line 92

Warning: get_snmp_interfaces(include/config.php)
[http://www.php.net/function.get-snmp-interfaces]: failed to create stream: No
such file or directory in /home/httpd/stats/include/snmp_functions.php on line
Back to top
bulek
Cacti Pro User


Joined: 20 May 2002
Posts: 852
Location: Poland

PostPosted: Wed Feb 12, 2003 3:10 am    Post subject: Reply with quote

Have you upgraded php to 4.3.0? Default cacti distribution does have problems with paths when using the newest php. You can search the board how to avoid this.

- bulek
Back to top
ntwaddel



Joined: 12 Feb 2003
Posts: 29
Location: Templeton, CA

PostPosted: Wed Feb 12, 2003 3:17 am    Post subject: Reply with quote

ok, i'll check it out

i noticed that if i execute the php binary from within the directory, it works fine

but if i am out of the directory, and try and do it, i get the errors
Back to top
ntwaddel



Joined: 12 Feb 2003
Posts: 29
Location: Templeton, CA

PostPosted: Wed Feb 12, 2003 3:18 am    Post subject: Reply with quote

cha-ching
http://www.raxnet.net/board/viewtopic.php?t=1201
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Help: Linux/Unix Specific All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group