Canīt access http://localhost:631
I have downloaded and installed CUPS as instructed to install an HP Deskjet 2700 series in wireless mode in a Toshiba laptop running Linux Mint 19.3
Every time I try to access http://localhost:631 I get "Unable to connect" message. No proxy has been selected and I donīt think cupsd is running. Please help. |
I believe cupsd has to be running in order for that port to be available
|
How can I make sure cupsd is installed?
|
What happens when you run the command
sudo systemctl start cups |
nothing happens when I run this sudo
master@hal:~$ sudo systemctl start cups [sudo] password for master: master@hal:~$ sudo systemctl start cups master@hal:~$ ^C master@hal:~$ master@hal:~$ sudo systemctl start cups [sudo] password for master: master@hal:~$ |
What do you get when you run this command?
Code:
ps -A | grep cups Code:
[some process number] ? 00:00:15 cupsd |
No response means the command ran successfully.
I did not phrase my response correctly. hopefully cups is started you should be able to see its web configuration page i.e. localhost:631 |
Hi Michaelk,
if the sudo run correctly, what would be the next step to access localhost:631? |
Hi Frankbell,
I run the code twice and nothing happened .... master@hal:~$ ps -A | grep cups master@hal:~$ ps -A | grep cups master@hal:~$ |
Open your file browser i.e. firefox etc and enter as the URL localhost:631 as you originally posted.
What are you trying to accomplish? Have you already setup the printer using hplip yet? The min version for hplip for your printer is 3.20.5 and if Mint 19 version is not at least that version you will need to update it first. Your printer requires a plugin which is downloaded when the printer is setup. https://developers.hp.com/hp-linux-i..._devices/index Look at the output of the command: sudo systemctl status cups |
I have ubuntu 20.10 installed on my Pi and 20.04 in a VM. On both I had hplip installed by default, but the hplip-gui package was not there. Without the hplip-gui package you can only do command line control of the printer and it is difficult to set it up.
I ran "sudo apt install hplip hplip-gui" and it verified the hplip version and installed the matching hplip-gui with all the dependencies. I then ran "hp-setup" and was able to identify the printer and set it up. While hp-setup is running it will download and install the plugin that is needed for the scanner to be accessed. Try all that and see if things work better afterward. It should work since Mint is similar to Ubuntu. |
Hello Computersavvy,
Thanks for your directions, however it looks like I did not run hp-setup correctly..... Processing triggers for libc-bin (2.27-3ubuntu1.4) ... Processing triggers for man-db (2.8.3-2ubuntu0.1) ... Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ... Processing triggers for dbus (1.12.2-1ubuntu1.2) ... Processing triggers for mime-support (3.60ubuntu1) ... master@hal:~$ hp-setup Traceback (most recent call last): File "/usr/bin/hp-setup", line 48, in <module> from base import device, utils, tui, models, module, services, os_utils File "/usr/share/hplip/base/device.py", line 42, in <module> from . import status File "/usr/share/hplip/base/status.py", line 50, in <module> import hpmudext ImportError: /usr/lib/python2.7/dist-packages/hpmudext.so: undefined symbol: ipAddressBuff master@hal:~$ |
Hello Michaelk,
I have Linux Mint 19.3 and I think I also have version 3.20.5 of HPLIP. Then I run the command you suggested: master@hal:~$ sudo systemctl status cups ● cups.service - CUPS Scheduler Loaded: loaded (/lib/systemd/system/cups.service; enabled; vendor preset: ena Active: failed (Result: start-limit-hit) since Fri 2021-02-12 10:57:30 CST; 2 Docs: man:cupsd(8) Main PID: 2636 (code=killed, signal=TERM) Feb 12 10:57:30 hal systemd[1]: cups.service: Service hold-off time over, schedu Feb 12 10:57:30 hal systemd[1]: cups.service: Scheduled restart job, restart cou Feb 12 10:57:30 hal systemd[1]: Stopped CUPS Scheduler. Feb 12 10:57:30 hal systemd[1]: cups.service: Start request repeated too quickly Feb 12 10:57:30 hal systemd[1]: cups.service: Failed with result 'start-limit-hi Feb 12 10:57:30 hal systemd[1]: Failed to start CUPS Scheduler. lines 1-12/12 (END) |
Hi Michaelk,
I just checked and I have HPLIP version 3.20.9 |
Make sure your /etc/cups/cups.conf file contains more then one line. Check out this thread:
https://forums.linuxmint.com/viewtopic.php?t=310426 |
All times are GMT -5. The time now is 08:59 PM. |