[opensuse-factory] openQA installation problems
Hello, I have been trying to install openQA on a recent version of Tumbleweed on my local machine to familiarise myself with this product. While I have followed the installation instructions from the relevant web page and the accompanying video, I have run into problems and would greatly appreciate some help in resolving them. I have full console outputs saved, but have not attached same as I am not sure what the conventions for attaching attachments on this mailing list are. In essence, this is what I have done: linux-zpun:/home/vlad # zypper ar -f obs://devel:openQA/openSUSE_13.2 openQA linux-zpun:/home/vlad # zypper ar -f obs://devel:openQA:13.2/openSUSE_13.2 openQA-perl-module linux-zpun:/home/vlad # zypper in apache2. # chose(a) when prompted linux-zpun:/home/vlad # zypper in openqa linux-zpun:/home/vlad # zypper in *sass* # I found this was needed from previous attempts linux-zpun:/home/vlad # systemctl restart apache2 linux-zpun:/home/vlad # systemctl start openqa-webui linux-zpun:/home/vlad # systemctl status apache2Oct 31 19:34:56 linux-zpun openqa[30676]: Server available at http://localhost:9526/ linux-zpun:/etc/apache2/vhosts.d # ls openqa-common.inc openqa.conf.template openqa-ssl.conf.template vhost-ssl.template vhost.template linux-zpun:/etc/apache2/vhosts.d # cp openqa.conf.template openqa.conf linux-zpun:/etc/apache2/vhosts.d # systemctl restart apache2 Job for apache2.service failed because the control process exited with error code. See "systemctl status apache2.service" and "journalctl -xe" for details. linux-zpun:/etc/apache2/vhosts.d # systemctl status apache2 ● apache2.service - The Apache Webserver Loaded: loaded (/usr/lib/systemd/system/apache2.service; disabled; vendor preset: disabled) Active: failed (Result: exit-code) since Sat 2015-10-31 20:03:54 EDT; 21s ago Process: 30899 ExecStop=/usr/sbin/start_apache2 -DSYSTEMD -DFOREGROUND -k graceful-stop (code=exited, status=1/FAILURE) Process: 30894 ExecStart=/usr/sbin/start_apache2 -DSYSTEMD -DFOREGROUND -k start (code=exited, status=1/FAILURE) Main PID: 30894 (code=exited, status=1/FAILURE) Oct 31 20:03:54 linux-zpun systemd[1]: Starting The Apache Webserver... Oct 31 20:03:54 linux-zpun start_apache2[30894]: AH00526: Syntax error on line 22 of /etc/apache2/vhosts.d/openqa-common.inc: Oct 31 20:03:54 linux-zpun start_apache2[30894]: Invalid command 'Header', perhaps misspelled or defined by a module not included in the server configuration Oct 31 20:03:54 linux-zpun systemd[1]: apache2.service: Main process exited, code=exited, status=1/FAILURE Oct 31 20:03:54 linux-zpun start_apache2[30899]: AH00526: Syntax error on line 22 of /etc/apache2/vhosts.d/openqa-common.inc: Oct 31 20:03:54 linux-zpun start_apache2[30899]: Invalid command 'Header', perhaps misspelled or defined by a module not included in the server configuration Oct 31 20:03:54 linux-zpun systemd[1]: apache2.service: Control process exited, code=exited status=1 Oct 31 20:03:54 linux-zpun systemd[1]: Failed to start The Apache Webserver. Oct 31 20:03:54 linux-zpun systemd[1]: apache2.service: Unit entered failed state. Oct 31 20:03:54 linux-zpun systemd[1]: apache2.service: Failed with result 'exit-code'. # Note I only copied openqa.conf.template to openqa.conf, and did not touch openqa-common.inc where the apache2 error was reported. # Next I modified openqa.conf to enable 'headers' etc as per install instructions by uncommenting the a2enmod lines. linux-zpun:/etc/apache2/vhosts.d # systemctl status apache2 ● apache2.service - The Apache Webserver Loaded: loaded (/usr/lib/systemd/system/apache2.service; disabled; vendor preset: disabled) Active: failed (Result: exit-code) since Sat 2015-10-31 20:06:55 EDT; 11s ago Process: 30950 ExecStop=/usr/sbin/start_apache2 -DSYSTEMD -DFOREGROUND -k graceful-stop (code=exited, status=1/FAILURE) Process: 30945 ExecStart=/usr/sbin/start_apache2 -DSYSTEMD -DFOREGROUND -k start (code=exited, status=1/FAILURE) Main PID: 30945 (code=exited, status=1/FAILURE) Oct 31 20:06:55 linux-zpun systemd[1]: Starting The Apache Webserver... Oct 31 20:06:55 linux-zpun start_apache2[30945]: AH00526: Syntax error on line 15 of /etc/apache2/vhosts.d/openqa.conf: Oct 31 20:06:55 linux-zpun start_apache2[30945]: Invalid command 'a2enmod', perhaps misspelled or defined by a module not included in the server configuration Oct 31 20:06:55 linux-zpun systemd[1]: apache2.service: Main process exited, code=exited, status=1/FAILURE Oct 31 20:06:55 linux-zpun start_apache2[30950]: AH00526: Syntax error on line 15 of /etc/apache2/vhosts.d/openqa.conf: Oct 31 20:06:55 linux-zpun start_apache2[30950]: Invalid command 'a2enmod', perhaps misspelled or defined by a module not included in the server configuration Oct 31 20:06:55 linux-zpun systemd[1]: apache2.service: Control process exited, code=exited status=1 Oct 31 20:06:55 linux-zpun systemd[1]: Failed to start The Apache Webserver. Oct 31 20:06:55 linux-zpun systemd[1]: apache2.service: Unit entered failed state. Oct 31 20:06:55 linux-zpun systemd[1]: apache2.service: Failed with result 'exit-code'. # This step simply moved the trigger for the apache2 error to a different place. # To move on, I removed openqa.conf and applied a2enmod at the command line for each of the arguments and that worked. linux-zpun:/etc/apache2/vhosts.d # rm openqa.conf linux-zpun:/etc/apache2/vhosts.d # systemctl restart apache2 linux-zpun:/etc/apache2/vhosts.d # systemctl status apache2 ● apache2.service - The Apache Webserver Loaded: loaded (/usr/lib/systemd/system/apache2.service; disabled; vendor preset: disabled) Active: active (running) since Sat 2015-10-31 20:07:48 EDT; 5s ago Process: 30950 ExecStop=/usr/sbin/start_apache2 -DSYSTEMD -DFOREGROUND -k graceful-stop (code=exited, status=1/FAILURE) Main PID: 30980 (httpd-prefork) Status: "Processing requests..." CGroup: /system.slice/apache2.service ├─30980 /usr/sbin/httpd-prefork -f /etc/apache2/httpd.conf -DSYSCONFIG -C PidFile /var/run/httpd.pid -C Include /etc/apache2/sysconfig.d/ -DSYSTEMD -DFOREGROUND -k ... ├─30984 /usr/sbin/httpd-prefork -f /etc/apache2/httpd.conf -DSYSCONFIG -C PidFile /var/run/httpd.pid -C Include /etc/apache2/sysconfig.d/ -DSYSTEMD -DFOREGROUND -k ... ├─30985 /usr/sbin/httpd-prefork -f /etc/apache2/httpd.conf -DSYSCONFIG -C PidFile /var/run/httpd.pid -C Include /etc/apache2/sysconfig.d/ -DSYSTEMD -DFOREGROUND -k ... ├─30986 /usr/sbin/httpd-prefork -f /etc/apache2/httpd.conf -DSYSCONFIG -C PidFile /var/run/httpd.pid -C Include /etc/apache2/sysconfig.d/ -DSYSTEMD -DFOREGROUND -k ... ├─30987 /usr/sbin/httpd-prefork -f /etc/apache2/httpd.conf -DSYSCONFIG -C PidFile /var/run/httpd.pid -C Include /etc/apache2/sysconfig.d/ -DSYSTEMD -DFOREGROUND -k ... └─30988 /usr/sbin/httpd-prefork -f /etc/apache2/httpd.conf -DSYSCONFIG -C PidFile /var/run/httpd.pid -C Include /etc/apache2/sysconfig.d/ -DSYSTEMD -DFOREGROUND -k ... Oct 31 20:07:48 linux-zpun systemd[1]: Starting The Apache Webserver... Oct 31 20:07:48 linux-zpun systemd[1]: Started The Apache Webserver. # Applied a2enmod at the command line for each of the arguments and that worked. linux-zpun:/etc/apache2/vhosts.d # a2enmod header linux-zpun:/etc/apache2/vhosts.d # a2enmod proxy linux-zpun:/etc/apache2/vhosts.d # a2enmod proxy_http linux-zpun:/etc/apache2/vhosts.d # a2enmod headers "headers" already present linux-zpun:/etc/apache2/vhosts.d # a2enmod a2enmod proxy_wstunnel linux-zpun:/etc/apache2/vhosts.d # systemctl restart openqa-webui linux-zpun:/etc/apache2/vhosts.d # ---------------------------------------------------------------------------------------------------- What is the convention for attaching longer outputs on this ml? What I have provided are the minimal edited commands. Anyway, until these apache2 errors are cleared up (or the workaround used is deemed successful) there probably not much point in moving on. I might add that at this point the openqa-webui basic screen was displayed on a browser at localhost:6526. Could someone from this area please advise me of possible reasons why the installation process thus far has not followed the documented approach. I am happy to provide further details or more voluminous output as required. Thank you for your assistance. Vladimir Zawalinski -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 1 November 2015 at 05:42, vlad
linux-zpun:/home/vlad # zypper ar -f obs://devel:openQA/openSUSE_13.2 openQA linux-zpun:/home/vlad # zypper ar -f obs://devel:openQA:13.2/openSUSE_13.2
Hello Vladimir, I think here is your problem - those are the openQA repositories for openSUSE 13.2, not Tumbleweed zypper ar -f obs://devel:openQA/openSUSE_Factory openQA There's no need for a second repository when using Tumbleweed (but it is required for Leap 42.1 or SLE 12, but using the appropriate different names for those distributions, not openSUSE 13.2)
openQA-perl-module linux-zpun:/home/vlad # zypper in apache2. # chose(a) when prompted linux-zpun:/home/vlad # zypper in openqa linux-zpun:/home/vlad # zypper in *sass* # I found this was needed from previous attempts
Interesting.. you should only need to do zypper in openqa, with recommends (the default behaviour) everything else you could possibly ever need should be pulled through.
linux-zpun:/home/vlad # systemctl restart apache2 linux-zpun:/home/vlad # systemctl start openqa-webui linux-zpun:/home/vlad # systemctl status apache2Oct 31 19:34:56 linux-zpun openqa[30676]: Server available at http://localhost:9526/ linux-zpun:/etc/apache2/vhosts.d # ls openqa-common.inc openqa.conf.template openqa-ssl.conf.template vhost-ssl.template vhost.template linux-zpun:/etc/apache2/vhosts.d # cp openqa.conf.template openqa.conf linux-zpun:/etc/apache2/vhosts.d # systemctl restart apache2 Job for apache2.service failed because the control process exited with error code. See "systemctl status apache2.service" and "journalctl -xe" for details. linux-zpun:/etc/apache2/vhosts.d # systemctl status apache2 ● apache2.service - The Apache Webserver Loaded: loaded (/usr/lib/systemd/system/apache2.service; disabled; vendor preset: disabled) Active: failed (Result: exit-code) since Sat 2015-10-31 20:03:54 EDT; 21s ago Process: 30899 ExecStop=/usr/sbin/start_apache2 -DSYSTEMD -DFOREGROUND -k graceful-stop (code=exited, status=1/FAILURE) Process: 30894 ExecStart=/usr/sbin/start_apache2 -DSYSTEMD -DFOREGROUND -k start (code=exited, status=1/FAILURE) Main PID: 30894 (code=exited, status=1/FAILURE)
Oct 31 20:03:54 linux-zpun systemd[1]: Starting The Apache Webserver... Oct 31 20:03:54 linux-zpun start_apache2[30894]: AH00526: Syntax error on line 22 of /etc/apache2/vhosts.d/openqa-common.inc: Oct 31 20:03:54 linux-zpun start_apache2[30894]: Invalid command 'Header', perhaps misspelled or defined by a module not included in the server configuration Oct 31 20:03:54 linux-zpun systemd[1]: apache2.service: Main process exited, code=exited, status=1/FAILURE Oct 31 20:03:54 linux-zpun start_apache2[30899]: AH00526: Syntax error on line 22 of /etc/apache2/vhosts.d/openqa-common.inc: Oct 31 20:03:54 linux-zpun start_apache2[30899]: Invalid command 'Header', perhaps misspelled or defined by a module not included in the server configuration Oct 31 20:03:54 linux-zpun systemd[1]: apache2.service: Control process exited, code=exited status=1 Oct 31 20:03:54 linux-zpun systemd[1]: Failed to start The Apache Webserver. Oct 31 20:03:54 linux-zpun systemd[1]: apache2.service: Unit entered failed state. Oct 31 20:03:54 linux-zpun systemd[1]: apache2.service: Failed with result 'exit-code'. # Note I only copied openqa.conf.template to openqa.conf, and did not touch openqa-common.inc where the apache2 error was reported. # Next I modified openqa.conf to enable 'headers' etc as per install instructions by uncommenting the a2enmod lines. linux-zpun:/etc/apache2/vhosts.d # systemctl status apache2 ● apache2.service - The Apache Webserver Loaded: loaded (/usr/lib/systemd/system/apache2.service; disabled; vendor preset: disabled) Active: failed (Result: exit-code) since Sat 2015-10-31 20:06:55 EDT; 11s ago Process: 30950 ExecStop=/usr/sbin/start_apache2 -DSYSTEMD -DFOREGROUND -k graceful-stop (code=exited, status=1/FAILURE) Process: 30945 ExecStart=/usr/sbin/start_apache2 -DSYSTEMD -DFOREGROUND -k start (code=exited, status=1/FAILURE) Main PID: 30945 (code=exited, status=1/FAILURE)
Oct 31 20:06:55 linux-zpun systemd[1]: Starting The Apache Webserver... Oct 31 20:06:55 linux-zpun start_apache2[30945]: AH00526: Syntax error on line 15 of /etc/apache2/vhosts.d/openqa.conf: Oct 31 20:06:55 linux-zpun start_apache2[30945]: Invalid command 'a2enmod', perhaps misspelled or defined by a module not included in the server configuration Oct 31 20:06:55 linux-zpun systemd[1]: apache2.service: Main process exited, code=exited, status=1/FAILURE Oct 31 20:06:55 linux-zpun start_apache2[30950]: AH00526: Syntax error on line 15 of /etc/apache2/vhosts.d/openqa.conf: Oct 31 20:06:55 linux-zpun start_apache2[30950]: Invalid command 'a2enmod', perhaps misspelled or defined by a module not included in the server configuration Oct 31 20:06:55 linux-zpun systemd[1]: apache2.service: Control process exited, code=exited status=1 Oct 31 20:06:55 linux-zpun systemd[1]: Failed to start The Apache Webserver. Oct 31 20:06:55 linux-zpun systemd[1]: apache2.service: Unit entered failed state. Oct 31 20:06:55 linux-zpun systemd[1]: apache2.service: Failed with result 'exit-code'. # This step simply moved the trigger for the apache2 error to a different place.
# To move on, I removed openqa.conf and applied a2enmod at the command line for each of the arguments and that worked.
linux-zpun:/etc/apache2/vhosts.d # rm openqa.conf linux-zpun:/etc/apache2/vhosts.d # systemctl restart apache2 linux-zpun:/etc/apache2/vhosts.d # systemctl status apache2 ● apache2.service - The Apache Webserver Loaded: loaded (/usr/lib/systemd/system/apache2.service; disabled; vendor preset: disabled) Active: active (running) since Sat 2015-10-31 20:07:48 EDT; 5s ago Process: 30950 ExecStop=/usr/sbin/start_apache2 -DSYSTEMD -DFOREGROUND -k graceful-stop (code=exited, status=1/FAILURE) Main PID: 30980 (httpd-prefork) Status: "Processing requests..." CGroup: /system.slice/apache2.service ├─30980 /usr/sbin/httpd-prefork -f /etc/apache2/httpd.conf -DSYSCONFIG -C PidFile /var/run/httpd.pid -C Include /etc/apache2/sysconfig.d/ -DSYSTEMD -DFOREGROUND -k ... ├─30984 /usr/sbin/httpd-prefork -f /etc/apache2/httpd.conf -DSYSCONFIG -C PidFile /var/run/httpd.pid -C Include /etc/apache2/sysconfig.d/ -DSYSTEMD -DFOREGROUND -k ... ├─30985 /usr/sbin/httpd-prefork -f /etc/apache2/httpd.conf -DSYSCONFIG -C PidFile /var/run/httpd.pid -C Include /etc/apache2/sysconfig.d/ -DSYSTEMD -DFOREGROUND -k ... ├─30986 /usr/sbin/httpd-prefork -f /etc/apache2/httpd.conf -DSYSCONFIG -C PidFile /var/run/httpd.pid -C Include /etc/apache2/sysconfig.d/ -DSYSTEMD -DFOREGROUND -k ... ├─30987 /usr/sbin/httpd-prefork -f /etc/apache2/httpd.conf -DSYSCONFIG -C PidFile /var/run/httpd.pid -C Include /etc/apache2/sysconfig.d/ -DSYSTEMD -DFOREGROUND -k ... └─30988 /usr/sbin/httpd-prefork -f /etc/apache2/httpd.conf -DSYSCONFIG -C PidFile /var/run/httpd.pid -C Include /etc/apache2/sysconfig.d/ -DSYSTEMD -DFOREGROUND -k ...
Oct 31 20:07:48 linux-zpun systemd[1]: Starting The Apache Webserver... Oct 31 20:07:48 linux-zpun systemd[1]: Started The Apache Webserver.
# Applied a2enmod at the command line for each of the arguments and that worked. linux-zpun:/etc/apache2/vhosts.d # a2enmod header linux-zpun:/etc/apache2/vhosts.d # a2enmod proxy linux-zpun:/etc/apache2/vhosts.d # a2enmod proxy_http linux-zpun:/etc/apache2/vhosts.d # a2enmod headers "headers" already present linux-zpun:/etc/apache2/vhosts.d # a2enmod a2enmod proxy_wstunnel linux-zpun:/etc/apache2/vhosts.d # systemctl restart openqa-webui linux-zpun:/etc/apache2/vhosts.d # ---------------------------------------------------------------------------------------------------- What is the convention for attaching longer outputs on this ml?
We prefer using paste.opensuse.org :)
What I have provided are the minimal edited commands. Anyway, until these apache2 errors are cleared up (or the workaround used is deemed successful) there probably not much point in moving on. I might add that at this point the openqa-webui basic screen was displayed on a browser at localhost:6526.
Could someone from this area please advise me of possible reasons why the installation process thus far has not followed the documented approach. I am happy to provide further details or more voluminous output as required.
I think the problem all stems from that initial incorrect repository - I'm pretty sure if you go back to the start with that, everything else should work as expected. Hope this helps -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (2)
-
Richard Brown
-
vlad