|
||||||
| Forums FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Network/Internet Questions about internet applications, network configuration, usage (SAMBA, network printing, NFS) |
![]() |
|
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
I used YAST to uninstall all the apache2 apps and then reinstalled them. When I went to System Services (Runlevel):Services and tried to ennable apache2, I got this message:
Quote:
Quote:
Then I got this: Quote:
And, yes, the APACHE_MODULES setting is one long line--at any rate when I adjust the width of gedit, the entry adjusts smoothly and doesn't show any hard returns. And there's only one un-commented line. Thanks. |
|
|||
|
Those syntax errors "include", "log_config", etc, probably come from this area of /etc/apache2/httpd.conf:
Code:
# generated from APACHE_MODULES in /etc/sysconfig/apache2 Include /etc/apache2/sysconfig.d/loadmodule.conf # IP addresses / ports to listen on Include /etc/apache2/listen.conf # predefined logging formats Include /etc/apache2/mod_log_config.conf |
|
|||
|
Those three mods (include, log_config, status) are not included in the loadmodule.conf file.
Is there some other place besides APACHE_MODULES to look in apache2 to see if there's an error? (Btw, when I used Yast to set up HTTP Server I got some kind of warning about Network Manager. Now when I go to HTTP Server I get a notice that certain files (apache2, default-server.conf, vhosts.d/yast2_vhosts.conf) have been "changed manually" and that "Yast might lose some of the changes." ??) |
|
|||
|
No, you misunderstand. The main config file httpd.conf includes loadmodule.conf, and then afterwards log_config.conf. If there is a syntax error in loadmodule.conf, that causes the parsing to get confused and affect the next few lines. That's why I asked you to look at (the generated) loadmodule.conf to see if there is anything visibly amiss. It should contain only lines of the form
Code:
LoadModule action_module |
|
|||
|
Ken,
The only thing that appears "wrong" is the absence of the desired mods. (I assume that the paths on each line belong there, even tho you didn't mention them explicitly.) Quote:
Thanks. |
|
|||
|
What's the modification time on loadmodule.conf? Is it around the time you started the apache2 service? I suspect it's not parsing sysconfig/apache2 at all, and not generating that file, which is why your modules are missing. Do this:
Code:
rpm -V apache2 |
|
|||
|
Ken,
I rebooted the computer and re-ran "rcapache2 start." Got the same errors about mods not being installed. The modification time on loadmodule.conf looked right (8:30 EDT, 11 May). The rpm -V gave this result; Quote:
|
|
|||
|
That's fine, those two changes are expected.
Are you on 32-bit arch? I hope you are not mixing 64 and 32 bit packages. Somehow /etc/sysconfig/apache2 isn't having any effect, as you say your modules don't show up in loadmodule.conf. Rename or delete sysconfig/apache2 and then use YaST to reconfigure the set of modules. Before you do that, try: Code:
diff /var/adm/fillup-templates/sysconfig.apache2 /etc/sysconfig/apache2 |
|
|||
|
Ken,
No 64-bit programs that I'm aware of. Here's the result from the diff command: Quote:
Thanks |
![]() |
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|