LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-13-2005, 08:41 PM   #1
drguitarum2005
Member
 
Registered: Nov 2004
Distribution: Suse 9.3 Pro
Posts: 34

Rep: Reputation: 15
CUPS printing


I am using a very basic Gentoo kernel with kde 3.3.2 etc. I emerged cups and it installed fine. When I do "cupsd", i get the error: "cupsd: Child exited with status 98!". Can anyone tell me how to go aobut fixing this? After some searching of these forums first, I tried changing ports as directed but that didn't do anything. Also, in kde printing manager, I try to add a printer and it is greyed out. Would these be connected? Thanks!
 
Old 02-14-2005, 01:24 AM   #2
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
three things: edit: There was only two to start with. Thought of one more.

1: thing on the left says Slackware, you posted Gentoo in your question. Which are you using?

2: Did you put the ports, parallel, USB etc, in the kernel? It may not can find anything to set up for a printer.

3: Make sure cupsd is running. Something like this:

Code:
root@smoker / # ps aux | grep cups
root      3814  0.0  0.2   6004  3036 ?        Ss   Feb06   0:03 /usr/sbin/cupsd
root     28186  0.0  0.0   1448   488 pts/1    R+   01:44   0:00 grep cups
root@smoker / #
The top one is the process. The bottom is the process looking for the process. Sounds strange but it works.

Post back what you got going there.


Last edited by dalek; 02-14-2005 at 01:25 AM.
 
Old 02-14-2005, 09:32 AM   #3
drguitarum2005
Member
 
Registered: Nov 2004
Distribution: Suse 9.3 Pro
Posts: 34

Original Poster
Rep: Reputation: 15
I am using Gentoo, I need to update the thing on the left. I am at school right now so I cannot check certain things but I can mention that I am attempting to print to a printer on a windows copmuter which is connected via parallel. I cannot select add printer/class in the printing manager as it is grayed out.
I'll post more when I get home. Thanks!
 
Old 02-14-2005, 04:20 PM   #4
drguitarum2005
Member
 
Registered: Nov 2004
Distribution: Suse 9.3 Pro
Posts: 34

Original Poster
Rep: Reputation: 15
Here is the output:
# ps aux | grep cups
root 7274 0.0 0.3 4552 1672 ? Ss 10:05 0:00 cupsd
root 7399 0.0 0.0 1404 444 pts/1 R+ 10:19 0:00 grep cups
#
 
Old 02-14-2005, 06:10 PM   #5
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
Since you are using Gentoo, you do know they have their own forums right? I don't use windoze so I have no clue how to make it work. I do seem to recall reading that more software is required to print that way. Some kind of network software thing. Not real sure though.

http://forums.gentoo.org/

That is the Gentoo forums. I suspect that you can search and find the problem. They have a excellent documentation tips and tricks section. Do search first. If you start a thread and the questin has been asked before, they move it to duplicates and it is closed. They are pretty strict on that. I have experience on that one.

There is also cups.org . They have documentation on their too.

Hope that helps. I am also registered with the same nick there, just in case you see me around.

 
Old 02-15-2005, 03:06 AM   #6
DaneM
Member
 
Registered: Oct 2003
Location: Chico, CA, USA
Distribution: Linux Mint
Posts: 881

Rep: Reputation: 130Reputation: 130
Hi everybody.

Open a web browser and go to "http://localhost:631" or "http://127.0.0.1:631". If that works, try adding a printer; is the port you're attaching it to listed? If not, please post the output of "lsmod".

--Dane
 
Old 02-15-2005, 05:52 PM   #7
drguitarum2005
Member
 
Registered: Nov 2004
Distribution: Suse 9.3 Pro
Posts: 34

Original Poster
Rep: Reputation: 15
I am unable to do any 127.0.0.1 or localhost addresses. Perhaps a samba problem or no?
 
Old 02-15-2005, 07:44 PM   #8
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
Do you have something like this in /etc/hosts:

