|
|
| Author |
Message |
JimBeam Guest
|
Posted: Mon Jun 09, 2003 12:18 am Post subject: Experiencing Errors |
|
|
Hi,
i cant see any graphs, the rddtool is not making any graphs. all the settings are right and because its onliy a testing machine, i settet all the permissions on a+rwx (just for debugging).
Im using Debian Woody,
and all the Packets are uptodate
when i start the cmd.ph with
./cmd.php i got thiss error:
lcs:/usr/share/cacti# ./cmd.php
./cmd.php: line 24: syntax error near unexpected token `("'
'/cmd.php: line 24: `<? include ("include/database.php");
when i do the same with
php4 cmd.php i get this error:#
lcs:/usr/share/cacti# php4 cmd.php
X-Powered-By: PHP/4.1.2
Content-type: text/html
#+-------------------------------------------------------------------------+
#| Copyright (C) 2002 Ian Berry |
#| |
#| This program is free software; you can redistribute it and/or |
#| modify it under the terms of the GNU General Public License |
#| as published by the Free Software Foundation; either version 2 |
#| of the License, or (at your option) any later version. |
#| |
#| This program is distributed in the hope that it will be useful, |
#| but WITHOUT ANY WARRANTY; without even the implied warranty of |
#| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
#| GNU General Public License for more details. |
#+-------------------------------------------------------------------------+
#| cacti: the rrdtool frontend [php-auth, php-tree, php-form] |
#+-------------------------------------------------------------------------+
#| This code is currently maintained and debugged by Ian Berry, any |
#| questions or comments regarding this code should be directed to: |
#| - iberry@raxnet.net |
#+-------------------------------------------------------------------------+
#| - raXnet - http://www.raxnet.net/ |
#+-------------------------------------------------------------------------+
#*/?>
<br />
<b>Fatal error</b>: Call to undefined function: mysql_connect() in <b>/usr/share/cacti/include/database.php</b> on line <b>19</b><br />
lcs:/usr/share/cacti#
this shows me that rrdtool is not startet at all and thtats the reason for no graphics...
anybody an idea? |
|
| Back to top |
|
 |
Guest
|
Posted: Mon Jun 09, 2003 1:33 am Post subject: Re: Experiencing Errors |
|
|
| JimBeam wrote: | Hi,
i cant see any graphs, the rddtool is not making any graphs. all the settings are right and because its onliy a testing machine, i settet all the permissions on a+rwx (just for debugging).
Im using Debian Woody,
and all the Packets are uptodate
when i start the cmd.ph with
./cmd.php i got thiss error:
lcs:/usr/share/cacti# ./cmd.php
./cmd.php: line 24: syntax error near unexpected token `("'
'/cmd.php: line 24: `<? include ("include/database.php");
when i do the same with
php4 cmd.php i get this error:#
lcs:/usr/share/cacti# php4 cmd.php
X-Powered-By: PHP/4.1.2
Content-type: text/html
#+-------------------------------------------------------------------------+
#| Copyright (C) 2002 Ian Berry |
#| |
#| This program is free software; you can redistribute it and/or |
#| modify it under the terms of the GNU General Public License |
#| as published by the Free Software Foundation; either version 2 |
#| of the License, or (at your option) any later version. |
#| |
#| This program is distributed in the hope that it will be useful, |
#| but WITHOUT ANY WARRANTY; without even the implied warranty of |
#| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
#| GNU General Public License for more details. |
#+-------------------------------------------------------------------------+
#| cacti: the rrdtool frontend [php-auth, php-tree, php-form] |
#+-------------------------------------------------------------------------+
#| This code is currently maintained and debugged by Ian Berry, any |
#| questions or comments regarding this code should be directed to: |
#| - iberry@raxnet.net |
#+-------------------------------------------------------------------------+
#| - raXnet - http://www.raxnet.net/ |
#+-------------------------------------------------------------------------+
#*/?>
<br />
<b>Fatal error</b>: Call to undefined function: mysql_connect() in <b>/usr/share/cacti/include/database.php</b> on line <b>19</b><br />
lcs:/usr/share/cacti#
this shows me that rrdtool is not startet at all and thtats the reason for no graphics...
anybody an idea?
I allreadsdy tried this :
| http://www.raxnet.net/board/viewtopic.php?t=831 |
|
| Back to top |
|
 |
Guest
|
Posted: Mon Jun 09, 2003 1:34 am Post subject: Re: Experiencing Errors |
|
|
[quote="Anonymous"] | JimBeam wrote: | Hi,
i cant see any graphs, the rddtool is not making any graphs. all the settings are right and because its onliy a testing machine, i settet all the permissions on a+rwx (just for debugging).
Im using Debian Woody,
and all the Packets are uptodate
when i start the cmd.ph with
./cmd.php i got thiss error:
lcs:/usr/share/cacti# ./cmd.php
./cmd.php: line 24: syntax error near unexpected token `("'
'/cmd.php: line 24: `<? include ("include/database.php");
when i do the same with
php4 cmd.php i get this error:#
lcs:/usr/share/cacti# php4 cmd.php
X-Powered-By: PHP/4.1.2
Content-type: text/html
#+-------------------------------------------------------------------------+
#| Copyright (C) 2002 Ian Berry |
#| |
#| This program is free software; you can redistribute it and/or |
#| modify it under the terms of the GNU General Public License |
#| as published by the Free Software Foundation; either version 2 |
#| of the License, or (at your option) any later version. |
#| |
#| This program is distributed in the hope that it will be useful, |
#| but WITHOUT ANY WARRANTY; without even the implied warranty of |
#| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
#| GNU General Public License for more details. |
#+-------------------------------------------------------------------------+
#| cacti: the rrdtool frontend [php-auth, php-tree, php-form] |
#+-------------------------------------------------------------------------+
#| This code is currently maintained and debugged by Ian Berry, any |
#| questions or comments regarding this code should be directed to: |
#| - iberry@raxnet.net |
#+-------------------------------------------------------------------------+
#| - raXnet - http://www.raxnet.net/ |
#+-------------------------------------------------------------------------+
#*/?>
<br />
<b>Fatal error</b>: Call to undefined function: mysql_connect() in <b>/usr/share/cacti/include/database.php</b> on line <b>19</b><br />
lcs:/usr/share/cacti#
this shows me that rrdtool is not startet at all and thtats the reason for no graphics...
anybody an idea?
I allreadsdy tried this:
http://www.raxnet.net/board/viewtopic.php?t=831
|
|
|
| Back to top |
|
 |
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|