Alas Cups no more. Web admin page times out
If I type in http://localhost:631 in the web browser nothing happens the page times out.
If I go to admin and click on printer eventually after three minutes it'll come up. The end result is no printing. This is on etchy any quick ideas where I may look?? Everything seems okay and removing and re-installing cups via synaptic package manager doesn't make any difference. At the moment the machines at work and I'm at home. I removed cups again and intend trying to install it via the command line. Etchy is on the latest kernel any known bugs with this??? |
Are you on Debian Etch or Ubuntu Edgy? I don't recall seeing "etchy" somewhere :p
I'm having similar issues with rsync: takes forever to ask a password and build the file list to transfer. IIRC it has something to do with IPv6 resolving. Haven't come round to fix it. It might be the source of your trouble with Webmin. |
Please pardon me if this is a bit obvious, but you have to be a member of the lpadmin group. To check this, enter the command "groups" at the console. this will list your group memberships.
|
Quote:
Heres the cups conf no errors listed by cups in the logs in fact theres no log file. I've also checked thats cups is running and it seems that it is. root 2688 1 0 08:43 ? 00:00:00 /usr/sbin/cupsd root 3344 3312 0 09:03 pts/0 00:00:00 grep cupsd # # # Sample configuration file for the Common UNIX Printing System (CUPS) # scheduler. See "man cupsd.conf" for a complete description of this # file. # # Log general information in error_log - change "info" to "debug" for # troubleshooting... LogLevel warning # Administrator user group... SystemGroup lpadmin # Only listen for connections from the local machine. Listen localhost:631 Listen /var/run/cups/cups.sock # Show shared printers on the local network. Browsing On BrowseOrder allow,deny BrowseAllow @LOCAL # Default authentication type, when authentication is required... DefaultAuthType Basic # Restrict access to the server... <Location /> Order allow,deny Allow localhost </Location> # Restrict access to the admin pages... <Location /admin> Encryption Required Order allow,deny Allow localhost </Location> # Restrict access to configuration files... <Location /admin/conf> AuthType Basic Require user @SYSTEM Order allow,deny Allow localhost </Location> # Set the default printer/job policies... <Policy default> # Job-related operations must be done by the owner or an adminstrator... <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job> Require user @OWNER @SYSTEM Order deny,allow </Limit> # All administration operations require an adminstrator to authenticate... <Limit Pause-Printer Resume-Printer Set-Printer-Attributes Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Add-Printer CUPS-Delete-Printer CUPS-Add-Class CUPS-Delete-Class CUPS-Accept-Jobs CUPS-Reject-Jobs CUPS-Set-Default> AuthType Basic Require user @SYSTEM Order deny,allow </Limit> # Only the owner or an administrator can cancel or authenticate a job... <Limit Cancel-Job CUPS-Authenticate-Job> Require user @OWNER @SYSTEM Order deny,allow </Limit> <Limit All> Order deny,allow </Limit> </Policy> # # # # Printcap: the name of the printcap file. Default is /etc/printcap. # Leave blank to disable printcap file generation. # Printcap /var/run/cups/printcap # # PrintcapFormat: the format of the printcap file, currently either # BSD or Solaris. The default is "BSD". # #PrintcapFormat BSD #PrintcapFormat Solaris # # PrintcapGUI: the name of the GUI options panel program to associate # with print queues under IRIX. The default is "/usr/bin/glpoptions" # from ESP Print Pro. # # This option is only used under IRIX; the options panel program # must accept the "-d printer" and "-o options" options and write # the selected printer options back to stdout on completion. # #PrintcapGUI /usr/bin/glpoptions |
Ah switched on error log
localhost - - [19/Oct/2007:08:56:24 +0100] "POST / HTTP/1.1" 200 351 CUPS-Get-Classes client-error-not-found localhost - - [19/Oct/2007:08:56:41 +0100] "POST / HTTP/1.1" 200 351 CUPS-Get-Classes client-error-not-found localhost - - [19/Oct/2007:08:56:41 +0100] "POST /admin/ HTTP/1.1" 200 138 Purge-Jobs client-error-bad-request localhost - - [19/Oct/2007:08:56:59 +0100] "POST /admin/ HTTP/1.1" 200 149 Resume-Printer client-error-not-found localhost - - [19/Oct/2007:08:58:17 +0100] "POST / HTTP/1.1" 200 351 CUPS-Get-Classes client-error-not-found |
Seems to be related to kernel 2.6.15
Actually I'm beginning to suspect iptables is the problem Prior to the above kernel it doesn't load as the installed kernel doesn't support it. I need the 2.6.15 kernel as the mouse and keyboard behaviour isn't consistent. Under 2.6.15 they work fine. So I've gone back to original setup and removed iptables I'll then upgrade and see what happens. |
Removing iptables didn't do anything as upgrading the kernel caused them to be re-installed.
However I was right that the problem was with the iptables. I tried opening the ports via the command line but this didn't work. I then tried disabling iptables via command line but that didn't work either. In the end I installed firestarter and soon as that came up it ran the wizard. When that finished up popped the admin page for cups problem solved. So overall it was a case of a dodgy iptables install |
All times are GMT -5. The time now is 06:31 PM. |