On 04/17/2017 06:45 AM, Stephen Berg (Contractor) wrote:
I need to relocate a site from a RHEL6 based system to a RHEL7 based system. Using the backup and restore feature doesn't work. The apache config ends up being broke. It's looking for modules that have either disappeared in RHEL7 or been renamed.

After I restore from the tar ball and try to start the site I get this:

Starting dedicated Apache for site <SITENAME>...httpd: Syntax error on line 104 of /omd/sites/SITENAME/etc/apache/apache.conf: Cannot load /usr/lib64/httpd/modules/mod_authn_default.so into server: /usr/lib64/httpd/modules/mod_authn_default.so: cannot open shared object file: No such file or directory
..........ERROR

Is this even possible or do I have to create a new site on the new RHEL7 system and rebuild the config by hand?

Just tried using a WATO snapshot and that also failed:

Errors on restoring snapshot:
Restore-Phase: Cleanup, Domain: applicationlogs Error: Traceback (most recent call last): File "/omd/sites/SITENAME/share/check_mk/web/htdocs/multitar.py", line 246, in extract_domains dom_errors = handler(domains[name], tar_member) File "/omd/sites/SITENAME/share/check_mk/web/htdocs/multitar.py", line 238, in <lambda> ("Cleanup", False, lambda domain, tar_member: cleanup_domain(domain)), File "/omd/sites/SITENAME/share/check_mk/web/htdocs/multitar.py", line 191, in cleanup_domain cleanup_dir(full_path, exclude_files) File "/omd/sites/SITENAME/share/check_mk/web/htdocs/multitar.py", line 330, in cleanup_dir shutil.rmtree(path) File "/usr/lib64/python2.7/shutil.py", line 232, in rmtree onerror(os.path.islink, path, sys.exc_info()) File "/usr/lib64/python2.7/shutil.py", line 230, in rmtree raise OSError("Cannot call rmtree on a symbolic link") OSError: Cannot call rmtree on a symbolic link

--
Stephen Berg
Systems Administrator
NRL Code: 7320
Office: 228-688-5738
[email protected]

_______________________________________________
omd-users mailing list
[email protected]
http://lists.mathias-kettner.de/mailman/listinfo/omd-users

Reply via email to