Koozali.org: home of the SME Server

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

Offline sages

  • *
  • 182
  • +0/-0
    • http://www.sages.com.au
Re: Console Upgrade from 9.2 to 10- where did I go wrong.
« Reply #15 on: November 08, 2021, 12:14:19 PM »
So, from a root console logon
show the output from:
ifconfig

then

db configuration show InternalInterface

...

Offline k_graham

  • ***
  • 146
  • +0/-0
Re: Console Upgrade from 9.2 to 10- where did I go wrong.
« Reply #16 on: November 10, 2021, 03:51:14 AM »
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

eno1: flags=4163 <UP, BRDADCAST, RUNNING, MULTICAST> mtu1500

inet 10.0.0.1 netmask 255.255.255.0 broadcast 10.0.0.255


Offline sages

  • *
  • 182
  • +0/-0
    • http://www.sages.com.au
Re: Console Upgrade from 9.2 to 10- where did I go wrong.
« Reply #17 on: November 10, 2021, 03:57:05 AM »
If possible please try and cut and paste the output rather than retyping it.
For example if you use 'putty' (ssh program for windows) you can copy by using the mouse to highlight the text and then the usual functions to paste it into a windows program. The reverse is possible (ie use the right click to paste from the clipboard back into the putty window).
Hence my suggestion that you try a cut and paste rather than retyping.

There are people trying to help you but it is very difficult if we have any typo's or miscommunication.

What you have shown isn't something I've seen for the ethernet port, I'd expect something more like 'enp2s0'
Also the output from 'db configuration show InternalInterface' will let us see if the sme config matches hardware.
« Last Edit: November 10, 2021, 04:05:30 AM by sages »
...

Offline k_graham

  • ***
  • 146
  • +0/-0
Re: Console Upgrade from 9.2 to 10- where did I go wrong.
« Reply #18 on: November 10, 2021, 04:09:19 AM »
So, from a root console logon
show the output from:
ifconfig

then

db configuration show InternalInterface

db configuration show InternalInterface

Internal Interface = interface
Broadcast-10.0.0.255
Configuration =static
Driver=e1000e
ip address=10.0.0.1
NicBondigin disabled
Nic Bond options=miimon=200mode=active backup
Name=eno11
netmask=255.255.255.0
Network=10.0.0.0

Offline k_graham

  • ***
  • 146
  • +0/-0
Re: Console Upgrade from 9.2 to 10- where did I go wrong.
« Reply #19 on: November 10, 2021, 04:14:01 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 ?

/sbin/e-smith/audittools/templates
no such file or directory
/sbin/e-smith/audittools/newrpms |grep smeserver
no such file or directory

Offline sages

  • *
  • 182
  • +0/-0
    • http://www.sages.com.au
Re: Console Upgrade from 9.2 to 10- where did I go wrong.
« Reply #20 on: November 10, 2021, 04:20:20 AM »
Straight off, your network interface names don't match between what you say is the output from 'ifconfig' and from the 'db configuration show'
That said, there are typo's in both outputs suggesting that you have retyped the output and not cut and pasted the output. So I'd have to guess if that is an issue or not.
Please cut and paste the output from the commands.

There seems to be something in your configuration regarding network bonding, it might be disabled and just left over from the previous build but not sure.


[edit] ok, I realised that your network issues suggest that you are working from a console rather than a ssh session and that makes cut and paste difficult.

What I was looking for was if the interface names match between the ifconfig and the db config show. Please check and confirm/deny.
Also the IP address is what you think it should be.
Have you logged on as admin and reconfigure the network from the admin console? If not, please do so.

« Last Edit: November 10, 2021, 04:26:19 AM by sages »
...

Offline k_graham

  • ***
  • 146
  • +0/-0
Re: Console Upgrade from 9.2 to 10- where did I go wrong.
« Reply #21 on: November 10, 2021, 04:45:37 AM »
If possible please try and cut and paste the output rather than retyping it.
For example if you use 'putty' (ssh program for windows) you can copy by using the mouse to highlight the text and then the usual functions to paste it into a windows program. The reverse is possible (ie use the right click to paste from the clipboard back into the putty window).
Hence my suggestion that you try a cut and paste rather than retyping.

There are people trying to help you but it is very difficult if we have any typo's or miscommunication.

What you have shown isn't something I've seen for the ethernet port, I'd expect something more like 'enp2s0'
Also the output from 'db configuration show InternalInterface' will let us see if the sme config matches hardware.
I would love to cut and past the output but as I can not get the network to work I can not use putty. Perhaps a suggestion as to how I could redirect screen output to a file on a USB then I could open the USB on the windows machine.

If I

Code

db configuration show InternalInterface > /configuration.txt

It does create a configuration text file in the  root directory of the hard drive. however I need to figure out how to direct it to a USB so I can manually move it.


I appreciate people are providing suggestions.

I was wondering if I do a install again without adding the USB backup I could see if the initial install works. In case the issue is with the basic install and the HP Proliant ML110 G7 server with 4 gigs of RAM.

Is there a way after checking that it works to instigate the 1st time install question of restoring data from backup?

Thanks,
Ken

Offline k_graham

  • ***
  • 146
  • +0/-0
Re: Console Upgrade from 9.2 to 10- where did I go wrong.
« Reply #22 on: November 10, 2021, 05:03:55 AM »
Straight off, your network interface names don't match between what you say is the output from 'ifconfig' and from the 'db configuration show'
That said, there are typo's in both outputs suggesting that you have retyped the output and not cut and pasted the output. So I'd have to guess if that is an issue or not.
Please cut and paste the output from the commands.

There seems to be something in your configuration regarding network bonding, it might be disabled and just left over from the previous build but not sure.


[edit] ok, I realised that your network issues suggest that you are working from a console rather than a ssh session and that makes cut and paste difficult.

What I was looking for was if the interface names match between the ifconfig and the db config show. Please check and confirm/deny.
Also the IP address is what you think it should be.
Have you logged on as admin and reconfigure the network from the admin console? If not, please do so.


Straight off, your network interface names don't match between what you say is the output from 'ifconfig' and from the 'db configuration show'
That said, there are typo's in both outputs suggesting that you have retyped the output and not cut and pasted the output. So I'd have to guess if that is an issue or not.

ifconfig shows eno1

dbfconfiguration shows eno1



There seems to be something in your configuration regarding network bonding, it might be disabled and just left over from the previous build but not sure.

Yes I disabled the network bonding just in case it was the issue but have left both ethernet ports connected to router so I do not mistakenly leave the wrong one disconnected. Once I get the networking again I will probably reinstate the network bonding assuming is available in SME10.


[edit] ok, I realised that your network issues suggest that you are working from a console rather than a ssh session and that makes cut and paste difficult.

What I was looking for was if the interface names match between the ifconfig and the db config show. Please check and confirm/deny. Confirmed the same as above in bold

Also the IP address is what you think it should be.
Have you logged on as admin and reconfigure the network from the admin console? If not, please do so.

Yes it is what I expected 10.0.0.1 and yes I did do a reconfigure at the admin console.

Thanks,
Ken

Offline sages

  • *
  • 182
  • +0/-0
    • http://www.sages.com.au
Re: Console Upgrade from 9.2 to 10- where did I go wrong.
« Reply #23 on: November 10, 2021, 05:22:34 AM »
And the output of
ll /etc/sysconfig/network-scripts

specifically you are looking for a file called
ifcfg-eno1
and
route-eno1


And have you run through the configuration again. [edit] do not enable or configure bonding at this stage
https://wiki.koozali.org/SME_Server:Documentation:Administration_Manual:Chapter5#Configuring_your_Koozali_SME_Server


And another thought, you said you can ping from your server to other devices on the network but can't ping the server from another device. Are you using only one device to test your server against? ie server -> test device, test device -> server. If not then please use the same test device to ping to and from.
...

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 #24 on: November 10, 2021, 05:25:08 AM »
/sbin/e-smith/audittools/templates
no such file or directory
/sbin/e-smith/audittools/newrpms |grep smeserver
no such file or directory

then you have a big issue

how did you restored your backup ?

please return the output of
Code: [Select]
ll /sbinshould be something like this
Code: [Select]
# ll /sbin
lrwxrwxrwx 1 root root 8 28 déc  2018 /sbin -> usr/sbin

also
Code: [Select]
cat /etc/e-smith-release

Offline k_graham

  • ***
  • 146
  • +0/-0
Re: Console Upgrade from 9.2 to 10- where did I go wrong.
« Reply #25 on: November 10, 2021, 07:11:08 AM »
And the output of
ll /etc/sysconfig/network-scripts

specifically you are looking for a file called
ifcfg-eno1
and
route-eno1


And have you run through the configuration again. [edit] do not enable or configure bonding at this stage
https://wiki.koozali.org/SME_Server:Documentation:Administration_Manual:Chapter5#Configuring_your_Koozali_SME_Server


And another thought, you said you can ping from your server to other devices on the network but can't ping the server from another device. Are you using only one device to test your server against? ie server -> test device, test device -> server. If not then please use the same test device to ping to and from.
I decided to try the re-install again, good that this was being done to 2 new disks so I still have the originals working.  Due to what you mentioned I will disable bonding on SME9 so it is not active when installed to 10.  Also regards the ping from and to. Good idea, I was pinging the router but instead will ping a computer when I next get the chance, probably tomorrow night. Before restoring the backup USB drive to 10 I think I will 1st see if 10 works before the restore. That is that I can ping both ways on the network etc.
Thanks
Ken

Offline k_graham

  • ***
  • 146
  • +0/-0
Re: Console Upgrade from 9.2 to 10- where did I go wrong.
« Reply #26 on: November 11, 2021, 07:04:45 AM »
then you have a big issue

how did you restored your backup ?

please return the output of
Code: [Select]
ll /sbinshould be something like this
Code: [Select]
# ll /sbin
lrwxrwxrwx 1 root root 8 28 déc  2018 /sbin -> usr/sbin

also
Code: [Select]
cat /etc/e-smith-release

Tonight I started over. With the 2 new drives in place and formatted to ext4 I went through the steps, turning on only 1 ethernet port,  and then setting time, language, minimum install etc so there were no warnings. By doing the network 1st I was able to see it also allowed internet time servers to be found.

On reboot with CD removed I said no to having a backup to restore and configured the IP to 10.0.0.1, 255.255.255,0 Used only 1 port for the server, and had no problem remote logging in from another computer. I was able to download updates to latest, As well at the console I  was able to check that it could find the internet, and I could access the text based server-manager.  I find myself wondering if 4 GIGS of RAM is enough as on the previous install with my data restore I could not get proper video to see to type in the admin and password.

May I ask what the consensus is on a good amount of RAM where it would start to be excessive with little benefit . 4, 8, 16, 32 , 64 gigs?

I then removed the new disks and installed the old 9.2 SME disks and disabled the 2 network cards joining so only 1 is being utilized. As well I turned off Clam Antivirus and web mail so it will be configured more like the currently working SME 10. Then I left it saving to a USB drive via the Console on a ext3 formatted disk. Tomorrow being Rememberance day I will again attempt an install to 10 with the lowered resource settings. Then if it works, perhaps turn on the mail etc. and check with each item added.

If it does not work I will then try and answer any remaining questions.

Hopefully restoring from a USBdisk will work accorign to page 4/36

mount /media/usbdisk
cp /media/usbdisk/Backup-date-folder/smeserver.tgz /

(not sure where to get the info to replace  usbdisk with actual mount point name and Backup-date-folder with actual folder date name)_

This would have the benefit that all updates are already in place. 


Thanks, for direction.

Ken







Offline TerryF

  • grumpy old man
  • *
  • 1,829
  • +6/-0
Re: Console Upgrade from 9.2 to 10- where did I go wrong.
« Reply #27 on: November 11, 2021, 07:40:16 AM »
May I ask what the consensus is on a good amount of RAM where it would start to be excessive with little benefit . 4, 8, 16, 32 , 64 gigs?

4gb is the go as a minimum, more to do with increasing resource load, clam being the prime suspect, as is often the case with computers more the better, depends on your usage..all my test VMs are 4gb, my home server is 8gb.

If you have a working sme10 why go back? Backup the sme9 to a USB, load up the sme10 and in the console will be an option to restore from removeable media, as long as you have not added a new user etc it will be present, restore the sme9 backup, reconfig/reboot all sweet (hopefully)

--
qui scribit bis legit

Offline ReetP

  • *
  • 3,783
  • +5/-0
Re: Console Upgrade from 9.2 to 10- where did I go wrong.
« Reply #28 on: November 11, 2021, 10:22:07 AM »
Absolute minimum 4Gb for installer + clam.

After that as much as you can throw at it depending on load.

Please make that whatever you do, make  accurate notes as you go.

Still need to know what v10 names your network card.

Either run
Code: [Select]
ifconfig or
Code: [Select]
ip addr show
...
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 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 #29 on: November 11, 2021, 02:05:29 PM »
your system is expected to be slow on first hours as it is generating a dh parameter for dovecot.  could take more than one day on really slow system.

also please not that bu choosing to format with ext4 you deviated from standard install which will use xfs, and had to choose (wisely, we all hope) your partitionning, as even entering in the disk interface will result is overriding the kickstart default we provide and will replace it with either your settings or centos defaults.