LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   system-config-network crashes (https://www.linuxquestions.org/questions/linux-software-2/system-config-network-crashes-720434/)

paidbythehour 04-20-2009 11:05 AM

system-config-network crashes
 
Hey there,

I have recently cloned a system of mine, and now I'm unable to open system-config-network via command line of GUI.

First of all, to perform the cloning I used RSYNC. I had two freshly installed / updated systems running RHEL5, but one had been configured by another user in my company. To copy the changes he made, I ran the following rsync command:

rsync -vrpoglHDIt --exclude=/boot --exclude=/proc --exclude=/dev --exclude=/sys --exclude=/tmp --exclude=/etc/ssh --exclude=/etc/sysconfig/rhn --exclude=/etc/sysconfig/network --exclude=/etc/mdadm.conf --exclude=/etc/fstab --exclude=/etc/sysconfig/network-scripts --progress 192.168.X.X:/ /


Since then, the system works fine except that system-config-network crashes with the following error:

# system-config-network
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/sbin/system-config-network-tui", line 119, in <lambda>
PRG_NAME, PRG_VERSION)
File "/usr/sbin/system-config-network-tui", line 109, in handleException
text = text + joinfields(list, "")
NameError: global name 'joinfields' is not defined

Original exception was:
Traceback (most recent call last):
File "/usr/sbin/system-config-network-tui", line 122, in ?
from netconfpkg import *
File "/usr/share/system-config-network/netconfpkg/__init__.py", line 61, in ?
exec _cmd
File "<string>", line 1, in ?
File "/usr/share/system-config-network/netconfpkg/Control.py", line 29, in ?
import NCDeviceList
File "/usr/share/system-config-network/netconfpkg/NCDeviceList.py", line 27, in ?
from netconfpkg.NCDeviceFactory import getDeviceFactory
File "/usr/share/system-config-network/netconfpkg/NCDeviceFactory.py", line 69, in ?
from netconfpkg.plugins import *
File "/usr/share/system-config-network/netconfpkg/plugins/__init__.py", line 35, in ?
exec _cmd
File "<string>", line 1, in ?
File "/usr/share/system-config-network/netconfpkg/plugins/NCDevCTC.py", line 22, in ?
from netconfpkg.NC_functions import CTC
ImportError: cannot import name CTC


Some additional notes:
- in the GUI, nothing happens when I click system->administration->network
- network manager is turned off in chkconfig
- when I start up wireshark in the gui, I get a message saying "bind: network is down" when starting a capture
- When I am logged in to X via VNC, logging out does not work. I seems to shut down properly, but my VNC session just stays at the desktop background (without icons, etc.)
- Network cards seem to work fine using ifconfig. Config files are there and are accepting changes without error.


Because of the 'logging out' issue mentioned above, I believe my issue may be related to X/Gnome. Can anyone else offer suggestions? I have already reinstalled system-config-network via YUM.

Thx.

******* 04-21-2009 10:31 AM

Could you run rpm -Va ? That should show if there's packages or parts of it missing. Not necessarily related, but do your system logs by any chance show any errors?


All times are GMT -5. The time now is 04:43 PM.