• svn安装失败解决方法


    1 -- SSLPassPhraseDialog

    apache按如下配置安装:

    $ ./configure --prefix=/home/svn/apps/apache --with-apr=/home/svn/apps/apr --with-apr-util=/home/svn/apps/apr-util --with-ssl=/home/svn/apps/ssl
    

    所有软件安装完毕后,开始启动apache,启动的时候发现如下错误:

    linux-rwdx:/home/svn/apps/apache/bin # ./apachectl start
    Syntax error on line 56 of /home/svn/apps/apache/conf/extra/httpd-ssl.conf:
    Invalid command 'SSLPassPhraseDialog', perhaps misspelled or defined by a module not included in the server configuration
    

    错误原因,使用“./httpd -t -D DUMP_MODULES”命令查看apache已安装的模块,发现apache没有加载mod_ssl模块,所以我们重新编译安装。在配置选项上加入“--enable-ssl”:

    shell# ./configure --prefix=/home/svn/apps/apache --with-apr=/home/svn/apps/apr --with-apr-util=/home/svn/apps/apr-util --with-ssl=/home/svn/apps/ssl --enable-ssl
    
    2 -- dav_xml_get_cdata

    apache按如下配置安装:

    $ ./configure --prefix=/home/svn/apps/apache --with-apr=/home/svn/apps/apr --with-apr-util=/home/svn/apps/apr-util --with-ssl=/home/svn/apps/ssl --enable-ssl
    

    安装完毕后,启动apache,提示如下错误:

    linux-rwdx:/home/svn/apps/apache/bin # ./apachectl start
    httpd: Syntax error on line 55 of /home/svn/apps/apache/conf/httpd.conf: Cannot load /home/svn/apps/apache/modules/mod_dav_svn.so into server: /home/svn/apps/apache/modules/mod_dav_svn.so: undefined symbol: dav_xml_get_cdata
    

    apache编译的时候必须加上“--enable-dav”和“--enable-so”选项:

    shell# ./configure --prefix=/home/svn/apps/apache --with-apr=/home/svn/apps/apr --with-apr-util=/home/svn/apps/apr-util --with-ssl=/home/svn/apps/ssl --enable-ssl --enable-dav --enable-so
    
  • 相关阅读:
    在线考试————随机出题
    HTTP协议
    团队
    做作业
    图书馆管理说明书性能
    关于敏捷开发的学习
    运行环境
    图书馆管理系统说明书
    性能(2)
    作业
  • 原文地址:https://www.cnblogs.com/motadou/p/2472062.html
Copyright © 2020-2023  润新知