suse 92 and apache for ispconfig

Discussion in 'Server Operation' started by mrh, Aug 15, 2005.

  1. mrh

    mrh New Member

    i fallow the suse 9.2 perfect setup for isp config but i had this error when i want to start my apache..

    Code:
    linux:/etc/postfix/ssl #  /etc/init.d/apache2 start
    Starting httpd2 (prefork) Syntax error on line 11 of /etc/apache2/mod_log_config.conf:
    Invalid command 'LogFormat', perhaps mis-spelled 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
    
    and this error in starting proftpd:

    Code:
    vserver1:~ # /etc/init.d/proftpd start
    /etc/init.d/proftpd: line 1: nit.d/proftpd: No such file or directory
    Starting ProFTPD Server:  - getaddrinfo 'server1.example.com' error: Name or service not known
     - warning: unable to determine IP address of 'server1.example.com'
     - error: no valid servers configured
     - Fatal: error processing configuration file '/etc/proftpd.conf'
    startproc:  exit status of parent of /usr/local/sbin/proftpd: 1
                                                                         failed
     
    
    can any one help me?
     
  2. falko

    falko Super Moderator

    You should have a look at /etc/apache2/mod_log_config.conf (line 11). There's a syntax error, or your Apache is missing some module. But you can also disable mod_log_config.conf in your main Apache configuration.

    How did you save /etc/init.d/proftpd when you copied it from the howto? Did you use Unix line breaks or Windows line breaks? You should use Unix line breaks.
    Also, server1.example.com was meant as an example in the howto, it doesn't exist in the "real" world. You should have replaced it with your own hostname.
     
  3. mrh

    mrh New Member

    i go to the /etc/apache2/mod_log_config.conf and put a # for all of lines start with LogFormat....
    i saw a error for other files the where about "log"
    how can i reinstall apache module for "log"ing??????
     
    Last edited: Aug 15, 2005

Share This Page