I went ahead and deleted /etc/sysconfig/apache2. The system seemed to create a new one automatically.
I tried to re-configure the services with Yast but it wouldn’t do it–
Error: cannot adjust apache2 service
Despite this the new /etc/sysconfig/apache2 file now includes the three problemmatic mods, but I’m still getting the same error when I try to start apache2 (mods not installed). And loadmodule.conf still does not show them.
Thanks.
(I removed ssl from the list at APACHE_MODULES.)
You won’t be able to run ssl without a cert file and a key file so leave it out for now.
Ken–I finally got it. Had to delete everything that had “apache” in it.
linux-pczd:/var/adm/fillup-templates # find / -xdev -name “apache2*”
/usr/include/apache2-worker
/usr/include/apache2-event
/usr/include/apache2-prefork
/usr/include/apache2
/usr/sbin/apache2ctlx
/usr/lib/apache2-worker
/usr/lib/apache2-event
/usr/lib/apache2-prefork
/usr/lib/apache2
/usr/lib/apache2_MMN
c/usr/share/omc/svcinfo.d/apache2.xml
/usr/share/apache2
/usr/share/doc/packages/apache2
/etc/init.d/apache2
/etc/logrotate.d/apache2
/etc/sysconfig/SuSEfirewall2.d/services/apache2.rpmsave
/etc/sysconfig/SuSEfirewall2.d/services/apache2-ssl
/etc/sysconfig/SuSEfirewall2.d/services/apache2
/etc/apache2
/etc/apache2/conf.d/apache2-manual.conf
/etc/php5/apache2
/var/cache/apache2
/var/log/apache2
/var/lib/apache2
/etc/sysconfig/apache2
Removed all the above (all of /etc/php5)
Then I tried a zypper install and it came back after downloading repositories prompting me if I wanted a reintall! Wait a minute. I’ve just removed everything that has “apache” in its name. What’s this about “reinstall”?
So I tried:
linux-pczd:/ # zypper rm apache2
Reading installed packages…
The following packages are going to be REMOVED:
apache2-prefork apache2-mod_php5 apache2-devel apache2
After the operation, 5.2 M will be freed.
Whatever. Who knows where these were hiding? So I uninstalled them. Then I went to Yast and it showed that the apache2 doc, utils and examples packages were still installed. So had Yast uninstall those and then reinstalled with Yast. Then configured and IT’S WORKING!
Thanks for your help.