Find the answer to your Linux question:
Results 1 to 4 of 4
Hi, Two days back I installed had setup subversion for my laptop from the following link HOWTO: Setting Up Your Own SVN Server (Using Apache and mod_dav_svn) - Mark S. ...
  1. #1
    Linux Newbie
    Join Date
    Nov 2005
    Posts
    172

    Error starting Apache

    Hi,

    Two days back I installed had setup subversion for my laptop from the following link
    HOWTO: Setting Up Your Own SVN Server (Using Apache and mod_dav_svn) - Mark S. Kolich

    I don't know where I messed up the apache server. Now I am unable to start the apache server. I get the following error message

    /etc/init.d/httpd start
    Starting httpd: [FAILED]

    Can some one help me out please.
    Thanks in advance

  2. #2
    Linux Newbie
    Join Date
    Jul 2005
    Location
    Australia (Down Under)
    Posts
    141
    Have you checked the Apache logs?

    they can be found in the following directory

    Code:
    /var/log/httpd/
    I would look at the last few lines in the log files, that should shed some light on the issue.

    Good Luck!!
    Linux is the OS of tomorrow, Here today!!

  3. #3
    Linux Newbie
    Join Date
    Nov 2005
    Posts
    172
    This is the log:
    Code:
    [Sat Aug 07 17:57:46 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
    [Sat Aug 07 17:57:46 2010] [notice] Digest: generating secret for digest authentication ...
    [Sat Aug 07 17:57:46 2010] [notice] Digest: done
    [Sat Aug 07 17:57:54 2010] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.3.2 configured -- resuming normal operations
    [Sat Aug 07 17:57:54 2010] [warn] ./mod_dnssd.c: No services found to register
    [Sat Aug 07 17:59:06 2010] [notice] caught SIGTERM, shutting down
    [Sat Aug 07 18:00:02 2010] [notice] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
    [Sat Aug 07 18:00:02 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
    [Sat Aug 07 18:00:02 2010] [notice] Digest: generating secret for digest authentication ...
    [Sat Aug 07 18:00:02 2010] [notice] Digest: done
    [Sat Aug 07 18:00:06 2010] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.3.2 configured -- resuming normal operations
    [Sat Aug 07 18:00:06 2010] [warn] ./mod_dnssd.c: No services found to register
    [Sun Aug 08 03:18:02 2010] [notice] SIGHUP received.  Attempting to restart
    Syntax error on line 27 of /etc/httpd/conf.d/subversion.conf:
    DAV not allowed here
    And my subversion.conf has the following details. I don't know the log says DAV not allowed here and I am not sure what the error is
    Code:
    LoadModule dav_svn_module     modules/mod_dav_svn.so
    LoadModule authz_svn_module   modules/mod_authz_svn.so
    
    #
    # Example configuration to enable HTTP access for a directory
    # containing Subversion repositories, "/var/www/svn".  Each repository
    # must be both:
    #
    #   a) readable and writable by the 'apache' user, and
    #
    #   b) labelled with the 'http_sys_content_rw_t' context if using
    #   SELinux
    #
    
    #
    # To create a new repository "http://localhost/repos/stuff" using
    # this configuration, run as root:
    #
    #   # cd /var/www/svn
    #   # svnadmin create stuff   
    #   # chown -R apache.apache stuff
    #   # chcon -R -t http_sys_content_t stuff
    #
    
    <Location /svn>
        DAV svn
        SVNParentPath /svn/repos
    
      # Limit write permission to list of valid users.
      <LimitExcept GET PROPFIND OPTIONS REPORT>
         # Require SSL connection for password protection.
         SSLRequireSSL
    
         AuthType Basic
         AuthName "Authorization Realm"
         AuthUserFile /svn/repos/users
         Require valid-user
      </LimitExcept>
    </Location>

  4. #4
    Linux Newbie
    Join Date
    Nov 2005
    Posts
    172
    Hi,

    I resolved the issue and I can start the apache without any problem

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...