Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Problem mit rpcbind nach Upgrade auf Stretch

249 views
Skip to first unread message

Michael Lange

unread,
Oct 4, 2017, 6:30:03 AM10/4/17
to
Hallo,

seit dem gestrigen Upgrade auf stretch verweigert rpcbind den Dienst:

# systemctl start rpcbind
Job for rpcbind.service failed because the control process exited with
error code. See "systemctl status rpcbind.service" and "journalctl -xe"
for details.

Ich *vermute* dies hängt damit zusammen, dass die Datei /etc/netconfig
nicht vorhanden ist, siehe syslog:

Oct 4 00:35:52 localhost systemd[1]: Stopped RPC bind portmap service.
Oct 4 00:35:52 localhost systemd[1]: Starting RPC bind portmap
service...
Oct 4 00:35:52 localhost rpcbind: could not read /etc/netconfig
Oct 4 00:35:52 localhost systemd[1]: rpcbind.service: Main process
exited, code=exited, status=1/FAILURE
Oct 4 00:35:52 localhost systemd[1]: Failed to start RPC bind portmap service.

Die vorgeschlagenen Kommandos zum Debuggen helfen mir nicht weiter:

# systemctl status rpcbind.service
● rpcbind.service - RPC bind portmap service
Loaded: loaded (/lib/systemd/system/rpcbind.service; enabled; vendor
preset: enabled) Active: failed (Result: exit-code) since Wed 2017-10-04
12:06:21 CEST; 28s ago Docs: man:rpcbind(8)
Process: 4140 ExecStart=/sbin/rpcbind -f $OPTIONS (code=exited,
status=1/FAILURE) Main PID: 4140 (code=exited, status=1/FAILURE)

Okt 04 12:06:21 fuckup systemd[1]: rpcbind.service: Unit entered failed
state. Okt 04 12:06:21 fuckup systemd[1]: rpcbind.service: Failed with
result 'exit-code'. Okt 04 12:06:21 fuckup systemd[1]: rpcbind.service:
Service hold-off time over, scheduling restart. Okt 04 12:06:21 fuckup
systemd[1]: Stopped RPC bind portmap service. Okt 04 12:06:21 fuckup
systemd[1]: rpcbind.service: Start request repeated too quickly. Okt 04
12:06:21 fuckup systemd[1]: Failed to start RPC bind portmap service.
Okt 04 12:06:21 fuckup systemd[1]: rpcbind.service: Unit entered failed
state. Okt 04 12:06:21 fuckup systemd[1]: rpcbind.service: Failed with
result 'exit-code'.

"journalctl -xe" bringt keine weiteren Erkenntnisse.

Hat jemand eine Idee, was hier Abhilfe schaffen könnte?
Die /etc/netconfig gab es bei Jessie auch nicht, wird die jetzt
gebraucht, und falls ja, wo kommt sie her? Oder muss ich rpcbind
abgewöhnen danach zu suchen?

Gruss

Michael


.-.. .. ...- . .-.. --- -. --. .- -. -.. .--. .-. --- ... .--. . .-.

The face of war has never changed. Surely it is more logical to heal
than to kill.
-- Surak of Vulcan, "The Savage Curtain", stardate 5906.5

Matthias Böttcher

unread,
Oct 4, 2017, 6:40:03 AM10/4/17
to
Hallo Michael,

/etc/netconfig kommt mit dem Paket libtirpc1, von dem rpcbind abhängt,
auch schon in jessie.

Wie ist der Status von libtirpc1 bei dir?

Gruß
Matthias

Michael Lange

unread,
Oct 4, 2017, 8:00:02 AM10/4/17
to
Hallo Mathias,

On Wed, 4 Oct 2017 12:35:39 +0200
Matthias Böttcher <matthias....@gmail.com> wrote:

> Hallo Michael,
>
> /etc/netconfig kommt mit dem Paket libtirpc1, von dem rpcbind abhängt,
> auch schon in jessie.
>
> Wie ist der Status von libtirpc1 bei dir?

