# I messed up my Web UI

**URL:** <https://forums.suse.com/t/i-messed-up-my-web-ui/32270>\
**Category:** SUSE Multi Linux Manager\
**Created:** [April 11, 2018, 10:23pm UTC](https://forums.suse.com/t/i-messed-up-my-web-ui/32270 "2018-04-11T22:23:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![clydeprice](https://avatars.discourse-cdn.com/v4/letter/c/e47c2d/32.png) [@clydeprice](https://forums.suse.com/u/clydeprice)\
**Post date:** [April 11, 2018, 10:23pm UTC](https://forums.suse.com/t/i-messed-up-my-web-ui/32270/1 "2018-04-11T22:23:26Z")

</div>

There may have been a couple of reason why.

1. I expanded the disk size in VM ware (not really, I tried and realized it wasn’t an LVM so I have 100 GB disk space unused somewhere out there)
2. I ran: zypper remove spacewalk-client-tools then ran zypper install spacewalk-client-tools. Soon after I did a reboot

After that I couldn’t get a web UI. SO I went into Yast2 and tried to reconfigure http. Said it couldn’t change apache2. Now I can’t get to the web page at all. I went from being able to get into it fully to the webpage timing out and now to me not being able to get there at all.

I messed up. HELP please. Not sure how to fix this.

---

<div class="post-metadata">

**Author:** ![kwk](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/kwk/32/11997_2.png) [@kwk](https://forums.suse.com/u/kwk)\
**Post date:** [April 12, 2018, 10:02am UTC](https://forums.suse.com/t/i-messed-up-my-web-ui/32270/2 "2018-04-12T10:02:27Z")

</div>

Please check the log files for obvious problems

/var/log/apache2 - apache web server  
/var/log/tomcat - tomcat java framwork  
/var/log/rhn/rhn\_web\_ui.log - main SUSE Manager log file

---

<div class="post-metadata">

**Author:** ![clydeprice](https://avatars.discourse-cdn.com/v4/letter/c/e47c2d/32.png) [@clydeprice](https://forums.suse.com/u/clydeprice)\
**Post date:** [April 12, 2018, 3:53pm UTC](https://forums.suse.com/t/i-messed-up-my-web-ui/32270/3 "2018-04-12T15:53:13Z")

</div>

I didn’t find anything there in those logs, but I did find some odd stuff when running httpd -t:

httpd: Syntax error on line 204 of /etc/apache2/httpd.conf: Syntax error on line 116 of /etc/apache2/default-server.conf: Syntax error on line 2 of /etc/apache2/conf.d/zz-spacewalk-server-wsgi.conf: Cannot load modules/mod\_wsgi.so into server: /srv/www/modules/mod\_wsgi.so: cannot open shared object file: No such file or directory

And upon investigation of those lines, I’m not sure what is wrong:

(line 204 /etc/apache2/httpd.conf) Include /etc/apache2/default-server.conf  
(line 116 /etc/apache2/default-server.conf) IncludeOptional /etc/apache2/conf.d/\*.conf  
(line 2 /etc/apache2/conf.d/zz-spacewalk-server-wsgi.conf) LoadModule wsgi\_module modules/mod\_wsgi.so

And I’m finding that apache2 wont start:

Apr 12 08:50:32 af3a1susmgmt01n systemd[1]: Starting The Apache Webserver…  
Apr 12 08:50:33 af3a1susmgmt01n start\_apache2[6527]: httpd-prefork: Syntax error in -C/-c directive: Syntax error on line 22 of /etc/apache2/sy…brigade  
Apr 12 08:50:33 af3a1susmgmt01n systemd[1]: apache2.service: Main process exited, code=exited, status=1/FAILURE  
Apr 12 08:50:33 af3a1susmgmt01n start\_apache2[6536]: httpd-prefork: Syntax error in -C/-c directive: Syntax error on line 22 of /etc/apache2/sy…brigade  
Apr 12 08:50:33 af3a1susmgmt01n systemd[1]: apache2.service: Control process exited, code=exited status=1  
Apr 12 08:50:33 af3a1susmgmt01n systemd[1]: Failed to start The Apache Webserver.  
Apr 12 08:50:33 af3a1susmgmt01n systemd[1]: apache2.service: Unit entered failed state.  
Apr 12 08:50:33 af3a1susmgmt01n systemd[1]: apache2.service: Failed with result ‘exit-code’.

I’m not sure on what is wrong with apache2 here.
