Environment
Novell ZENworks 7.3 Linux Management - ZLM7.3
Situation
Autoyast is locking up 20 percent of the time when using the rug command.
ERROR:
process14646: Applications must not close shared connections - seedbus_connection_close() docs. This is a bug in the application.
D-Bus not built with -rdynamic so unable to print a backtrace
Stacktrace:
at (wrapper managed-to-native) DBus.Connection.dbus_connection_close (intptr) <0x00004>
at (wrapper managed-to-native) DBus.Connection.dbus_connection_close (intptr) <0xffffffff>
at DBus.Connection.Dispose (bool) <0x0002d>
at DBus.Connection.Dispose () <0x0000c>
at NetworkManager.Manager.OnSignalCalled (DBus.Signal) <0x0009b>
at (wrapper delegate-invoke) System.MulticastDelegate.invoke_void_Signal (DBus.Signal) <0xffffffff>
at DBus.Service.Service_FilterCalled (intptr,intptr,intptr) <0x00068>
at (wrapper native-to-managed) DBus.Service.Service_FilterCalled (intptr,intptr,intptr) <0xffffffff>
at (wrapper managed-to-native) Novell.Zenworks.Zmd.NMStatusProvider.g_main_loop_run (intptr) <0x00004>
at (wrapper managed-to-native) Novell.Zenworks.Zmd.NMStatusProvider.g_main_loop_run (intptr) <0xffffffff>
at <>c__CompilerGenerated2.c__6 () <0x0001a>
at Novell.Zenworks.Zmd.ZenThread.WorkerLoop () <0x00214>
at (wrapper delegate-invoke) System.MulticastDelegate.invoke_void () <0xffffffff>
at (wrapper runtime-invoke) System.IO.StreamWriter.runtime_invoke_void (object,intptr,intptr,intptr) <0xffffffff>
ERROR:
process14646: Applications must not close shared connections - seedbus_connection_close() docs. This is a bug in the application.
D-Bus not built with -rdynamic so unable to print a backtrace
Stacktrace:
at (wrapper managed-to-native) DBus.Connection.dbus_connection_close (intptr) <0x00004>
at (wrapper managed-to-native) DBus.Connection.dbus_connection_close (intptr) <0xffffffff>
at DBus.Connection.Dispose (bool) <0x0002d>
at DBus.Connection.Dispose () <0x0000c>
at NetworkManager.Manager.OnSignalCalled (DBus.Signal) <0x0009b>
at (wrapper delegate-invoke) System.MulticastDelegate.invoke_void_Signal (DBus.Signal) <0xffffffff>
at DBus.Service.Service_FilterCalled (intptr,intptr,intptr) <0x00068>
at (wrapper native-to-managed) DBus.Service.Service_FilterCalled (intptr,intptr,intptr) <0xffffffff>
at (wrapper managed-to-native) Novell.Zenworks.Zmd.NMStatusProvider.g_main_loop_run (intptr) <0x00004>
at (wrapper managed-to-native) Novell.Zenworks.Zmd.NMStatusProvider.g_main_loop_run (intptr) <0xffffffff>
at <>c__CompilerGenerated2.c__6 () <0x0001a>
at Novell.Zenworks.Zmd.ZenThread.WorkerLoop () <0x00214>
at (wrapper delegate-invoke) System.MulticastDelegate.invoke_void () <0xffffffff>
at (wrapper runtime-invoke) System.IO.StreamWriter.runtime_invoke_void (object,intptr,intptr,intptr) <0xffffffff>
Resolution
Workaround:
an example Init-Script :
----------------------------------
/sbin/init 3
echo 'Registering to ZLM Server'
rm /var/lib/zmd/services
pkill -9 -x zmd
/etc/init.d/novell-zmd start
sleep 15
/usr/bin/rug ping -a
/usr/bin/rug set require-verified-certs false
/usr/bin/rug sa -f -t zenworks https://164.99.98.97
# -f option adds service unconditionally and does not allow it to fail eg.if server not responding or network is down.
/usr/bin/rug ping -a
sleep 5
echo 'Finished Registration'
/sbin/init 5
-----------------------------------
If above steps still does not address the issue and exception is seen then as
workaround, try to disable NeworkManager for zmd : kill/stop zmd , Rename the
/usr/lib/zmd/modules/Novell.Zenworks.Zmd.NetworkManager.dll Module file and
start zmd back.
an example Init-Script :
----------------------------------
/sbin/init 3
echo 'Registering to ZLM Server'
rm /var/lib/zmd/services
pkill -9 -x zmd
/etc/init.d/novell-zmd start
sleep 15
/usr/bin/rug ping -a
/usr/bin/rug set require-verified-certs false
/usr/bin/rug sa -f -t zenworks https://164.99.98.97
# -f option adds service unconditionally and does not allow it to fail eg.if server not responding or network is down.
/usr/bin/rug ping -a
sleep 5
echo 'Finished Registration'
/sbin/init 5
-----------------------------------
If above steps still does not address the issue and exception is seen then as
workaround, try to disable NeworkManager for zmd : kill/stop zmd , Rename the
/usr/lib/zmd/modules/Novell.Zenworks.Zmd.NetworkManager.dll Module file and
start zmd back.