LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   rc.cups hangs on boot (https://www.linuxquestions.org/questions/slackware-14/rc-cups-hangs-on-boot-242956/)

Barx 10-15-2004 07:56 AM

rc.cups hangs on boot
 
I have a problem on a system with slackware 10.0 (kernel 2.6.7 from /testing)

The system worked perfectly from about 1 month.

after I changed the ps/2 mouse with an optical usb, I get a strange problem on boot. The system hangs when loading cups. But if I enter with ssh form another box and I run 'kill <pid of rc.cups>' the system unlocks and finishes booting.

After the boot is finished I can run /etc/rc./rc.cups start without problems

I think that there's a problem starting cups, but I can't understand where the problem is

I updated cups to the latest version (1.21) form current

The mouse works perfectly ...

egag 10-15-2004 11:18 AM

hi,

maybe this...: http://www.linuxquestions.org/questi...hreadid=242687

egag

Barx 10-22-2004 09:52 AM

I already tried putting rc.cups on the end of the rc.M file, then I tried puttong it on the end of the rc.local file and nothing is changed. The ony way to have the system booting is to remove rc.cups from the rc.* files and starting it by hand when the system is up.


Any suggestion?

Barx 10-28-2004 02:51 AM

Another addiction:

I tried moving rc.cups at the very bottom of the boot sequence, putting it into rc.4 before loading KDM, but it continues hanging the boot.

I also tried putting it in the .bash_profile file of a user (via sudo) , but when the user log in the system freezes.

BUT if the user waits some minutes after the boot before logging then there's no hanging

I tried "debugging" the loading of cups by hand.

'rc.cups start' freezes, but launching top in another console I see 2 processes named cupsd and one process named rc.cups

these 3 process use 0% cpu

if a do nmap localhost I don't see the port 631 opened.

Also launching /usr/sbin/cupsd by hand hangs.

If I wait some minute before launching rc.cups it starts properly withut problems.

It seem there's something which doesn't allow cups to open the port, so it freezes, and after some time this 'lock' goes out permitting cups to open the port ..

Any idea?


All times are GMT -5. The time now is 06:28 PM.