PDA

View Full Version : [mythbuntu] Network printing broken



pssturges
August 28th, 2008, 11:18 AM
Hi,

I have an HP deskjet 2100 printer connected to a mythbuntu 8.04.1 box. There are several other pc's connected to the local network, some winxp, some vista, and some ubuntu.

Printing had been set up and working well for about 6 months. I could print from the server and all the clients.

Recently, for no obvious reason I could see, network printing stopped working. I can still print from the server.

When I try to print from one of the ubuntu clients the print dialog comes up and the printer is visible, but the print button is greyed out and cannot be clicked.

Here is my cups config file:



# Show troubleshooting information in error_log.
LogLevel debug
SystemGroup lpadmin
# Allow remote access
Port 631
Listen /var/run/cups/cups.sock
# Show shared printers on the local network.
Browsing On
BrowseOrder allow,deny
BrowseAllow all
DefaultAuthType Basic
<Location />
# Allow remote administration...
Order allow,deny
Allow @LOCAL
</Location>
<Location /admin>
# Allow remote administration...
Order allow,deny
Allow @LOCAL
</Location>
<Location /admin/conf>
AuthType Default
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 CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
AuthType Default
Require user @SYSTEM
Order deny,allow
</Limit>
<Limit Pause-Printer Resume-Printer 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-Accept-Jobs CUPS-Reject-Jobs>
AuthType Default
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>


Not sure what other configs/logs might be relevant, so please let me know and I'll post.

Thanks in advance for any help,

Phil

pssturges
August 30th, 2008, 01:15 AM
Anyone, any ideas?

pssturges
October 30th, 2008, 12:22 AM
I really need this fixed.

The printers appear on the clients, but when I try to print I get an error message saying the printer is not connected.

In the printer configuration dialog on the clients, all the settings for the printer are greyed out so they cannot be adjusted. If I then press the 'Goto server' button and enter the details for the server I get the following error: "There was an error during the CUPS operation 'httpConnectionEncrypt Failed'"

Any help much appreciated.

Phil

rufia
June 4th, 2009, 12:01 PM
I had the same problem when I installed Ubunbtu 8.10 on a pc with a backup I made with remastersys. If i tried to stop and start or restart cups it gave me the following message:

cupsd: Child exited with status 1!

To fix the problem I typed the following command in terminal:

sudo apt-get install --reinstall ssl-cert

It gives you a verification message, so it is up to you whether you accept or not.

Restart your PC afterwards. Hope it works for everyone.

rpi+
August 15th, 2009, 01:36 PM
To rufia!

Your posting solved my problem. Thanks a lot!

(My Problem and the solution:

II made a DVD on machine 1 with Ubuntu 9.04 and a locally by USB connected printer with
$ remastersys backup
then installed the DVD on machine 2 and did not even see the printer on machine 1 in the local network. I too got this message:
cupsd: Child exited with status 1!

After your suggestion
sudo apt-get install --reinstall ssl-cert
accepting and reboot

everything worked fine!)


rpi.