Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 30th July 2007, 08:32
Jerry Jerry is offline
Junior Member
 
Join Date: Jul 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default The Perfect Setup - OpenSuSE 10.2 (32-bit) Apache Help

I wasn't sure where to post this and took my best guess this would be the right place.

I followed the instructions listed in this guide on a system I had already just newly installed and I got the error listed below. The only major difference is I had KDE installed.

I figured what the hey maybe I gotta do a completely new install and follow your instructions completely to get it to work so I did exactly that and recieved exactly the same results. Below is the apache start problem I can't seem to get past.

Three other variables to take note of in case they could be relevant in some small way are:
1. I'm installing on a Dell LS laptop.
2. I had to remove the laptop software during installation using expert mode to get the install down to the same disk space usage and so I'd need only the cd1 to get to the first boot.
3. I have a Netgear Realtek RTL-8169 Gigabit Ethernet cardbus card installed as a second ethernet card not setup yet that I'll be using as a router to my lan after I get past the basic configuration.

Quote:
jerry # /etc/init.d/apache2 start
Module "[...]" is not installed, ignoring.
Check the APACHE_MODULES setting in /etc/sysconfig/apache2.
Starting httpd2 (prefork) Syntax error on line 11 of /etc/apache2/mod_log_config.conf:
Invalid command 'LogFormat', perhaps misspelled or defined by a module not included in the server configuration

The command line was:
/usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
failed
jerry #
I'd really like to move forward on this install. Any help will be appreciated.

Thank you
Reply With Quote
Sponsored Links
  #2  
Old 31st July 2007, 10:44
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 37,045
Thanks: 841
Thanked 5,661 Times in 4,468 Posts
Default

Please post the content of the file /etc/apache2/mod_log_config.conf
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 31st July 2007, 11:07
Jerry Jerry is offline
Junior Member
 
Join Date: Jul 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

[QUOTE]
#
# The following directives define some format nicknames for use with
# a CustomLog directive.
#
# http://httpd.apache.org/docs-2.2/mod...og_config.html
#

#
# Format string: Nickname:
#
LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%v %h %l %u %t \"%r\" %>s %b" vhost_common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent
LogFormat "%h %l %u %t \"%r\" %>s %b \
\"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%v %h %l %u %t \"%r\" %>s %b \
\"%{Referer}i\" \"%{User-Agent}i\"" vhost_combined

# To use %I and %O, you need to enable mod_logio
<IfModule mod_logio.c>
LogFormat "%h %l %u %t \"%r\" %>s %b \
\"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
</IfModule>

# Use one of these when you want a compact non-error SSL logfile on a virtual
# host basis:
<IfModule mod_ssl.c>
Logformat "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \
\"%r\" %b" ssl_common
Logformat "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \
\"%r\" %b \"%{Referer}i\" \"%{User-Agent}i\"" ssl_combined
</IfModule>
[QUOTE]

TIA
Reply With Quote
  #4  
Old 31st July 2007, 14:42
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts
Default

Take a look at http://www.howtoforge.com/forums/sho...nfig%2Fapache2 , especially post #2.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 31st July 2007, 15:59
Jerry Jerry is offline
Junior Member
 
Join Date: Jul 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

falko,

I thought you meant I should remove and replace the line with
Quote:
APACHE_MODULES="actions alias auth_basic authn_file setenvif ssl suexec userdir php5 rewrite"
I did figure I should remove the [...]

Ok I've fixed the file by deleting it, reinstalling apache and the other php5 stuff and got the editing done and now I'm getting this.

Quote:
jerry:/etc # SuSEconfig
Starting SuSEconfig, the SuSE Configuration Tool...
Running in full featured mode.
Reading /etc/sysconfig and updating the system...
Executing /sbin/conf.d/SuSEconfig.groff...
Executing /sbin/conf.d/SuSEconfig.gtk2...
Executing /sbin/conf.d/SuSEconfig.perl...
Executing /sbin/conf.d/SuSEconfig.permissions...
Executing /sbin/conf.d/SuSEconfig.postfix...
Rebuilding /etc/aliases.db.
*** WARNING ***
Found /etc/postfix/master.cf.SuSEconfig, exiting...
*** WARNING ***
Executing /sbin/conf.d/SuSEconfig.scpm...
Finished.
jerry:/etc # /etc/init.d/apache2 start
Starting httpd2 (prefork) Syntax error on line 169 of /etc/apache2/httpd.conf:
Invalid command 'index.html.var', perhaps misspelled or defined by a module not included in the server configuration

The command line was:
/usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
failed
jerry:/etc #
I backed up and showed the SuSEconfig line because the warning there might be relevant.

TIA

Last edited by Jerry; 31st July 2007 at 16:08.
Reply With Quote
  #6  
Old 31st July 2007, 16:24
Jerry Jerry is offline
Junior Member
 
Join Date: Jul 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

I figured it out. index.html.var was on the next line and the system wasn't reading it as part of the previous line.

I feel like I've been playing Zelda and finally reached the next level.

Thanks for all you're help. Now onto ISPConfig!

Last edited by Jerry; 31st July 2007 at 16:29.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Perfect Setup OpenSuse 10.2 domain forwarding nothing111111 General 2 4th April 2007 14:27
The Perfect Setup - OpenSuSE 10.2 wvsailor HOWTO-Related Questions 6 30th January 2007 12:58
The Perfect Setup - SuSE 10.1 64 bit t_ras Installation/Configuration 1 8th November 2006 11:13
Perfect SUSE 10.1 for 32 bit on a 64 bit Proftpd Setup AOE HOWTO-Related Questions 5 16th August 2006 16:55
Mandriva 10.2 Perfect Setup Install Problems... ctroyp Installation/Configuration 12 30th December 2005 17:04


All times are GMT +2. The time now is 12:19.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.