Koozali.org: home of the SME Server

Console Upgrade from 9.2 to 10- where did I go wrong.

Offline k_graham

  • ***
  • 146
  • +0/-0
Console Upgrade from 9.2 to 10- where did I go wrong.
« on: November 07, 2021, 12:53:42 AM »
I did a console backup to external disk.of SME Server 9 last night.
Removed 6 year old mirrored disks from server after completion of backup to the external USB.

Installed 2 new SATA disks, 4 terabyte capacity
Booted with 2 new disks for mirroring

Checked DVD Koozali10 SME Server and media appears okay and then installed.
Removed DVD on completion and rebooted.
When it asked if it was a upgrade I said yes and was able to select USB drive and start upgrade.

Initial indications were to press space bar and when console screen re-appears it showed increasing percentages of being restored. I assumed it was done when it showed a log in screen and I rebooted . However instructions indicate I am to wait for it to say done, but my assumption was I am done if it wants me to log in, was I wrong ?

Anyway after rebooting all looked good but I have no network connection.

The server is a several year old HP Proliant ML110 G7 with built in Ethernet adapters e100e with information as "Intel Corporation 82574L Gigabyte"

Initially it was set to use both as per SME 9.2 in Server only mode, but I have also tried to select each network port individually as well as  installing a Startec.com PCI Express Ethernet Network Card, all in ServerOnly Mode, which shows up in the list but in all cases the system is not showing on the network and I can not ping it from another computer,  The network is set with server as 10.0.0.1 and 255.255.255.0 . The computer I tried pinging from is 10.0.0.157

Also the server is not able to find the internet but has no problem on SME9.

When I put the original SME 9.2 disks back in place the system does boot and is visible on the internet .


My initial thought was that for some reason the internal network ports are not supported though they worked fine with SME 9. My next thought is that I should have allowed more time at the re-install, was the login screen not the finish and would a finished installation message appear after the Login screen?

Suggestions?







Offline sages

  • *
  • 182
  • +0/-0
    • http://www.sages.com.au
Re: Console Upgrade from 9.2 to 10- where did I go wrong.
« Reply #1 on: November 07, 2021, 01:17:14 AM »
After the upgrade did you log in as admin and configure the network from the admin console?
https://wiki.koozali.org/SME_Server:Documentation:Administration_Manual:Chapter6
...

Offline k_graham

  • ***
  • 146
  • +0/-0
Re: Console Upgrade from 9.2 to 10- where did I go wrong.
« Reply #2 on: November 07, 2021, 01:59:26 AM »
After the upgrade did you log in as admin and configure the network from the admin console?
https://wiki.koozali.org/SME_Server:Documentation:Administration_Manual:Chapter6

I did log in and as it was not working did try selecting each ethernet port 1 at a time changing it to only a single, even going as far as installing an additional network card and selecting it. The Startech PCI Express Gigabit Ethernet Network Card.

Any suggestions in a PCI Express card to order?

I would have thought the on board ports would be fine as it works in SME server 9.2 and also as it is an Intel based unit.

Thanks.

Offline Jean-Philippe Pialasse

  • *
  • 2,813
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Console Upgrade from 9.2 to 10- where did I go wrong.
« Reply #3 on: November 07, 2021, 02:02:01 AM »
you should be good with the original e1000. 
any custom templates ?

what is your server mode?

any contribs?

Offline k_graham

  • ***
  • 146
  • +0/-0
Re: Console Upgrade from 9.2 to 10- where did I go wrong.
« Reply #4 on: November 07, 2021, 02:49:28 AM »
you should be good with the original e1000. 
any custom templates ?

what is your server mode?

any contribs?

"Server Only"
It was set to minimal when running the setup of 10,

There is BackupPC showing in the 9.2 web browser. I did not end up using that thouh with more disk space I might have considered it again.

May I assume that the login window is what I should have seen after the restore? I did leave the system for a few hours during the restore and there were no power outages but if a completion message should have been their I could do the install and restore over.


