LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 11-05-2009, 08:44 PM   #1
pelissier
LQ Newbie
 
Registered: Nov 2009
Posts: 4

Rep: Reputation: 0
Unable to go to Network configuration Dialog box


I finished installing RH Ent Workstation 5 at work. Monday I got to work and needed to make a change in the DNS. I typed the system-config-network and the followingerror came up:

Component: system-config-network
Version: 1.3.99.12
Summary: TB0a0f70ae maindialog.py:602:hydrateProfiles:TypeError: sequence item not a string or unicode object

Traceback (most recent call last):
File "/usr/sbin/system-config-network-gui", line 167, in main
window = mainDialog()
File "/usr/share/system-config-network/netconfpkg/gui/maindialog.py", line 248, in __init__
self.hydrate()
File "/usr/share/system-config-network/netconfpkg/gui/maindialog.py", line 392, in hydrate
self.hydrateProfiles()
File "/usr/share/system-config-network/netconfpkg/gui/maindialog.py", line 602, in hydrateProfiles
hclist.append([host.IP, host.Hostname,
TypeError: sequence item not a string or unicode object

Local variables in innermost frame:
profilelist: ProfileList.default.ActiveDevices.1=eth0
ProfileList.default.HostsList.1.Comment= Do not remove the following line, or various programs
ProfileList.default.HostsList.1.IP=o;?
ProfileList.default.HostsList.2.Comment=# that require network functionality will fail.
ProfileList.default.HostsList.2.isComment=true
ProfileList.default.HostsList.3.Comment=
ProfileList.default.HostsList.3.IP=127.0.0.1
ProfileList.default.HostsList.3.Hostname=localhost.localdomain
ProfileList.default.HostsList.3.AliasList.1=localhost
ProfileList.default.HostsList.4.Comment=
ProfileList.default.HostsList.4.IP=::1
ProfileList.default.HostsList.4.Hostname=localhost6.localdomain6
ProfileList.default.HostsList.4.AliasList.1=localhost6
ProfileList.default.HostsList.5.Comment=
ProfileList.default.HostsList.5.IP=10.10.200.108
ProfileList.default.HostsList.5.Hostname=nhfepb
ProfileList.default.HostsList.6.Comment=
ProfileList.default.HostsList.6.IP=10.10.200.110
ProfileList.default.HostsList.6.Hostname=hhfepb
ProfileList.default.HostsList.7.Comment=
ProfileList.default.HostsList.7.IP=10.10.200.120
ProfileList.default.HostsList.7.Hostname=nhcpub
ProfileList.default.HostsList.8.Comment=
ProfileList.default.HostsList.8.isComment=true
ProfileList.default.HostsList.9.Comment=
ProfileList.default.HostsList.9.isComment=true
ProfileList.default.DNS.SecondaryDNS=71.250.0.12
ProfileList.default.DNS.SearchList.1=localdomain
ProfileList.default.DNS.Domainname=
ProfileList.default.DNS.Hostname=localhost.localdomain
ProfileList.default.DNS.TertiaryDNS=
ProfileList.default.DNS.PrimaryDNS=68.237.161.12
ProfileList.default.Active=true
ProfileList.default.ProfileName=default

name: Common
hclist: <gtk.CList object (GtkCList) at 0x2b09bc6cfdc0>
self: <netconfpkg.gui.maindialog.mainDialog instance at 0x2b09bc6bed88>
host: Host.Comment= Do not remove the following line, or various programs
Host.IP=o;?

prof: Profile.ActiveDevices.1=eth0
Profile.HostsList.1.Comment= Do not remove the following line, or various programs
Profile.HostsList.1.IP=o;?
Profile.HostsList.2.Comment=# that require network functionality will fail.
Profile.HostsList.2.isComment=true
Profile.HostsList.3.Comment=
Profile.HostsList.3.IP=127.0.0.1
Profile.HostsList.3.Hostname=localhost.localdomain
Profile.HostsList.3.AliasList.1=localhost
Profile.HostsList.4.Comment=
Profile.HostsList.4.IP=::1
Profile.HostsList.4.Hostname=localhost6.localdomain6
Profile.HostsList.4.AliasList.1=localhost6
Profile.HostsList.5.Comment=
Profile.HostsList.5.IP=10.10.200.108
Profile.HostsList.5.Hostname=nhfepb
Profile.HostsList.6.Comment=
Profile.HostsList.6.IP=10.10.200.110
Profile.HostsList.6.Hostname=hhfepb
Profile.HostsList.7.Comment=
Profile.HostsList.7.IP=10.10.200.120
Profile.HostsList.7.Hostname=nhcpub
Profile.HostsList.8.Comment=
Profile.HostsList.8.isComment=true
Profile.HostsList.9.Comment=
Profile.HostsList.9.isComment=true
Profile.DNS.SecondaryDNS=71.250.0.12
Profile.DNS.SearchList.1=localdomain
Profile.DNS.Domainname=
Profile.DNS.Hostname=localhost.localdomain
Profile.DNS.TertiaryDNS=
Profile.DNS.PrimaryDNS=68.237.161.12
Profile.Active=true
Profile.ProfileName=default

row: 0

I WOULD LIKE TO KNOW IF I CAN RESOLVE IT WITH REINSTALLING RH. PLEASE HELP I AM NEW with LINUX.
 
Old 11-05-2009, 10:11 PM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 2,773

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
A little googling came up with this:
http://kbase.redhat.com/faq/docs/DOC-16862

...maybe it will help

cheers
 
Old 11-06-2009, 03:29 AM   #3
DrLove73
Senior Member
 
Registered: Sep 2009
Location: Srbobran, Serbia
Distribution: CentOS 5.5 i386 & x86_64
Posts: 1,112
Blog Entries: 1

Rep: Reputation: 124Reputation: 124
Hi pelissier, welcome to LQ forums.

That Knowledge base article kbp posted says you have syntax error(s) in your /etc/hosts file. Either fix it your self, or post it here so we can help you.

Last edited by DrLove73; 11-06-2009 at 08:38 PM.
 
Old 11-06-2009, 11:34 AM   #4
pelissier
LQ Newbie
 
Registered: Nov 2009
Posts: 4

Original Poster
Rep: Reputation: 0
Unable to go to Network configuration Dialog box

This is the hosts file, I really don't see where I go wrong. Please Help



# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
10.10.200.108 nhfepb
10.10.200.110 hhfepb
10.10.200.120 nhcpub
10.10.200.111 wkst01
10.10.200.112 wkst02
10.10.200.113 wkst03
10.10.200.114 wkst04
10.10.200.115 wkst05
10.10.200.116 wkst06
 
Old 11-06-2009, 02:26 PM   #5
DrLove73
Senior Member
 
Registered: Sep 2009
Location: Srbobran, Serbia
Distribution: CentOS 5.5 i386 & x86_64
Posts: 1,112
Blog Entries: 1

Rep: Reputation: 124Reputation: 124
You are posting from Windows, did you by any chance edit and/or prepare that file/text in windows? End of lines could be problem, there is a difference between Windows and Linux text editors.
 
Old 11-06-2009, 03:31 PM   #6
pelissier
LQ Newbie
 
Registered: Nov 2009
Posts: 4

Original Poster
Rep: Reputation: 0
I have been using OpenOffice (Wordprocessor) to edit the hosts, that is probably where the problem came from. Now I am wondering if I have to open the Linux editor to recreate the file. Thank you for your info. let me know what should I do next.
 
Old 11-06-2009, 06:49 PM   #7
DrLove73
Senior Member
 
Registered: Sep 2009
Location: Srbobran, Serbia
Distribution: CentOS 5.5 i386 & x86_64
Posts: 1,112
Blog Entries: 1

Rep: Reputation: 124Reputation: 124
Use Applications -> Accessories -> Text editor to retype it from scratch. That should be the best if you have not created a backup of the file. As a rule, any wise man will create a backup of anything he tries to change. Then it is easy te return the things to the way they were.
 
Old 11-06-2009, 07:59 PM   #8
pelissier
LQ Newbie
 
Registered: Nov 2009
Posts: 4

Original Poster
Rep: Reputation: 0
Unable to go to Network configuration Dialog box

Thank you, I will try it monday and I will let you know the result. Have a nice weekend.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to ping some hosts on local network from linux box john test Linux - Networking 17 04-17-2009 05:29 AM
Unable to ping my Linux box on windows network rajjay Linux - Networking 1 04-07-2009 12:16 PM
Unable to ping my Linux box from other machines on the network Nylex Linux - Networking 3 07-19-2006 06:13 AM
Unable To Create A Connection Using Network Configuration MorPheix Linux - Networking 1 07-11-2005 05:50 PM
Unable to ping my Linux box on windows network rajjay Linux - Networking 18 07-28-2003 06:14 AM


All times are GMT -5. The time now is 06:28 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration