DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
Old 29th November 2014
sacerdos_daemonis's Avatar
sacerdos_daemonis sacerdos_daemonis is offline
Real Name: Will forever be a secret.
Spam Deminer
 
Join Date: Sep 2014
Posts: 283
Default

Quote:
Originally Posted by jggimi View Post
The pkg_scripts variable is a list of 3rd party /etc/rc.d scripts, in the order you want them started at boot time. See rc.d(8) and rc.conf.local(8).
Thanks. I am still discovering what is and is not covered by man pages. I also need to get into the habit of reading the files in /usr/local/share/doc/pkg-readmes. I have not needed to until now, because I have not installed anything that I am unfamiliar with or did not work. So I have become accustomed to neglecting the readme files. Not to mention, editing files involving daemons has been outside my range of experience. (Until now. ) Update posts will follow eventually. Progress is slow, because between work and laziness, I am working on this sporadically.

The help given so far by forum members is greatly appreciated. Whatever the outcome, I have been provided with very useful information. Thanks everyone.
Reply With Quote
Old 5th January 2015
sacerdos_daemonis's Avatar
sacerdos_daemonis sacerdos_daemonis is offline
Real Name: Will forever be a secret.
Spam Deminer
 
Join Date: Sep 2014
Posts: 283
Default

Now that I am on vacation, I finally got back to looking at the printer. Things went fine with the basic set-up. hp-setup finds the correct ppd file:
Code:
Adding print queue to CUPS:
Device URI: hp:/usb/HP_LaserJet_P1007?serial=NC1ATM3
Queue name: HP_LaserJet_P1007
PPD file: drv:///hp/hpcups.drv/hp-laserjet_p1007.ppd
At this point I need to install the binary plug-in. However, unlike previous installations (on Linux systems ), hp-setup does not give me the option to install the plug-in. It just aborts with a message complaining about a missing /var/run/dbus/system_bus_socket file. A more complete error message is in the error logs.
Code:
Traceback (most recent call last):
  File "/usr/local/bin/hp-setup", line 610, in <module>
    utils.sendEvent(EVENT_CUPS_QUEUES_ADDED,print_uri, printer_name)
  File "/usr/local/share/hplip/base/utils.py", line 2009, in sendEvent
    SystemBus().send_message(msg)
  File "/usr/local/lib/python2.7/site-packages/dbus/_dbus.py", line 194, in __new__
    private=private)
  File "/usr/local/lib/python2.7/site-packages/dbus/_dbus.py", line 100, in __new__
    bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
  File "/usr/local/lib/python2.7/site-packages/dbus/bus.py", line 122, in __new__
    bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.FileNotFound: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
At this point I give up. Not because it is impossible, but because getting a printer to work should not be such a hassle. It is all because of some stupid binary blob/plugin/crap. Over the last couple years I have gone from an ardent HP supporter to someone who refuses to buy HP products. So the matter is closed as far as I am concerned. Next I shall be off to scour the internet for the elusive OpenBSD Hardware Compatibility List I have heard about before buying a new printer. One without super secret binary plug-ins.
Reply With Quote
Old 5th January 2015
blackhole's Avatar
blackhole blackhole is offline
Spam Deminer
 
Join Date: Mar 2014
Posts: 316
Default

Is dbus actually installed and running?
Reply With Quote
Old 5th January 2015
sacerdos_daemonis's Avatar
sacerdos_daemonis sacerdos_daemonis is offline
Real Name: Will forever be a secret.
Spam Deminer
 
Join Date: Sep 2014
Posts: 283
Default

Installed, yes. And I assume is running.
Code:
$ pkg_info -L dbus
Information for inst:dbus-1.8.6v0

