cannot open system/admin/printing, cups errors, cups server could not be contacted...

gerhard gertkoen at telkomsa.net
Sat Apr 14 07:12:14 UTC 2007


On Fri, 2007-04-13 at 23:51 -0700, NoOp wrote:
> On 04/13/2007 11:29 PM, gerhard wrote:
> > On Fri, 2007-04-13 at 19:24 -0700, NoOp wrote:
> >> On 04/13/2007 01:11 PM, gerhard wrote:
> >> > On Fri, 2007-04-13 at 12:43 -0700, NoOp wrote:
> >> 
> >> >> 
> >> >> This might help:
> >> >> 
> >> >> http://easylinux.info/wiki/Ubuntu:Edgy#Print_Server_.28cupsd.29
> >> >> 
> >> >> sudo apt-get install cupsys*
> >> >> sudo /etc/init.d/cupsys restart
> >> >> 
> >> >> Then:
> >> >>  How to add a printer
> >> >> 
> >> >>     * Go to System -> Administration -> Printing.
> >> >>     * Choose "Add printer".
> >> >>     * "Add printer wizard" should start and tell you what to do.
> >> > 
> >> > Can not open sytem/admin/printing. If I can get it to work everything
> >> > will work
> >> >> 
> >> >> 
> >> >> 
> >> 
> >> I realize that. That's why I asked you to:
> >> 
> >> sudo apt-get install cupsys*
> >> 
> >> [don't forget the asterisk * ]
> >> 
> >> My guess is that you have some missing bits. That command will install
> >> *everything* related to cupsys.  [I apologize for taking somewhat of a
> >> shotgun approach here, but that will make sure that you actually have
> >> all the bits installed].
> >> 
> >> When finished:
> >> 
> >> sudo /etc/init.d/cupsys restart
> >> 
> >> Now see if sytem/admin/printing works.
> >> 
> >> Please post the output of the commands when finished.
> >> 
> >   This is what I get but after Installation I still get cups server
> >> could not be contacted
> > 
> >> Reading package lists... Done
> >> Building dependency tree       
> >> Reading state information... Done
> >> Note, selecting cupsys-common for regex 'cupsys*'
> >> Note, selecting cupsys-driver-gimpprint-data for regex 'cupsys*'
> >> Note, selecting cupsys-bsd for regex 'cupsys*'
> >> Note, selecting libcupsys-dev for regex 'cupsys*'
> >> Note, selecting libcupsys2-dev instead of libcupsys-dev
> >> Note, selecting cupsys-server for regex 'cupsys*'
> >> Note, selecting cupsys-pstoraster for regex 'cupsys*'
> >> Note, selecting cupsys-driver-gimpprint for regex 'cupsys*'
> >> Note, selecting cupsys-pt for regex 'cupsys*'
> >> Note, selecting cupsys-driver-gutenprint for regex 'cupsys*'
> >> Note, selecting libcupsys1-dev for regex 'cupsys*'
> >> Note, selecting cupsys-client for regex 'cupsys*'
> >> Note, selecting libcupsys2 for regex 'cupsys*'
> >> Note, selecting cupsys for regex 'cupsys*'
> >> Note, selecting libcupsys2-dev for regex 'cupsys*'
> >> Note, selecting libcupsys2-gnutls10 for regex 'cupsys*'
> >> Note, selecting libcupsys2 instead of libcupsys2-gnutls10
> >> The following packages were automatically installed and are no longer required:
> >>   tango-icon-theme-extras
> >> Use 'apt-get autoremove' to remove them.
> >> The following extra packages will be installed:
> >>   cupsys-driver-gimpprint cupsys-driver-gutenprint
> >> Suggested packages:
> >>   gutenprint-doc gutenprint-locales
> >> The following NEW packages will be installed:
> >>   cupsys-driver-gimpprint cupsys-driver-gutenprint
> >> 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
> >> Need to get 0B/1032kB of archives.
> >> After unpacking 1409kB of additional disk space will be used.
> >> Do you want to continue [Y/n]? y
> >> Selecting previously deselected package cupsys-driver-gutenprint.
> >> (Reading database ... 124057 files and directories currently installed.)
> >> Unpacking cupsys-driver-gutenprint (from .../cupsys-driver-gutenprint_5.0.0-2ubuntu2_i386.deb) ...
> >> Selecting previously deselected package cupsys-driver-gimpprint.
> >> Unpacking cupsys-driver-gimpprint (from .../cupsys-driver-gimpprint_5.0.0-2ubuntu2_i386.deb) ...
> >> Setting up cupsys-driver-gutenprint (5.0.0-2ubuntu2) ...
> >>  * Restarting Common Unix Printing System: cupsd                                                                                                      [ ok ] 
> >> 
> >> Setting up cupsys-driver-gimpprint (5.0.0-2ubuntu2) ...
> >> gerhard at gerhard:~$ sudo /etc/init.d/cupsys restart
> >>  * Restarting Common Unix Printing System: cupsd                               [ ok ]
> >> 
> >> 
> > 
> > 
> 
> Sorry, I don't know what else to suggest. Have you tried rebooting after
> the above?

> Yes restarted but no luck but can you check if /etc/cups/cupsd.conf is correct
> 
> 
> # Show troubleshooting information in error_log.
> LogLevel debug
> SystemGroup lpadmin
> # Allow remote access
> Port 631
> Listen /var/run/cups/cups.sock
> # Enable printer sharing and shared printers.
> Browsing On
> BrowseOrder allow,deny
> BrowseAllow @LOCAL
> BrowseAddress @LOCAL
> DefaultAuthType Basic
> <Location />
>   # Allow shared printing and remote administration...
>   Order allow,deny
>   Allow @LOCAL
> </Location>
> <Location /admin>
>   # Allow remote administration...
>   Order allow,deny
>   Allow @LOCAL
> </Location>
> <Location /admin/conf>
>   AuthType Basic
>   Require user @SYSTEM
>   # Allow remote access to the configuration files...
>   Order allow,deny
>   Allow @LOCAL
> </Location>
> <Policy default>
>   <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>
>   <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>
>   <Limit CUPS-Authenticate-Job>
>     Require user @OWNER @SYSTEM
>     Order deny,allow
>   </Limit>
>   <Limit All>
>     Order deny,allow
>   </Limit>
> </Policy>
> -- 
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
> 





More information about the ubuntu-users mailing list