WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: starting cups  (Read 2765 times)

Offline alexo

  • Jr. Member
  • **
  • Posts: 97
starting cups
« on: October 27, 2015, 03:37:51 PM »
Hello,

I've installed my printer HP ENVY 4500 multifunction and started cups as explained in the wiki.
all works perfectly.

but when I add the line:

Code: [Select]
sudo /usr/local/etc/init.d/cups start
to bootlocal.sh and reboot, i get the following messages:

stopped /usr/local/bin/dbus-daemon (pid 3925)
rm: can't remove '/var/run/dbus/pid': No such file or directory[/code]

Is it my fault?

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: starting cups
« Reply #1 on: October 27, 2015, 03:39:23 PM »
Do NOT use sudo in bootlocal.sh.  It is already running as root.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: starting cups
« Reply #2 on: October 27, 2015, 03:54:31 PM »
Do NOT use sudo in bootlocal.sh.  It is already running as root.

sudo is not necessary but doesn't harm.

Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline alexo

  • Jr. Member
  • **
  • Posts: 97
Re: starting cups
« Reply #3 on: October 27, 2015, 06:17:41 PM »
Quote
Do NOT use sudo in bootlocal.sh.  It is already running as root

ok sudo removed from bootlocal.sh, but the messages remain.

any clue?

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
Re: starting cups
« Reply #4 on: October 27, 2015, 10:14:36 PM »
I'm sure Juanito or someone else will be able to provide good assistance.
Curious, since you're using HP have you tried hplip.tcz?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14823
Re: starting cups
« Reply #5 on: October 28, 2015, 01:13:52 AM »
Code: [Select]
$ sudo /usr/local/etc/init.d/cups start

stopped /usr/local/bin/dbus-daemon (pid 3925)
rm: can't remove '/var/run/dbus/pid': No such file or directory

This message arises from the somewhat clumsy way that the cups init.d first checks if the dbus daemon is running and, if not, starts it.

Nothing to worry about  :)

Offline alexo

  • Jr. Member
  • **
  • Posts: 97
Re: starting cups
« Reply #6 on: October 28, 2015, 07:22:30 AM »
@nitram:

hplip is installed and perfectly working. The version number is a bit old, but my printer works perfectly [USB connected] didn't try to try it wirelessly
.
As stated in a former post, GTK+ or GTK2 softwares don't see my printer giving me just two options - print to file and LPR

@juanito:

ok I won't worry any further.
Just a memo - did you upload to the repository your updated version of laptop-tools?

thank you for your promptly replies.
Cheers


thank you all
« Last Edit: October 28, 2015, 07:27:46 AM by alexo »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14823
Re: starting cups
« Reply #7 on: October 28, 2015, 07:40:44 AM »
as mentioned, laptop-mode-tools updated and posted to the repo