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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
02-13-2005, 08:41 PM
|
#1
|
Member
Registered: Nov 2004
Distribution: Suse 9.3 Pro
Posts: 34
Rep:
|
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!
|
|
|
02-14-2005, 01:24 AM
|
#2
|
Senior Member
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Rep:
|
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.
|
|
|
02-14-2005, 09:32 AM
|
#3
|
Member
Registered: Nov 2004
Distribution: Suse 9.3 Pro
Posts: 34
Original Poster
Rep:
|
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!
|
|
|
02-14-2005, 04:20 PM
|
#4
|
Member
Registered: Nov 2004
Distribution: Suse 9.3 Pro
Posts: 34
Original Poster
Rep:
|
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
#
|
|
|
02-14-2005, 06:10 PM
|
#5
|
Senior Member
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Rep:
|
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.

|
|
|
02-15-2005, 03:06 AM
|
#6
|
Member
Registered: Oct 2003
Location: Chico, CA, USA
Distribution: Linux Mint
Posts: 881
Rep: 
|
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
|
|
|
02-15-2005, 05:52 PM
|
#7
|
Member
Registered: Nov 2004
Distribution: Suse 9.3 Pro
Posts: 34
Original Poster
Rep:
|
I am unable to do any 127.0.0.1 or localhost addresses. Perhaps a samba problem or no?
|
|
|
02-15-2005, 07:44 PM
|
#8
|
Senior Member
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Rep:
|
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.

|
|
|
02-15-2005, 10:02 PM
|
#9
|
Member
Registered: Oct 2003
Location: Chico, CA, USA
Distribution: Linux Mint
Posts: 881
Rep: 
|
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.
|
|
|
02-16-2005, 05:55 PM
|
#10
|
Member
Registered: Nov 2004
Distribution: Suse 9.3 Pro
Posts: 34
Original Poster
Rep:
|
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
|
|
|
02-16-2005, 06:11 PM
|
#11
|
Member
Registered: Nov 2004
Distribution: Suse 9.3 Pro
Posts: 34
Original Poster
Rep:
|
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
|
|
|
02-16-2005, 06:30 PM
|
#12
|
Member
Registered: Nov 2004
Distribution: Suse 9.3 Pro
Posts: 34
Original Poster
Rep:
|
Also, nmap command not found?
|
|
|
02-17-2005, 12:28 AM
|
#13
|
Member
Registered: Oct 2003
Location: Chico, CA, USA
Distribution: Linux Mint
Posts: 881
Rep: 
|
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.
|
|
|
02-17-2005, 11:49 AM
|
#14
|
Member
Registered: Nov 2004
Distribution: Suse 9.3 Pro
Posts: 34
Original Poster
Rep:
|
it seems I need to work on making telnet itself work, command wasnt found, ill get back to you on that one
|
|
|
All times are GMT -5. The time now is 04:02 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|