SCIENTIFIC-LINUX-USERS Archives

September 2009

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Reply To:
Date:
Fri, 18 Sep 2009 12:04:14 +0000
Content-Type:
multipart/signed
Parts/Attachments:
text/plain (2594 bytes) , signature.asc (259 bytes)
Jon Peatfield wrote:

> On the occasions we have seen that it has usually turned out to be a random
>  rpc service which has already picked port 631 so restarting that will 
> usually free up the port...
> 
> Running
> 
> netstat -anp| grep 631

before bellow changes to 'cupsd.conf';
# netstat -anp| grep 631
tcp        0      0 127.0.0.1:631               0.0.0.0:* \
                  LISTEN      4753/cupsd
udp        0      0 0.0.0.0:631                 0.0.0.0:* \
                              4753/cupsd
unix  3      [ ]         STREAM     CONNECTED     13631   \
 5006/hald           @/var/run/hald/dbus-AtyNmQfB02

after changes and '/etc/init.d/cups restart';
# netstat -anp| grep 631
tcp        0      0 0.0.0.0:631                 0.0.0.0:* \
                  LISTEN      6840/cupsd

tcp        0      0 :::631                      :::*      \
                  LISTEN      6840/cupsd

udp        0      0 0.0.0.0:631                 0.0.0.0:* \
                              6840/cupsd

unix  3      [ ]         STREAM     CONNECTED     13631  \
5006/hald           @/var/run/hald/dbus-AtyNmQfB02

after reboot;
# netstat -anp| grep 631
tcp        0      0 0.0.0.0:631                 0.0.0.0:* \
                  LISTEN      4746/cupsd

tcp        0      0 :::631                      :::*      \
                  LISTEN      4746/cupsd

udp        0      0 0.0.0.0:631                 0.0.0.0:* \
                              4746/cupsd

>> X [17/Sep/2009:12:42:43 +0000] No Listen or Port lines were found to \ 
>> allow access via localhost!
> 
> The default cupsd.conf versions I've seen would have listed lines so I'm 
> not sure what you have in the config...

understand. what should i look for so that i can post lines? or are they
still needed now that there are no errors in '/var/log/cups/error_log'?

> If you arn't doing ipp over ssl/tls then just comment out the 
> ServerCertificate and ServerKey lines

done

> and SSLListen/SSLPort directives in the cupsd.conf file.

neither of above are in 'cupsd.conf'.

i did change 'Listen localhost:631' to 'Port 631'.


after reboot, 'http:localhost:631' still times out.

-- 

peace out.

tc,hago.

g
.

****
in a free world without fences, who needs gates.
**
help microsoft stamp out piracy - give linux to a friend today.
**
to mess up a linux box, you need to work at it.
to mess up an ms windows box, you just need to *look* at it.
**
learn linux:
'Rute User's Tutorial and Exposition' http://rute.2038bug.com/index.html
'The Linux Documentation Project' http://www.tldp.org/
'LDP HOWTO-index' http://www.tldp.org/HOWTO/HOWTO-INDEX/index.html
'HowtoForge' http://howtoforge.com/
****




ATOM RSS1 RSS2