Original Submission I'm trying to migrate a Tuleap version 9.8 from one PC with CentOS 6 on a test PC with CentOS 7.
At first, I have installed a new version of Tuleap 11.0 on the test PC, then I replaced the Database and system folders from the old Tuleap.
After that, the httpd-service and forge upgrade command does not want to start.
The text of the error show below.
1) When I try to run this command:
"/usr/lib/forgeupgrade/bin/forgeupgrade --config=/etc/tuleap/forgeupgrade/config.ini update",
I have an error:
PHP Fatal error: Uncaught System_Command_CommandException: Command execution failure: /usr/bin/systemctl 'reload' 'httpd' (return value: 1):
Job for httpd.service invalid. in /usr/share/tuleap/src/common/System/Command.class.php:37
Stack trace:
#0 /usr/share/tuleap/src/common/System/ServiceControl.php(58): System_Command->exec('/usr/bin/system...')
#1 /usr/share/tuleap/src/common/System/ApacheServiceControl.php(49): Tuleap\System\ServiceControl->systemctl('httpd', 'reload')
#2 /usr/share/tuleap/src/common/svn/ApacheConfGenerator.php(59): Tuleap\System\ApacheServiceControl->reload()
#3 /usr/share/tuleap/src/utils/svn/force_refresh_codendi_svnroot.php(26): Tuleap\Svn\ApacheConfGenerator->generate()
#4 {main}
thrown in /usr/share/tuleap/src/common/System/Command.class.php on line 37
ERROR - An error occurred while updating the SVNRoot file to take into account changes in SVN authentication mode.
______________________________
2) When I try to run this command:
"service httpd start",
I have an error:
Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.
______________________________
3) When I try to run this command:
"systemctl status httpd.service",
I have an error:
● httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Вт 2019-04-16 16:25:53 +04; 8min ago
Docs: man:httpd(8)
man:apachectl(8)
Process: 31480 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE)
Process: 31478 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
Main PID: 31478 (code=exited, status=1/FAILURE)
апр 16 16:25:53 localhost.localdomain systemd[1]: Starting The Apache HTTP Server...
апр 16 16:25:53 localhost.localdomain httpd[31478]: [Tue Apr 16 16:25:53.752266 2019] [so:warn] [pid 31478] AH01574: module perl_module is already loaded, skipping
апр 16 16:25:53 localhost.localdomain httpd[31478]: AH00526: Syntax error on line 5 of /etc/httpd/conf.d/tuleap-svnroot.conf:
апр 16 16:25:53 localhost.localdomain httpd[31478]: Can't locate Apache/Tuleap.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at (eval 2) line 2.\n
апр 16 16:25:53 localhost.localdomain systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
апр 16 16:25:53 localhost.localdomain kill[31480]: kill: cannot find process ""
апр 16 16:25:53 localhost.localdomain systemd[1]: httpd.service: control process exited, code=exited status=1
апр 16 16:25:53 localhost.localdomain systemd[1]: Failed to start The Apache HTTP Server.
апр 16 16:25:53 localhost.localdomain systemd[1]: Unit httpd.service entered failed state.
апр 16 16:25:53 localhost.localdomain systemd[1]: httpd.service failed.
________________
Please help