Koozali.org: home of the SME Server

CUPS Addon - Problems accessing the Admin Panel

keyman0202

CUPS Addon - Problems accessing the Admin Panel
« on: November 22, 2006, 04:20:38 PM »
I've installed the CUPS addon months ago and it has been working well.  I applied an update to SME, and now I cannot access the admin panels.  I've unistalled and reinstalled according to the How to, but still no luck accessing the admin panel.

Any advice?

keyman0202

Just for clarity....
« Reply #1 on: November 22, 2006, 04:22:19 PM »
It's rvandenaker-cups that I am using.

Thanks.....

mbachmann

CUPS Addon - Problems accessing the Admin Panel
« Reply #2 on: November 24, 2006, 11:27:56 AM »
Try to turn you browser's proxy on or off. Any error or description what happens would be helpful. Did you follow the van der Akers description here: http://mirror.contribs.org/smeserver/contribs//rvandenaker/testing/smeserver-cups/documentation/howtos/howto-install-cups.html

Try
Code: [Select]
whereis cups
cups: /etc/cups /usr/lib/cups /usr/share/cups

and check the permissions. Directory owner is root.

Offline dotcol

  • *
  • 9
  • +0/-0
Re: CUPS Addon - Problems accessing the Admin Panel
« Reply #3 on: August 27, 2009, 05:14:19 PM »
I've installed the CUPS addon months ago and it has been working well.  I applied an update to SME, and now I cannot access the admin panels.  I've unistalled and reinstalled according to the How to, but still no luck accessing the admin panel.

Any advice?

Has anyone been able to solve this issue? I think it might have something to do with the  port :361 being shutdown, I have the same Issue

Online Stefano

  • *
  • 10,894
  • +3/-0
Re: CUPS Addon - Problems accessing the Admin Panel
« Reply #4 on: August 27, 2009, 05:32:37 PM »
Has anyone been able to solve this issue? I think it might have something to do with the  port :361 being shutdown, I have the same Issue

AFAIK cups works on port 631.. was it a typo?

Offline dotcol

  • *
  • 9
  • +0/-0
Re: CUPS Addon - Problems accessing the Admin Panel
« Reply #5 on: August 27, 2009, 06:23:11 PM »
AFAIK cups works on port 631.. was it a typo?

Yes! It is a typo I meant 631.. thank you stefano.

I istalled the cups contrib, which was working fine, until I proceeded to run updates on my SME 7.4 server. Now I cannot access the admin page at  http://myserver:631. I've looked around for more posts but have not seen a solution. I think it might have something to do with the CentOS update or cups rpm upgrade.. but am not sure.. I'm not very well versed in Linux, and appreciate any input..

[Attached: /etc/cups/cups.conf access configuration and Netsat listening ports]

/etc/cups/cups.conf
Quote
Code: [Select]
<Location />                                                                                                 
Order Deny,Allow                                                                                             
Deny From All                                                                                               
Allow From 127.0.0.1                                                                                         
Allow From 192.168.1.0/255.255.255.0                                                                         
                                                                                                             
</Location>                                                                                                 
                                                                                                             
<Location /admin> 


Netsat

Code: [Select]
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address               Foreign Address             State     
tcp        0      0 *:7777                      *:*                         LISTEN     
tcp        0      0 *:imaps                     *:*                         LISTEN     
tcp        0      0 *:9090                      *:*                         LISTEN     
tcp        0      0 *:9091                      *:*                         LISTEN     
tcp        0      0 *:pop3s                     *:*                         LISTEN     
tcp        0      0 *:afpovertcp                *:*                         LISTEN     
tcp        0      0 *:ldap                      *:*                         LISTEN     
tcp        0      0 *:5222                      *:*                         LISTEN     
tcp        0      0 *:5223                      *:*                         LISTEN     
tcp        0      0 *:mysql                     *:*                         LISTEN     
tcp        0      0 *:netbios-ssn               *:*                         LISTEN     
tcp        0      0 *:5229                      *:*                         LISTEN     
tcp        0      0 *:pop3                      *:*                         LISTEN     
tcp        0      0 *:imap                      *:*                         LISTEN     
tcp        0      0 *:http                      *:*                         LISTEN     
tcp        0      0 *:smtps                     *:*                         LISTEN     
tcp        0      0 *:7443                      *:*                         LISTEN     
tcp        0      0 localhost:http-admin        *:*                         LISTEN     
tcp        0      0 *:5269                      *:*                         LISTEN     
tcp        0      0 *:ftp                       *:*                         LISTEN     
tcp        0      0 127.0.0.2:domain            *:*                         LISTEN     
tcp        0      0 hpserver.otcueros.lo:domain *:*                         LISTEN     
tcp        0      0 hpserver.otcueros.local:ssh *:*                         LISTEN     
tcp        0      0 localhost:ipp               *:*                         LISTEN     
tcp        0      0 *:smtp                      *:*                         LISTEN     
tcp        0      0 localhost:26                *:*                         LISTEN     
tcp        0      0 *:https                     *:*                         LISTEN     
tcp        0      0 localhost:4700              *:*                         LISTEN     
tcp        0      0 *:7070                      *:*                         LISTEN     
udp        0      0 hpserver.otc:netbios-ns     *:*                                     
udp        0      0 *:netbios-ns                *:*                                     
udp        0      0 hpserver.ot:netbios-dgm     *:*                                     
udp        0      0 *:netbios-dgm               *:*                                     
udp        0      0 *:radius                    *:*                                     
udp        0      0 *:radius-acct               *:*                                     
udp        0      0 localhost:domain            *:*                                     
udp        0      0 127.0.0.2:domain            *:*                                     
udp        0      0 hpserver.otcuero:domain     *:*                                     
udp        0      0 *:ipp                       *:*                                     
udp        0      0 hpserver.otcueros.local:ntp *:*                                     
udp        0      0 localhost:ntp               *:*                                     
udp        0      0 *:ntp                       *:*             

