I'm running on Solaris 2.7 SPARC, Apache 1.3.24, php 4.2.1, mysql-3.23.49, rrdtool-1.0.38
I'm installing Cacti v0.6.8; my first installation of cacti.
I ran the cmd.php manually, and got a shlew of errors
# php cmd.php
ping: bad timeout: -c
awk: syntax error near line 1
awk: bailing out near line 1
sh: mysqladmin: not found
sh: /usr/bin/smbstatus: not found
cat: cannot open /proc/meminfo
sh: Cached:: not found
cat: cannot open /proc/meminfo
cat: cannot open /proc/meminfo
usage: ps [ -aAdeflcjLPy ] [ -o format ] [ -t termlist ]
[ -u userlist ] [ -U userlist ] [ -G grouplist ]
[ -p proclist ] [ -g pgrplist ] [ -s sidlist ]
'format' is one or more of:
user ruser group rgroup uid ruid gid rgid pid ppid pgid sid
pri opri pcpu pmem vsz rss osz nice class time etime stime
f s c lwp nlwp psr tty addr wchan fname comm args
cat: cannot open /proc/meminfo
wc: cannot open /var/log/httpd/access_log
cat: cannot open /proc/meminfo
X-Powered-By: PHP/4.2.1
Content-type: text/html
I'm assuming these are all simply because they are path problems, but where are the paths loaded from?
running cmd.php manually
Moderators: Developers, Moderators
All the paths come from the scripts cacti is trying to run they are all located in the script directory under the cacti root.
Paths aren't your only problem though, the cacti scripts are written for a linux system not solaris. Things like /proc/meminfo just don't exist on Solaris and a fiarly large number of the utils like awk and ps have different syntax.
If you need some help converting the scripts let me know
Paths aren't your only problem though, the cacti scripts are written for a linux system not solaris. Things like /proc/meminfo just don't exist on Solaris and a fiarly large number of the utils like awk and ps have different syntax.
If you need some help converting the scripts let me know
Who is online
Users browsing this forum: No registered users and 2 guests