You are not logged in.

#1 2014-11-08 00:49:08

stefano
Member
Registered: 2011-04-09
Posts: 269

[SOLVED] Cups 2.0 remote access issues

After CUPS recent upgrade to 2.0 both my cups server and client stopped working. In particular, I cannot even get to the administration pages from remote access.

I can get to CUPS's  home page, but I get an error as soon as I try to access any other page. The error I get in the browser (firefox) is

Unable to connect

Firefox can't establish a connection to the server at ....

Following wiki instructions, in my cupsd.conf file I have replaced the standard

Listen localhost:631

with the ip range for the local network

 
Listen 192.168.0.0/24:631

and I have added

<Location />
   Order allow,deny
   Allow from @LOCAL
</Location>

# Restrict access to the admin pages...
<Location /admin>
   Order allow,deny
   Allow from @LOCAL
</Location>

# Restrict access to configuration files...
<Location /admin/conf>
   AuthType Basic
   Require user @SYSTEM
   Order allow,deny
   Allow From @LOCAL
</Location>

DefaultEncription Never

Unfortunately, nothing has changed. I still get the same error in the browser and I cannot access the admin pages (or any page other than the home page).

Help is greatly appreciated.

Stefano

Last edited by stefano (2014-11-08 15:27:03)

Offline

#2 2014-11-08 11:23:16

Guzzista
Member
From: /etc
Registered: 2014-06-02
Posts: 13

Re: [SOLVED] Cups 2.0 remote access issues

Same here, I discovered my file sshd.service disappeared on the server. I get the error

# systemctl start cupsd
Failed to start cupsd.service: Unit cupsd.service failed to load: No such file or directory.

Don't know how to solve for now

Offline

#3 2014-11-08 11:43:14

clfarron4
Member
From: London, UK
Registered: 2013-06-28
Posts: 2,165
Website

Re: [SOLVED] Cups 2.0 remote access issues

Guzzista wrote:

Same here, I discovered my file sshd.service disappeared on the server. I get the error

# systemctl start cupsd
Failed to start cupsd.service: Unit cupsd.service failed to load: No such file or directory.

Don't know how to solve for now

Unless it's a custom service file your relying on, the service has been re-named.


Claire is fine.
Problems? I have dysgraphia, so clear and concise please.
My public GPG key for package signing
My x86_64 package repository

Offline

#4 2014-11-08 11:57:17

Guzzista
Member
From: /etc
Registered: 2014-06-02
Posts: 13

Re: [SOLVED] Cups 2.0 remote access issues

Thanks. I'm so stupid I didn't check the wiki (first thing to do).
Sorry Stefano if I "made dirty" your post... unless also your cupsd service is disabled

Offline

#5 2014-11-08 14:38:59

stefano
Member
Registered: 2011-04-09
Posts: 269

Re: [SOLVED] Cups 2.0 remote access issues

clfarron4 wrote:
Guzzista wrote:

Same here, I discovered my file sshd.service disappeared on the server. I get the error

# systemctl start cupsd
Failed to start cupsd.service: Unit cupsd.service failed to load: No such file or directory.

Don't know how to solve for now

Unless it's a custom service file your relying on, the service has been re-named.


Unfortunately, that's not where my problem lies. I was aware of the renaming issue and had acted accordingly.

Still looking for solutions.


S.

Offline

#6 2014-11-08 15:26:49

stefano
Member
Registered: 2011-04-09
Posts: 269

Re: [SOLVED] Cups 2.0 remote access issues

Web access is solved---I had misread the wiki instructions.

The default line:

Listen localhost:631

Should be replaced with a simple

Port 631

and not with an ip address and/or range, as I had done.

I am marking the issue as solved, even though I still can't print---local print jobs (e..g test pages) get stuck forever, remote print jobs never reach the server.

Offline

#7 2014-11-11 16:58:43

Morn
Member
Registered: 2012-09-02
Posts: 886

Re: [SOLVED] Cups 2.0 remote access issues

stefano wrote:

I still can't print---local print jobs (e..g test pages) get stuck forever, remote print jobs never reach the server.

Same here. So I guess downgrading CUPS is the only option?

Offline

Board footer

Powered by FluxBB