OMD 2.81 on Debian9 won't startup completely


(Chri.s) #1

Hi Guys,

i tried to transfer an old OMD Installation (running since 2015) to Debian9 the last days, i can startup it but omd start, but it doesn’t come up on its own complete - for example apache and mysql service are stopped after restart. Do i have to set some further settings to make it run or do i need to reconfigure omd for debian 9?

Thanks


(Sven Nierlein) #2

How did you transfer the site? If its a new machine, you should use omd backup on the old machine and omd restore on the new machine. See https://labs.consol.de/omd/backup_and_restore.html for some details.


(Chri.s) #3

Hello Sven,

so i did. But error stil exists - i have to manually start in after reboot to get every Service running.


(Sven Nierlein) #4

Can you add this line to /etc/init.d/omd

# Should-Start:      $network $remote_fs ntpdate

like we did in: https://github.com/ConSol/omd/commit/2f2eddd65feaef92598170e783840559a606b927
This should ensure, that networking and remote filesystems do exist before trying to start omd.


(Chri.s) #5

Hello Sven,

thank you.

I think i’ve found the point - i don’t have the file /etc/init.d/omd neither under system user ENV nor omd user’s

But how does OMD start then?


(Sven Nierlein) #6

its version specific on debian and ubuntu, so there should be at least on /etc/init.d/omd*