Offline sages

  • *
  • 182
  • +0/-0
    • http://www.sages.com.au
Re: Console Upgrade from 9.2 to 10- where did I go wrong.
« Reply #5 on: November 07, 2021, 02:58:19 AM »
Depends on how much data there was to be restored. As a guide if the backup took 4 hours, the restore will take a similar time.
From a console login what is in either /var/log/messages during boot and/or dmesg. Specifically looking for the ethernet card driver loading for error messages.
Look in /etc/e-smith/templates-custom (as JP mentioned above) for anything that might be overriding the network setup.

How are you determining that the internet is not accessible? looking from the internet in (http/web page visible) or from the server out (ping or such)?
...

Offline k_graham

  • ***
  • 146
  • +0/-0
Re: Console Upgrade from 9.2 to 10- where did I go wrong.
« Reply #6 on: November 07, 2021, 03:26:15 AM »
Depends on how much data there was to be restored. As a guide if the backup took 4 hours, the restore will take a similar time.
From a console login what is in either /var/log/messages during boot and/or dmesg. Specifically looking for the ethernet card driver loading for error messages.
Look in /etc/e-smith/templates-custom (as JP mentioned above) for anything that might be overriding the network setup.

How are you determining that the internet is not accessible? looking from the internet in (http/web page visible) or from the server out (ping or such)?

I figured the backup at 9 hours as was 70% done at 6 hours (midnight). Then restored at 6:30 am and it showed a login message 7 hours later so it appeared to be a bit faster on restore, if that makes sense.

As it is set to Server only I am not seeing anything at 10.0.0.1 when pinging from another computer.
From the server console, Test internet access brings up nothing, it times out. Network ports appeared to be lighted green. I wonder if there is any possibility that for some reason it does not accept 10.0.0.1

