Boot hangs at Starting Freshclam

General support questions including new installations
Post Reply
ccrum
Posts: 6
Joined: 2007/03/23 19:44:05

Boot hangs at Starting Freshclam

Post by ccrum » 2008/01/11 17:38:30

I recently installed the Qmail Toaster packages on my CentOS 5 box. Something happened during the install of clamav-toaster and it hung up on me. I tried reinstalling it and then rebooting, but now the boot hangs at "Starting Freshclam". How can I resolve this? Is there a way to boot and bypass the Freshclam service? The only thing I seem to be able to do is get to a GRUB console.

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

Re: Boot hangs at Starting Freshclam

Post by gerald_clark » 2008/01/11 17:43:01

One of these:
1) boot up single user ( Check Wiki ) .
use chkconfig to disable the service until you fix it.

2) Hit 'I' when instructed during boot.
You can then choose to start or skip each service in turn.

User avatar
AlanBartlett
Forum Moderator
Posts: 9345
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk
Contact:

Re: Boot hangs at Starting Freshclam

Post by AlanBartlett » 2008/01/11 17:48:39

Boot the system into [b]single user mode[/b] and remove [i]freshclam[/i] (i.e. reverse its installation).

At the [i]Grub[/i] menu screen, press any key. If you need to enter a [i]grub password[/i], do so now.
Select the your kernel (if required) with the [i]arrow keys[/i].
Press the letter [b]a[/b], then the [b]space[/b] bar and type the word [b]single[/b].
Press [b]enter[/b].
Congratulations! You are now booting your system in single user mode.
Now remove [i]freshclam[/i].
Once that's done, give the [i]bash shell prompt[/i] a [b]ctrl-D[/b].

Hope this helps.
Alan.

ccrum
Posts: 6
Joined: 2007/03/23 19:44:05

Re: Boot hangs at Starting Freshclam

Post by ccrum » 2008/01/11 20:21:58

Thanks...I got it to boot and unistalled the clamav-toaster. I then got the newest rpm, and tired to install again, but it hung on the install once again. I tried to uninstall it, but it tells me it is not installed. Then when I try to reinstall again, it tells me it is already installed. So how do I fix it if the system thinks is is both installed and uninstalled at the same time?

ccrum
Posts: 6
Joined: 2007/03/23 19:44:05

Re: Boot hangs at Starting Freshclam

Post by ccrum » 2008/01/11 20:43:10

OK...finally got it to uninstall, but when I try to reinstall with either the older version of clamav-toaster-0.90.1-1.3.13 or the newest version clamav-toaster-0.92-1.3.16 they both hang until I hit ctrl-c and then give me the error scriptlet failed, exit status 1. Any clues? Has anyone got Qmail working on CentOS5?

User avatar
AlanBartlett
Forum Moderator
Posts: 9345
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk
Contact:

Re: Boot hangs at Starting Freshclam

Post by AlanBartlett » 2008/01/12 13:01:17

Where did you get the [i]rpm[/i]s from? Are they for [i]CentOS 5[/i]?

Perhaps a couple of dumb questions but worth asking, I think.

Alan.

RAID-5
Posts: 77
Joined: 2005/05/05 17:35:34
Location: Quebec

Re: Boot hangs at Starting Freshclam

Post by RAID-5 » 2008/06/06 05:49:07

You probably have SELinux enabled. Source rpm install hang when trying to start freshclam process and SELinux deny...) Disable it and then reboot. Clean previous files (rm /etc/freshclam.conf.rpmsave & rm /usr/src/redhat/RPMS/i386/qmail-toaster-VERSION.src.rpm)

SELinux can be disabled by editing /boot/grub/grub.conf and adding "selinux=0" at kernel parameters line like this "kernel /vmlinuz-2.6.18-53.1.21.el5 ro root=LABEL=/ selinux=0".

And /etc/selinux/config "SELINUX=disabled"


Hope this help...

Kaven G.

Post Reply