Cups problem

david walcroft d_j_w46 at bigpond.net.au
Sun Dec 16 00:34:23 UTC 2007


Aaron Konstam wrote:
> On Sat, 2007-12-15 at 14:48 +1000, david walcroft wrote:
>   
>> Craig White wrote:
>>     
>>> On Sat, 2007-12-15 at 12:21 +1000, david walcroft wrote:
>>>   
>>>       
>>>> Craig White wrote:
>>>>     
>>>>         
>>>>> On Sat, 2007-12-15 at 10:05 +1000, david walcroft wrote:
>>>>>   
>>>>>       
>>>>>           
>>>>>> Craig White wrote:
>>>>>>     
>>>>>>         
>>>>>>             
>>>>>>> On Sat, 2007-12-15 at 09:28 +1000, david walcroft wrote:
>>>>>>>
>>>>>>>   
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>>>>>   
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>                   
>>>>>>>> I forgot to answer did I use --nodeps,no I didn't mainly because I did
>>>>>>>> know it was necessary.
>>>>>>>>     
>>>>>>>>         
>>>>>>>>             
>>>>>>>>                 
>>>>>>> ----
>>>>>>> It shouldn't ever be necessary to use --nodeps
>>>>>>>
>>>>>>> That's how you broke things in the first place.
>>>>>>>
>>>>>>> If cups service is started (and didn't quit), you should be able to
>>>>>>> use...
>>>>>>>
>>>>>>> Administration => Printing
>>>>>>>
>>>>>>> and set up your printer now
>>>>>>>
>>>>>>> make sure it can print a test page from that configuration tool before
>>>>>>> you try printing with any other program
>>>>>>>
>>>>>>> Craig
>>>>>>>
>>>>>>>   
>>>>>>>       
>>>>>>>           
>>>>>>>               
>>>>>> I don't have an 'Administration => Printing' in KDE,I'm into
>>>>>> 'localhost:631'
>>>>>>     
>>>>>>         
>>>>>>             
>>>>> ----
>>>>> yum install system-config-printer
>>>>> ----
>>>>>   
>>>>>       
>>>>>           
>>>>>>  but am having problems now with password
>>>>>> and username,cups won't accept anything.
>>>>>>     
>>>>>>         
>>>>>>             
>>>>> ----
>>>>> root and root's password
>>>>>
>>>>> Craig
>>>>>
>>>>>   
>>>>>       
>>>>>           
>>>> [root at reddwarf ~]# sudo rpm -qa | grep printer
>>>> system-config-printer-libs-0.7.74.4-3.fc8.i386
>>>> [root at reddwarf ~]#
>>>>
>>>>
>>>> yum install system-config-printer
>>>>
>>>> No package system-config-printer available.
>>>> Nothing to do.
>>>>     
>>>>         
>>> ----
>>> can't possibly be true...
>>>
>>> # rpm -qa|grep system-config-printer
>>> system-config-printer-0.7.74.4-3.fc8
>>> system-config-printer-libs-0.7.74.4-3.fc8
>>>
>>> try...
>>>
>>> yum clean all
>>> yum install system-config-printer
>>> ----
>>>   
>>>       
>>>> Root and Roots password do no work.
>>>>     
>>>>         
>>> ----
>>> I presume this in reference to logging into cups via firefox and
>>> connecting to
>>>
>>> http://localhost:631
>>>
>>> root and root's password always work
>>>
>>> Craig
>>>
>>>   
>>>       
>> [david at reddwarf ~]$ sudo yum clean all
>> Cleaning up Everything
>> [david at reddwarf ~]$ sudo yum install system-config-printer
>> YumRepo Warning: not using ftp, http[s], or file for repos, skipping - 
>> baseurl=ftp://reddwarf:4skin46@premium.planetmirror.com/pub/fedora/linux/updates/8/i386/
>> YumRepo Warning: not using ftp, http[s], or file for repos, skipping - 
>> failovermethod=priority
>> http://mirror.optus.net/fedora/core/updates/8/i386/repodata/repomd.xml: 
>> [Errno 14] HTTP Error 404: Not Found
>> Trying other mirror.
>> updates-released                                                 26 kB 00:00
>> http://planetmirror.com/pub/fedora/linux/updates/8/i386/repodata/repomd.xml: 
>> [Errno -1] Error importing repomd.xml for updates-released: Damaged 
>> repomd.xml file
>> Trying other mirror.
>> updates-released          100% |=========================| 2.3 kB    00:00
>> primary.sqlite.bz2        100% |=========================| 914 kB    00:01
>> YumRepo Warning: not using ftp, http[s], or file for repos, skipping - 
>> mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-8&arch=i386
>> base                      100% |=========================| 4.3 kB    00:00
>> http://download.fedora.redhat.com/pub/fedora/linux/releases/8/Everything/i386/os/Fedora/repodata/repomd.xml: 
>> [Errno -1] Error importing repomd.xml for base: Damaged repomd.xml file
>> Trying other mirror.
>> base                      100% |=========================| 2.3 kB    00:00
>> primary.sqlite.bz2        100% |=========================| 914 kB    00:01
>> Excluding Packages in global exclude list
>> Finished
>> Setting up Install Process
>> Parsing package install arguments
>> No package system-config-printer available.
>> Nothing to do
>> [david at reddwarf ~]$ su -
>> Password:
>> [root at reddwarf ~]# rpm -qa|grep system-config-printer
>> system-config-printer-libs-0.7.74.4-3.fc8.i386
>> [root at reddwarf ~]#  
>>
>> I still cannot get root acess into cups:631 via firefox.
>>
>>   david
>>     
> Getting access to localhost:631 has nothing to do with having
> system-config-printer install led.  There is something wrong with you
> repos in that you can't install system-config-printer.
>
> Is there a localhost defined in your /etc/hosts file and is cupsd
> running is what is essential. Previously you did not have cupsd running.
> ps aux |grep cupsd. Does it show cupsd running. We are discussing two
> different ways to install printers as if they are the same. They are
> not.
> --
> =======================================================================
> How many Unix hacks does it take to change a light bulb? Let's see, can
> you use a shell script for that or does it need a C program?
> =======================================================================
> Aaron Konstam telephone: (210) 656-0355 e-mail: akonstam at sbcglobal.net
>
>   
[root at reddwarf yum.repos.d]# ps aux |grep cupsd
root      3384  0.0  0.0   4044   680 pts/1    S+   10:01   0:00 grep cupsd
root     26999  0.0  0.2   9968  3016 ?        Ss   Dec15   0:01 cupsd
[root at reddwarf yum.repos.d]#

[david at reddwarf ~]$ sudo vim /etc/hosts
[david at reddwarf ~]

# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1       localhost.localdomain   
localhost                                                                           

192.168.0.1     reddwarf.localdomain   192.168.0.1
#

I used vim just in case I had set up wrong

Thanks for helping me Tim it's much appreciated.

  david





More information about the fedora-list mailing list