FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 12-14-2007, 01:34 PM
Craig White
 
Default Cups problem

On Fri, 2007-12-14 at 15:54 +1000, david walcroft wrote:
> Craig White wrote:
> > On Fri, 2007-12-14 at 09:00 +1000, david walcroft wrote:
> >
> >> Craig White wrote:
> >>
> >>> On Thu, 2007-12-13 at 15:57 +1000, david walcroft wrote:
> >>>
> >
> >
> >>>> It seems to know which cups to install but cannot find the rpm.
> >>>>
> >>>>
> >>> ----
> >>> that usually can be fixed by clearing yum cache.
> >>>
> >>> why you removed cups with a --nodeps is beyond my comprehension but the
> >>> following might work...
> >>>
> >>> yum clean all
> >>> yum install cups
> >>> yum update
> >>>
> >>> Try that and see if it installs cups
> >>>
> >>> Craig
> >>>
> >>>
> >>>
> >> I thought removing cups would clear up any faulty connections, it has
> >> worked for
> >> me in the past.
> >>
> >> [david@reddwarf burner]$ rpm -qa |grep cups
> >> cups-pdf-2.4.6-3.fc8.i386
> >> apcupsd-std-3.10.18-1.i386
> >> gutenprint-cups-5.0.1-5.fc8.i386
> >> cups-libs-1.3.4-4.fc8.i386
> >> cups-1.3.4-4.fc8.i386
> >> libgnomecups-0.2.2-11.fc8.i386
> >> [david@reddwarf burner]
> >>
> >> Cups is now installed I had to do the manual method.
> >>
> > ----
> > I hope that did not include --nodeps
> >
> > Please tell me that didn't including installing with --nodeps
> > ----
> >
> >> yum updated 31 files but no cups yet
> >> Still not printing.
> >>
> > ----
> > now back to my earlier thread...
> >
> > OK, you need to register and then start cups...
> >
> > /sbin/chkconfig cups on
> > /sbin/service cups start
> >
> > Then you will have to see if printer is still set up...probably easiest
> > to just use 'Administration' => 'Printing'
> >
> > set up printer, apply changes, click 'Print Test Page'
> >
> > until you get a test page to print, don't bother with any other program.
> > Fix the settings
> >
> > Craig
> >
> >
> >
> I do not know if this will affect this problem but I have just remembered
> That I use HP's driver hplip for my printer.
----
I'm sort of done with trying to help when you won't do what I suggest,
there's little point of continuing on

Craig

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 12-14-2007, 01:51 PM
Aaron Konstam
 
Default Cups problem

On Fri, 2007-12-14 at 09:18 +1000, david walcroft wrote:
> Aaron Konstam wrote:
> >>>>>
> >>>>>
> >>>> I've done a "rpm -e --nodeps cups" then "yum install cups" and got to
> >>>> the point where
> >>>> thunderbird and firefox send a print request to my HP PSC 2110 but is
> >>>> not printed out.
> >>>> I still cannot open "localhost 631" 'Unable to connect'.
> >>>>
> >>>>
> >>> ----
> >>> how about in firefox...
> >>>
> >>> http://localhost:631
> >>>
> >>> ?
> >>>
> >>> Craig
> >>>
> >>>
> >>>
> >> comes up with "Unable to connect"
> >>
> >> david
> >>
> > It seems to me there are only two possibilities:
> > 1. cupsd is not running. What does : ps aux -columns 256 |grep cupsd
> > return/
> > 2. Your /etc/hosts file does not define a localhost. Use the ip number
> > of ypur machine rather than localhost.
> > --
> > ================================================== =====================
> > Somewhere, something incredible is waiting to be known. -- Carl Sagan
> > ================================================== =====================
> > Aaron Konstam telephone: (210) 656-0355 e-mail: akonstam@sbcglobal.net
> >
> >
> [root@reddwarf ~]# ps aux -columns 256 |grep cupsd
I am not doing well with things like spellins and such.
It is --columns
> Could you give me an example of the /etc/hosts/ file please
hosts file:
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
192.168.1.100 vulcan vulcan.gateway.2wire.net
192.168.1.101 saturn saturn.gateway.2wire.net
192.168.1.65 cyrus cyrus.gateway.2wire.net

