LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-15-2004, 07:56 AM   #1
Barx
Member
 
Registered: Jun 2004
Distribution: Slack x86 current
Posts: 134

Rep: Reputation: 16
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 ...
 
Old 10-15-2004, 11:18 AM   #2
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 52
hi,

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

egag
 
Old 10-22-2004, 09:52 AM   #3
Barx
Member
 
Registered: Jun 2004
Distribution: Slack x86 current
Posts: 134

Original Poster
Rep: Reputation: 16
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?
 
Old 10-28-2004, 02:51 AM   #4
Barx
Member
 
Registered: Jun 2004
Distribution: Slack x86 current
Posts: 134

Original Poster
Rep: Reputation: 16
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?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual Boot = No Boot (hangs at bios splash screen) nedwardss Debian 4 12-03-2004 04:09 AM
CUPS admin tool hangs coshx Linux - Software 0 09-11-2004 02:38 AM
cups hangs on startup -fedora fc2 gravy21 Fedora 2 08-05-2004 10:54 AM
boot hangs after running /etc/init.d/boot.local eddieb Linux - Newbie 2 07-18-2004 06:57 AM
FC2 CUPS Hangs on Startup Sliceman Fedora 0 07-13-2004 12:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration