LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-25-2006, 11:58 AM   #1
seagreen
Member
 
Registered: Jun 2004
Distribution: Suse 8.2
Posts: 42

Rep: Reputation: 15
Angry cups browse problem


I can't get cups to work on a fresh suse 1O.1 instal

/var/log/cups/error_log says: "Please check BrowseAllow/BrowseDeny settings"

My cupsd.conf reads:
BrowseAllow @LOCAL
BrowseDeny All
BrowseAddress @LOCAL

BrowseOrder allow,deny

Also every time I try to install printer in Yast, KDE manager they freeze. Cannot log into localhost:631 either.
but if I try /eetc/init.d/cups restart in root cups restarts.

I'm baffled. Previous 9.3 instal gave no no problems whatsoever.
 
Old 06-26-2006, 04:57 AM   #2
imraven
LQ Newbie
 
Registered: Jun 2006
Location: SLC, UT
Distribution: Ubuntu
Posts: 21

Rep: Reputation: 15
I'd first check to see what the '@LOCAL' variable is set to. It should be set somewhere in that conf file. If it's not set or you can't find it I'd replace the '@LOCAL' to the addresses you'd like to browse from; probably localhost and your private network. Also, after you do a '/etc/init.d/cups restart' does it give the 'ok' and if it does when you issue the command 'pgrep cupsd' does it return the PID?
 
Old 06-26-2006, 06:31 AM   #3
seagreen
Member
 
Registered: Jun 2004
Distribution: Suse 8.2
Posts: 42

Original Poster
Rep: Reputation: 15
I have two computers on the network, a desktop and a laptop, which I presume are the 127.0.0.1 and 127.0.0.2 in the cupsd file below.


<Location />
Encryption IfRequested
Satisfy All
Order deny,allow
Deny From All
Allow From 127.0.0.1
Allow From 127.0.0.2
Allow From @LOCAL
</Location>
<Location /admin>
Require group sys
Encryption IfRequested
Satisfy All
Order deny,allow
Deny From All
Allow From 127.0.0.1
</Location>
<Location /classes>
Encryption IfRequested
Satisfy All
Order deny,allow
</Location>
<Location /printers>
Encryption IfRequested
Satisfy All
Order deny,allow
Allow From 127.0.0.1
Allow From 127.0.0.2
</Location>

I changed BrowseAddress and BrowseAllow to 127.0.0.1 but still won't connect I get this message with '/etc/init.d/cups restart' :

Shutting down cupsd done
Starting cupsdcupsd: Child exited with status 127!
startproc: exit status of parent of /usr/sbin/cupsd: 2
failed
pregrep cupds gives me:

seagreen@linux-83q3:~> pgrep cupsd
seagreen@linux-83q3:~>

no PID
 
Old 06-26-2006, 11:56 AM   #4
imraven
LQ Newbie
 
Registered: Jun 2006
Location: SLC, UT
Distribution: Ubuntu
Posts: 21

Rep: Reputation: 15
Seagreen,

Usually 127.0.0.* are reserved for localhost ip addresses. Try taking out all occurences of 127.0.0.2 and replacing them with the ip address of the 2nd machine where the ip is the network ip and not the localhost ip. On the 2nd machine do an
Code:
ifconfig <interface>
where <interface> is usually eth0, eth1, etc. It'll spit out some stuff like:
Code:
eth0      Link encap:Ethernet  HWaddr 00:13:D4:04:43:DA  
          inet addr:192.168.0.199  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:166298 errors:0 dropped:0 overruns:0 frame:0
          TX packets:162826 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:75086194 (71.6 Mb)  TX bytes:18744718 (17.8 Mb)
          Interrupt:3
Check for the line that starts w/ inet addr. This'll be the network ip for the machine; in my case it's 192.168.0.199. So, replace all occurences on ur cups machine where you have 127.0.0.2 with your inet addr of your 2nd machine. Then, I'd take out the @LOCAL for it doesn't seem to be serving a purpose. Also, if changing the 127.0.0.2 to your inet addr doesn't work try removing the line altogether to see if you can get it started just for localhost. Once we have that working then we can move on to the rest of the network. Let me know how it goes and good luck!
 
Old 06-27-2006, 08:38 AM   #5
seagreen
Member
 
Registered: Jun 2004
Distribution: Suse 8.2
Posts: 42

Original Poster
Rep: Reputation: 15
Well I tried your suggestions but nothing worked so I disinstalled/resinstalled CUPS, changed the IP of machine 2 to 192.168.0.10 from 127.0.0.2 and got cupsd running.

'/etc/init.d/cups restart' gives me DONE
and pregrep cupsd gives me PID 4463.

So I decided to test my Apple Laser 16/600 printer with a parallel port connection but the printer test gave me the error 'problem when sending message to the printer'.

A trial installation as network printer gave me the message:

connected as none
spool none

How do I fix this problem?

TIA
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
browse problem. bruse Linux - Networking 1 02-08-2006 12:28 PM
PPTP VPN browse problem george100 Linux - Networking 0 08-05-2005 11:05 AM
Ping no browse problem simplymepis Kaula Linux - Wireless Networking 2 06-12-2005 01:53 AM
Printing Problem (cups / cups-lpd) daleman Linux - Software 3 04-08-2005 08:01 AM
problem with browse chuang Linux - Networking 1 11-27-2002 02:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration