LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   CUPS installed in Gentoo but unable to access web admin tool (https://www.linuxquestions.org/questions/linux-software-2/cups-installed-in-gentoo-but-unable-to-access-web-admin-tool-129158/)

darin3200 12-26-2003 10:11 PM

CUPS installed in Gentoo but unable to access web admin tool
 
Hi,
I have gentoo installed and I have also gone ahead and ran emerge for cups. Whenever I open a browser, galeon or mozilla, and type
http://localhost:631
or
http://localhost:631/admin
or
127.0.0.1:631
I also get an error saying connection attempt refused. Any ideas on how to fix this?
Thanks,

UPDATE:
I checked and my port 631 is closed, do I have to have this open?

mcleodnine 12-26-2003 10:17 PM

Is cupsd running? Try 'ps -e | grep cups'

If it's not running you can start it with 'cupsd' but you should check to see if Gentoo has a prettier startup script for it and that it will run on the next boot.

green_dragon37 12-26-2003 10:22 PM

You need to do "rc-update add cupsd default" and then run "/etc/init.d/cupsd start". That should start what you need.

Ian

darin3200 12-26-2003 10:35 PM

I started cups and now it works, I will look into that startup script.
Thanks for all the help.

darin3200 12-26-2003 10:57 PM

I can get cups going put when I go to install I get a client-error-not-possible, the same thing happens when I do it in the command line also.

root@gentoo darinf # /usr/sbin/lpadmin -p LaserJet -E -v parallel:/dev/lpr -m laserjet.ppd
lpadmin: add-printer (set device) failed: client-error-not-possible

anyone have any ideas on this?


All times are GMT -5. The time now is 06:52 AM.