LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-22-2008, 04:55 PM   #16
cngordon
LQ Newbie
 
Registered: Aug 2008
Posts: 19

Rep: Reputation: 0

my last 2 Fedora 9 Installs i have had to disable the new Networkmanager utility and just enable networking in order to get DNS resolution. With the Networkmanager enabled my setup would not keep the DNS server names/addresses stored.
 
Old 08-22-2008, 05:43 PM   #17
keratos
Member
 
Registered: May 2007
Location: London, UK.
Distribution: Major:FC8. Others:Debian;Zenwalk; Arch; Slack; RHEL.
Posts: 544

Rep: Reputation: 30
ah!

We would have got there as part of the network services check, but from your post - as you say - I inferred you were pinging the named address therefore DNS was working.

anyway, all working. well done and congratulations on your debugging.

Last edited by keratos; 08-22-2008 at 05:46 PM.
 
Old 08-23-2008, 05:35 AM   #18
sneaky
Member
 
Registered: Aug 2008
Distribution: Fedora 9 Server
Posts: 51

Original Poster
Rep: Reputation: 15
Yes sorry about misleading you Keratos. Bit of a schoolboy error.

How do turn you network manager on and off.

Thank for all your help. I'm sure it won't be the last time.
 
Old 08-23-2008, 11:42 AM   #19
keratos
Member
 
Registered: May 2007
Location: London, UK.
Distribution: Major:FC8. Others:Debian;Zenwalk; Arch; Slack; RHEL.
Posts: 544

Rep: Reputation: 30
turn it off in the services menu

there's a gui from the system menu (in Gnome). Sorry dont use KDE but I guess there is something similar.

you can also use the service command (man service)
 
Old 08-23-2008, 11:46 AM   #20
sneaky
Member
 
Registered: Aug 2008
Distribution: Fedora 9 Server
Posts: 51

Original Poster
Rep: Reputation: 15
tried to run gnome with startx gnome

and got the following error msg - (
EE)Failed to load module "intel" (module does not exist,0)
EE)No Drivers available

Fatal server error:
no screens found
giving up.
xinit: Connection refused (errno 111): unable to connect to X server
xinit: No such process (errno 3): Server error.

I think it has something to do with the graphics drivers. My laptop uses Intel GMA X3100.

Last edited by sneaky; 08-23-2008 at 12:59 PM.
 
Old 08-23-2008, 01:17 PM   #21
keratos
Member
 
Registered: May 2007
Location: London, UK.
Distribution: Major:FC8. Others:Debian;Zenwalk; Arch; Slack; RHEL.
Posts: 544

Rep: Reputation: 30
use an editor (like vi) to open the /etc/X11/xorg.conf file

search for a line with "intel" in and put a # sign at the beginning of the line.

try again now.

EDIT: in fact Fedora 9 it pretty good at detecting your video config so you should just be able to delete the /etc/X11/xorg.conf file , i.e.

rm /etc/X11/xorg.conf

then try again!

Last edited by keratos; 08-23-2008 at 01:18 PM.
 
Old 08-23-2008, 02:05 PM   #22
sneaky
Member
 
Registered: Aug 2008
Distribution: Fedora 9 Server
Posts: 51

Original Poster
Rep: Reputation: 15
That sorted out xfce which runs fine noe.

Still have the same problem with gnome. It cant find the xorg.conf config file wich of course has been deleted. It then sets up another intel driver and comes uo with the same msg as before.

UPDATE: That was the case until I rebooted and when the system came back up it came up with a gui login and the choice of using either Gnome and xfce and they both work.

So thank you.

I have 2 more probs and then hopefully I will be out of your hair.

I am having trouble with the wireless - I have set the network card but on boot and setting up wlan there is an error saying the ip address is already being used whgich isnt the case. Any ideas? The DNS keeps resetting itself to a wrong address that i first put in when i setup linux.



Chris

Last edited by sneaky; 08-23-2008 at 03:25 PM.
 
Old 08-24-2008, 04:11 AM   #23
keratos
Member
 
Registered: May 2007
Location: London, UK.
Distribution: Major:FC8. Others:Debian;Zenwalk; Arch; Slack; RHEL.
Posts: 544

Rep: Reputation: 30
well done on fixing your X problem.

okay, the wireless, post the output of the following files (use cat <filename>) where filename is each of the following

/etc/resolv.conf
/etc/hosts
/etc/networks
/etc/netconfig
/etc/sysconfig/network
 
Old 08-24-2008, 04:43 AM   #24
sneaky
Member
 
Registered: Aug 2008
Distribution: Fedora 9 Server
Posts: 51

Original Poster
Rep: Reputation: 15
/etc/resolv
[root@linuxserver ~]# cat /etc/resolv.conf
# generated by NetworkManager, do not edit!



# No nameservers found; try putting DNS servers into your
# ifcfg files in /etc/sysconfig/network-scripts like so:
#
# DNS1=xxx.xxx.xxx.xxx
# DNS2=xxx.xxx.xxx.xxx
# SEARCH=lab.foo.com bar.foo.com
nameserver 172.16.0.240

The 172.16.0.240 keeos resetting to that everytime I reboot.

Change to correct dns's but only keeps them for that session

/etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 linuxserver localhost.localdomain localhost
192.168.1.2 linuxserver linuxserver
::1 localhost6.localdomain6 localhost6

/etc/networks

default 0.0.0.0
loopback 127.0.0.0
link-local 169.254.0.0

no idea where the links-local comes from

/etc/netconfig


