Ubuntu 10.04 LTS: Failed to detect operating system

Hi Scotty,

I use Ovh Ubuntu’s version. Never had a problem with centos from ovh, however just fixed Ubuntu too by messing with ‘issue’ files.

PS. Are you saying ovh customers don’t need use Ovh Linux distributions? Can we just install eg. clean centos distributions from centos.com? If yes, how to do it? If this will be still stable with Virtualmin?

Ps2. Do you use Ovh kernel or generic one?

This should give you some insights what could be wrong: https://insights.ubuntu.com/2016/12/01/taking-a-stand-against-unstable-risky-unofficial-ubuntu-images/.
The company they talk in that article is OVH. I dont fully agree with their decision but i can understand what are they trying to do. Still Ubuntu with 16.04 and older releases had some serious problems, in particular with their kernel.
Last but not least, i never considered Ubuntu as serious or stable OS for hosting, and i think desktop or laptop computers are better places to use this OS than servers.

Hey Diabolico. Thank you very much for that very helpful article I used to use centos as operating system however recently I’ve noticed some trouble. My server just stopped working, don’t know why, just freeze and only hard reboot can help so this is why I try to install something new. Ubuntu looks ok because there is PHP 7 and this is what I need now.

When the server stops and simple restart is enough to bring it back that usually means you are hitting some limits. Now this limits could be disk, memory or cpu. Checking the log and little time playing with ssh should give you some answers. For example it could be MariaDB hitting the limits because of default settings and fine tune could solve this problem. Of course only after digging in the log files you will get some clue what is the problem or at least where to start looking.

For PHP7 i dont know for any application what explicitly is asking this version of PHP. From security point of view you should know that Centos doesnt change software versions and all the upgrades and security patches they backport to their current version. If you need speed because of high traffic website then you should look at Litespeed but last info i have Virtualmin doesnt support Litespeed, at least isnt automated so you will need to manually make the adjustments.
Before you start switching OS you should see why you had problems in the first place. If you are hitting the limits of your server new OS will not help, just postpone the problem for some limited time.

Hi Sh00gun,

Because I am running PROXMOX on the OVH boxes. My VM servers are using stock/generic ISOs to install them.

PROMOX is an open source VM system that is in the OS install list, under OVH tamplate (read-to-use). I run 2 to 4 Ubuntu servers on each box.

I’m just working on a cluster with 4 MVs running Ubuntu 16.04 and Virtualmin. This way, if I run out of resources. I just move a VM to a new machine and all is done.

Scotty.

@Diabolico, it makes sense what you saying about limits… I have to reanalyze my server again, however before freeze, server used about 0.80 CPU, 50% of RAM (16GBof32GB) and there is plenty free space on SSD - around 50%. The same server with the same websites working on Debian with Plesk couple years ago never had the same problem… :wink:

It could be failing hardware. If this is dedicated server then i would say start with disk drives and raid controller. If i’m not mistaken OVH have an option to check the hardware from their control panel and you should start with this. If the hardware is ok then move to your log files, maybe there you can find some clue what is going on. If your server isnt hitting the limits it could be some minor/major miss-configuration in your software, usually MySQL or PHP but w/o log files its hard to give any precise diagnosis.

Hardware is OK, checked with diagnostic from OVH, all looks OK, I think it might me something wrong with MySQL setting. I use to have all recommended setting from: MySQLTuner, however sometimes during backup and sending archives to ext. FTP backup, server stopped responding. I have default setting now and all looks OK during making backup. This what I do now, I will try Ubuntu or Debian, and see what happens.

Ps. Can I full backup website under Centos and Restore the backup file under Ubuntu? Will all files know where to go?

Thanks

For the backup i cant help you because i’m not good with Ubuntu or any other OS aside of Centos. Maybe someone else can jump in and give you proper advice. Anyway at least you saw what was the core of your problem.

Hi, but those problems with server freeze was on CentOS…

Diabolico, so you think the better solution would be stay with CentOS and have freezes every so often (avg. every 3-4 weeks), than try Ubuntu/Debian?

This problem doesnt have anything to do with OS per se but rather something in your system. For example you are using 16GB of 32GB memory and if you didnt fine tune your DB this could be enough to cause spikes in memory usage and crash the server. Next thing it could be PHP scripts hanging for too long, or too many DB request… There is really too many reasons why the server can crash and without all the log files its really hard to pinpoint the exact cause.

If you think other OS would be better by default then go, try and see if this will help you to get rid of the problem. What i know, regardless of what OS you are going to use without fine tuning things like DB and PHP sooner or later your problem will be back. Thats all i know.