I am having to reinstall the drivers for my Brother MFC-j430w and it’s not going so well. When i go to http://localhost:631/admin it does not load and says the page is unavailable. I don’t know what happened or what i may have done. It just started doing it after several times of loading the page successfully. If someone could help me i would appreciate it. Thanks in advance.
Check if the CUPS service is running?
# systemctl status cups.service
If not, enable it
# systemctl enable cups.service
then try the web interface again.
I didn’t get any ouput. I also did not see it listed in the services manager. Not even after running the code to start it.
- Which openSUSE version do you have installed?
- The enable command won’t produce any output, but did that status query not produce output?
- Is the cupsd daemon running? Check with
ps -A|grep cupsd
I have Tumbleweed installed. No output from the status query. Also no output from that last code as well.
Okay, then you might want to check that you even have CUPS installed
# rpm -qa|grep cups
ron@linux-qe38:~> rpm -qa|grep cupscups-1.5.4-5.2.1.i586
mfcj430wcupswrapper-3.0.0-1.i386
cups-libs-1.5.4-5.2.1.i586
cups-client-1.5.4-5.2.1.i586
I’m just about out of ideas here (and I’m tired). I recall a reading a thread where a corrupted or missing /etc/cups/cupsd.conf file was to blame. Check that yours is okay. If in doubt, copy over the ‘cupsd.conf.default’ to ‘cupsd.conf’
BTW, this should return useful output
cupsd -t
No luck…
ron@linux-qe38:~> cupsd -tIf 'cupsd' is not a typo you can use command-not-found to lookup the package that contains it, like this:
cnf cupsd
Maybe i can just try reinstalling cups. I’m tired of messing with it for tonight anyways…Thanks for you help
That command will have failed because you were not root and it’s not in your user’s path anyway
AhHhHHhhhhh…Oops…well then here’s the output once i did it correctly
linux-qe38:/home/ron # cupsd -tNo limit for Validate-Job defined in policy allowallforanybody and no suitable template found.
No limit for Cancel-Jobs defined in policy allowallforanybody and no suitable template found.
No limit for Cancel-My-Jobs defined in policy allowallforanybody and no suitable template found.
No limit for Close-Job defined in policy allowallforanybody and no suitable template found.
No limit for CUPS-Get-Document defined in policy allowallforanybody and no suitable template found.
No JobPrivateAccess defined in policy allowallforanybody - using defaults.
No JobPrivateValues defined in policy allowallforanybody - using defaults.
No SubscriptionPrivateAccess defined in policy allowallforanybody - using defaults.
No SubscriptionPrivateValues defined in policy allowallforanybody - using defaults.
/etc/cups/cupsd.conf is OK
Let’s check that cupsd.conf
# cat /etc/cups/cupsd.conf|grep Listen
For reference, I get
Listen localhost:631
Listen /var/run/cups/cups.sock
You can check what is services are listening with
netstat -ltunp|grep LISTEN
Hi deano…I get the same as you…but restarting the service didn’t help…blah…what next?
It would be useful to see the output from the netstat command I gave you.
oops…I’m sorry…Here you go
ron@linux-qe38:~> netstat -ltunp|grep LISTEN(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN -
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN -
tcp 0 0 :::22 :::* LISTEN
Okay, well we can safely say that cupsd is not running.
From a root terminal, execute the following
systemctl enable cups.service
systemctl start cups.service
Confirm status with
systemctl status cups.service
Then try the web interface again.
Okay well now it’s running and i can access cups. But if i change it from usb to ldp in printers.conf it doesn’t take in the cups interface…
Nevermind i got it LOL … Thank you so much for your help
Well done. You got there in the end.
Okay so i have to come back to this again. How do i set cups to run when i boot up? I have to restart it manually each time…