You are not logged in.

#1 2012-12-02 12:24:21

heman
Banned
Registered: 2012-12-02
Posts: 14

Problem with systemd-analyze [Solved]

Getting strange output from above command on a recently installed Arch system

 File "/usr/bin/systemd-analyze", line 294, in <module>
    verb.get(args.action)()
  File "/usr/bin/systemd-analyze", line 81, in time
    initrd_time, start_time, finish_time = acquire_start_time()
  File "/usr/bin/systemd-analyze", line 36, in acquire_start_time
    None, 'org.freedesktop.systemd1', '/org/freedesktop/systemd1', 'org.freedesktop.DBus.Properties', None)
  File "/usr/lib/python2.7/site-packages/gi/types.py", line 76, in constructor
    return info.invoke(cls, *args, **kwargs)
gi._glib.GError: Could not connect: No such file or directory

I run openbox window manger [have removed dbus-launch from .xinitrc] If it is not dbus then glib?

Last edited by heman (2012-12-03 16:59:12)

Offline

#2 2012-12-02 12:34:38

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,734
Website

Re: Problem with systemd-analyze [Solved]

optdepends=('cryptsetup: required for encrypted block devices'
              'libmicrohttpd: systemd-journal-gatewayd'
              'quota-tools: kernel-level quota management'
              'python: systemd library bindings'
              'python2-cairo: systemd-analyze'
              'python2-gobject: systemd-analyze'
              'systemd-sysvcompat: symlink package to provide sysvinit binaries')

Offline

#3 2012-12-02 22:10:15

heman
Banned
Registered: 2012-12-02
Posts: 14

Re: Problem with systemd-analyze [Solved]

python2-cairo and python2-gobject are both installed.

pacman -Q | grep gobject
gobject-introspection 1.34.2-1
pygobject-devel 3.4.2-1
pygobject2-devel 2.28.6-8
python2-gobject 3.4.2-1
python2-gobject2 2.28.6-8

Offline

#4 2012-12-02 22:14:02

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,734
Website

Re: Problem with systemd-analyze [Solved]

@heman - Not sure what to tell you then... from memory, I have seen similar errors that were corrected by those deps.

Offline

#5 2012-12-03 07:03:55

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,932
Website

Re: Problem with systemd-analyze [Solved]

Can you double check that /var/run /var/lock are symlinked correctly,

ls -la /var

You should see...

lock -> ../run/lock
run -> ../run

Mr Green

Offline

#6 2012-12-03 16:58:59

heman
Banned
Registered: 2012-12-02
Posts: 14

Re: Problem with systemd-analyze [Solved]

@Mr Green that was the problem, I had moved /var to a new partition recreated links and systemd-analyze works again

Thank you both for your help

Offline

Board footer

Powered by FluxBB