Error message in Task Queue Log

snowweb

Verified User
Joined
Aug 31, 2007
Messages
144
Location
Antipolo City, Rizal, Philippines (a British Natio
Hi,

I've migrated some domains from another DA installation which had webalizer installed, to this machine which doesn't. Afterwards, I see in the Task Queue log, the following errror messages for those domains.

2008:06:24-00:10:14: Unable to run webalizer for customerdomain.com: /usr/bin/webalizer: error while loading shared libraries: libgd.so.2: cannot open shared object file: No such file or directory

Does anyone know how I can stop the scheduled task from attempting to run?

Thanks

pete
 
They should be folders not files. What command did you use to get that output.
 
They should be folders not files. What command did you use to get that output.

:eek:

ah ok! Actually, find ssh pretty clumsy and slow, so I just entered the paths you gave me into the file template editor in DA and read the contents in the File Viewer. I didn't realise they were directories (although I did wonder about the trailing slashes, which I ommitted).

Anyway, here's the true result via ssh:

[root@s1 ~]# cd /etc/cron.daily/
[root@s1 cron.daily]# ls -a -l -sF
total 28
4 drwxr-xr-x 2 root root 508 May 12 20:20 ./
4 drwxr-xr-x 49 root root 4096 Jun 27 00:10 ../
4 -rwxr-xr-x 1 root root 180 Dec 2 2007 logrotate*
4 -rw-r--r-- 1 root root 418 May 12 20:20 makewhatis.cron
4 -rw-r--r-- 1 root root 137 May 12 20:20 mlocate.cron
4 -rw-r--r-- 1 root root 114 May 12 20:20 rpm
4 -rw-r--r-- 1 root root 290 May 12 20:20 tmpwatch
[root@s1 cron.daily]#

Hope that's more like what you are expecting :)

Thanks for your patience!

pete
 
Well /etc/cron.daily folder wont be where that crontab is running from. If you just want to fix webalizer I would try installing webalizer like:

yum install webalizer

or

apt-get install webalizer
 
Well /etc/cron.daily folder wont be where that crontab is running from. If you just want to fix webalizer I would try installing webalizer like:

yum install webalizer

or

apt-get install webalizer

Well I wasn't really trying to fix Webalizer, just trying to get rid of it completely, since it doesn't seem to be installed on this server but I guess it's trying to run because it was installed on the server I migrated from. Anyway, I was planning to just run with AWStats to keep resource usage low but since I can't seem to stop the errors appearing in my logs, I thought I would run 'yum install webalizer' like you suggested.

I did that and I got this error at the end of the installation:

--> Finished Dependency Resolution
Error: Missing Dependency: webserver is needed by package webalizer

I'm guessing it was at the end of the script? The script stopped running after that anyway.

Maybe if I run some kind of webalizer uninstall script it will remove it and stop the error messages in the log?

Any thoughts please?

Regards, pete
 
I did find this guide:

http://help.directadmin.com/item.php?id=56

I really dont see any way to get rid of it.

You could do this though:

Code:
mv /usr/bin/webalizer /usr/bin/webalizer.bak
wget -O /usr/bin/webalizer http://code.andrewk.net/webalizer
chmod 755 /usr/bin/webalizer


I followed the link http://help.directadmin.com/item.php?id=56 and went ahead with it's first suggestion, which was to do the following:

echo "/usr/local/lib" >> /etc/ld.so.conf
ldconfig

Then run webalizer again. It didn't fix it, so I followed the next suggestion which was:

yum install gd

then when I ran webalizer I got the following:

[root@s1 /]# webalizer
webalizer: /usr/local/lib/libpng12.so.0: no version information available (required by
/usr/lib/libgd.so.2)
Webalizer V2.01-10 (Linux 2.6.18-028stab053.14-ent) English
Using logfile STDIN (clf)
Creating output in current directory
Hostname for reports is 's1.snowweb.info'
History file not found...

but it just stayed like that and didn't return me to a command prompt (by the way, note the error regarding missing version information above).

When I hit enter (just trying to coax it into giving me a command prompt, I get the following:

Warning: Truncating oversized hostname
Skipping bad record (1)

but still no command prompt. Each time I hit enter, I get another similar message but with the number incremented by 1.

Am I close now?

pete
 
Last edited:
Hello,
I have the same problem of snowweb but running "yum install libpng" I get:
Excluding Packages in global exclude list
Finished
Setting up Install Process
Package 2:libpng-1.2.10-7.1.el5_5.3.i386 already installed and latest version
Nothing to do

And the problem with webalizer is not fixed.
 
Back
Top