[omd-users] Migrating OMD

Andreas Döhler andreas.doehler at gmail.com
Wed Jan 17 22:27:46 CET 2018


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 <d_sweben at hotmail.com> 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" <
> omd-users-bounces at lists.mathias-kettner.de on behalf of
> r.sander at heinlein-support.de> 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 <030%2040505143>
>     Fax: 030 / 405051-19 <030%2040505119>
>
>     Zwangsangaben lt. §35a GmbHG:
>     HRB 93818 B / Amtsgericht Berlin-Charlottenburg,
>     Geschäftsführer: Peer Heinlein -- Sitz: Berlin
>
>
>
> _______________________________________________
> omd-users mailing list
> omd-users at lists.mathias-kettner.de
> http://lists.mathias-kettner.de/mailman/listinfo/omd-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mathias-kettner.de/pipermail/omd-users/attachments/20180117/bc8adaf8/attachment.html>


More information about the omd-users mailing list