LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-16-2006, 06:50 PM   #1
alirezan1
Member
 
Registered: Nov 2004
Location: Vancouver
Distribution: Ubunty, CentOS ,Mandriva, Gentoo, RedHat, Fedora, Knoppix
Posts: 150

Rep: Reputation: 15
CUPS doesn't run on Mandriva 2007???!


Hello

I have recently upgraded my Mnadriva 2006 to Mandriva 2007 and found out that CUPS daemon doesn't run!
I have tried the following:


[root@localhost cups]# killall -HUP cupsd
[root@localhost cups]# /etc/init.d/cups restart
Stopping CUPS printing system: [ OK ]
Starting CUPS printing system: [ OK ]
Waiting for the CUPS daemon getting ready..............................
WARNING: CUPS daemon still not listening after 30 sec, aborting auto-admin tasks .

Here's my CUPS config file, cupsd.conf:

LogLevel info
TempDir /var/spool/cups/tmp
Port 631
Browsing On
BrowseAddress @LOCAL
BrowseDeny All
BrowseAllow @LOCAL
BrowseOrder Deny,Allow
<Location />
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
Allow From 192.168.1.101
Allow From 192.168.1.*
Allow From @LOCAL
</Location>
<Location /admin>
AuthType Basic
AuthClass System
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
</Location>


It's the default file that came with the installation. I haven't changed it.

Everytime I try to open my KDE printing module, I get the error:

Unable to retrieve the printer List. Error message received from manager:

Connection to CUPS server failed. Check that CUPS server is currently installed and running. Error: Connection Refused.




Can anybody help me fix this problem?

Thanks

Ali
 
Old 10-16-2006, 09:12 PM   #2
alirezan1
Member
 
Registered: Nov 2004
Location: Vancouver
Distribution: Ubunty, CentOS ,Mandriva, Gentoo, RedHat, Fedora, Knoppix
Posts: 150

Original Poster
Rep: Reputation: 15
I also did the following:

[root@localhost cups]# ps -A | grep cups
7351 ? 00:00:00 cupsd

[root@localhost cups]# netstat -tan|grep 63
tcp 0 0 0.0.0.0:631 0.0.0.0:* LISTEN
tcp 0 0 192.168.1.101:47261 207.46.110.62:1863 ESTABLISHED
tcp 0 0 :::631 :::* LISTEN


[root@localhost cups]# tail -f /var/log/cups/error_log
I [16/Oct/2006:18:08:27 -0700] <Limit All>
I [16/Oct/2006:18:08:27 -0700] Order Deny,Allow
I [16/Oct/2006:18:08:27 -0700] </Limit>
I [16/Oct/2006:18:08:27 -0700] </Policy>
I [16/Oct/2006:18:08:27 -0700] Full reload is required.
I [16/Oct/2006:18:08:27 -0700] Loaded MIME database from '/etc/cups': 35 types, 40 filters...
I [16/Oct/2006:18:08:27 -0700] Loading job cache file "/var/cache/cups/job.cache"...
I [16/Oct/2006:18:08:27 -0700] Full reload complete.
I [16/Oct/2006:18:08:27 -0700] Listening to :::631 on fd 2...
I [16/Oct/2006:18:08:27 -0700] Listening to 0.0.0.0:631 on fd 3...




Can't seem to be able to find the problem. Any help?

Thanks

Ali
 
Old 01-25-2007, 12:58 PM   #3
ray0665
LQ Newbie
 
Registered: Jan 2007
Location: NJ
Distribution: Mandriva
Posts: 2

Rep: Reputation: 0
Cups problem with Mandriva 2007

I had the same problem after upgrading and solved it by adding ServerName <nameofthishost>
to client.conf.O


I don't know if this had anything to do with it but it seemed like the right thing to do: I also added "Allow from <ip address> to all the location paragraphs in cupsd.conf.O

Ray
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Mandriva 2007 and Cedega cherif Mandriva 22 03-01-2007 10:05 PM
Mandriva 2007 free. Cannot run Mono with windows.forms aragos Mandriva 2 10-17-2006 04:12 PM
Mandriva 2007 Info! Cobra243 Mandriva 3 10-06-2006 06:47 PM
Mandriva 2007 and Slackware 11.0 Out! w3bd3vil Mandriva 14 10-06-2006 10:32 AM


All times are GMT -5. The time now is 04:41 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration