CUPS not starting on Linux frugal distro - localhost631
-
- Posts: 9
- Joined: July 18th, 2015, 9:43 am
CUPS not starting on Linux frugal distro - localhost631
I am using SeaMonkey browser on Linux frugal distro.
Can anyone tell me why I get unable to connect to server when I go to http://localhost:631.
I can get other sites but it does not connect to this one.
Maybe someone has had this this and sorted it.
THANK YOU.
Can anyone tell me why I get unable to connect to server when I go to http://localhost:631.
I can get other sites but it does not connect to this one.
Maybe someone has had this this and sorted it.
THANK YOU.
Last edited by rsx11m on July 24th, 2015, 10:00 am, edited 1 time in total.
Reason: modified title to be more specific
Reason: modified title to be more specific
- LoudNoise
- New Member
- Posts: 39900
- Joined: October 18th, 2007, 1:45 pm
- Location: Next door to the west
Re: localhost631
What server is likely to be on local host?
Does 127.0.0.1:631 get you there?
Does 127.0.0.1:631 get you there?
Post wrangler
"Choose between the Food Select Feature or other Functions. If no food or function is chosen, Toast is the default."
"Choose between the Food Select Feature or other Functions. If no food or function is chosen, Toast is the default."
- trolly
- Moderator
- Posts: 39851
- Joined: August 22nd, 2005, 7:25 am
Re: localhost631
To be clear: localhost or 127.0.0.1 is *your* computer.
Think for yourself. Otherwise you have to believe what other people tell you.
A society based on individualism is an oxymoron. || Freedom is at first the freedom to starve.
Constitution says: One man, one vote. Supreme court says: One dollar, one vote.
A society based on individualism is an oxymoron. || Freedom is at first the freedom to starve.
Constitution says: One man, one vote. Supreme court says: One dollar, one vote.
-
- Posts: 1353
- Joined: July 25th, 2011, 8:11 am
- Location: Poland
Re: localhost631
meshmaster361 wrote:I am using SeaMonkey browser on Linux frugal distro.
Can anyone tell me why I get unable to connect to server when I go to http://localhost:631.
Are you sure this is related to SeaMonkey?
Maybe there you can find some info:
http://www.linuxquestions.org/questions ... 175534168/
http://hplipopensource.com/node/231
--
- Rollo_Tommasi
- Posts: 29
- Joined: June 14th, 2014, 10:21 am
Re: localhost631
Code: Select all
http://localhost:631
Are you trying to connect to CUPS?
Maybe there is something broken on the CUPS side?
I am just guessing, but if you are running some frugal distro maybe there is something you still need to install?
- LoudNoise
- New Member
- Posts: 39900
- Joined: October 18th, 2007, 1:45 pm
- Location: Next door to the west
Re: localhost631
It likely needs to be started , sudo /etc/init.d/cups start
It might also be blocked by hosts.
The question being, why bother? You can likely do the same thing through Menu --> Administration--> Printer.
It might also be blocked by hosts.
The question being, why bother? You can likely do the same thing through Menu --> Administration--> Printer.
Post wrangler
"Choose between the Food Select Feature or other Functions. If no food or function is chosen, Toast is the default."
"Choose between the Food Select Feature or other Functions. If no food or function is chosen, Toast is the default."
-
- Posts: 9
- Joined: July 18th, 2015, 9:43 am
Re: localhost631
Hi there you all you for replies.LoudNoise wrote:It likely needs to be started , sudo /etc/init.d/cups start
It might also be blocked by hosts.
The question being, why bother? You can likely do the same thing through Menu --> Administration--> Printer.
I have tried more browsers and same occurs
Does 127.0.0.1:631 get me there? no change same.
Unable to connect to server or connection refused.
I am trying to config. get CUPS and print with Linux.
Disconnecting firewall no change. If it is blocked by the hosts what can I do?
- LoudNoise
- New Member
- Posts: 39900
- Joined: October 18th, 2007, 1:45 pm
- Location: Next door to the west
Re: localhost631
Did you try sudo /etc/init.d/cups start ? It might not be running.
Assuming you have a text editor installed go to Computer/etc and search for hosts .
Assuming you have a text editor installed go to Computer/etc and search for hosts .
Post wrangler
"Choose between the Food Select Feature or other Functions. If no food or function is chosen, Toast is the default."
"Choose between the Food Select Feature or other Functions. If no food or function is chosen, Toast is the default."
-
- Moderator
- Posts: 14404
- Joined: May 3rd, 2007, 7:40 am
- Location: US
Re: localhost631
Obviously, CUPS has to be running before it can bind port 631 locally and you can connect to it using whatever browser of your preference.
You can check with "netstat -an" from the command line if anything is listening on that port.
You can check with "netstat -an" from the command line if anything is listening on that port.
Code: Select all
Active Connections
Proto Local Address Foreign Address State
TCP 0.0.0.0:631 0.0.0.0:0 LISTENING
- LoudNoise
- New Member
- Posts: 39900
- Joined: October 18th, 2007, 1:45 pm
- Location: Next door to the west
Re: localhost631
netstat - cups might be a better suggestion
Post wrangler
"Choose between the Food Select Feature or other Functions. If no food or function is chosen, Toast is the default."
"Choose between the Food Select Feature or other Functions. If no food or function is chosen, Toast is the default."
-
- Posts: 9
- Joined: July 18th, 2015, 9:43 am
Re: localhost631
Hi there thank s for all replies.
Have tried the options suggested.
netstat -an UNIX 3 STREAM CONNECTED.
netstat - cups same UNIX 3 STREAM CONNECTED.
sudo /etc/init.d/cups start PERMISSION DENIED
NO VALID SUDOERS
This is what I can report back.
Have tried the options suggested.
netstat -an UNIX 3 STREAM CONNECTED.
netstat - cups same UNIX 3 STREAM CONNECTED.
sudo /etc/init.d/cups start PERMISSION DENIED
NO VALID SUDOERS
This is what I can report back.
-
- Moderator
- Posts: 14404
- Joined: May 3rd, 2007, 7:40 am
- Location: US
Re: localhost631
LoudNoise wrote:netstat - cups might be a better suggestion
Doesn't do it for me on OpenSUSE, only displays the established/closing/closed connections as if invoked without any options.
meshmaster361 wrote:netstat -an UNIX 3 STREAM CONNECTED.
Hmm, that single line is all you get? Note that there isn't a space in the "-an" options.
UNIX-type sockets are local to the machine, thus you can ignore them. Maybe try
Code: Select all
netstat -ltn
-
- Moderator
- Posts: 14404
- Joined: May 3rd, 2007, 7:40 am
- Location: US
Re: localhost631
meshmaster361 wrote:sudo /etc/init.d/cups start PERMISSION DENIED
NO VALID SUDOERS
Yes, this needs to be set up properly. You can just login as root or use "su" instead to get an administrator shell, but that's a bit dangerous if you don't know what you are doing.
There is probably some higer-level user interface for managing these system things in your distro? Like YaST in OpenSUSE? It should have some "Services" settings which would tell you which services are installed, enabled or disabled for start, and currently running. If your distro is using systemd already for control of the services, /etc/init.d is mostly obsolete there anyway.
- LoudNoise
- New Member
- Posts: 39900
- Joined: October 18th, 2007, 1:45 pm
- Location: Next door to the west
Re: localhost631
Since there is no Sudo, root isn't likely to be around either. Su is your best bet.
Start a terminal session.
Type su
Give it your password (assuming you are using an admin account)
/etc/init.d/cups start
Start a terminal session.
Type su
Give it your password (assuming you are using an admin account)
/etc/init.d/cups start
Post wrangler
"Choose between the Food Select Feature or other Functions. If no food or function is chosen, Toast is the default."
"Choose between the Food Select Feature or other Functions. If no food or function is chosen, Toast is the default."
-
- Moderator
- Posts: 14404
- Joined: May 3rd, 2007, 7:40 am
- Location: US
Re: localhost631
Err, no - the "root" user should always be around (and "su" without an argument is effectively "su root"), it's just not offered in the login screen and needs to be explicitly typed in as a username. Only with "sudo" you provide your own password, for "su" you'll need the root password. But anyway, things in Ubuntu may be different than elsewhere...