# The network configuration file. This file is currently only used in
# conjunction with the TI-RPC code in the libtirpc library.
#
# Entries consist of:
#
# <network_id> <semantics> <flags> <protofamily> <protoname> \
# <device> <nametoaddr_libs>
#
# The <device> and <nametoaddr_libs> fields are always empty in this
# implementation.
#
udp tpi_clts v inet udp - -
tcp tpi_cots_ord v inet tcp - -
udp6 tpi_clts - inet6 udp6 - -
tcp6 tpi_cots_ord - inet6 tcp6 - -
rawip tpi_raw - inet - - -
local tpi_cots_ord - loopback - - -
unix tpi_cots_ord - loopback - - -

/etc/sysconfig/network

NETWORKING=yes
HOSTNAME=linuxserver
IPV6_DEFAULTGW=


This is going to be an internal webserver at my school which will provide web services and ftp etc. How should I name it, as it won't be external and have a .net, .com, .co.uk extension.

Hope that makes sense.

Last edited by sneaky; 08-24-2008 at 04:55 AM.
 
Old 08-24-2008, 06:41 AM   #25
cngordon
LQ Newbie
 
Registered: Aug 2008
Posts: 19

Rep: Reputation: 0
chkconfig NetworkManager off
chkconfig --levels 35 network on
/etc/init.d/network restart

then "system-config-network"

Last edited by cngordon; 08-24-2008 at 06:42 AM.
 
Old 08-24-2008, 06:53 AM   #26
sneaky
Member
 
Registered: Aug 2008
Distribution: Fedora 9 Server
Posts: 51

Original Poster
Rep: Reputation: 15
I understand that with those commands

you turn the networkmanager off - why? eveything I have read so I need it on for wireless.

you then change the levels and turn network on -why and what does this do.

you restart the network

and then this shows the network config.

It didn't work the wireless still has the same msg as above.
It changed the dns again.

Sorry about asking the why and wherefores but I want to learn not just do it parrot fashion and struggle from one problem to another.
 
Old 08-25-2008, 04:21 AM   #27
keratos
Member
 
Registered: May 2007
Location: London, UK.
Distribution: Major:FC8. Others:Debian;Zenwalk; Arch; Slack; RHEL.
Posts: 544

Rep: Reputation: 30
Cal's post was helpful because he was turning off the NetworkManager in the hope that it would not update your settings on reboot, and he was checking that network service ran in runlevels 3 and 5 (multiuser/multiuser graphical).

I was not convinced it was a network manager issue , I still think you have edited some files (directly or inadvertently) that are confusing the system.


Here's one for starters...in the /etc/hosts file, delete linuxserver from the 127.0.0.1 line and delete one copy (you have two!) on the 192.168.1.2 line.

reboot. what happens now.
 
Old 08-25-2008, 02:39 PM   #28
sneaky
Member
 
Registered: Aug 2008
Distribution: Fedora 9 Server
Posts: 51

Original Poster
Rep: Reputation: 15
Thw wlan0 interface has failed again. Saying that 192.168.1.3 some host is already using that address.

After having taken out the bits the server hangs on postfix and just sits there for abt 5 minutes and then boots up.

And the DNS's still disappear.

Any ideas.

Chris

Last edited by sneaky; 08-25-2008 at 02:45 PM.
 
Old 08-26-2008, 08:07 AM   #29
cngordon
LQ Newbie
 
Registered: Aug 2008
Posts: 19

Rep: Reputation: 0
Postfix hanging is normal. it will sit for a very long time during boot if you are having DNS or /etc/hosts problems. Patience, it will eventually give up and continue startup.

I'm not familiar with any wireless connection on fedora, never had to, but i have sure had better luck using the old Network setup stuff than the new networkmanager. I'm not sure why you would need it, setup your info, save it, edit the hosts and resolve file to ensure no problems, and should be good to go.

Once you get into a mess that you can't really figure out how you got there, grab your install dvd, insert it into the appropriate drive, start over. A re-install can take about 20 minutes, you can waste that much time easy. I have also always disabled SE-Linux, never saw a point for it yet on my internal network servers.

Created my own mess this week, tar'd up a user maildir on an old mail server, untarred it on the new server into his home. This changed the /home dir ownership to his name, thus 50 other people could not access their maildirs. Took a bit of figuring to find that one once the calls started coming in.

Cal G
 
Old 08-26-2008, 10:00 AM   #30
keratos
Member
 
Registered: May 2007
Location: London, UK.
Distribution: Major:FC8. Others:Debian;Zenwalk; Arch; Slack; RHEL.
Posts: 544

Rep: Reputation: 30
you have got 3x interfaces setup, certainly eth0 and wlan0 , lets see what the other one is ... i suspect it is this that is causing the problem...we are nearly there mate:

NEXT..


post output of the following commands, as root:

(for readability, "l" is for "lima" "light" and "1" is in the digit for ONE)

lshal -lu /org/freedesktop/Hal/net_00_14_0b_47_50_3f
lshal -lu /org/freedesktop/Hal/net_00_1f_3c_67_97_04_0
lshal -lu /org/freedesktop/Hal/net_00_1f_3c_67_97_04

also post output of the following commands:

cat /etc/sysconfig/network-scripts/ifcfg-eth0
cat /etc/sysconfig/network-scripts/ifcfg-wlan0

Last edited by keratos; 08-26-2008 at 10:01 AM.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to run ethereal network analyser in GUI mode on linux - fedora 6 sandunlop Linux - Software 1 03-22-2007 01:39 PM
config selinux to run apache server rlee923 Linux - Software 3 03-16-2007 05:31 AM
Looking for distro with GUI config tools for use on a server gloomz Linux - Distributions 6 01-04-2007 08:29 AM
How do you run tightvnc server on RHEL so that it matches your gui screen? daveb1040 Linux - Newbie 1 12-23-2006 01:50 PM
subversion server config using a GUI raj000 Linux - Software 1 03-02-2006 08:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:00 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration