Hi Andreas

Thank you soo many times!!
I got a test site up and running after loads of changes.
The profiles init script apache config modules etc

Going to redo it and write it all down and share it here as well, might be 
usefull for someone else :) and/or maybe someone would like to make a little 
bash for it

Kind regards,
Dennis Sweben

Sent from my iPhone

On 17 Jan 2018, at 22:27, Andreas Döhler 
<[email protected]<mailto:[email protected]>> wrote:

Hi Dennis,

with such a migration you must do some manual steps. I had done this week one 
migration from SLES11 to actual Ubuntu and then the same "problems".
First edit the init file for the site apache - linke file for 85-apache. It is 
only one line with the executable for apache.
The next step are some changes to the apache config itself.
Easiest way for this is to create a test site on your new system and take this 
created apache config and compare it with your restored site.
The test site should have the same version as your migrated site.
There you will find many entries for the loading of apache modules. These 
entries must be changed to the new ones (copy and paste from the test site).

If you now try to start the apache and get another error look at the mentioned 
config file and compare again with the test site ones.

Best regards
Andreas

Dennis Sweben <[email protected]<mailto:[email protected]>> schrieb am 
Mi., 17. Jan. 2018 um 13:29 Uhr:
Hi Robert,

Thanks for your reply!
I ran it and these are the results:
sudo omd diff MySite
 * Changed content var/icinga
 * Changed content var/nagios/nagios.log
 * Changed content var/check_mk/wato/auth/auth.php
 ! Changed permissions var/check_mk/wato/auth/auth.php
 * Changed content local/lib/icinga
 * Changed content etc/auth.secret
 * Changed content etc/htpasswd
 ! Changed permissions etc/htpasswd
 * Changed content etc/apache/php-wrapper
 * Changed content etc/apache/apache.conf
 * Changed content etc/apache/conf.d/02_fcgid.conf
 * Changed content etc/mk-livestatus/xinetd.conf
 * Changed content etc/init.d/apache

I’m not sure what the permissions should be, but I don’t really think it will 
solve the error “Starting dedicated Apache for site 
MySite…/omd/sites/MySite/etc/rc.d/85-apache: line 88: /usr/sbin/httpd: No such 
file or directory”

Thanks again!

Kind regards,
Dennis

On Wednesday1/17/18, 12:14, "omd-users on behalf of Robert Sander" 
<[email protected]<mailto:[email protected]>
 on behalf of 
[email protected]<mailto:[email protected]>> wrote:

    On 17.01.2018 09:21, Dennis Sweben wrote:

    > Any advice? I can’t really afford a clean site since the old one is
    > holding data from more than a year which I need to preserve.

    You should run "omd diff" in your site and compare the listed files.

    Regards
    --
    Robert Sander
    Heinlein Support GmbH
    Schwedter Str. 8/9b, 10119 Berlin

    
https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.heinlein-support.de&data=02%7C01%7C%7C3fd6452c018647a7c2b108d55d9b6c43%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636517844475938146&sdata=qdjSklFGwA9n3QJCibBXFevcsWdnC4vl8QPzDYGrsL4%3D&reserved=0

    Tel: 030 / 405051-43<tel:030%2040505143>
    Fax: 030 / 405051-19<tel:030%2040505119>

    Zwangsangaben lt. §35a GmbHG:
    HRB 93818 B / Amtsgericht Berlin-Charlottenburg,
    Geschäftsführer: Peer Heinlein -- Sitz: Berlin



_______________________________________________
omd-users mailing list
[email protected]<mailto:[email protected]>
http://lists.mathias-kettner.de/mailman/listinfo/omd-users<https://nam02.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.mathias-kettner.de%2Fmailman%2Flistinfo%2Fomd-users&data=02%7C01%7C%7Ca222afa60a1c4215d6a308d55df12dbe%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636518212788364821&sdata=bIzMqRLvVA6HAzHqopThQlzjD%2BDXFRDSumSKxPK%2BN3s%3D&reserved=0>
_______________________________________________
omd-users mailing list
[email protected]
http://lists.mathias-kettner.de/mailman/listinfo/omd-users

Reply via email to