--
================================================== =====================
Experience is what causes a person to make new mistakes instead of old
ones.
================================================== =====================
Aaron Konstam telephone: (210) 656-0355 e-mail: akonstam@sbcglobal.net

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 12-14-2007, 01:53 PM
Aaron Konstam
 
Default Cups problem

On Fri, 2007-12-14 at 15:56 +1000, david walcroft wrote:
> Tim wrote:
> > On Fri, 2007-12-14 at 09:18 +1000, david walcroft wrote:
> >
> >> [root@reddwarf ~]# ps aux -columns 256 |grep cupsd
> >> ERROR: Unknown user-defined format specifier "lumns".
> >>
> >
> > You should have had a double-dash in front of "columns".
> >
> > i.e. ps aux --columns 256 |grep cupsd
> >
> >
> [david@reddwarf ~]$ sudo ps aux --columns 256 |grep cupsd
> david 17568 0.0 0.0 4044 676 pts/1 S+ 15:49 0:00 grep cupsd
> [david@reddwarf ~]$
>
> It seems that cupsd is running.
>
> david
>
No it means that cupsd is not running. It is grep cupsd that is running.
--
================================================== =====================
Corry's Law: Paper is always strongest at the perforations.
================================================== =====================
Aaron Konstam telephone: (210) 656-0355 e-mail: akonstam@sbcglobal.net

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 12-14-2007, 10:01 PM
david walcroft
 
Default Cups problem

Craig White wrote:

On Fri, 2007-12-14 at 15:54 +1000, david walcroft wrote:


Craig White wrote:


On Fri, 2007-12-14 at 09:00 +1000, david walcroft wrote:



Craig White wrote:



On Thu, 2007-12-13 at 15:57 +1000, david walcroft wrote:





It seems to know which cups to install but cannot find the rpm.




----
that usually can be fixed by clearing yum cache.

why you removed cups with a --nodeps is beyond my comprehension but the
following might work...

yum clean all
yum install cups
yum update

Try that and see if it installs cups

Craig




I thought removing cups would clear up any faulty connections, it has
worked for

me in the past.

[david@reddwarf burner]$ rpm -qa |grep cups
cups-pdf-2.4.6-3.fc8.i386
apcupsd-std-3.10.18-1.i386
gutenprint-cups-5.0.1-5.fc8.i386
cups-libs-1.3.4-4.fc8.i386
cups-1.3.4-4.fc8.i386
libgnomecups-0.2.2-11.fc8.i386
[david@reddwarf burner]

Cups is now installed I had to do the manual method.



----
I hope that did not include --nodeps

Please tell me that didn't including installing with --nodeps
----



yum updated 31 files but no cups yet
Still not printing.



----
now back to my earlier thread...

OK, you need to register and then start cups...

/sbin/chkconfig cups on
/sbin/service cups start

Then you will have to see if printer is still set up...probably easiest
to just use 'Administration' => 'Printing'

set up printer, apply changes, click 'Print Test Page'

until you get a test page to print, don't bother with any other program.
Fix the settings

Craig





I do not know if this will affect this problem but I have just remembered
That I use HP's driver hplip for my printer.


----
I'm sort of done with trying to help when you won't do what I suggest,
there's little point of continuing on

Craig


I only have a "Administration' => 'Printing' in "KDE --> settings -->
printers "
and it only sets up a fax system,if I go to "kDE control--> center -->
peripherals--> printers"

wont work because it cannot access "localhost:631.
I hope this answer helps you as I find it difficult to follow all the
postings.


david

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 12-14-2007, 10:04 PM
david walcroft
 
Default Cups problem

Kevin J. Cummings wrote:

david walcroft wrote:


Tim wrote:


On Fri, 2007-12-14 at 09:18 +1000, david walcroft wrote:



[root@reddwarf ~]# ps aux -columns 256 |grep cupsd
ERROR: Unknown user-defined format specifier "lumns".



You should have had a double-dash in front of "columns".

i.e. ps aux --columns 256 |grep cupsd





