I have just installed Cacti Version 0.8.7h onto Mandriva Linux 2010.2.
All is working well except that I get the following error trying to run cmd.php, either from Cron or the command line. I am assuming this is a PERL issue as the php file looks fine.
Unterminated <> operator at /home/cacti/cmd.php line 1
Has anyone else had this issue?
Any guidance that can be offered would be much appreciated.
Unterminated <> operator at /home/cacti/cmd.php line 1
Moderators: Developers, Moderators
-
- Posts: 2
- Joined: Mon Dec 12, 2011 2:01 pm
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: Unterminated <> operator at /home/cacti/cmd.php line 1
This should not be a perl issue as this file is a php file ...
R.
R.
-
- Posts: 2
- Joined: Mon Dec 12, 2011 2:01 pm
Re: Unterminated <> operator at /home/cacti/cmd.php line 1
Thanks, have changed my CRON command to use PHP not perl and now it seems to run OK except that now I am getting the following
<br><strong>This script is only meant to run at the command line.</strong>
I do not get this when I run >PHP cmd.php manually from a shell.
Again any help would be appreciated.
<br><strong>This script is only meant to run at the command line.</strong>
I do not get this when I run >PHP cmd.php manually from a shell.
Again any help would be appreciated.
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: Unterminated <> operator at /home/cacti/cmd.php line 1
It seems, that you did not yet follow the installation instructions, especially for crontab, see http://docs.cacti.net/manual:087:1_inst ... gure_cacti
R.
R.
Who is online
Users browsing this forum: No registered users and 1 guest