LinuxQuestions.org
Help answer threads with 0 replies.
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 10-02-2003, 07:38 PM   #1
glenn69
Member
 
Registered: Jul 2003
Location: Chicagoland
Distribution: ArchLinux
Posts: 261

Rep: Reputation: 32
Unhappy I NEED a printing Guru !!


I have been posting printing issues for a while, but cannot seem to get any solid answers to my problem.

I have RH9 with a Brother MFC8300 printer. After initial installation my printer functioned....after 1 month or so of screwing around learning Linux my printer is no longer recognized by Printer manager. When I try to print , computer just kinda sits there for a while doing nothing.

I tried to run redhat-config-printer, but I get these errors...what do they mean?????

[root@localhost glenn]# redhat-config-printer
Traceback (most recent call last):
File "/usr/sbin/redhat-config-printer", line 9, in ?
import queueTree
File "/usr/share/printconf/util/queueTree.py", line 929, in ?
queueTree()
File "/usr/share/printconf/util/queueTree.py", line 101, in __init__
if cups_import.import_needed ():
File "/usr/share/printconf/util/cups_import.py", line 200, in import_needed
which = which_spooler ()
File "/usr/share/printconf/util/cups_import.py", line 195, in which_spooler
return which
UnboundLocalError: local variable 'which' referenced before assignment

Please help a desperate Linux Newbie. Thanks.
 
Old 10-02-2003, 07:51 PM   #2
ehdwuld
Member
 
Registered: Jul 2003
Distribution: Currently Suse 11.1 but have RH7,8,9 / Fedora 7,8_64,9_64,&10_64
Posts: 634

Rep: Reputation: 30
http://www.linuxprinting.org/show_pr...other-MFC-8300

not a Guru

have you tried reinstalling your printer queue
run
redhat-config-printer

run these to restart cups

( that is what you've got it set up for ? )


/sbin/chkconfig cups-lpd off
/sbin/service xinetd reload
/sbin/chkconfig cups-lpd on
 
Old 10-02-2003, 08:28 PM   #3
glenn69
Member
 
Registered: Jul 2003
Location: Chicagoland
Distribution: ArchLinux
Posts: 261

Original Poster
Rep: Reputation: 32
I re installed cups, redhat-config-printer and ...printer-gui, and desktop-printing, and anything else I could think of to reinstall.

However, when I try to run redhat-config-printer the configure screen pops up with nothing displayed inside of it and the computer just sits there very much like Windows would . I think it is trying to connect to localhost.blah blah blah but it never does and finally times out. What the heck is localhost, is it somewhere on the net or is it in my computer and why won't it connect, and why can't I print, and why could I print before but not now, and why, and why............Sorry, I lost it there for a minute just needed a little venting time.

Any help would be appreciated. Isn't there one of those files somewhere that I could display for you that would answer these questions?
 
Old 10-03-2003, 08:10 PM   #4
ionmich
Member
 
Registered: Sep 2003
Location: Mexico, Sweden
Distribution: openSUSE 15.2, Microware OS-9, MX-19, Bodhi 5.1.0
Posts: 256

Rep: Reputation: 41
[QUOTE]Originally posted by glenn69
What the heck is localhost, is it somewhere on the net or is it in my computer and why won't it connect, ...

"localhost" is supposed to be the name you gave your computer when you installed. It's the part that preceeds the "@". Suppose you called it "sam@future....etc. then "sam" would be the localhost. What your software is telling you is that it doesn't know that the localhost is "sam". Try going through your post-installation procedure again and look for something like "network settings".

Hope it helps.
 
Old 10-03-2003, 09:14 PM   #5
glenn69
Member
 
Registered: Jul 2003
Location: Chicagoland
Distribution: ArchLinux
Posts: 261

Original Poster
Rep: Reputation: 32
Thanks for the reply, but what exactly would my "post installation procedure" be.
 
Old 10-03-2003, 09:18 PM   #6
glenn69
Member
 
Registered: Jul 2003
Location: Chicagoland
Distribution: ArchLinux
Posts: 261

Original Poster
Rep: Reputation: 32
Sorry I found my network settings, but I have a couple questions.
Under DNS tab, I have the option to name hostname. Currently that is
localhost.localdomain. My DNS search path is loocaldomain. Are these the things that I can change, and if so can I name them whatever i would like. Also, by changing these will itaffect programs that have used the old names.
 
Old 10-03-2003, 10:11 PM   #7
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
look at /etc/hosts

It should have something like this..


127.0.0.1 localhost.localdomain localhost
10.10.10.10 hostname.domain.com hostname


10.10.10.10 is an example use your ip address

The first part should stay as is, the second part would be if you have another name for your computer and domain

If you do not have a domain and want to use a hostname only then you can use this

10.10.10.10 hostname

Or you can create a line like this instead

127.0.0.1 hostname

if you do not have an ip address

Last edited by DavidPhillips; 10-03-2003 at 10:25 PM.
 
Old 10-05-2003, 08:14 PM   #8
glenn69
Member
 
Registered: Jul 2003
Location: Chicagoland
Distribution: ArchLinux
Posts: 261

Original Poster
Rep: Reputation: 32
My etc/hosts file is here :

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

Thats it...nothing else. Is this my problem of why I never connect to localhost etc?
 
Old 10-05-2003, 08:33 PM   #9
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
that's not right for sure, change it to this


127.0.0.1 localhost.localdomain localhost

Last edited by DavidPhillips; 10-05-2003 at 08:34 PM.
 
Old 10-20-2003, 04:44 PM   #10
cpdsaorg
LQ Newbie
 
Registered: Oct 2003
Posts: 3

Rep: Reputation: 0
this may help too. my /etc/hosts file reads sort of like this:

# 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.98 thiscomputer.mydomain.com thiscomputer
192.168.1.101 thatcomputer.mydomain.com thatcomputer
 
  


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
Linux printing guru needed J_Szucs Linux - Hardware 0 12-01-2004 12:56 PM
Need C++ Guru Help Autuknu Linux - Software 1 06-19-2003 07:11 AM
Now this has been a while, there's a New Guru! finegan General 3 02-28-2003 03:10 AM
guru? aizkorri LQ Suggestions & Feedback 2 03-19-2002 08:08 AM
Guru! acid_kewpie General 16 11-29-2001 11:41 PM

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

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