i tried the above suggestion, but that doesn't seem to work for me. Though my setup is a little different, and I'm not sure i understand what this would do.
It looks to me like i'm making a symbolic link to the directory I'm already in.
What that causes to happen for me is, I get this back if I run the cron command now:
[root@arts-mri root]# php /var/www/sites/cacti/cmd.php
sh: /usr/: is a directory
sh: /usr/: is a directory
ping: bad number of packets to transmit.
sh: /usr/: is a directory
sh: /usr/: is a directory
sh: /usr/: is a directory
sh: /usr/: is a directory
Unknown parameter encountered: "commnet"
Ignoring unknown parameter "commnet"
sh: /usr/: is a directory
sh: /usr/: is a directory
sh: /usr/: is a directory
sh: /usr/: is a directory
sh: /usr/: is a directory
sh: /usr/: is a directory
sh: /usr/: is a directory
sh: /usr/: is a directory
sh: /usr/: is a directory
sh: /usr/: is a directory
sh: /usr/: is a directory
sh: /usr/: is a directory
sh: /usr/: is a directory
sh: /usr/: is a directory
sh: /usr/: is a directory
sh: /usr/: is a directory
sh: /usr/: is a directory
sh: /usr/: is a directory
sh: /usr/: is a directory
sh: /usr/: is a directory
sh: /usr/: is a directory
sh: /usr/: is a directory
sh: /usr/: is a directory
sh: /usr/: is a directory
Have any ideas, I'm at the end of my rope here. I like the way the program works, and the things it can do. But I need some serious help to resolve it or I'll have to look for something else to do it, because I have no idea why it won't work.
Well, that did change the errors I was getting back
Moderators: Developers, Moderators
Sorry for the new subject, hit the wrong button
Here is the suggestion I got from user guest:
Posted: Fri Jan 17, 2003 5:07 pm Post subject:
--------------------------------------------------------------------------------
Hi!
I just add the same pbs.
To solve it, I created an new symbolic link in the 'include' directory.
On My OpenBSD box, cacti in installed in /var/www/htdocs/admin/cacti
This is what I did
cd /var/www/htdocs/admin/cacti/include
ln -s /var/www/htdocs/admin/cacti/include include
Errors are due to a 'bad path' in included file in rrdfunctions.php, functions.php....
These files are already in include, and they try to import include/config.php.... (cacti/include/include doesn't exist).
It worked for me , even if it's not the cleanest solution
Posted: Fri Jan 17, 2003 5:07 pm Post subject:
--------------------------------------------------------------------------------
Hi!
I just add the same pbs.
To solve it, I created an new symbolic link in the 'include' directory.
On My OpenBSD box, cacti in installed in /var/www/htdocs/admin/cacti
This is what I did
cd /var/www/htdocs/admin/cacti/include
ln -s /var/www/htdocs/admin/cacti/include include
Errors are due to a 'bad path' in included file in rrdfunctions.php, functions.php....
These files are already in include, and they try to import include/config.php.... (cacti/include/include doesn't exist).
It worked for me , even if it's not the cleanest solution
My original post
I'm getting a few errors when I run the crontab command from the command line, which might explaing why I can't get any graphs: anyone know how to fix these: (omitting about 10 more pages of this stuff)
Warning: rrdtool_function_create(include/config.php) [http://www.php.net/function
.rrdtool-function-create]: failed to create stream: No such file or directory in
/var/www/sites/cacti/include/rrd_functions.php on line 86
Warning: rrdtool_function_create() [http://www.php.net/function.rrdtool-function-
create]: Failed opening 'include/config.php' for inclusion (include_path='.:/usr/
local/lib/php') in /var/www/sites/cacti/include/rrd_functions.php on line 86
Warning: rrdtool_function_create(include/functions.php) [http://www.php.net/funct
ion.rrdtool-function-create]: failed to create stream: No such file or directory
in /var/www/sites/cacti/include/rrd_functions.php on line 87
Warning: rrdtool_function_create() [http://www.php.net/function.rrdtool-function-
create]: Failed opening 'include/functions.php' for inclusion (include_path='.:/u
sr/local/lib/php') in /var/www/sites/cacti/include/rrd_functions.php on line 87
Warning: rrdtool_function_create(include/database.php) [http://www.php.net/functi
on.rrdtool-function-create]: failed to create stream: No such file or directory i
n /var/www/sites/cacti/include/rrd_functions.php on line 88
Warning: rrdtool_function_create() [http://www.php.net/function.rrdtool-function-
create]: Failed opening 'include/database.php' for inclusion (include_path='.:/us
r/local/lib/php') in /var/www/sites/cacti/include/rrd_functions.php on line 88
Warning: getdatasourcepath(include/config.php) [http://www.php.net/function.getda
tasourcepath]: failed to create stream: No such file or directory in /var/www/sit
es/cacti/include/functions.php on line 108
Warning: getdatasourcepath() [http://www.php.net/function.getdatasourcepath]: Fai
led opening 'include/config.php' for inclusion (include_path='.:/usr/local/lib/ph
Thanks,
Warning: rrdtool_function_create(include/config.php) [http://www.php.net/function
.rrdtool-function-create]: failed to create stream: No such file or directory in
/var/www/sites/cacti/include/rrd_functions.php on line 86
Warning: rrdtool_function_create() [http://www.php.net/function.rrdtool-function-
create]: Failed opening 'include/config.php' for inclusion (include_path='.:/usr/
local/lib/php') in /var/www/sites/cacti/include/rrd_functions.php on line 86
Warning: rrdtool_function_create(include/functions.php) [http://www.php.net/funct
ion.rrdtool-function-create]: failed to create stream: No such file or directory
in /var/www/sites/cacti/include/rrd_functions.php on line 87
Warning: rrdtool_function_create() [http://www.php.net/function.rrdtool-function-
create]: Failed opening 'include/functions.php' for inclusion (include_path='.:/u
sr/local/lib/php') in /var/www/sites/cacti/include/rrd_functions.php on line 87
Warning: rrdtool_function_create(include/database.php) [http://www.php.net/functi
on.rrdtool-function-create]: failed to create stream: No such file or directory i
n /var/www/sites/cacti/include/rrd_functions.php on line 88
Warning: rrdtool_function_create() [http://www.php.net/function.rrdtool-function-
create]: Failed opening 'include/database.php' for inclusion (include_path='.:/us
r/local/lib/php') in /var/www/sites/cacti/include/rrd_functions.php on line 88
Warning: getdatasourcepath(include/config.php) [http://www.php.net/function.getda
tasourcepath]: failed to create stream: No such file or directory in /var/www/sit
es/cacti/include/functions.php on line 108
Warning: getdatasourcepath() [http://www.php.net/function.getdatasourcepath]: Fai
led opening 'include/config.php' for inclusion (include_path='.:/usr/local/lib/ph
Thanks,
Who is online
Users browsing this forum: No registered users and 2 guests