Kirjoittaja Aihe: LTSP-palvelimen dbus kuolee  (Luettu 1657 kertaa)

shamino

  • Käyttäjä
  • Viestejä: 4
    • Profiili
LTSP-palvelimen dbus kuolee
« : 15.01.09 - klo:16.31 »
Ylläpidän ja kehitän yhtä noin parinkymmenen päätteen Ubuntu 8.04 Hardy heron + LTSP5 -pohjaista pääte-järjestelmää.
Jo pidemmän aikaa sitä on vaivannut omituinen vika jossa jostain syystä dbus-palvelu tuntuu kuolevan tai ainakaan se ei enää vastaa sitä tarvitseville ohjelmille. Tämä johtaa monenlaisiin käyttö-ongelmiin, esimerkiksi siihen että uloskirjautuminen jumittaa paneelit noin puolen minuutin ajaksi kunnes dialogi ilmaantuu. syy tuohon ainakin näyttää olevan se että gnome-power-manager jota uloskirjautumis-ohjelma tarvitsee ei käynnisty sisäänkirjautuessa dbusin puuttumisen takia ja joudutaan käynnistämään uloskirjautumis-nappia painettaessa..

/var/log/messages-logiin alkaa ilmestyä tämän tapaista virheilmoitusta.
Koodia: [Valitse]
ltsp1 gnome-power-manager: (username) This program cannot start until you start the dbus system service. It is <b>strongly recommended</b> you reboot your computer after starting this service.

gnome-power-bugreport.sh antaa tälläistä ulos.
Koodia: [Valitse]
root@ltsp1:~# /usr/bin/gnome-power-bugreport.sh
Distro version:       DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=8.04
DISTRIB_CODENAME=hardy
DISTRIB_DESCRIPTION="Ubuntu 8.04.1"
Kernel version:       2.6.24-23-server
g-p-m version:        open
"gnome-power-manager
HAL version:          0.5.11rc2
System manufacturer:  missing
System version:       missing
System product:       missing
AC adapter present:   error: libhal_ctx_set_dbus_connection: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
no
Battery present:      error: libhal_ctx_set_dbus_connection: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
no
Laptop panel present: error: libhal_ctx_set_dbus_connection: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
no
CPU scaling present:  error: libhal_ctx_set_dbus_connection: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
no
Battery Information:
error: dbus_bus_get: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
GNOME Power Manager Process Information:
5277     22987  0.0  0.0  40600  7976 ?        Ss   14:19   0:00 /usr/bin/gnome-power-manager
5016      2615  0.0  0.0  40600  7976 ?        Ss   15:21   0:00 /usr/bin/gnome-power-manager
5027      5958  0.0  0.0  40604  7964 ?        Ss   15:36   0:00 /usr/bin/gnome-power-manager
5359      8252  0.0  0.0  40604  7976 ?        Ss   15:49   0:00 /usr/bin/gnome-power-manager
HAL Process Information:
111      22334  0.0  0.0  24004  5496 ?        Ss   14:18   0:00 /usr/sbin/hald
root     22340  0.0  0.0   3236  1052 ?        S    14:18   0:00  \_ hald-runner
111      22427  0.0  0.0   2204   900 ?        S    14:18   0:00      \_ hald-addon-acpi: listening on acpid socket /var/run/acpid.socket
root     22429  0.0  0.0   3300  1048 ?        S    14:18   0:00      \_ hald-addon-input: Listening on /dev/input/event2


periaattessahan en tuota virranhallinta-palvelua tarvitsisi mutta se on Hardyssä sidottu aika hyvin mukaan eli poistaminen ei onnistu. Enkä oikein usko vian olevan siinä.

/etc/init.d/dbus restart  auttaa hetkellisesti mutta ongelma palaa hetken kuluttua.

dbus-daemon on kuitenkin ajossa joten en tajua miksi se ei sitten vastaa.
Koodia: [Valitse]
root@ltsp1:~# pgrep -fl dbus
2413 dbus-daemon --fork --print-address 19 --print-pid 21 --session
5746 dbus-daemon --fork --print-address 19 --print-pid 21 --session
5794 dbus-daemon --fork --print-address 19 --print-pid 21 --session
8052 dbus-daemon --fork --print-address 19 --print-pid 21 --session
17481 dbus-daemon --fork --print-address 19 --print-pid 21 --session
18602 dbus-daemon --fork --print-address 19 --print-pid 21 --session
19127 dbus-daemon --fork --print-address 19 --print-pid 21 --session
20620 dbus-daemon --fork --print-address 19 --print-pid 21 --session
22176 dbus-daemon --fork --print-address 19 --print-pid 21 --session
22204 /usr/bin/dbus-daemon --system
22749 dbus-daemon --fork --print-address 19 --print-pid 21 --session
24687 dbus-daemon --fork --print-address 19 --print-pid 21 --session

olen asentanut dbus ja hal paketit uudestaan mutta ei auttanut.

Olen googlettanut tuota virheilmoitusta mutta en ole kyllä löytänyt mistään ratkaisua tuohon vikaan.

Palvelimena on IBM eServer BladeCenter HS21 (8853L2G) jossa 8Gt muistia. Päätteinä toimii pääasiassa IBM Netvista A40 -koneita.

Asmo Koskinen

  • Käyttäjä
  • Viestejä: 4443
    • Profiili
Vs: LTSP-palvelimen dbus kuolee
« Vastaus #1 : 15.01.09 - klo:18.57 »
Ylläpidän ja kehitän yhtä noin parinkymmenen päätteen Ubuntu 8.04 Hardy heron + LTSP5 -pohjaista pääte-järjestelmää.

Olen googlettanut tuota virheilmoitusta mutta en ole kyllä löytänyt mistään ratkaisua tuohon vikaan.

Palvelimena on IBM eServer BladeCenter HS21 (8853L2G) jossa 8Gt muistia. Päätteinä toimii pääasiassa IBM Netvista A40 -koneita.

Minäkään sen enempää osaa auttaa... mutta kysy edubuntu- ja ltsp-listoilta. Siellä on oikeasti osaavia ja ennen kaikkea auttavia ihmisiä.

https://help.ubuntu.com/community/UbuntuLTSP

--> Mailing Lists:

      LTSP Discussion (ltsp-discuss)
      LTSP Developer List (ltsp-developer)
      Edubuntu User List (edubuntu-users)
      Edubuntu Developer List (edubuntu-devel)
      Ubuntu in Education List (ubuntu-education)

Ystävällisin terveisin Asmo Koskinen.