Code:
127.0.0.1	localhost smoker smoker.net
You may have something besides smoker and smoker.net though. That is the name of my rig. I don't have Samba installed, no windoze here at all, and I use the address above to set up my printer. The 127.0.0.1 is for your local computer.

I'm not sure what to think here. If you have that in your hosts file, you should get that at least.

Confused.

 
Old 02-15-2005, 10:02 PM   #9
DaneM
Member
 
Registered: Oct 2003
Location: Chico, CA, USA
Distribution: Linux Mint
Posts: 881

Rep: Reputation: 130Reputation: 130
I agree with dalek. This is probably a /etc/hosts or firewall or CUPS problem, although I suspect one of the first two. Try this at a command prompt:

Code:
$ hostname

$ domainname
("$" indicates a command prompt.)

Now look in your /etc/hosts . There should be a line that says, "127.0.0.1 <hostname> <domainname>". If it's not there, add it. If the "domainname" command tells you "none", just leave the last part blank.

Next, post the output of the following commands so we can look at them:

Code:
$ nmap -p 135,445,137-139,1024,631 127.0.0.1
$ nmap -p 135,445,137-139,1024,631 localhost
Good Luck!

--Dane

Last edited by DaneM; 02-15-2005 at 10:04 PM.
 
Old 02-16-2005, 05:55 PM   #10
drguitarum2005
Member
 
Registered: Nov 2004
Distribution: Suse 9.3 Pro
Posts: 34

Original Poster
Rep: Reputation: 15
It seems /etc/hosts is non-existant. Is it supposed to be a file, a dir? what? hostname shows up fine as the name of my laptop
 
Old 02-16-2005, 06:11 PM   #11
drguitarum2005
Member
 
Registered: Nov 2004
Distribution: Suse 9.3 Pro
Posts: 34

Original Poster
Rep: Reputation: 15
Nevermind, it exists, heres it is:

Code:
# /etc/hosts:  This file describes a number of hostname-to-address
#              mappings for the TCP/IP subsystem.  It is mostly
#              used at boot time, when no name servers are running.
#              On small systems, this file can be used instead of a
#              "named" name server.  Just add the names, addresses
#              and any aliases to this file...
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/hosts,v 1.8 2003/08/04 20:12$
#

127.0.0.1       localhost
# IPV6 versions of localhost and co
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
 
Old 02-16-2005, 06:30 PM   #12
drguitarum2005
Member
 
Registered: Nov 2004
Distribution: Suse 9.3 Pro
Posts: 34

Original Poster
Rep: Reputation: 15
Also, nmap command not found?
 
Old 02-17-2005, 12:28 AM   #13
DaneM
Member
 
Registered: Oct 2003
Location: Chico, CA, USA
Distribution: Linux Mint
Posts: 881

Rep: Reputation: 130Reputation: 130
Try using telnet on the following ports: 135,445,137-139,1024,631

Do:
Code:
telnet 127.0.0.1:<port>
Please post the results.
 
Old 02-17-2005, 11:49 AM   #14
drguitarum2005
Member
 
Registered: Nov 2004
Distribution: Suse 9.3 Pro
Posts: 34

Original Poster
Rep: Reputation: 15
it seems I need to work on making telnet itself work, command wasnt found, ill get back to you on that one
 
Old 02-17-2005, 12:12 PM   #15
nonzero
Member
 
Registered: Feb 2005
Distribution: Debian FC4 LFS Slackware
Posts: 174

Rep: Reputation: 31
http://www.owlfish.com/thoughts/wini...003-07-20.html

I still think you will need Samba and the setup of a printer share.

nz
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Printing Problem (cups / cups-lpd) daleman Linux - Software 3 04-08-2005 08:01 AM
CUPS printing goestin Linux - Networking 5 11-18-2004 05:30 AM
remote cups printing to a smb/cups print server? justanothergeek Linux - Networking 2 09-15-2004 08:31 AM
CUPS Printing nightweaver Linux - Hardware 1 10-22-2003 12:29 AM
Slackware 9 and CUPS (CUPS=crap) - printing carboncopy Slackware 21 07-29-2003 03:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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