The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Unknown DAV provider: svn?

Discussion in 'General Discussion' started by gflamerich, Jun 19, 2008.

  1. gflamerich

    gflamerich Well-Known Member

    Joined:
    Jul 21, 2003
    Messages:
    122
    Likes Received:
    0
    Trophy Points:
    16
    Hi

    Just upgraded php at one of our boxes that has subversion installed and working, but after php build, apache show this error:
    Unknown DAV provider: svn

    mod_dav_svn is present and working, we double checked everything including reinstall subversion, module is loaded in httpd.conf
    LoadModule dav_svn_module modules/mod_dav_svn.so

    We have a custom.conf to handle svn directives, at
    /etc/httpd/conf/userdata/std/2/svnegyt/svn.domain.com

    with the follow:
    Code:
    <Location /repo>
         DAV svn
         SVNPath /home/domain/svn/repo
         AuthType Basic
         AuthName "Repo Repository"
         AuthUserFile /home/domain/svn/passwd
         Require valid-user
    </Location>
    Then we ran
    Code:
    /scripts/ensure_vhost_includes --user=domain
    and later when running
    Code:
    /scripts/rebuildhttpdconf 
    the error appears again:

    Code:
    Configuration problem detected on line 2 of file /usr/local/apache/conf/userdata/std/2/domain/svn.domain.com/custom.conf:      Unknown DAV provider: svn
    
            --- /usr/local/apache/conf/userdata/std/2/domain/svn.domain.com/custom.conf ---
            1<Location /repo>
            2 ===>       DAV svn <===
            3      AuthType Basic
     
    
    If we only use /scripts/ensure_vhost_includes --user=domain and restart apache, subversion works perfectly, but wonder why the "DAV svn" is not recognize as valid?
     
  2. gflamerich

    gflamerich Well-Known Member

    Joined:
    Jul 21, 2003
    Messages:
    122
    Likes Received:
    0
    Trophy Points:
    16
    Update ----

    As no one here replied I created a bug report at bugzilla and here is the answer.
    Which confirms me cpanel staff never "read/comprehend" what you write in the posts.

    I clearly said, svn is working, so, I don't need to open a support ticket

    We built apache/php via easyapache, you clearly see that as easyapache reported the "problem" ... if easyapache doesn't recognize a valid module and loaded in httpd.conf ... this means that you cannot add any custom module???? (hope not....)

    I opened the bug report just to notify cpanel that if there is a custom build that includes a VALID module, rebuildhttpdconf shows a warning and removes DAV svn support on build.....

    Hope this info helps any server admin that ever have this problem and know how to proceed.
     
  3. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    What is the bugzilla ID number?

    What was stated is true: mod_dav_svn is not natively supported at this time. As it is not an option natively built into EasyApache, it is considered a custom module.

    Custom modules should not be added via httpd.conf directly. They should be added via the EasyApache Custom Option Module framework. You can learn how to do this by reviewing the slides from our 2008 cPanel Conference presentation on this subject at: http://www.cpanel.net/conference/08/files/EA3Build.pdf

    If you do not want to permit our staff to look at resolving the issue that caused you to open a bug report in the first place - that is your choice. However, denying our staff the ability to properly diagnose this issue will mean that the issue may go unresolved.
     
  4. gflamerich

    gflamerich Well-Known Member

    Joined:
    Jul 21, 2003
    Messages:
    122
    Likes Received:
    0
    Trophy Points:
    16
    Thanks for your reply CpanelDavidG
    The bug ID is 7081

    I opened a ticket via the new feature after the easyapache build, but what cpanel staff did was remove the DAV svn from the custom conf of the user, I imagine not cpanel staff directly, but rebuildhttpdconf script. I had no other feedback neither received any message.

    I'll be glad to cooperate and resolve this issue, that's why I posted here in first time, and then posted the bug at bugzilla. I understand svn is not native, but also imagine some users wants subversion intalled, but also imagine some users are asking for it. If you want to look at my conf and the process followed to install svn I'll be glad to share that info with you in order to improve cpanel.

    Thanks again for your time and interest
    Gustavo
     
  5. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    As you did not create it as an EasyApache Custom Option Module, EasyApache would likely have obliterated such customizations when it was run.

    However, our technical analysts will be able to assist you with making this into a custom option module so EasyApache will use it rather than eliminate it when it is run. Just submit a support ticket and they can assist you with the process.

    http://tickets.cpanel.net/submit
     
  6. gflamerich

    gflamerich Well-Known Member

    Joined:
    Jul 21, 2003
    Messages:
    122
    Likes Received:
    0
    Trophy Points:
    16
    Thank you David
    I was reading the info you sent for the new EA3 custom modules .... looks nice :)

    Thank you again for you time and support
    I'll be opening the ticket for support on this issue
    Gustavo
     
Loading...

Share This Page