http://localhost:631
I have Puppy Tahr frugal 6.03.
When I type localhost into browser all I get is connection refused when attempting to contact localhost 631. Tried other browsers still no connection. Even with firewall temp. disconnected no change. Can anyone suggest any further moves. May I also add that the printer wizard does not even work. Thank you. |
Welcome to LQ! We'd very much like to help, but your current thread makes that difficult. Please visit http://www.linuxquestions.org/questi...#faq_lqwelcome for some additional information on how you can help us help you. If you have any questions or need additional clarification, just let us know.
|
A little more infor would be helpful, in particular, has cups or the printer ever worked on this install or is this a new problem?
My initial thoughts are that the http server and/or the cups daemon are not running. Not being a puppy user I am not sure of how those start, but you might try... Code:
service http(d) start And welcome to LQ! UPDATED **** Looking for further info I found PuppyLinux : cups page which should be useful. What is the output of the following? Code:
/etc/init.d/cups status Code:
/etc/init.d/cups start Good luck! |
for
http://localhost:631/ to display the CUPS default page it has to be running first so is the printing software running ? |
It appears the software is not running by the look of it.
I have had it running until this problem occurred/ connection refused, http://localhost:631. During this time it was running I tried the config. printer in cups and I never got any further success. All I got was 'cant detect the printer'. When I tried print a test page nothing printed. So actually I have never had it to work with Linux system. If you want any more info from me do let me know. |
you still have not said just what this printer is
the make and model will help for example : -- IF it is a cannon printer it might NOT be supported in linux or on a apple computer and if it is a OLDER Cannon model from the XP days there might not even be a win7 or 8 or 10 driver so we really do need to know the make and model of the printer |
Hi all thanks for replies.
The codes results. /etc/init/.d.cups status. Scheduler not running. start. cupsd child excited with status 1 cups unable to start scheduler. My printer is a HP Deskjet 970Cxi parallel port. I have supposed-to-have have installed hplip_print-3.13.x.pet.?? The Gutenprint driver package is supposed to support it. THANKS |
Won't solve your issue, but you should probably look at the output of
Code:
groups Things I would do to start looking for an answer: I would look at the output of Code:
dmesg | less Code:
grep 'cups' Code:
less You may want to purge and reinstall cups in case any bad configuration files are causing it to crash. Also, there are a bunch of files on my system under Code:
/var/log/cups Once you get CUPS to work, looking at Code:
dmesg |
Thank you josephj.
I have tried each of the codes you suggested. Here they are. GROUPS root tty disk audio 1p dialout kmen video floppy cd rom tahe plug dev 1padmin dmesg less No cups mentioned in long list. dmesg grep cups. Again no cups mentioned. /var/log/cups. Is a directory My printer is an HP Deskjet 970Cxi. When I try http:// localhost:631 into browser I am 'denied entry'. I am using Linux Puppy. Thank you josephj. |
Well, first of all, your specific printer doesn't matter until you get CUPS running. No printer will "automatically" be configured and "just work" without that unless you have some other printer management software installed.
First, go into your package manager (whichever one Puppy uses) and list packages with "cups" or "hplip" in their names. You should see some of each already installed. If not, then that's what we have to fix first. (and ignore the rest below until after that). ---- Try restarting CUPS. (This was suggested before, but the fact that it needs elevated privileges to run was omitted.) and tell us what it says now that it has some muscle behind it: Code:
sudo service cups restart Code:
shelelia@halo:/var/log/cups$ ps -ef | grep cups Then, you can plug in your printer and you should see messages about it in dmesg and maybe even a configuration dialog of some sort will appear. Once we get cups running and figure out why it didn't start automatically, we can iron out any details related to the printer itself. ---- In your user's groups, if it's really 1p and 1padmin (starting with a one instead of an "ell"), that won't work. Yes, /var/log/cups is a directory (as originally noted) of log files that detail what cups has been doing for you (if anything). See what files are in it - particularly ones with timestamps from the current day. On my system, it looks like there are seven (daily?) versions of access, error, and page logs. They're all plain text (although the older ones ending with a .gz are compressed). For now, look at access_log. It should tell you when things last worked. I have error logs too, but I don't know what the messages mean, so we'll temporarily ignore them. Later, if we get stuck, then maybe posting one of them to this list or directly to a cups list will get us some useful feedback. |
Thank you Jj
Tried sudo service cups restart. sudo sudo can't open/ etc sudoers; Permission denied. sudo no valid sudoers soarces found. Quitting sudo unable to initialize policy plug in. Tries this again /var/log /cups Bash this is a directory [only this appears] Thank you again Jj |
Quote:
Quote:
|
OK. According to @yancek, you should have root permissions to start with, so forget about sudo.
What you want is Code:
ls -lh /var/log/cups If you do find logs there look at the timestamps to see how recently they were updated. You should also have a look in Code:
Puppy Menu > Setup > Puppy Setup > Puppy Package Management Somewhere in there it should let you search for packages and see if they're installed. You need to search for packages with "cups" in their name and for those with "hplip" in their name and see which are installed. Those are the packages that manage all printers and those that specifically support HP printers. We can't configure something if it's not even installed. In general, you should also look for a Linux Users Group (lug) in your area or some similar local support system. Problems like this are much easier to solve when someone can just sit in front of your computer and try things until they see what's actually going on. There may be some things that just don't look right to someone more familiar with Linux that you might not think to mention in a dialog like this one. I've been using Linux for over a decade and I wouldn't have gotten anywhere without the great support I got - and still get from my local lugs (and from forums like this one). |
Thank you yancek.and jj:
I have tried the code 1s-1h/var/log/cups [no spaces] is this written right? The result I have is 'no such file or directory. Puppy Package Manager. Repositories Puppy Tahr SYSTEM no list cups or hplip. Repositories Puppy noarch SYSTEM no listing cups or hplip. I have never been able to print from this puppy linux. But I have earlier had the http;/localhost:631. to config printer. Then I was unable to get it, for some reason I do not know. This is now as far as I reached. Thank you. |
Quote:
It appears to me that you do not know even the most very basic way to interact with your computer, Linux or otherwise, and are not able to understand simple instructions, which makes it very difficult for us to help you. For exaample, you obviously do not recognize the 'ls' command and do not know what a 'path' is... I do not mean that to be unkind, but if you were a driver asking how to get to some destination, and the person you asked had to tell you how to start the engine, what the wheel and floor pedals were for, and what the colors of the lights at intersections mean... it would be very difficult to successfully direct you to your destination without just buying you a bus ticket! You are going to have to put forth just a little effort of your own to get where you want to go. You might spend a little time looking at the following to try to build your basic skills, then you will understand the questions and the answers... The Ultimate Linux Newbie Guide Bash Beginners Guide Rute Guide |
All times are GMT -5. The time now is 08:51 AM. |