[david@reddwarf ~]$ sudo ps aux --columns 256 |grep cupsd
david 17568 0.0 0.0 4044 676 pts/1 S+ 15:49 0:00 grep cupsd
[david@reddwarf ~]$

It seems that cupsd is running.



Uh, no! The only process found was the process running the grep. Take
a closer look. If cupsd was running, the grep would have printed 2
lines, like:



root 1364 0.0 0.0 3892 660 pts/2 S+ 01:14 0:00 grep cupsd
root 3308 0.0 0.1 9764 2540 ? Ss Dec11 0:18 cupsd



What does "chkconfig --list cups" tell you?

mine shows:



cups 0ff 1ff 2n 3n 4n 5n 6

[david@reddwarf ~]$ sudo chkconfig --list cups
cups 0ff 1ff 2n 3n 4n 5n 6ff
[david@reddwarf ~]$

david



--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 12-14-2007, 10:08 PM
"Kevin J. Cummings"
 
Default Cups problem

david walcroft wrote:
> Kevin J. Cummings wrote:
>> What does "chkconfig --list cups" tell you?
>>
>> mine shows:
>>
>>
>>> cups 0ff 1ff 2n 3n 4n 5n 6
> [david@reddwarf ~]$ sudo chkconfig --list cups
> cups 0ff 1ff 2n 3n 4n 5n 6ff
> [david@reddwarf ~]$

Looks like you have it installed (finally). Is it running?

/sbin/service cups status

It will tell you if the service is running or not. If it is not, start
it via:

/sbin/service cups start

Let us know what happens with each.

--
Kevin J. Cummings
kjchome@rcn.com
cummings@kjchome.homeip.net
cummings@kjc386.framingham.ma.us
Registered Linux User #1232 (http://counter.li.org)

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 12-14-2007, 10:09 PM
Craig White
 
Default Cups problem

On Sat, 2007-12-15 at 09:01 +1000, david walcroft wrote:
> >>> now back to my earlier thread...
> >>>
> >>> OK, you need to register and then start cups...
> >>>
> >>> /sbin/chkconfig cups on
> >>> /sbin/service cups start
> >>>
> >>> Then you will have to see if printer is still set up...probably
> easiest
> >>> to just use 'Administration' => 'Printing'
> >>>
> >>> set up printer, apply changes, click 'Print Test Page'
> >>>
> >>> until you get a test page to print, don't bother with any other
> program.
> >>> Fix the settings
> >>>
> >>> Craig
>
> > ----
> > I'm sort of done with trying to help when you won't do what I
> suggest,
> > there's little point of continuing on
> >
> > Craig
> >
> >
> I only have a "Administration' => 'Printing' in "KDE --> settings -->
> printers "
> and it only sets up a fax system,if I go to "kDE control--> center
> -->
> peripherals--> printers"
> wont work because it cannot access "localhost:631.
> I hope this answer helps you as I find it difficult to follow all the
> postings.
----
I have clipped out all non-relevant portions...

did you install cups using --nodeps?

did you
/sbin/chkconfig cups on
/sbin/service cups start
? ? ?

Until you verify those three things (one of them is going to come up
with the solution), your ability to administer printers isn't there.

Craig

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 12-14-2007, 10:12 PM
david walcroft
 
Default Cups problem

Aaron Konstam wrote:

On Fri, 2007-12-14 at 09:18 +1000, david walcroft wrote:


Aaron Konstam wrote:




I've done a "rpm -e --nodeps cups" then "yum install cups" and got to
the point where
thunderbird and firefox send a print request to my HP PSC 2110 but is
not printed out.

I still cannot open "localhost 631" 'Unable to connect'.




----
how about in firefox...

http://localhost:631

?

Craig





comes up with "Unable to connect"

david



It seems to me there are only two possibilities:
1. cupsd is not running. What does : ps aux -columns 256 |grep cupsd
return/
2. Your /etc/hosts file does not define a localhost. Use the ip number
of ypur machine rather than localhost.
--
================================================== =====================
Somewhere, something incredible is waiting to be known. -- Carl Sagan
================================================== =====================
Aaron Konstam telephone: (210) 656-0355 e-mail: akonstam@sbcglobal.net




