Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: linuxhelp on August 01, 2008, 05:30:06 AM

Title: Cron Mail /bin/nice: /sbin/e-smith/awstats-pp: No such file or directory
Post by: linuxhelp on August 01, 2008, 05:30:06 AM
/bin/nice: /sbin/e-smith/awstats-pp: No such file or directory

does anyone knows the problem? on SME 7.3 fresh installed System?

Thx Tom
Title: Re: Cron Mail /bin/nice: /sbin/e-smith/awstats-pp: No such file or directory
Post by: byte on August 01, 2008, 08:37:08 PM
Moving this topic to the SME 7.x contribs forum, it is more appropriate there. Thanks!
Title: Re: Cron Mail /bin/nice: /sbin/e-smith/awstats-pp: No such file or directory
Post by: cactus on August 02, 2008, 11:26:52 AM
/bin/nice: /sbin/e-smith/awstats-pp: No such file or directory

does anyone knows the problem? on SME 7.3 fresh installed System?

Thx Tom
Are your sure that his is a fresh install or did you restore a backup after installing? This file should be part of the smeserver-awstats package, which is not installed by default, so my guess is you restores a backup but forgot to install AWStats for SME Server.
Title: Re: Cron Mail /bin/nice: /sbin/e-smith/awstats-pp: No such file or directory
Post by: linuxhelp on August 02, 2008, 06:57:11 PM
Hello Cactus,

is made a fresh setup, upgrade and install awstats too,
after this i copied the my ibays and profiles with backup+restore
to the new engine. After the messages appeared i try to reinstall
awstats but no help.

It's not really easy to copy a complete server 70GB user+ibays to a fresh
made server

thx
Title: Re: Cron Mail /bin/nice: /sbin/e-smith/awstats-pp: No such file or directory
Post by: cactus on August 02, 2008, 07:10:07 PM
is made a fresh setup, upgrade and install awstats too,
after this i copied the my ibays and profiles with backup+restore
to the new engine. After the messages appeared i try to reinstall
awstats but no help.
Does the above mean you were unable to succesfully install awstats? What is th eoutptu of this command:
Code: [Select]
rpm -qf /sbin/e-smith/awstats-ppand
Code: [Select]
rpm -qa | grep awstats
It's not really easy to copy a complete server 70GB user+ibays to a fresh
made server
Depends on how you did it, but I never had to much problems. Since you give no details on your migration it is hard to say whether you did thing the right way and included all necessary items in your backu
Title: Re: Cron Mail /bin/nice: /sbin/e-smith/awstats-pp: No such file or directory
Post by: linuxhelp on August 03, 2008, 10:29:28 AM
Hello,

i found out the problem, the awstats.pp was named inside /sbin/e-smith/ as awstats-pp.8C79/&?

perhaps a config problem? by the installer? i renamed it and changed it to chmod 755 and restarted

awstats.

To the transfer Old-Server 7.3 to New 7.3 Server i made a little shellscript

#run signal-event pre-restore
rsync -av /etc/e-smith/  192.168.178.XX:/etc/e-smith/
rsync -av /etc/group 192.168.178.XX:/etc/group
rsync -av /etc/gshadow 192.168.178.XX:/etc/gshadow
rsync -av /etc/passwd 192.168.178.XX:/etc/passwd
rsync -av /etc/samba/secrets.tdb 192.168.178.XX:/etc/samba/secrets.tdb
rsync -av /etc/samba/ 192.168.178.XX:/etc/samba/
rsync -av /etc/shadow 192.168.178.XX:/etc/shadow
rsync -av /etc/ssh 192.168.178.XX:/etc/ssh
rsync -av /etc/sudoers 192.168.178.XX:/etc/sudoers
rsync -av /etc/banner.txt 192.168.178.XX:/etc/banner.txt
rsync -av /opt 192.168.178.XX:/opt
rsync -av /home/ 192.168.178.XX:/home/


but's not perfect..
Title: Re: Cron Mail /bin/nice: /sbin/e-smith/awstats-pp: No such file or directory
Post by: cactus on August 03, 2008, 10:34:16 AM
Hello,

i found out the problem, the awstats.pp was named inside /sbin/e-smith/ as awstats-pp.8C79/&?

perhaps a config problem? by the installer? i renamed it and changed it to chmod 755 and restarted

awstats.

To the transfer Old-Server 7.3 to New 7.3 Server i made a little shellscript

#run signal-event pre-restore
rsync -av /etc/e-smith/  192.168.178.XX:/etc/e-smith/
rsync -av /etc/group 192.168.178.XX:/etc/group
rsync -av /etc/gshadow 192.168.178.XX:/etc/gshadow
rsync -av /etc/passwd 192.168.178.XX:/etc/passwd
rsync -av /etc/samba/secrets.tdb 192.168.178.XX:/etc/samba/secrets.tdb
rsync -av /etc/samba/ 192.168.178.XX:/etc/samba/
rsync -av /etc/shadow 192.168.178.XX:/etc/shadow
rsync -av /etc/ssh 192.168.178.XX:/etc/ssh
rsync -av /etc/sudoers 192.168.178.XX:/etc/sudoers
rsync -av /etc/banner.txt 192.168.178.XX:/etc/banner.txt
rsync -av /opt 192.168.178.XX:/opt
rsync -av /home/ 192.168.178.XX:/home/


but's not perfect..
No you should have sticked to normal backup routines as they incorporate a lot more as well as you forgot to run the post-backup event. Have a look here for what you need to do a minimal backup: http://wiki.contribs.org/Backup_server_config
Title: Re: Cron Mail /bin/nice: /sbin/e-smith/awstats-pp: No such file or directory
Post by: linuxhelp on August 03, 2008, 08:35:51 PM
Hello

of course i run the backup-ebent on the old engine..
i forgot to write here..

i will retry it this week.. and post the result..