danke für den Hinweis!
libtirpc1 war installiert, die Datei hat aber seltsamerweise gefehlt.

Noch seltsamer: nach

# apt-get remove rpcbind libtirpc1 && apt-get install rpcbind libtirpc1

fehlte die Datei immer noch!
Im manuell heruntergeladenen Paket ist sie aber vorhanden, und nach
händischem kopieren nach /etc läuft rpcbind jetzt :)

In der Jessie Installation waren rpcbind u. libtirpc1 offenbar gar nicht
installiert, deshalb war die Datei dann auch nicht vorhanden (hatte mich
schon gefragt, ob ich rpcbind überhaupt brauche...).
Warum die Datei nach der Installation von libtirpc1 fehlte ist wohl ein
Rätsel, das ungelöst bleiben wird.

Vielen Dank nochmal!

Michael


.-.. .. ...- . .-.. --- -. --. .- -. -.. .--. .-. --- ... .--. . .-.

We have found all life forms in the galaxy are capable of superior
development.
-- Kirk, "The Gamesters of Triskelion", stardate 3211.7

Matthias Böttcher

unread,
Oct 4, 2017, 8:30:03 AM10/4/17
to
Am 4. Oktober 2017 um 13:54 schrieb Michael Lange <klap...@freenet.de>:
> Noch seltsamer: nach
>
> # apt-get remove rpcbind libtirpc1 && apt-get install rpcbind libtirpc1
>
> fehlte die Datei immer noch!

/etc/netconfig ist ein Conffile für libtirpc1 (Abfrage mit: dpkg
--status libtirpc1).
Nach remove ist ein Paket im Status 'rc' und durch eine erneutes
install werden die Conffiles als noch vorhanden betrachtet.

Paul Muster

unread,
Oct 4, 2017, 2:10:03 PM10/4/17
to
D.h.

# apt-get purge rpcbind libtirpc1 && apt-get install rpcbind libtirpc1
^^^^^
hätte geholfen.


mfG Paul

Michael Lange

unread,
Oct 4, 2017, 2:30:02 PM10/4/17
to
Hallo,

On Wed, 4 Oct 2017 19:48:51 +0200
Paul Muster <exp-3...@news.muster.net> wrote:

> On 04.10.2017 14:21, Matthias Böttcher wrote:
> > Am 4. Oktober 2017 um 13:54 schrieb Michael Lange
> > <klap...@freenet.de>:
>
> >> Noch seltsamer: nach
> >>
> >> # apt-get remove rpcbind libtirpc1 && apt-get install rpcbind
> >> # libtirpc1
> >>
> >> fehlte die Datei immer noch!
> >
> > /etc/netconfig ist ein Conffile für libtirpc1 (Abfrage mit: dpkg
> > --status libtirpc1).
> > Nach remove ist ein Paket im Status 'rc' und durch eine erneutes
> > install werden die Conffiles als noch vorhanden betrachtet.

Ok, das erklärt das Fehlen der Datei nach neuinstallieren des Pakets.

>
> D.h.
>
> # apt-get purge rpcbind libtirpc1 && apt-get install rpcbind libtirpc1
> ^^^^^
> hätte geholfen.

Danke, das hatte ich nach Matthias' Erklärung schon verstanden :)

Nachdem ich mir die alten syslogs noch mal näher angeschaut habe, habe
ich nebenbei festgestellt, dass rpcbind doch vor dem Upgrade installiert
war, aber offenbar auch ohne die Datei zurecht kam. Da hat sich wohl
etwas geändert. Keine Ahnung wie mir die Datei urspünglich abhanden kam,
aber egal, jetzt läuft's wieder :)

Danke nochmal

Michael


.-.. .. ...- . .-.. --- -. --. .- -. -.. .--. .-. --- ... .--. . .-.

Intuition, however illogical, is recognized as a command prerogative.
-- Kirk, "Obsession", stardate 3620.7
0 new messages