Koozali.org: home of the SME Server

problem with sme booting up

Offline lional

  • ****
  • 71
  • +0/-0
problem with sme booting up
« on: May 20, 2008, 01:26:39 PM »
Hi
One of my clients running sme 7.3 seemed to have a power surge. when he booted up he got the error message eth0 in promicuous mode.
I put in a new ethernet adapter but it still looks for the old network adapter
Is there any way around this

Thanks

Lional

Offline byte

  • *
  • 2,183
  • +2/-0
Re: problem with sme booting up
« Reply #1 on: May 20, 2008, 01:40:48 PM »
I put in a new ethernet adapter but it still looks for the old network adapter
Is there any way around this

Yes, you will need to log in to the console menu and choose the configure my server option, this will pick up your newly installed NIC and once you've rebooted you should be ok.
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline lional

  • ****
  • 71
  • +0/-0
Re: problem with sme booting up
« Reply #2 on: May 20, 2008, 01:43:36 PM »
The problem is that it is not letting me get that far. The boot process stops at the eth0 in promiscuous mode. If I change network adapters it still looks for the old one

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: problem with sme booting up
« Reply #3 on: May 20, 2008, 02:13:24 PM »
The problem is that it is not letting me get that far. The boot process stops at the eth0 in promiscuous mode. If I change network adapters it still looks for the old one
Mosty likely as they are set in the modprobe.conf file automatically as they are set by the configuration database.

What is the output of:
Code: [Select]
db configuration getprop ExternalInterface Driverand
Code: [Select]
db configuration getprop InternalInterface Driver
I guess this does not read r1000 or whatever it might need to be...
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline lional

  • ****
  • 71
  • +0/-0
Re: problem with sme booting up
« Reply #4 on: May 20, 2008, 02:31:48 PM »
where do I run this from. The only way I can access my sme is by running sme repair from the cd

Lional

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: problem with sme booting up
« Reply #5 on: May 20, 2008, 02:41:13 PM »
where do I run this from. The only way I can access my sme is by running sme repair from the cd

Lional
You should be able to reconfigure from CD or enter interactive boot by pressing I when prompted, give the default answer to all questions apart from the ethernet cards and you should be welcomed by the prompt, login as root and issue the suggested commands.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline lional

  • ****
  • 71
  • +0/-0
Re: problem with sme booting up
« Reply #6 on: May 20, 2008, 02:46:43 PM »
where does it give you the option to enter interactive mode. Do I run sme repair from the cd

I really appreciate all your help

Thanks

Lional

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: problem with sme booting up
« Reply #7 on: May 20, 2008, 02:55:19 PM »
where does it give you the option to enter interactive mode.
Regarding, your questions it seems you are very unfamiliar with linux/SME Server, why are you even bothering to compile your own network interface driver? You would be better of buying a supported NIC as every kernel update will need a new compile of your driver.

This is just before services are started up, just follow your boot sequence and you will notice when you need to press I.

Do I run sme repair from the cd
Yes.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline lional

  • ****
  • 71
  • +0/-0
Re: problem with sme booting up
« Reply #8 on: May 20, 2008, 03:06:48 PM »
I am not trying to compile a new nic driver. I am fairly new to linux/sme but what happened is that I have had the installation working fine for about 6 months. Last night the client said that they had a power failure but their ups blew and the nic as well, or so I suspect.
When the server was booted I get the message that eth0 has entered promiscuous mode. All I am trying to accomplish is for sme to let me install a new nic and configure it to connect to the network. But it does not go past the promiscuous problem. It wont let me reconfigure it with the new network card. The nic's I am using should work fine but sme keeps on looking for the old nic

Is there anyway to force sme to let me change the nic

Thanks

Lional

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: problem with sme booting up
« Reply #9 on: May 20, 2008, 03:34:56 PM »
I am not trying to compile a new nic driver. I am fairly new to linux/sme but what happened is that I have had the installation working fine for about 6 months. Last night the client said that they had a power failure but their ups blew and the nic as well, or so I suspect.
Oops, I seem to have messed up two threads, my bad. Follow the boot sequence, once all hardware is detected you get a prompt stating to press I to enter interactive mode, this is just before you see all the services start (the list with the OK/NOK between square brackets)

When the server was booted I get the message that eth0 has entered promiscuous mode. All I am trying to accomplish is for sme to let me install a new nic and configure it to connect to the network. But it does not go past the promiscuous problem. It wont let me reconfigure it with the new network card. The nic's I am using should work fine but sme keeps on looking for the old nic
If you do the interactive setup you can try and bypass the loading of the network interface and after that login as admin and reconfigure your server, you should be able to set your new network card there and when it is a supported, functioning card, it should be there after reboot.
« Last Edit: May 20, 2008, 03:36:47 PM by cactus »
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline lional

  • ****
  • 71
  • +0/-0
Re: problem with sme booting up
« Reply #10 on: May 20, 2008, 03:44:19 PM »
I don't get that far. when it says eth0 has entered promiscuous mode, the boot process stops there and goes no further, so it doesn't detect the remaining of the hardware, so I can't enter the Interactive mode
the setting in modprobe.conf is alias etho 8139too

Thanks

Lional

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: problem with sme booting up
« Reply #11 on: May 20, 2008, 03:49:27 PM »
I don't get that far. when it says eth0 has entered promiscuous mode, the boot process stops there and goes no further, so it doesn't detect the remaining of the hardware, so I can't enter the Interactive mode
the setting in modprobe.conf is alias etho 8139too
Is your old card still in the machine? If so try and remove it. If it is on-board try and disable it in the BIOS.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline lional

  • ****
  • 71
  • +0/-0
Re: problem with sme booting up
« Reply #12 on: May 20, 2008, 04:03:08 PM »
My old card is onboard but if I disable it in the bios them sme says 8139too Fast Ethernet Driver 0.9.27 and the boot process stops there.
It always seems to look for that card. Is there anyway to override this. People have suggested a re-install but that doesn't seem right.

Thanks

Lional

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: problem with sme booting up
« Reply #13 on: May 20, 2008, 04:26:03 PM »
My old card is onboard but if I disable it in the bios them sme says 8139too Fast Ethernet Driver 0.9.27 and the boot process stops there.
It always seems to look for that card. Is there anyway to override this. People have suggested a re-install but that doesn't seem right.

Thanks

Lional
Yes, it could be right as it will find the installation on your hard disk and should not override it if you choose that option, after that you should be prompted to configure and you should be able to choose the new card. Are you sure the new card is supported?
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline lional

  • ****
  • 71
  • +0/-0
Re: problem with sme booting up
« Reply #14 on: May 20, 2008, 04:32:26 PM »
I am running linksys nic's and I have one in my own personal sme and it picks it up fine. What do you mean it should not override it should I choose that option?
The only option I see available to me is to do sme rescue, but that doesn't let me recofigure my system.
How do we get around the fact that sme keeps on looking for the old card