Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 18 Apr 2014, 07:17
All times are UTC - 4
 Forum index » Advanced Topics » Hardware » Printers
CUPS problem - "waiting for localhost"
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 4 [55 Posts]   Goto page: 1, 2, 3, 4 Next
Author Message
germanix

Joined: 30 Dec 2010
Posts: 30

PostPosted: Tue 04 Jan 2011, 07:01    Post subject:  CUPS problem - "waiting for localhost"  

When i started puppy form CDROM, i added my printers, using seamonkey, typing: http://localhost:631.
I get access to http://localhost:631/printers
No problems.

I saved a personal pupsave.3fs. And started puppy again.
I opened my default browser seamonkey 2.0.11 and typed: http://localhost:631
The CUPS welcome page comes up.

But now, when I click "Add Printer" or any other button, i get the message "Waiting for localhost...". And nothing happens.
I cannot add another printer or kill jobs by using seamonkey.

I typed in my shell: # cups-config --version
and got: 1.3.11

I typed again: # /etc/rc.d/init.d/cups status
and got: cups: scheduler is running.

And i can kill printer-jobs using #lpstat -t
and #lprm

So my cups works fine.

But what is the reason for this bug. How come that i have no access to http://localhost:631/printers after using a personal pupsave.3fs?
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 8555
Location: Stratford, Ontario

PostPosted: Tue 04 Jan 2011, 09:20    Post subject:  

Which Puppy version are you using?
Back to top
View user's profile Send private message 
germanix

Joined: 30 Dec 2010
Posts: 30

PostPosted: Tue 04 Jan 2011, 09:48    Post subject:  

This puppy version is wary-500, the newest wary puppy.
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 8555
Location: Stratford, Ontario

PostPosted: Tue 04 Jan 2011, 10:06    Post subject:  

I repeated your situation in Wary - booted off the Live CD, installed a printer, made a warysave.3fs file, rebooted, checked the printer. Everything worked fine.

I suspect that the problem is with your Seamonkey, not CUPS. In Seamonkey, go to Edit > Preferences > Privacy and Security. Hit the Clear Now button. Restart Seamonkey and open the CUPS web interface again.
Back to top
View user's profile Send private message 
germanix

Joined: 30 Dec 2010
Posts: 30

PostPosted: Tue 04 Jan 2011, 14:06    Post subject:  

Quote:
I suspect that the problem is with your Seamonkey, not CUPS. In Seamonkey, go to Edit > Preferences > Privacy and Security. Hit the Clear Now button. Restart Seamonkey and open the CUPS web interface again.


I tried what you've suggested. But the same effect: I opened my default browser seamonkey 2.0.11 and typed: http://localhost:631
The CUPS welcome page comes up. And when I click "Add Printer" or any other button, i get the message "Waiting for localhost...". And nothing happens. I cannot add another printer or kill jobs by using seamonkey.
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 8555
Location: Stratford, Ontario

PostPosted: Tue 04 Jan 2011, 14:26    Post subject:  

What printers did you install? Maybe something went wrong with their installation and that's causing the problem.

Go into the folder /etc/cups and delete the file printers.conf.

If that doesn't help, try reinstalling CUPS 1.3.11 from here. Just install Items 1,2 and 5.

If nothing helps, you may have to delete your warysave.3fs file and start a new one.
Back to top
View user's profile Send private message 
germanix

Joined: 30 Dec 2010
Posts: 30

PostPosted: Tue 04 Jan 2011, 15:31    Post subject:  

I've installed the printers several times. I think they are correct installed. Both are HP laser printers. The one of them is an old network printer 8100, and the other is an old 4L at /dev/lp0. They did work fine under Puppy 4.3.1.

I deleted the /etc/cups/printer.conf and started /etc/rc.d/init.d/cups again.

I reinstalled CUPS 1.3.11 from there, just items 1, 2 and 5.

I deleted my warysave.3fs and started a new one.

All that didn't help. And i found out, that i cannot print. My printer is disabled by the system when i use a warysave.3fs file. Suspect.

Quote:
I repeated your situation in Wary - booted off the Live CD, installed a printer, made a warysave.3fs file, rebooted, checked the printer. Everything worked fine.


Which wary-puppy were you using? I suppose, the same as me.

I googled in Internet "waiting for localhost linux" and found out that there could be a bug in the scripts. But if you are sure everything worked fine using warysave.3fs, then there cannot be a bug. So i don't know what to do. I need this warysave.3fs file because of an openoffice.sfs. But otherwise everything works fine without this warysave.3fs ...
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 8555
Location: Stratford, Ontario

PostPosted: Tue 04 Jan 2011, 17:12    Post subject:  

Quote:
because of an openoffice.sfs.

There have been reports of some older openoffice packages conflicting with CUPS. Where did you get yours?
Back to top
View user's profile Send private message 
germanix

Joined: 30 Dec 2010
Posts: 30

PostPosted: Tue 04 Jan 2011, 19:18    Post subject:  

This is the go-oo-3.2-sfs4.sfs.
And there are the download hints
I had never had a problem before.
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 8555
Location: Stratford, Ontario

PostPosted: Tue 04 Jan 2011, 19:21    Post subject:  

Quote:
I had never had a problem before.

With what Puppies?

This would be easy to test. Remove the go-office sfs and see if printing becomes active again.
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 8555
Location: Stratford, Ontario

PostPosted: Tue 04 Jan 2011, 19:52    Post subject:  

I can confirm that when the go-oo-3.2-sfs4.sfs is added to Wary, CUPS will hang up. I suspect that this occurs because the go-oo package was built in a Puppy 4.3.1 environment which uses an old version of CUPS. It is not compatible with the newer CUPS in Quirky/Wary/Lupu.

However, LibreOffice does work with CUPS in Wary.
Back to top
View user's profile Send private message 
germanix

Joined: 30 Dec 2010
Posts: 30

PostPosted: Wed 05 Jan 2011, 05:18    Post subject:  

You are right. When i removed this package go-oo-3.2-sfs4.sfs, then it works fine. No problems any more. Thank you! I'll install another office.sfs as you suggested. Thank you again.
Back to top
View user's profile Send private message 
germanix

Joined: 30 Dec 2010
Posts: 30

PostPosted: Wed 05 Jan 2011, 06:02    Post subject:  

But where can i get the right java/jre pet package?
Is this the right one?
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 8555
Location: Stratford, Ontario

PostPosted: Wed 05 Jan 2011, 06:38    Post subject:  

DaveS' download site also has a Java. See the link above.
Back to top
View user's profile Send private message 
neurino


Joined: 15 Oct 2009
Posts: 360

PostPosted: Fri 07 Jan 2011, 12:44    Post subject:  

I have tha same problem `waiting for localhost`...

Running puppy with no save file (pfix=ram) and using the pet you provide here (my printer is a Samsung ML 1640) I can print successfully the test page.

But with my savefile I can't get any CUPS interface web page except the home.

I have 3 sfs loaded on bootup (GIMP, devx and another) but removing them does not solve the problem.

Any tip? (except delete your savefile and start a new one... Wink )
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 4 [55 Posts]   Goto page: 1, 2, 3, 4 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Hardware » Printers
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0604s ][ Queries: 11 (0.0035s) ][ GZIP on ]