Hi guys - trying to migrate my nethserver and also prove that i can DR it and am failing miserably… ive had a few goes but am a little out of my depth with the firewall errors so any hints appreciated!.. at this point I have the admin console (980) available although on previous attempts (or perhaps following a reboot which i havent risked yet on this attempt!) it wouldnt start either
thanks Filippo that fixed it … until a reboot when httpd_admin wouldnt come back up which was fixed with reference to one of your posts elsewhere (this error doesnt seem to be spurious because it was observed for 2 separate servers/domains…
[root@cwprod11v02 ~]# /usr/sbin/httpd-admin -f /etc/httpd/admin-conf/httpd.conf
AH00526: Syntax error on line 51 of /etc/httpd/admin-conf/httpd.conf:
SSLCertificateChainFile: file ‘/etc/pki/tls/certs/cwprod11v02-chain.crt’ does not exist or is empty
current remaining error is: Account provider generic error: SSSD exit code 1
In view of the fact this (particular) server is only really being used for mail - i may investigate building the nethserver from scratch, re-creating users by hand and then restoring the emails… im not sure how easily this can be accomplished but 2 days of DR testing / migration work isnt giving me the warm feeling i’d hoped for!
You may try to just uninstall and reinstall your account provider. On uninstall users and groups are exported and may be imported after reinstallation of the account provider:
thanks Filippo it certainly wasnt a dig! - i will know a lot more about linux by the end of this process which has to be good even if i learn the hard way!
got you Markuz!.. i dont have any file to perform the user import with (on the new server); i checked the backup directly mentioned above and it doesnt hold user.tsv… If there is an option to export the ldap config on the old server I could copy it accross… sorry for the spoon feeding here!
its a handful of users so easy enough to do manually … running “restore_config” from the command line (i wish id done that originally - far more informative!) i can see that stephdl php is causing problems… i will fix that from my notes and try “restore_config” again. This makes sense because of the 3 servers i have migrated, the 2 with stephdl repository have had the ldap issues
following your ns7_installation link above seems to have completed the restore_config without error and the system looks good… im not sure about the script hanging with “Too few arguments” but i’ll take “Complete!” as a good sign! thanks to you and Filippo for dragging me through this - the lessons ive learnt is fix repositories first and use the command line!
as an aside is it ok to take another backup of live server tonight, re-run restore-config (i’ll need to pass it details of the new backup?) and then run restore-data again so as to bring the server to required point in time… OR should i use a fresh install of Nethserver for this recovery… this is largely a mute point because i have clones ready to go but it would be quite slick to have a warm standby DR server that i could just restore config/data onto as and when required?