Boot hangs at Starting Freshclam
Boot hangs at Starting Freshclam
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.
-
- Posts: 10642
- Joined: 2005/08/05 15:19:54
- Location: Northern Illinois, USA
Re: Boot hangs at Starting Freshclam
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.
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.
- AlanBartlett
- Forum Moderator
- Posts: 9345
- Joined: 2007/10/22 11:30:09
- Location: ~/Earth/UK/England/Suffolk
- Contact:
Re: Boot hangs at Starting Freshclam
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.
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.
Re: Boot hangs at Starting Freshclam
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?
Re: Boot hangs at Starting Freshclam
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?
- AlanBartlett
- Forum Moderator
- Posts: 9345
- Joined: 2007/10/22 11:30:09
- Location: ~/Earth/UK/England/Suffolk
- Contact:
Re: Boot hangs at Starting Freshclam
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.
Perhaps a couple of dumb questions but worth asking, I think.
Alan.
Re: Boot hangs at Starting Freshclam
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.
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.