PuppyThis forum is for the discussion of Puppy Linux.
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.
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.
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
OR
service cups(d) start
OR
(try with and without the 'd')Use the Puppy admin panel to start these services.
I am sure a Puppy user will pass by soon with the required info. In the mean time can you please tell us whether this is a new install, whether the print functions have ever worked, etc.
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
If it shows that it is not running then try this:
Code:
/etc/init.d/cups start
There are also some links near the bottom of that page that appear to cover most Puppy printer topics.
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.
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
If it works, you should be able to see that cups is running as root:
If that works, you should see some messages about cups and apparmor showing up in dmesg output.
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.
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
no spaces in the path name. That will list what's in that directory - and there should be log files there if cups is running (or has run) and doing anything at all.
If you do find logs there look at the timestamps to see how recently they were updated.
That's going through your menu system - not at the command line.
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).
Last edited by josephj; 09-06-2015 at 02:50 AM.
Reason: additional material
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.
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.
Not even close... after 42 days of trying!
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...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.