Login 
 
 Pref   Your subscriptions   Home   Help 
users@ml.mod-xslt2.com
mod-xslt2 - Users Mailing List
   
 
List info
 
 
 
Subscribe
 
 
Unsubscribe
 
 
Archive
 
 
Post
 



Advanced search
2004 01 02 03 04 05 06 07 08 09 10 11 12
2005 01 02 03 04 05 06 07 08 09 10 11 12
2006 01 02 03 04 05 06 07 08 09 10 11 12
2007 01 02 03 04 05 06 07 08 09 10 11 12
2008 01 02 03 04 05 06 07 08 09 10 11 12
2010 01 02 03 04 05 06 07 08 09 10 11 12

  previous   Chronological   next       previous   Thread   next  

Unable to get apache 2 to laod mod_xslt.so Chuck Amadi Systems Administrator
  • From: Chuck Amadi Systems Administrator <chuck@xxxxxxxxxx>
  • To: users@xxxxxxxxxxxxxxxx
  • Cc: chuck@xxxxxxxxxx
  • Subject: Unable to get apache 2 to laod mod_xslt.so
  • Date: Thu, 25 Aug 2005 13:25:10 +0100
  • Organization: SMTL
  • Reply-to: chuck@xxxxxxxxxx


  • Hi I am running SuSE SLES 9 and Apache 2 version 2.50.0

    I have installed ,configured using without any flags and it found the
    only apache 2 version I am using thus as regular user run make as Root
    make install from the build directory. In /usr/lib/apache2/.libs there
    are three files as below:

    mod_xslt.a
    -rw-r--r-- 1 root root 789 2005-08-25 11:19 mod_xslt.la
    -rw-r--r-- 1 root root 790 2005-08-25 09:20 mod_xslt.lai
    -rwxr-xr-x 1 root root 5747 2005-08-25 12:14 mod_xslt.so

    Thus I believe mod_xslt has already been compiled as it's .so file not
    a .c file So no need to run apxs2 -c -a -i mod_xslt.c

    Thus copied mod_xslt.so to /usr/lib/apache2 directory where all my DSO
    reside.

    Thus created a mod_xslt.conf file in /path/to/apache2/conf.d Thus with a
    Include statement in my /path/to/apache2/default-server.conf as below:

    #default-server.conf file
    # Include all *.conf files from /path/to/apache2/conf.d/.
    Include /path/to/apache2/conf.d/*.conf

    Will automagically include the mod_xslt.conf on Apache 2 restart (using
    start and stop).
    This did'nt work when I add LoadModule
    mxslt_module /usr/lib/apache2/mod_xslt to /path/to/apache2/mod_xslt.so I
    get the following error.

    Starting httpd2 (prefork) [Thu Aug 25 13:20:05 2005] [warn] module
    perl_module is already loaded, skipping
    Syntax error on line 216 of /etc/apache2/httpd.conf:
    Can't locate API module structure `mxslt_module' in
    file /usr/lib/apache2/mod_xslt.so: /usr/lib/apache2/mod_xslt.so:
    undefined symbol: mxslt_module

    The command line was:
    /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf



    My mod_xslt file look like this:

    # mod_xslt.conf File:

    <IfModule mod_xslt.so>
    <Directory /Meetings>
    AddOutputFilterByType mod-xslt text/xml
    </Directory>
    </IfModule>

    On stopping and starting /etc/init.d/apache2 stop & start I get a error
    messgae as below:

    When I run less ~apache2/sysconfig.d/loadmodule.conf

    I do not see evidence that it has loaded mod_xslt also tried Yast I get
    same problem.


    Regards




    --
    Unix/ Linux Systems Administrator
    Chuck Amadi
    The Surgical Material Testing Laboratory (SMTL),
    Princess of Wales Hospital
    Coity Road
    Bridgend,
    United Kingdom, CF31 1RQ.
    Email chuck.smtl.co.uk
    Tel: +44 1656 752820
    Fax: +44 1656 752830



      Powered by Sympa