Files:
/usr/local/bin/dbus-cleanup-sockets
/usr/local/bin/dbus-daemon
/usr/local/bin/dbus-launch
/usr/local/bin/dbus-monitor
/usr/local/bin/dbus-run-session
/usr/local/bin/dbus-send
/usr/local/bin/dbus-uuidgen
/usr/local/include/dbus-1.0/dbus/dbus-address.h
/usr/local/include/dbus-1.0/dbus/dbus-bus.h
/usr/local/include/dbus-1.0/dbus/dbus-connection.h
/usr/local/include/dbus-1.0/dbus/dbus-errors.h
/usr/local/include/dbus-1.0/dbus/dbus-macros.h
/usr/local/include/dbus-1.0/dbus/dbus-memory.h
/usr/local/include/dbus-1.0/dbus/dbus-message.h
/usr/local/include/dbus-1.0/dbus/dbus-misc.h
/usr/local/include/dbus-1.0/dbus/dbus-pending-call.h
/usr/local/include/dbus-1.0/dbus/dbus-protocol.h
/usr/local/include/dbus-1.0/dbus/dbus-server.h
/usr/local/include/dbus-1.0/dbus/dbus-shared.h
/usr/local/include/dbus-1.0/dbus/dbus-signature.h
/usr/local/include/dbus-1.0/dbus/dbus-syntax.h
/usr/local/include/dbus-1.0/dbus/dbus-threads.h
/usr/local/include/dbus-1.0/dbus/dbus-types.h
/usr/local/include/dbus-1.0/dbus/dbus.h
/usr/local/lib/dbus-1.0/include/dbus/dbus-arch-deps.h
/usr/local/lib/libdbus-1.a
/usr/local/lib/libdbus-1.la
/usr/local/lib/libdbus-1.so.11.0
/usr/local/lib/pkgconfig/dbus-1.pc
/usr/local/libexec/dbus-daemon-launch-helper
/usr/local/man/man1/dbus-cleanup-sockets.1
/usr/local/man/man1/dbus-daemon.1
/usr/local/man/man1/dbus-launch.1
/usr/local/man/man1/dbus-monitor.1
/usr/local/man/man1/dbus-run-session.1
/usr/local/man/man1/dbus-send.1
/usr/local/man/man1/dbus-uuidgen.1
/usr/local/share/doc/dbus/dbus-cleanup-sockets.1.html
/usr/local/share/doc/dbus/dbus-daemon.1.html
/usr/local/share/doc/dbus/dbus-faq.html
/usr/local/share/doc/dbus/dbus-launch.1.html
/usr/local/share/doc/dbus/dbus-monitor.1.html
/usr/local/share/doc/dbus/dbus-run-session.1.html
/usr/local/share/doc/dbus/dbus-send.1.html
/usr/local/share/doc/dbus/dbus-specification.html
/usr/local/share/doc/dbus/dbus-test-plan.html
/usr/local/share/doc/dbus/dbus-tutorial.html
/usr/local/share/doc/dbus/dbus-uuidgen.1.html
/usr/local/share/doc/dbus/diagram.png
/usr/local/share/doc/dbus/diagram.svg
/usr/local/share/doc/dbus/system-activation.txt
/usr/local/share/doc/pkg-readmes/dbus-1.8.6v0
/usr/local/share/examples/dbus/dbus-1/session.conf
/usr/local/share/examples/dbus/dbus-1/system.conf
/etc/rc.d/dbus_daemon
Reply With Quote
Old 5th January 2015
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,977
Default

Quote:
Originally Posted by sacerdos_daemonis View Post
Installed, yes. And I assume is running.
It only runs if you started its rc.d script through setting it in /etc/rc.conf.local $pkg_scripts, or starting it manually. The dbus socket is not found in /var/run/, so it is not running.

Problem source identified.

Last edited by jggimi; 5th January 2015 at 12:57 PM. Reason: clarity
Reply With Quote
Old 5th January 2015
sacerdos_daemonis's Avatar
sacerdos_daemonis sacerdos_daemonis is offline
Real Name: Will forever be a secret.
Spam Deminer
 
Join Date: Sep 2014
Posts: 283
Default

Quote:
script through setting it in /etc/rc.conf.local $pkg_scripts
I thought I had done something like that before. Actually I did, but it was only pkg_scripts=cupsd.
Quote:
Problem source identified.
Yes; PEBKAC.
But I still dislike HP.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to install FreeBSD-8.2-RELEASE mapcorp FreeBSD Installation and Upgrading 1 20th June 2011 11:03 AM
Unable to install php5-gd extension schh OpenBSD General 6 16th June 2011 06:57 PM
Unable to install on Alienware m17x BlackSun FreeBSD Installation and Upgrading 3 10th November 2010 01:35 AM
Unable to make install on Subversion port Fuitad FreeBSD Ports and Packages 2 28th July 2008 04:49 PM
unable to install Postfix from ports on OBSD 4.3 Pollywog OpenBSD Packages and Ports 25 22nd July 2008 03:32 AM


All times are GMT. The time now is 10:31 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick