LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Accessing cups config page (https://www.linuxquestions.org/questions/linux-software-2/accessing-cups-config-page-56963/)

tunedLow 04-27-2003 01:54 AM

Accessing cups config page
 
I'm unabe to access the cups config page through my browser, using
http://localhost:631, or http://127.0.0.1:631


--> My loopback is running. I can ping localhost etc, and it's listed under hosts, and states that it's running in #ifconfig.


--> Cups is installed, and cupsd has been started and restarted. I make sure by checking #ifconfig aux, and cupsd is listed. I have also tried different combinations of starting and stopping /etc/rc.d/init.d/cups [start/stop/etc].


--> Here is the cups error log
/etc/cups# tail /var/log/cups/error_log
I [26/Apr/2003:12:37:05 -0600] Full reload complete.
E [26/Apr/2003:12:41:32 -0600] Scheduler shutting down due to SIGTERM.
I [26/Apr/2003:12:41:36 -0600] Listening to 0:631
I [26/Apr/2003:12:41:36 -0600] Loaded configuration file "/etc/cups/cupsd.conf"
I [26/Apr/2003:12:41:36 -0600] Configured for up to 100 clients.
I [26/Apr/2003:12:41:36 -0600] Allowing up to 100 client connections per host.
I [26/Apr/2003:12:41:36 -0600] Full reload is required.
I [26/Apr/2003:12:41:36 -0600] LoadPPDs: Read "/etc/cups/ppds.dat", 144 PPDs...
I [26/Apr/2003:12:41:36 -0600] LoadPPDs: No new or changed PPDs...
I [26/Apr/2003:12:41:36 -0600] Full reload complete.


--> Root is a member of the group sys. Don't really know how that relates but read it while googling around.


--> My display variable is set to :0.0


--> Here is some /var/log/messages for good measure:
Apr 26 10:00:25 marsha kernel: lp0: using parport0 (polling).
Apr 26 10:00:25 marsha kernel: lp0: compatibility mode
Apr 26 10:00:25 marsha last message repeated 2 times
Apr 26 10:05:08 marsha kernel: lp0: compatibility mode
Apr 26 10:05:08 marsha last message repeated 2 times
Apr 26 10:16:15 marsha -- MARK --
Apr 26 10:36:15 marsha -- MARK --
Apr 26 10:55:53 marsha kernel: usb.c: USB disconnect on device 2
Apr 26 11:16:15 marsha -- MARK --
Apr 26 11:36:15 marsha -- MARK --
Apr 26 11:49:42 marsha kernel: parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
Apr 26 11:49:42 marsha kernel: parport0: irq 7 detected
Apr 26 11:49:42 marsha kernel: lp0: using parport0 (polling).
Apr 26 11:49:42 marsha kernel: lp0: compatibility mode
Apr 26 11:49:42 marsha last message repeated 2 times
Apr 26 11:56:10 marsha kernel: lp0: compatibility mode
Apr 26 11:56:14 marsha last message repeated 5 times
Apr 26 11:57:26 marsha last message repeated 3 times
Apr 26 11:58:25 marsha last message repeated 3 times
Apr 26 12:16:15 marsha -- MARK --
Apr 26 12:30:35 marsha kernel: lp0: compatibility mode
Apr 26 12:30:35 marsha last message repeated 2 times
Apr 26 12:37:05 marsha kernel: lp0: compatibility mode
Apr 26 12:37:05 marsha last message repeated 2 times
Apr 26 12:41:36 marsha kernel: lp0: compatibility mode
Apr 26 12:41:36 marsha last message repeated 2 times
Apr 26 12:53:35 marsha kernel: lp0: compatibility mode
Apr 26 12:53:35 marsha last message repeated 2 times



Thanks much.

Tinkster 04-27-2003 02:37 AM

Looks good so far ... did you also add
cups 631/tcp cupsd #cups print daemon

to your /etc/services?

Cheers,
Tink

tunedLow 04-27-2003 12:01 PM

Thanks for the reply

I hadn't but have now, restarted inetd, even rebooted. Started cupsd, started /etc/rc.d/init.d/cups too. Still no joy.


The old lpd is still running. But that shouldn't have an effect on me simply getting to the cups config page. Figured I'd deal with that issue later.


Just times out at each try to http://localhost:631

Also tired:

--> Here is the Browse address section of my cups.conf
#BrowseAddress x.y.z.255
#BrowseAddress x.y.255.255
#BrowseAddress x.255.255.255
#BrowseAddress 255.255.255.255
BrowseAddress @LOCAL
#BrowseAddress @IF(name)
BrowseAddress 192.168.1.255

--> Also tried messing with mozilla proxy prefs. I don't have proxy, but saw it in another post here.

Thanks again

Tinkster 04-27-2003 07:17 PM

Quote:

started /etc/rc.d/init.d/cups too. Still no joy.
You should clean up your rc.d directory ... it's good
enough to copy cups (the shell script from init.d) to
rc.d and then modify rc.M and rc.6 to call it with
start and stop (respectively) ... having the structure
can have quite undesired results at times :}

What error-message are you getting, btw,
when trying to access http://localhost:631?

Also, when you say "the old lpd is still running",
did you verify that cupsd is actually up & running,
too?

The last thing I can think of is that you've been too
rough with a firewall script :}

Cheers,
Tink


All times are GMT -5. The time now is 09:51 PM.