LinuxQuestions.org
Help answer threads with 0 replies.
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 05-26-2006, 06:33 AM   #1
unicornop
LQ Newbie
 
Registered: May 2006
Distribution: Fedora Core 5
Posts: 4

Rep: Reputation: 0
Unhappy CUPS problem: IPP request failed for unknow reason


*Sigh* this is a difficult one, I hope someone else knows more than me.

Since I've updated CUPS via yum a few weeks ago, I am no more able to print - this is under Fedora Core 4.
Finally desperately I upgraded to Fedora Core 5 (I'll save you the details ).

But now I'm still not able.
Always the same message when trying to configure the printer, restarting the print manager, etc:

"Unable to retrieve the printer list. Error message received from manager: Connection to CUPS server failed. Check that the CUPS server is correctly installed and running. Error: the IPP request failed for an unknown reason."


Remark 1: yes CUPS is installed, i.e. rpm says:
% rpm -qa | grep cups
cups-1.2.1-1.2
hal-cups-utils-0.5.5-1.2.fc5.2
cups-libs-1.2.1-1.2
libgnomecups-0.2.2-3.2.1

Remark 2: yes the CUPS server is running, at least ps says:
% ps -Af | grep cups
root 2199 1 0 09:59 ? 00:00:00 cupsd
root 3269 1 0 10:00 ? 00:00:00 cups-config-daemon

Remark 3: no I can't administer printers via web-interface, even when logged in as root surfing to "localhost:631" tells me: "403 Forbidden". And my firewall is completely disabled.
The etc/cups/cupsd.conf-file is ending with these lines:
# Lines below are automatically generated - DO NOT EDIT
<Location /printers/mijnprt>
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
AuthType None
</Location>
Browsing On
BrowseProtocols cups
BrowseOrder Deny,Allow
BrowseAllow from @LOCAL
Listen 127.0.0.1:631


And so... help!! Anyone able to help me out of this labyrint ??
 
Old 05-26-2006, 07:21 AM   #2
marozsas
Senior Member
 
Registered: Dec 2005
Location: Campinas/SP - Brazil
Distribution: SuSE, RHEL, Fedora, Ubuntu
Posts: 1,494
Blog Entries: 2

Rep: Reputation: 68
Yes, I had the same problem too. It is a bug in SELinux (which is a pain in the ass, BTW).

To confirm that:
Code:
# setenforce Permissive
# rccups restart
If cups starts as expected, than you can put SELinux in Permissive state until a fix for cups becomes available. Edit /etc/selinux/config and change the line "SELINUX=enforcing to "SELINUX=permissive".
 
Old 05-26-2006, 07:24 AM   #3
marozsas
Senior Member
 
Registered: Dec 2005
Location: Campinas/SP - Brazil
Distribution: SuSE, RHEL, Fedora, Ubuntu
Posts: 1,494
Blog Entries: 2

Rep: Reputation: 68
Sorry, "rccups" is an alias in my system. The default command is "service cups restart".
 
Old 05-26-2006, 11:23 AM   #4
unicornop
LQ Newbie
 
Registered: May 2006
Distribution: Fedora Core 5
Posts: 4

Original Poster
Rep: Reputation: 0
[QUOTE=marozsas]Yes, I had the same problem too. It is a bug in SELinux (which is a pain in the ass, BTW).

To confirm that:
Code:
# setenforce Permissive
# rccups restart
I tried but that seems not to be the cause:
Code:
%  setenforce Permissive
setenforce: SELinux is disabled
% service cups restart
Stopping cups:                                             [  OK  ]
Starting cups:                                             [  OK  ]
... and the problem is still existing.

Listing /etc/selinux/config:
Code:
# SELINUX= can take one of these three values:
#       enforcing - SELinux security policy is enforced.
#       permissive - SELinux prints warnings instead of enforcing.
#       disabled - SELinux is fully disabled.
SELINUX=Disabled
# SELINUXTYPE= type of policy in use. Possible values are:
#       targeted - Only targeted network daemons are protected.
#       strict - Full SELinux protection.
SELINUXTYPE=targeted
# SETLOCALDEFS= Check local definition changes
SETLOCALDEFS=0
Other suggestions?
 
Old 05-26-2006, 11:49 AM   #5
marozsas
Senior Member
 
Registered: Dec 2005
Location: Campinas/SP - Brazil
Distribution: SuSE, RHEL, Fedora, Ubuntu
Posts: 1,494
Blog Entries: 2

Rep: Reputation: 68
Quote:
Originally Posted by unicornop
... and the problem is still existing.
...strange. I had the same problem, same error message and disabling SElinux works for me.

Are your packages updated ?
Code:
bash-3.1$ rpm -qa | grep -iE "cups|policy"
selinux-policy-targeted-2.2.40-1.fc5
libgnomecups-0.2.2-3.2.1
policycoreutils-1.30.8-1.fc5
cups-libs-1.2.1-1.2
selinux-policy-2.2.40-1.fc5
cups-1.2.1-1.2
hal-cups-utils-0.5.5-1.2.fc5.2
bash-3.1$
PS: Sorry, I can see you have the packages updated, based ib your first post.

Last edited by marozsas; 05-26-2006 at 11:52 AM.
 
Old 05-26-2006, 11:58 AM   #6
marozsas
Senior Member
 
Registered: Dec 2005
Location: Campinas/SP - Brazil
Distribution: SuSE, RHEL, Fedora, Ubuntu
Posts: 1,494
Blog Entries: 2

Rep: Reputation: 68
May be some bug when upgrading for FC4 to FC5. Mine was a fresh install.
Try to remove the packages cups, cups-libs and hal-cups-utils and re-install the same packages again.
 
Old 05-26-2006, 01:35 PM   #7
unicornop
LQ Newbie
 
Registered: May 2006
Distribution: Fedora Core 5
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by marozsas
May be some bug when upgrading for FC4 to FC5. Mine was a fresh install.
Try to remove the packages cups, cups-libs and hal-cups-utils and re-install the same packages again.
I considered doing that as well, but it's a last last resort for me, as this implies uninstalling and installing 38 other softwares - such as evolution, gimp, open-office, etc etc.
I'm afraid it will take days to get it back ok again.

Asking yum to remove cups, it tells me:

Code:
Removing:
 cups                    i386       1:1.2.1-1.2      installed         7.5 M
Removing for dependencies:
 desktop-printing        i386       0.19-6           installed         263 k
 eel2                    i386       2.14.1-1.fc5.1   installed         1.2 M
 evolution               i386       2.6.1-1.fc5.2    installed          33 M
 gdm                     i386       1:2.14.4-1.fc5.1  installed         9.9 M
 gimp                    i386       2:2.2.11-0.fc5.3  installed          26 M
 gimp-data-extras        noarch     2.0.1-1.1        installed         7.6 M
 gimp-gap                i386       2.0.2-4          installed         2.9 M
 gimp-help               noarch     2-0.1.0.10.0.fc5.1  installed          64 M
 gimp-print-plugin       i386       4.2.7-16         installed          97 k
 gnome-games             i386       1:2.14.1-1.fc5.3  installed          18 M
 gnome-media             i386       2.14.0-2         installed         5.6 M
 gthumb                  i386       2.7.5.1-1.fc5.1  installed         5.6 M
 gtkhtml3                i386       3.10.1-1.fc5.1   installed         2.7 M
 hal-cups-utils          i386       0.5.5-1.2.fc5.2  installed          83 k
 libgnomecups            i386       0.2.2-3.2.1      installed         215 k
 libgnomeprint22         i386       2.12.1-4.2       installed         1.4 M
 libgnomeprintui22       i386       2.12.1-1.2.1     installed         1.0 M
 librsvg2                i386       2.14.4-1.fc5.1   installed         421 k
 nautilus                i386       2.14.1-1.fc5.1   installed          11 M
 nautilus-cd-burner      i386       2.14.1-1.fc5.1   installed         1.5 M
 openoffice.org-calc     i386       1:2.0.2-5.9.2    installed          15 M
 openoffice.org-core     i386       1:2.0.2-5.9.2    installed         204 M
 openoffice.org-draw     i386       1:2.0.2-5.9.2    installed         2.7 M
 openoffice.org-graphicfilter  i386       1:2.0.2-5.9.2    installed         365 k
 openoffice.org-impress  i386       1:2.0.2-5.9.2    installed         4.3 M
 openoffice.org-langpack-fr  i386       1:2.0.2-5.9.2    installed          36 M
 openoffice.org-langpack-nl  i386       1:2.0.2-5.9.2    installed          31 M
 openoffice.org-math     i386       1:2.0.2-5.9.2    installed         3.1 M
 openoffice.org-writer   i386       1:2.0.2-5.9.2    installed         5.8 M
 openoffice.org-xsltfilter  i386       1:2.0.2-5.9.2    installed         210 k
 redhat-lsb              i386       3.0-9.2          installed          21 k
 rhythmbox               i386       0.9.4.1-1.fc5.1  installed         5.4 M
 sound-juicer            i386       2.14.3-1.fc5.1   installed         1.8 M
 system-config-printer   i386       0.6.151.7-1      installed         2.7 M
 system-config-printer-gui  i386       0.6.151.7-1      installed         712 k
 totem                   i386       1.4.0-2          installed         4.3 M
 xsane-gimp              i386       0.99-2.2.fc5.4   installed         621 k

Transaction Summary
=============================================================================
Install      0 Package(s)
Update       0 Package(s)
Remove      38 Package(s)
So... you think that's the only way ?
 
Old 05-27-2006, 02:20 PM   #8
unicornop
LQ Newbie
 
Registered: May 2006
Distribution: Fedora Core 5
Posts: 4

Original Poster
Rep: Reputation: 0
Nope, even that didn't do it

I finally took a deep breath and uninstalled all 38 packages.
And reinstalled CUPS.

Only to find... it's still giving the *same* error !!!!!!!!!!!!!!!!!!!!

Anyone who can help, or point to where I should find help???
 
  


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
performance of IPP vs. SAMBA + CUPS benyamin1 Linux - Networking 1 08-13-2006 06:47 AM
CUPS IPP and Windows XP (Pro maybe even Home) supertrout Linux - Networking 2 06-13-2006 07:29 AM
CUPS IPP printing problem with Win-XP Home larsj Linux - Software 0 04-16-2006 01:19 PM
suse 9.1 printing to cups ipp network printer sichen Linux - General 0 08-09-2004 07:30 PM
cups and ipp stuart39 Fedora 0 02-17-2004 07:16 AM

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

All times are GMT -5. The time now is 12:47 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