I have tried to get Deepin to recognise my HP3630 wifi printer but keep getting the following error message: CUPS server error - 'server-err
Linux DeepinThis forum is for the discussion of Linux Deepin.
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.
There is two listen directives but I suspect that the first should be port directive i.e. port 631. Is cups running? Look at the output of the command.
@Sawsmith:I noticed that your 'systemctl status cups' output has cupsd starting with
Code:
/usr/sbin/cupsd -l
When launched with the '-l' option, systemd socket activation is usually employed. You can check that with
Code:
systemctl status cups.socket
It also explains why /etc/cups/cupsd.conf only had the 'Listen /run/cups/cups.sock' directive.
This means cupsd is only launched when required (on demand with a pending print job for example). It also means cupsd stops again after a period of inactivity. There nothing wrong with that (for most users), but that is why you couldn't reach the CUPS web interface via a browser. I have found it problematic when configuring network printers though as cupsd (CUPS server daemon) isn't running when needed for configuration. However, socket activation can be disabled if required, and /lib/systemd/system/cups.service can be adjusted to start with 'cupsd -f' instead. (Usually best accomplished by creating a custom unit file in/etc/systemd/system/ directory.)
Ok, that confirms socket activation is in use. As I said, there is nothing wrong with that, but it means cupsd is not permanently running from boot. IIRC, the act of running
Code:
lpinfo -v
can trigger it, and cupsd will stay active for 30 seconds or so. You can confirm that with
Code:
ps -aux|grep cupsd
While cupsd is active you can prceed with configuration, either with a printer configuration utility (I'm not familar with deepin), or via a browser pointed at 'localhost:631' as already mentioned.
I've instigated that command several times and tried both configuring the printer and typing localhost:631 into my browser. Both created the same error message as at start.
I don't know what you mean by "neither works". I assume that the 'ps' command did not show cupsd active? Try restarting with
Code:
sudo systemctl restart cups
and then see if you can reach the web interface via a browser. Alternatively, what printer configuration utility does deepin provide (usually under a system menu)?
What I mean by neither works is that typing localhost:631 into my browser and/or configuring my printer using the printer control panel, doesn't work.
I've already tried 'sudo systemctl restart cups' as well. No go.
I have wasted an entire day trying to get this printer working as a lot of effort went into it before I got to this forum. I've even contacted Deepin technical themselves (no answer as yet).
Many thanks Ferrari and Mill J, for all of your efforts, but I think I'll go back to Mint.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.