Online Stefano

  • *
  • 10,894
  • +3/-0
Re: CUPS Addon - Problems accessing the Admin Panel
« Reply #6 on: August 27, 2009, 07:29:21 PM »
I don't see cupsd service running.. what's the output of

Code: [Select]
config show cupsd

and of
Code: [Select]
service cupsd status

if the service isn't running, try to start it with
Code: [Select]
service cupsd start

and check /var/log/messages for any error

HTH
Stefano

Offline dotcol

  • *
  • 9
  • +0/-0
Re: CUPS Addon - Problems accessing the Admin Panel
« Reply #7 on: August 27, 2009, 08:17:22 PM »
Thank you for your help Stefano. It seems its running, I ran the command to start and found no errors in the message log:

Code: [Select]
[root@hpserver log]# config show cupsd
cupsd=service
    LastSync=1251374441
    status=enabled
[root@hpserver log]# service cupsd status
run: /service/cupsd: (pid 4950) 59191s, normally down; run: log: (pid 3588) 59216s
[root@hpserver log]#


Message Log
Code: [Select]
....
Aug 27 13:07:52 hpserver cupsd: Starting cupsd succeeded


I still can't load the :631 port ... Thanks for your help

UPDATE

I notice that when I try to access the http://myserver:631 I see the following note on my command prompt

Code: [Select]
hannel 3: open failed: connect failed:
channel 3: open failed: connect failed:
channel 3: open failed: connect failed:
channel 4: open failed: connect failed:

I am currently SSH into my machine through and using an SSH tunnel as a proxy to run access the server-manager in firefox

I don't know if this helps clarify anything, and again thanks for your help,

David
« Last Edit: August 27, 2009, 08:32:59 PM by dotcol »

Online Stefano

  • *
  • 10,894
  • +3/-0
Re: CUPS Addon - Problems accessing the Admin Panel
« Reply #8 on: August 27, 2009, 08:47:42 PM »
if you give
Code: [Select]
elinks http://localhost:631

in console, does it work?

Stefano

Offline dotcol

  • *
  • 9
  • +0/-0
Re: CUPS Addon - Problems accessing the Admin Panel
« Reply #9 on: August 27, 2009, 09:36:24 PM »
if you give
Code: [Select]
elinks http://localhost:631

in console, does it work?

Stefano

YES!!! that worked, thank you! So it's definitely a matter of settings permision for outside access. Would you happen to know how to modify this through the cups.conf ? Or is some firewall running in SME that I have to modify IP tables? I'm going to attempt to work it out... but appreciate your input.

Again, thanks for all your help

David

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: CUPS Addon - Problems accessing the Admin Panel
« Reply #10 on: August 28, 2009, 04:02:43 PM »
I notice that when I try to access the http://myserver:631 I see the following note on my command prompt

Code: [Select]
hannel 3: open failed: connect failed:
channel 3: open failed: connect failed:
channel 3: open failed: connect failed:
channel 4: open failed: connect failed:

I am currently SSH into my machine through and using an SSH tunnel as a proxy to run access the server-manager in firefox
Considering everything works when local on the server:

YES!!! that worked, thank you!

I think it has to do with the tunnel you have setup. I am perfectly able to access the cup page through server manager from a remote systems (since I opened it up through server-manager to the outside world) as well as local machines in the network and from the server itself.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)