[root@reddwarf ~]# ps aux -columns 256 |grep cupsd


I am not doing well with things like spellins and such.
It is --columns


Could you give me an example of the /etc/hosts/ file please


hosts file:
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
192.168.1.100 vulcan vulcan.gateway.2wire.net
192.168.1.101 saturn saturn.gateway.2wire.net
192.168.1.65 cyrus cyrus.gateway.2wire.net

--
================================================== =====================
Experience is what causes a person to make new mistakes instead of old
ones.
================================================== =====================
Aaron Konstam telephone: (210) 656-0355 e-mail: akonstam@sbcglobal.net



Would this be correct: 192.168.0.1 reddwarf localhost.localdomain

david

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 12-14-2007, 10:19 PM
david walcroft
 
Default Cups problem

Kevin J. Cummings wrote:

david walcroft wrote:


Kevin J. Cummings wrote:


What does "chkconfig --list cups" tell you?

mine shows:




cups 0ff 1ff 2n 3n 4n 5n 6


[david@reddwarf ~]$ sudo chkconfig --list cups
cups 0ff 1ff 2n 3n 4n 5n 6ff
[david@reddwarf ~]$



Looks like you have it installed (finally). Is it running?

/sbin/service cups status

It will tell you if the service is running or not. If it is not, start
it via:

/sbin/service cups start

Let us know what happens with each.



[david@reddwarf ~]$ /sbin/service cups status
cupsd is stopped
[david@reddwarf ~]$


[david@reddwarf ~]$ /sbin/service cups status
cupsd is stopped
[david@reddwarf ~]$ /sbin/service cups start
Starting cups: [FAILED]
[david@reddwarf ~]$ sudo service cups start
Starting cups: [ OK ]
[david@reddwarf ~]$

david



--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 12-14-2007, 10:21 PM
Craig White
 
Default Cups problem

On Sat, 2007-12-15 at 09:12 +1000, david walcroft wrote:
> Aaron Konstam wrote:
> > On Fri, 2007-12-14 at 09:18 +1000, david walcroft wrote:
> >
> >> Aaron Konstam wrote:
> >>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>> I've done a "rpm -e --nodeps cups" then "yum install cups" and got to
> >>>>>> the point where
> >>>>>> thunderbird and firefox send a print request to my HP PSC 2110 but is
> >>>>>> not printed out.
> >>>>>> I still cannot open "localhost 631" 'Unable to connect'.
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>> ----
> >>>>> how about in firefox...
> >>>>>
> >>>>> http://localhost:631
> >>>>>
> >>>>> ?
> >>>>>
> >>>>> Craig
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>> comes up with "Unable to connect"
> >>>>
> >>>> david
> >>>>
> >>>>
> >>> It seems to me there are only two possibilities:
> >>> 1. cupsd is not running. What does : ps aux -columns 256 |grep cupsd
> >>> return/
> >>> 2. Your /etc/hosts file does not define a localhost. Use the ip number
> >>> of ypur machine rather than localhost.
> >>> --
> >>> ================================================== =====================
> >>> Somewhere, something incredible is waiting to be known. -- Carl Sagan
> >>> ================================================== =====================
> >>> Aaron Konstam telephone: (210) 656-0355 e-mail: akonstam@sbcglobal.net
> >>>
> >>>
> >>>
> >> [root@reddwarf ~]# ps aux -columns 256 |grep cupsd
> >>
> > I am not doing well with things like spellins and such.
> > It is --columns
> >
> >> Could you give me an example of the /etc/hosts/ file please
> >>
> > hosts file:
> > # Do not remove the following line, or various programs
> > # that require network functionality will fail.
> > 127.0.0.1 localhost.localdomain localhost
> > 192.168.1.100 vulcan vulcan.gateway.2wire.net
> > 192.168.1.101 saturn saturn.gateway.2wire.net
> > 192.168.1.65 cyrus cyrus.gateway.2wire.net

> Would this be correct: 192.168.0.1 reddwarf localhost.localdomain
----
no - should be more like (note the first 2 lines)...

# 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 localhost.localdomain

Craig

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 

Thread Tools




All times are GMT. The time now is 09:25 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org