Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Broke my cups
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Drewgrange
Guru
Guru


Joined: 29 Mar 2003
Posts: 483
Location: Ohio, US

PostPosted: Sun Apr 06, 2003 12:09 am    Post subject: Broke my cups Reply with quote

I'm not sure what I changed, but cups isn't working anymore

Symptoms:
I am able to print using
cat test.txt > /dev/lp0

/etc/init.d/cupsd stop brings up [!!]
I zapped it, unmerged cups, merged it again, restarted it and got an OK, but cups still didn't work, stopping it brought up [!!] again.

If there are any config files that would be helpful to see please let me know.

Thanks
Back to top
View user's profile Send private message
Jimbow
Guru
Guru


Joined: 18 Feb 2003
Posts: 597
Location: Silver City, NM

PostPosted: Sun Apr 06, 2003 6:06 am    Post subject: Reply with quote

After you remerged cups did you go the http://localhost:631/ to configure cups? I hope you aren't offended by the question.
_________________
After Perl everything else is just assembly language.
Back to top
View user's profile Send private message
Drewgrange
Guru
Guru


Joined: 29 Mar 2003
Posts: 483
Location: Ohio, US

PostPosted: Sun Apr 06, 2003 7:49 am    Post subject: Reply with quote

yes, I couldn't connect to it. I can connect to localhost:901 for swat though,, so I'd think 631 would work
Back to top
View user's profile Send private message
modal
Apprentice
Apprentice


Joined: 02 Oct 2002
Posts: 277

PostPosted: Sun Apr 06, 2003 8:19 am    Post subject: Reply with quote

your configs just got b0rked...yes, and use :631.
Back to top
View user's profile Send private message
Drewgrange
Guru
Guru


Joined: 29 Mar 2003
Posts: 483
Location: Ohio, US

PostPosted: Sun Apr 06, 2003 2:14 pm    Post subject: Reply with quote

This is strange. Now cupsd will stop and start fine, I just can't access localhost:631. Does anybody have any ideas of what configuration files to check? I don't think I changed anything, and I know my router is set to let me use that port (though I wouldn't think it'd matter since its on my own computer).
Back to top
View user's profile Send private message
Jimbow
Guru
Guru


Joined: 18 Feb 2003
Posts: 597
Location: Silver City, NM

PostPosted: Sun Apr 06, 2003 3:27 pm    Post subject: Reply with quote

The router does not matter. The config file is /etc/cups/cupsd.conf.

You might want to do a netstat -aut which will tell you which ports are being listened to. And also an lsof -i which will tell you which programs are listening to which ports. You will need to emerge net-tools and lsof to install these tools.
_________________
After Perl everything else is just assembly language.
Back to top
View user's profile Send private message
Drewgrange
Guru
Guru


Joined: 29 Mar 2003
Posts: 483
Location: Ohio, US

PostPosted: Sun Apr 06, 2003 4:21 pm    Post subject: Reply with quote

Thanks Jimbow

Problem solved, turns out that somehow the lines in /etc/cups/cupsd.conf telling it to listen to port 631 had been commented out. Kinda strange, but at least its working now! :)
Back to top
View user's profile Send private message
Jimbow
Guru
Guru


Joined: 18 Feb 2003
Posts: 597
Location: Silver City, NM

PostPosted: Sun Apr 06, 2003 4:36 pm    Post subject: Reply with quote

I am glad you solved it. But the solution is a bit of a mystery because all of those lines are commented out in my cupsd.conf and yet it listens on the default port 631 just fine.
_________________
After Perl everything else is just assembly language.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum