Koozali.org: home of the SME Server

Loosing internet connection after post-upgrade of server

Offline beast

  • *
  • 238
  • +0/-0
Loosing internet connection after post-upgrade of server
« on: July 23, 2021, 08:39:55 AM »
Hi

I have randomly seen that I loose the internet connection of the server and I am beginning to understand why.

I have to reconfigure the server from the server console to get the internet back.

Not a good behavior of a server

Here last time I installed git and made a

signal-event post-upgrade; signal-event reboot

And I did not have internet connection again.

I am unable to see anything in the logs about this.

I have followed the relevant section in this thread: https://forums.contribs.org/index.php/topic,54433.0.html

I had many of the problems reported there, but something is still missing?

/Benny

Online TerryF

  • grumpy old man
  • *
  • 1,821
  • +6/-0
Re: Loosing internet connection after post-upgrade of server
« Reply #1 on: July 23, 2021, 09:44:19 AM »
While you may have detailed in the past, my memory is fading, what is your setup
--
qui scribit bis legit

Offline beast

  • *
  • 238
  • +0/-0
Re: Loosing internet connection after post-upgrade of server
« Reply #2 on: July 23, 2021, 02:43:02 PM »
While you may have detailed in the past, my memory is fading, what is your setup

Just a "standard" new server with SSD in Raid 1. Restore from old SME9 USB disk and then installation of needed contribs etc.

Have investigated this a bit and I think we have 2 different bugs/problems. One is related to git install as there is a syntax error in the httpd.conf file after installation: Rewritelog under a git section. I will report this later.

Then there is the internet connection problem.

After "signal-event post-upgrade; signal-event reboot" It is not possible to ping the server. The server can ping an outside IP but not a domain name. If I reconfigure in the server console it has no effect unless I modify the last dns section and enter something for example 1.1.1.1. Then it works again and I can reconfigure again and remove the 1.1.1.1 and it continue to work fine.

One more "signal-event post-upgrade; signal-event reboot" and all the problems are back - what to do here?


Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: Loosing internet connection after post-upgrade of server
« Reply #3 on: July 23, 2021, 11:42:41 PM »
You have installed test software on a production machine?

You already opened a query on DNS.

https://forums.contribs.org/index.php/topic,54549.0.html

You then try test software only intended for a test machine.

You are just confusing things. Stick with one issue and understand/resolve it before trying the next.

And use a test machine for test software as it is liable to break your server.
...
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,747
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Loosing internet connection after post-upgrade of server
« Reply #4 on: July 24, 2021, 12:10:51 AM »
rpm -qa | grep samba

Offline ReetP

  • *
  • 3,722
  • +5/-0
...
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,747
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Loosing internet connection after post-upgrade of server
« Reply #6 on: July 24, 2021, 12:15:05 AM »
Uh oh.....
smells like smeserver-samba spirit

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: Loosing internet connection after post-upgrade of server
« Reply #7 on: July 24, 2021, 12:24:22 AM »
smells like smeserver-samba spirit

:lol:

So bad....
...
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 beast

  • *
  • 238
  • +0/-0
Re: Loosing internet connection after post-upgrade of server
« Reply #8 on: July 24, 2021, 06:42:37 AM »
You have installed test software on a production machine?

You already opened a query on DNS.

https://forums.contribs.org/index.php/topic,54549.0.html

You then try test software only intended for a test machine.

You are just confusing things. Stick with one issue and understand/resolve it before trying the next.

And use a test machine for test software as it is liable to break your server.

It is not a production machine. I have 2 identical hardware. One is running as a production server with SME9. The other I use for trying out a possible upgrade. So, I have not installed test software on the production server. I normally use the second server as a Affa backup server. I have not stated anywhere that this is a problem on a production server?

https://forums.contribs.org/index.php/topic,54549.0.html was just a question and not related to a problem? This is the thread with a problem and the problem was there from the beginning after the restore from USB disk. I have tried this 3 times now.

I am not trying to confuse things. Just trying to help this server software to be as good as possible for both my own selfish reason's and for everybody else's benefits. It is not helping that I am being told that I confuse things and I must stick with one issue etc. because I do try to understand/resolve before taking the next step. If this is related to the fact that I mentioned git I am sorry about that as it was just the step I took when I discovered the problem again.
« Last Edit: July 24, 2021, 08:02:33 AM by beast »

Offline beast

  • *
  • 238
  • +0/-0
Re: Loosing internet connection after post-upgrade of server
« Reply #9 on: July 24, 2021, 07:52:20 AM »
rpm -qa | grep samba

e-smith-samba-2.6.0-23.el7.sme.noarch
samba-common-libs-4.10.16-15.el7_9.x86_64
samba-client-4.10.16-15.el7_9.x86_64
samba-common-4.10.16-15.el7_9.noarch
samba-4.10.16-15.el7_9.x86_64
samba-client-libs-4.10.16-15.el7_9.x86_64
samba-libs-4.10.16-15.el7_9.x86_64
samba-common-tools-4.10.16-15.el7_9.x86_64

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: Loosing internet connection after post-upgrade of server
« Reply #10 on: July 24, 2021, 11:36:45 AM »
It is not a production machine. I have 2 identical hardware. One is running as a production server with SME9. The other I use for trying out a possible upgrade. So, I have not installed test software on the production server. I normally use the second server as a Affa backup server. I have not stated anywhere that this is a problem on a production server?

No, and that is because you haven't actually really stated anything clearly. A prerequisite when trying to to debug stuff.

I wrote this a long time ago orientated to Rocket.Chat but you can see how to write well documented questions.

https://gist.github.com/reetp/a66149d5f060f260643a353ca7067a98

Also see this which you can use for testing:

https://wiki.koozali.org/SME_Server:Documentation:QA:Verification

With your three posts here and then your gitweb post it is all pretty confusing.

Quote
I am not trying to confuse things. Just trying to help this server software to be as good as possible for both my own selfish reason's and for everybody else's benefits. It is not helping that I am being told that I confuse things and I must stick with one issue etc. because I do try to understand/resolve before taking the next step. If this is related to the fact that I mentioned git I am sorry about that as it was just the step I took when I discovered the problem again.

Yes. As I have said. Stick to ONE issue at a time. You have an issue with DNS and then and you try and add gitweb, which is still testing.

You then have two or three threads and no one knows if they are separate issues or linked. Is DNS causing gitweb issues, or vice versa or are they totally separate?

I'm not trying to be critical, just trying to get you to be methodical or you will confuse the many readers of these threads.

...
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 beast

  • *
  • 238
  • +0/-0
Re: Loosing internet connection after post-upgrade of server
« Reply #11 on: July 24, 2021, 12:15:48 PM »
ReetP - I will not comment on this issue any more. I do my best but it is clearly not good enough and for that I am sorry.

The process have been that I have tried to upgrade to SME10 and along the way I have been having problems and this is the only way they are related. It would be difficult to collect it all into a single issue as they are not related and for some of them I would be more or less unable to continue the upgrade process and find new problems.
« Last Edit: July 24, 2021, 12:53:45 PM by beast »

Offline beast

  • *
  • 238
  • +0/-0
Re: Loosing internet connection after post-upgrade of server
« Reply #12 on: July 24, 2021, 03:46:39 PM »
Just to be more clear

The problem is there right after the install of SME10 and a restore from USB disk from the old SME9 server.

/Benny

Offline beast

  • *
  • 238
  • +0/-0
Re: Loosing internet connection after post-upgrade of server
« Reply #13 on: July 24, 2021, 04:08:59 PM »
Just to be more clear

The problem is there right after the install of SME10 and a restore from USB disk from the old SME9 server.

/Benny

I did not know that before now as I just verified it by performing the procedure.
« Last Edit: July 24, 2021, 04:19:45 PM by beast »

Offline Jean-Philippe Pialasse

  • *
  • 2,747
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Loosing internet connection after post-upgrade of server
« Reply #14 on: July 24, 2021, 09:29:07 PM »
1- did you do post-upgrade reboot after restoring before that? this is neeeded in order to have your services restored. 


2- can you elaborate the no connectivity.
what returns ifconfig? are you able to ping an external ip ? are you able to resolve a domain  dig google.com?