Configuring and starting Apache2 via Yast2

Last modified on July 24, 2026 • 1 min read • 137 words
Yast is of of course as unfriendly when it comes to error messages as any other Linux program.
Yast is of of course as unfriendly when it comes to error messages as any other Linux program. I tried to start up Apache2 using Yast2 and there were only 3 fields in the configuration wizard to fill in: server name, administrator e-mail and listening port. I filled in as server name “Suse Linux”. When Yast2 wanted to do the configuration, the error message was: Error: cannot adjust apache2 service Cool. Had I started apache manually (sudo /etc/init.d/apache2 start), I had noticed the following line among the error messages: Starting httpd2 (prefork) Syntax error on line 11 of /etc/apache2/sysconfig.d/global.conf: ServerName takes one argument, The hostname and port of the server Obviously “Suse Linux” was taken as two arguments. So I went back to the graphical interface and changed the value to “Suse_Linux” and this time it worked.