When you say from a console login (do you mean admin or root, for

From a console login what is in either /var/log/messages during boot and/or dmesg. Specifically looking for the ethernet card driver loading for error messages.
I am thinking maybe root and then use MC to find and display for reading.

Offline sages

  • *
  • 182
  • +0/-0
    • http://www.sages.com.au
Re: Console Upgrade from 9.2 to 10- where did I go wrong.
« Reply #7 on: November 07, 2021, 03:45:46 AM »
console logon -> root
server admin logon -> admin

and yes, 'mc' is good to view logs

You need to determine if the problem is the network card/drive or configuration. So the log could give a clue regarding driver issues. if that is ok then something like 'ifconfig' and/or 'route' will give a clue regarding ip address/network configuration.
...

Offline Jean-Philippe Pialasse

  • *
  • 2,813
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Console Upgrade from 9.2 to 10- where did I go wrong.
« Reply #8 on: November 07, 2021, 04:04:17 AM »
in other words my question would be better answered with the output of
Code: [Select]

/sbin/e-smith/audittools/templates
/sbin/e-smith/audittools/newrpms |grep smeserver


if backuppc is listed in contribs then it seems you had enought tome to have network to at least install this contrib ?

Offline ReetP

  • *
  • 3,783
  • +5/-0
Re: Console Upgrade from 9.2 to 10- where did I go wrong.
« Reply #9 on: November 07, 2021, 12:06:52 PM »
Your cards are probably fine. Just need a bit of care & patience.

You have to run reconfigure after a restore because your old network device will be say eth0 and the new one something like the forever memorable (not) enp2s0

You need to get that updated (I had exact same last night). You'll need to do that after EVERY network card change now (read about linux & memorable network names).

So how about you look at:

Code: [Select]
ifconfig
Also
Code: [Select]
ll /etc/sysconfig/network-scripts
On older machines restore can take a while so you have to be extremely patient.

If you have a prompt after restore then run reconfigure and check dmesg and /var/log/messages for you network card.
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline k_graham

  • ***
  • 146
  • +0/-0
Re: Console Upgrade from 9.2 to 10- where did I go wrong.
« Reply #10 on: November 08, 2021, 07:44:18 AM »
I did log in and as it was not working did try selecting each ethernet port 1 at a time changing it to only a single, even going as far as installing an additional network card and selecting it. The Startech PCI Express Gigabit Ethernet Network Card.

Any suggestions in a PCI Express card to order?

I would have thought the on board ports would be fine as it works in SME server 9.2 and also as it is an Intel based unit.

Thanks.
A bit more on this, logging in as root I was able to ping my gateway and 1.1.1.1  so evidently it can send, the issue is that the other computers are not able to ping it at 10.0.0.1 and all are within the 10.0.0.1 to 10.0.0.254 range .

Going through the 10 problems posted at the top of the list I did not appear to have DNS

Do I have access to my ISP or to my local gateway in case something else is doing the gateway on my LAN
Code: [Select]
ping your.gate.way.ip    Worked

Are DNS working ?
Code: [Select]
# dig google.com +short   This did not bring up those IP #'s it timed out, no servers could be reached
16.58.213.174
# dig mirror.centos.org +short
212.69.166.138
Then fix your network /dns  Suggestions Welcomed

Offline k_graham

  • ***
  • 146
  • +0/-0
Re: Console Upgrade from 9.2 to 10- where did I go wrong.
« Reply #11 on: November 08, 2021, 07:46:59 AM »
in other words my question would be better answered with the output of
Code: [Select]

/sbin/e-smith/audittools/templates
/sbin/e-smith/audittools/newrpms |grep smeserver


if backuppc is listed in contribs then it seems you had enought tome to have network to at least install this contrib ?

Sorry, no, that was in 9, I don't believe it came across to 10.

Offline k_graham

  • ***
  • 146
  • +0/-0
Re: Console Upgrade from 9.2 to 10- where did I go wrong.
« Reply #12 on: November 08, 2021, 08:13:19 AM »
Your cards are probably fine. Just need a bit of care & patience.

You have to run reconfigure after a restore because your old network device will be say eth0 and the new one something like the forever memorable (not) enp2s0

You need to get that updated (I had exact same last night). You'll need to do that after EVERY network card change now (read about linux & memorable network names).

So how about you look at:

Code: [Select]
ifconfig
Also
Code: [Select]
ll /etc/sysconfig/network-scripts
On older machines restore can take a while so you have to be extremely patient.

If you have a prompt after restore then run reconfigure and check dmesg and /var/log/messages for you network card.

Sorry - where precisely is ifconfig ?

Also I should add, it appears the server-manager is not accessible.

It looks like the system might do a basic SME10 but has issues in the restore. I wonder if I would be better to do a basic install and  a separate restore of data and mail?
I am guessing the basic SME 10 could easily fit on a 250 GIG SSD or perhaps a 120 gig as long as mail and data were on raid disks.

Offline sages

  • *
  • 182
  • +0/-0
    • http://www.sages.com.au
Re: Console Upgrade from 9.2 to 10- where did I go wrong.
« Reply #13 on: November 08, 2021, 08:21:06 AM »
'ifconfig' is a command, just type it on a console. ('ip ad' will show similar information). It will tell us what your local Ip address is and what the actual interface is called. I suspect that it isn't 10.0.0.1 that you keep trying to ping from another machine. What makes you think the IP address of your server is actually 10.0.0.1?

I'm also sus that your your network configuration hasn't been done since the upgrade from the admin screen. (see admin manual, install section for details).
...

Offline ReetP

  • *
  • 3,783
  • +5/-0
Re: Console Upgrade from 9.2 to 10- where did I go wrong.
« Reply #14 on: November 08, 2021, 11:00:52 AM »
Quote
I'm also sus that your your network configuration hasn't been done since the upgrade from the admin screen. (see admin manual, install section for details).

Me too. And then changes have been made which have conflated things.

Just go back to basics.

The OP should type the commands listed above and post the output please (and it's a good time to read the wiki and wider for what some of these do to educate yourself)

At the minute this is all guesswork and becoming an http://xyproblem.info
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation