You are not logged in.

#1 2021-05-07 15:15:41

malacology
Member
Registered: 2021-04-24
Posts: 152

[solved] When visit http://localhost:631/ ERR_CONNECTION_REFUSED

When visit http://localhost:631/ ERR_CONNECTION_REFUSED
This would be the error of printer function.
I use the following problems and find the error

░▒▓ ~ ▓▒░ sudo pacman -S cups
░▒▓ ~ ▓▒░ systemctl start org.cups.cupsd.service
Failed to start org.cups.cupsd.service: Unit org.cups.cupsd.service not found.

I don't know why. I only can see an extra desktop called "打印机管理" whose English is printer manager, but I use

sudo pacman -S printer-manager

, it install a different software.
I try to use

yay -Yc

, no packages were deleted.
Otutputs of other commands are here

░▒▓ ~ ▓▒░  systemctl status ccpd.service 
Unit ccpd.service could not be found.
░▒▓ ~ ▓▒░ systemctl start ccpd.service                             ░▒▓ 4 ✘  23:08:23 ▓▒░
Failed to start ccpd.service: Unit ccpd.service not found.
░▒▓ ~ ▓▒░  systemctl daemon-reload                                 ░▒▓ 5 ✘  23:08:47 ▓▒░
░▒▓ ~ ▓▒░ systemctl start ccpd.service                               ░▒▓ ✔  23:08:56 ▓▒░
Failed to start ccpd.service: Unit ccpd.service not found.

and I found a desktop file would be helpful

[Desktop Entry]
Categories=System;Printing;HardwareSettings;X-Red-Hat-Base;
Exec=/usr/bin/xdg-open http://localhost:631/
Icon=cups
StartupNotify=false
Terminal=false
Type=Application
Name=Manage Printing
Comment=CUPS Web Interface
Name[af]=bestuur Printing
Comment[af]=CUPS Web Interface
Name[ar]=إدارة الطباعة
Comment[ar]=الكؤوس واجهة الويب
Name[az]=Çap idarə
Comment[az]=CUPS Web Interface
Name[bn-IN]=মুদ্রণ পরিচালনা
Comment[bn-IN]=CUPS ওয়েব ইন্টারফেস
Name[ca]=Gestor d'impressió
Comment[ca]=Interfície web de CUPS
Name[cs]=Správa tisku CUPS
Comment[cs]=Webové rozhraní CUPS
Name[da]=Håndter udskrivning
Comment[da]=CUPS-webgrænseflade
Name[de]=Druckerverwaltung
Comment[de]=CUPS Webinterface
Name[en_US]=Manage Printing
Comment[en_US]=CUPS Web Interface
Name[es]=Administrar impresión
Comment[es]=Interfaz Web de CUPS
Name[et]=Trükkimise haldur
Comment[et]=CUPS-i veebiliides
Name[eu]=Kudeatu inprimaketak
Comment[eu]=CUPSen web interfazea
Name[fr]=Gestionnaire d'impression
Comment[fr]=Interface Web de CUPS
Name[he]=נהל הדפסות
Comment[he]=ממשק דפדפן של CUPS
Name[id]=Manajemen Pencetakan
Comment[id]=Antarmuka Web CUPS
Name[it]=Gestione stampa
Comment[it]=Interfaccia web di CUPS
Name[ja]=印刷の管理
Comment[ja]=CUPS Web インタフェース
Name[ko]=인쇄 관리
Comment[ko]=CUPS 웹 인터페이스
Name[pl]=Zarządzanie drukowaniem
Comment[pl]=Interfejs WWW CUPS
Name[pt_BR]=Gerenciador de impressão
Comment[pt_BR]=Interface web do CUPS
Name[pt-PT]=Gerenciador de impressão
Comment[pt-PT]=Interface sítio do CUPS
Name[ru]=Настройка печати
Comment[ru]=Настройка CUPS
Name[sv]=Hantera skrivare
Comment[sv]=CUPS webb-gränssnitt
Name[sq]=Menaxho Printime
Comment[sq]=CUPS Web Interface
Name[th]=จัดการการพิมพ์
Comment[th]=CUPS เว็บอินเตอร์เฟส
Name[tr]=Yazıcıları Yönet
Comment[tr]=CUPS Web Arayüzü
Name[uz]=chop boshqarish
Comment[uz]=CUPS veb interfeysi
Name[zh]=打印机管理
Comment[zh]=CUPS网页界面
Name[zh_TW]=印表管理
Comment[zh_TW]=CUPS 網頁介面

Last edited by malacology (2022-01-02 21:23:46)


Don't speak to silly man. Keep Minimalism.

Offline

#2 2021-05-07 15:47:58

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,523
Website

Re: [solved] When visit http://localhost:631/ ERR_CONNECTION_REFUSED

malacology wrote:
░▒▓ ~ ▓▒░ systemctl start org.cups.cupsd.service
Failed to start org.cups.cupsd.service: Unit org.cups.cupsd.service not found.

I don't know why.

Because that's not the name of the service (anymore).

https://wiki.archlinux.org/title/CUPS


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2021-05-07 15:50:30

malacology
Member
Registered: 2021-04-24
Posts: 152

Re: [solved] When visit http://localhost:631/ ERR_CONNECTION_REFUSED

Trilby wrote:
malacology wrote:
░▒▓ ~ ▓▒░ systemctl start org.cups.cupsd.service
Failed to start org.cups.cupsd.service: Unit org.cups.cupsd.service not found.

I don't know why.

Because that's not the name of the service (anymore).

https://wiki.archlinux.org/title/CUPS

But you can see that I have install it
I know,

systemctl start cups.service

But how to uninstall the managing printer

Last edited by malacology (2021-05-07 15:53:27)


Don't speak to silly man. Keep Minimalism.

Offline

#4 2021-05-07 15:52:33

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [solved] When visit http://localhost:631/ ERR_CONNECTION_REFUSED

But you haven't enabled the required service(s).


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#5 2021-05-07 15:56:36

malacology
Member
Registered: 2021-04-24
Posts: 152

Re: [solved] When visit http://localhost:631/ ERR_CONNECTION_REFUSED

Slithery wrote:

But you haven't enabled the required service(s).

Thanks, I solved it.


Don't speak to silly man. Keep Minimalism.

Offline

Board footer

Powered by FluxBB