Apache Segfault using mod_hlshttp.so

Trying to use hls on an exising Apache server on Ubuntu following the instructions listed here:
http://help.adobe.com/en_US/flashmediaserver/configadmin/WSd391de4d9c7bd6093a7e2f8312a374a 1bde-8000.html
section: Use an external Apache HTTP Server for HTTP Dynamic Streaming and HTTP Live Streaming
Copied the .so files to apache's module library, updated conf file, restarted apache.  Now, it seems to work when requesting a m3u8 URL, but looking at the apache error log file, getting seg faults across all virtual hosts.
Not sure where to start to figure this out, but hoping for some quick things to consider.
Thanks
Chief

Here is what I have gathered:
Ubuntu Version:  Ubuntu 10.04.2
Apache Version (apache2 -v): Server version: Apache/2.2.14 (Ubuntu)
Compiled in modules:
  core.c
  mod_log_config.c
  mod_logio.c
  prefork.c
  http_core.c
  mod_so.c
version and build parameters of apache2 (apache2 -V)
Server version: Apache/2.2.14 (Ubuntu)
Server built:   Nov 18 2010 21:19:09
Server's Module Magic Number: 20051115:23
Server loaded:  APR 1.3.8, APR-Util 1.3.9
Compiled using: APR 1.3.8, APR-Util 1.3.9
Architecture:   64-bit
Server MPM:     Prefork
  threaded:     no
    forked:     yes (variable process count)
Server compiled with....
-D APACHE_MPM_DIR="server/mpm/prefork"
-D APR_HAS_SENDFILE
  -D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_SYSVSEM_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
  -D DYNAMIC_MODULE_LIMIT=128
-D HTTPD_ROOT=""
-D SUEXEC_BIN="/usr/lib/apache2/suexec"
-D DEFAULT_PIDLOG="/var/run/apache2.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
  -D DEFAULT_LOCKFILE="/var/run/apache2/accept.lock"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="/etc/apache2/mime.types"
-D SERVER_CONFIG_FILE="/etc/apache2/apache2.conf"
Dump a list of loaded Static and Shared Modules (apache2 -M)
Loaded Modules:
core_module (static)
log_config_module (static)
logio_module (static)
mpm_prefork_module (static)
http_module (static)
so_module (static)
alias_module (shared)
auth_basic_module (shared)
authn_file_module (shared)
authz_default_module (shared)
authz_groupfile_module (shared)
authz_host_module (shared)
authz_user_module (shared)
autoindex_module (shared)
cgi_module (shared)
deflate_module (shared)
dir_module (shared)
env_module (shared)
expires_module (shared)
headers_module (shared)
hlshttp_module (shared)
mime_module (shared)
negotiation_module (shared)
passenger_module (shared)
php5_module (shared)
reqtimeout_module (shared)
rewrite_module (shared)
setenvif_module (shared)
ssl_module (shared)
status_module (shared)
It seems pretty standard to me.  When I backout the inclusion of the hlshttp.so module, I don't get the seg faults.  I'm going to try and gdb a dump and see what I get.
I'll will continue to see what I can find/figure out.
Thanks
Chief

Similar Messages

  • How to store and retrieve image in a apache derby using JDBC

    hi all
    this is source code i copy and modify but get error message like this
    import java.io.*;
    import java.sql.*;
    import java.util.Properties;
    import java.awt.*;
    import javax.swing.*;
    public class ImageDemo{
    public static void main(String argv[]){
    try{
    String url="jdbc:derby:derDB2";
    Class.forName("org.apache.derby.jdbc.EmbeddedDriver").newInstance();
    Properties properties=new Properties();
    Connection connection = DriverManager.getConnection(url,properties);
    Statement stmt = connection.createStatement();
    stmt.execute("create database if not exists imagedatabase");
    stmt.execute("create table if not exists imagetable (imageid int,IMAGE_DATA blob)");
    File file=new File("c:\\c.jpg");
    FileInputStream in=new FileInputStream(file);
    PreparedStatement ps=connection.prepareStatement("insert into imagetable (imageid,IMAGE_DATA) values(?,?)");
    ps.setInt(1,1234);
    ps.setBinaryStream(2,in,(int)file.length());
    ps.execute();
    ps.close();
    ResultSet rs =stmt.executeQuery("select IMAGE_DATA from imagetable where imageid=1234");
    byte[] imgbytes=null;
    if(rs.next()) {
    imgbytes=rs.getBytes(1);
    rs.close();
    stmt.close();
    connection.close();
    if(imgbytes!=null){
    JFrame fr = new JFrame();
    fr.setTitle("Simple Demo for Load Image from MS Access");
    Image image = fr.getToolkit().createImage(imgbytes);
    fr.getContentPane().add(new PaintPanel(image));
    fr.setSize(200,400);
    fr.setVisible(true);
    Thread.sleep(10000);
    System.exit(0);
    catch( SQLException sqle )
    do
    System.out.println(sqle.getMessage());
    System.out.println("Error Code:"+sqle.getErrorCode());
    System.out.println("SQL State:"+sqle.getSQLState());
    sqle.printStackTrace();
    }while((sqle=sqle.getNextException())!=null);
    catch( Exception e )
    System.out.println(e.getMessage());
    e.printStackTrace();
    class PaintPanel extends JPanel {
    private Image image;
    public PaintPanel(Image image) {
    this.image = image;
    public void paintComponent(Graphics g) {
    super.paintComponent(g);
    g.drawImage(image, 0, 0, this);
    and this is the error message
    Syntax error: Encountered "database" at line 1, column 8.
    Error Code:30000
    SQL State:42X01
    ERROR 42X01: Syntax error: Encountered "database" at line 1, column 8.
         at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
         at org.apache.derby.impl.sql.compile.ParserImpl.parseStatement(Unknown Source)
         at org.apache.derby.impl.sql.GenericStatement.prepMinion(Unknown Source)
         at org.apache.derby.impl.sql.GenericStatement.prepare(Unknown Source)
         at org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.prepareInternalStatement(Unknown Source)
         at org.apache.derby.impl.jdbc.EmbedStatement.execute(Unknown Source)
         at org.apache.derby.impl.jdbc.EmbedStatement.execute(Unknown Source)
         at ImageDemo.main(ImageDemo.java:28)

    It's complaining about this SQL in your code:create database if not exists imagedatabaseThat doesn't exactly look right to me. And perhaps "database" is a reserved word and can't be used in that position. At any rate I would recommend you create your database and tables in some other way before you write Java code to use them. Does Derby have a command-line interface or a GUI manager program? Use them if they exist to set up your tables.

  • Apache authentication using .htaccess not working??

    I have added the following to my httpd.conf file:
    <Directory "/Library/WebServer/Documents/secret">
    Options FollowSymLinks
    AllowOverride None
    </Directory>
    Then I created an .htaccess file in /Library/WebServer/Documents/secret with the following contents:
    AuthName "Private area - server owner only. Hit Cancel."
    AuthType Basic
    AuthUserFile /Library/WebServer/.htpasswd
    require valid-user
    Then in Terminal I entered the following:
    htpasswd -c /Library/WebServer/.htpasswd s1lly
    New password: rabb1t
    Re-type new password: rabb1t
    Adding password for user s1lly
    Thn I stopped and re-started Apache using the OS X Server Admin apps. Now when I go to http://localhost/secret in my browser, it asks me for a username & password. I enter s1lly and rabb1t, but all it tells me is:
    "Forbidden
    You don't have permission to access /secret/ on this server.
    Apache/1.3.33 Server at localhost Port 80"
    What am I doing wrong? Before I added the .htaccess file and changed the httpd.conf, everything worked properly, so I know the URLs are correct. All files are set to be world-readable.
    Changing the .htaccess line from require valid-user to require user s1lly didn't help either.
    Thanks,
    Mike
    G4 MDD 1.25 GHz   Mac OS X (10.4.9)   Running OS X Server 10.4.9
    iBook 700mHz   Mac OS X (10.3.9)  

    Mike--
    I have added the following to my httpd.conf file:
    <Directory "/Library/WebServer/Documents/secret">
    Options FollowSymLinks
    AllowOverride None
    </Directory>
    Shouldn't that be AllowOverride AuthConfig? With it set to "None", Apache shouldn't be looking at the .htaccess file at all.
    charlie

  • Help configuring adobe media server's apache to use UNC paths and use multible VOD directories

    I am experimenting with v 5.03 for media server with look to upgrade our current pool of v4.x server to support ipads etc.
    i have set the ams conf file and have in the past use a unc paths for my VOD_Dirs
    eg
    VOD_DIR = C:\Program Files\Adobe\Adobe Media Server 5\applications\vod\media
    VOD_DIR_1 = \\prodserver1\media\data\VOD\Media
    VOD_DIR_2 = \\prodserver2\media\library\Preview
    VOD_DIR_3 = \\prodserver3\media\preview
    how and where do i need to do this for the http streaming ?
    cheers
    Robert

    You use Apache config files for the same...namely httpd.conf.

  • Precondition Failed problem with apache plugin using SSL

    I got a "Precondition Failed" while trying to use apache + mod_ssl + mod_wl128_20.so.
    I am using Apache 2.0.52 & WebLogic 8.1 SP4 on Windows 2K Server.
    The web.xml is something like this:
    <security-constraint>
    <web-resource-collection>
    <web-resource-name>Secured</web-resource-name>
    <url-pattern>/appmanager/Portal/desktop</url-pattern>
    </web-resource-collection>
    <user-data-constraint>
    <transport-guarantee>CONFIDENTIAL</transport-guarantee>
    </user-data-constraint>
    </security-constraint>
    While the httpd.conf is:
         <IfModule mod_weblogic.c>
              SetHandler weblogic-handler
              WebLogicHost localhost
              WebLogicPort 7001
              MatchExpression *
         </IfModule>
    SSLRandomSeed startup builtin
    SSLRandomSeed connect builtin
    <VirtualHost localhost:443>
         <IfModule mod_weblogic.c>
              DEBUG ALL
              SetHandler weblogic-handler
              SecureProxy ON
              TrustedCAFile C:/bea81/weblogic81/server/lib/CertGenCA.der
              RequireSSLHostMatch FALSE
              WebLogicHost localhost
              WebLogicPort 7002
              KeepAliveEnabled false
              MatchExpression *
         </IfModule>
    The proxy of http is fine and I can also use port virtualhost 443 map to weblogic http (port 7001).
    But when I use 443 map to 7002 (SSL), I got an error:
         Precondition Failed
         The precondition on the request for the URL /MyPortal/appmanager/Portal/desktop evaluated to false.
    When I turned on the DEBUG ALL in httpd.conf, I find an error message:
         ================New Request: [GET /MyPortal/appmanager/Portal/desktop HTTP/1.1] =================
         Thu Aug 11 14:29:44 2005 INFO: SSL is configured
         Thu Aug 11 14:29:44 2005 SSL Main Context not set. Calling InitSSL
         Thu Aug 11 14:29:44 2005 ERROR: SSL initialization failed
    Can anyone help me? Please email me by [email protected]
    Thanks very much!

    I got past the initial problem. You need to run der2pem and use the pem file not the der file.

  • HTTP_GET to apache that uses NTLM

    Hi,
    our Intranet uses an apache-Server with NTLM-authentification. I use SAP to get data from that server. When I use FM http_get I always get "Unauthorized"
    (401). Anyone knows how I can handle this?
    With FM http_get I only get data to websites with basic authentification.
    Thanks in advance
    Michael

    Hello,
    As the error message clearly say, you can not use ActiveX in a SQL Server CLR assembly.
    But Transact-SQL supports the usage of ActiveX, see MSDN:
    OLE Automation Objects in Transact-SQL
    OLE Automation Stored Procedures (Transact-SQL)
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • Apache authentication using Oracle dB

    I'm a newbie trying to find out how do u set up apache to look at tables in an oracle db to get username, password, and group. I've seen mod_auth_mysql, and other mofules, but I haven't been able to find a module that works with oracle. I'm not sure but should I use the mod_auth_external ? Thanks for your help.

    Thanks for the links.
    So the ADF security is built on OPSS which in turn uses the Weblogic Server.
    So does that mean that say i wanted to make up some pages that were integrated into an already existing CRM system (EBS R12) that i'd also need to install/setup Weblogic server on the existing EBS server? Couldn't i just use the existing Application Server? Or would Weblogic server already be on as standard?
    Sorry if they are daft questions.
    I can see that the ADF security can have user and groups setup. However what i wanted to avoid is users having to login twice to two different systems. What i want is that users can be using the CRM system and click a button which fires up a custom jsp or similiar page (which is seemless to the users cause its still part of the CRM application) which pulls data from another source for instance. But when they do this i want the implemenation to make sure they are currently logged in correctly to the CRM system. Does that make sense?

  • Segfault using separate linking

    Hello all,
    This is my first post to a SolDC discussion group as I am a new Solaris convert. Please let me know if I need to post more information.
    When trying to compile and link even a trivial program in separate steps the resulting program executes then mysteriously segfaults. I have tried this on Solaris 7 (Recommended patch cluster up to 11/27/2002) using GCC 3.2, also Solaris 8 using WorkShop 6 update 2 both linking with /usr/ccs/bin/ld getting the same results. Perhaps I am missing something during the link step? The program runs fine when compiled and linked in one step. Any comments would be greatly appreciated.
    hello.c:
    #include <stdio.h>
    int main(void)
    puts("Hello world\n");
    return 0;
    compile (WorkShop 6):
    $ cc -c hello.c
    link:
    $ /usr/ccs/bin/ld -L/usr/lib -lc -o hello hello.o
    run:
    $ ./hello
    Hello world
    Segmentation fault (core dumped)

    Perhaps I am missing something during the link step?
    The program runs fine when compiled and linked in
    n one step. Any comments would be greatly
    appreciated.In general, it is always better to let the compiler drive the link process instead of invoking ld directly:
    cc -c hello.c
    cc -o hello hello.o
    Using the above process, all works fine for me. If I use your "ld" line, I replicate your segfault.
    The compiler passes additional arguments to the linker that it needs to correctly link your program with the C runtime. You can see the additional arguments by passing the -# flag to the compiler on the link step:
    cc -# -o hello hello.o
    ### Note: NLSPATH = /opt/SUNWspro/bin/../WS6U2/bin/../lib/locale/%L/LC_MESSAGES/%N.cat:/opt/SUNWspro/bin/../WS6U2/bin/../../lib/locale/%L/LC_MESSAGES/%N.cat
    ### command line files and options (expanded):
    ### hello.o -o hello
    ### Note: LD_LIBRARY_PATH = /usr/local/lib
    ### Note: LD_RUN_PATH = <null>
    /usr/ccs/bin/ld /opt/SUNWspro/WS6U2/lib/crti.o /opt/SUNWspro/WS6U2/lib/crt1.o /opt/SUNWspro/WS6U2/lib/values-xa.o -o hello hello.o -Y "P,/opt/SUNWspro/WS6U2/lib:/usr/ccs/lib:/usr/lib" -Qy -lc /opt/SUNWspro/WS6U2/lib/crtn.o
    Hope this helps.

  • Issues in ssl configuration with apache server (using reverse proxy)

    Hi,
    I am able to use apache server as a reverse proxy to connect to Portal. When I enter the web server url as https://mywebserver.com, I am able to connect to the http url of the Portal. But the moment I try to connect to the https url of Portal with this https url, I am not able to connect to the Portal. Thus I am not able to use apache as a proxy server for https connections it makes. What must I do. I read that mod_proxy_connect needs to be used, but how do I use this?
    The second problem is that I need to use more than one kind of mapping.
    For example I must be redirected to the Portal even if I use http://webserver.com , or even if I use https://webserver.com or even if I use http://webserver.com/irj or https://webserver.com/irj or http://ipaddress-websserver/irj etc

    I have SSLCertificateFile and
    and SSLCertificateKeyFile .
    My problem is with regard to ssl/CertificateChainFile?
    what is this? Also how do I upload my J2EE Certificate into apache.
    The problem is with Apache handshake is not happening.
    I am forwarding the entire log during . I have put what I consider important in bold.Please have a look.
    <b>----
    </b>
    Wed May 24 07:03:54 2006] [debug] ssl_engine_kernel.c(1769): OpenSSL: Handshake: start
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_kernel.c(1777): OpenSSL: Loop: before/connect initialization
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_kernel.c(1777): OpenSSL: Loop: SSLv2/v3 write client hello A
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_io.c(1512): OpenSSL: read 7/7 bytes from BIO#629160 [mem: 47855a8] (BIO dump follows)
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_io.c(1459): ----
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_io.c(1484): | 0000: 16 03 01 04 1a 02                                ......           |
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_io.c(1488): | 0007 - <SPACES/NULS>
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_io.c(1490): ----
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_io.c(1512): OpenSSL: read 1048/1048 bytes from BIO#629160 [mem: 47855af] (BIO dump follows)
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_io.c(1459): ----
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_io.c(1484): | 0000: 00 36 03 01 44 74 67 cb-38 b5 8e 42 3b 59 c3 6c  .6..Dtg.8..B;Y.l |
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_io.c(1484): | 0010: 23 5c 07 d0 8b 24 89 89-11 2e 0d 80 ed 1a 06 ea  #
    ...$.......... |
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_io.c(1484): | 0020: 1d 10 b0 59 10 28 7c b4-02 cb d6 08 a8 e4 ea 5a  ...Y.(|........Z |
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_io.c(1484): | 0030: e5 88 5c 5d 90 00 39 00-0b 00 01 cc 00 01 c9 00  ..
    ]..9......... |
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_io.c(1484): | 0040: 01 c6 30 82 01 c2 30 82-01 2b a0 03 02 01 02 02  ..0...0..+...... |
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_io.c(1484): | 0050: 04 36 0b 23 72 30 0d 06-09 2a 86 48 86 f7 0d 01  .6.#r0...*.H.... |
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_io.c(1484): | 0060: 01 04 05 00 30 14 31 12-30 10 06 03 55 04 03 13  ....0.1.0...U... |
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_io.c(1484): | 0070: 09 6c 6f 63 61 6c 68 6f-73 74 30 1e 17 0d 30 33  .localhost0...03 |
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_io.c(1484): | 0080: 31 30 30 32 30 37 32 35-30 30 5a 17 0d 30 35 31  1002072500Z..051 |
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_io.c(1484): | 0090: 30 30 32 30 37 32 35 30-30 5a 30 14 31 12 30 10  002072500Z0.1.0. |
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_io.c(1484): | 00a0: 06 03 55 04 03 13 09 6c-6f 63 61 6c 68 6f 73 74  ..U....localhost |
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_io.c(1484): | 00b0: 30 81 9f 30 0d 06 09 2a-86 48 86 f7 0d 01 01 01  0..0...*.H...... |
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_io.c(1484): | 00c0: 05 00 03 81 8d 00 30 81-89 02 81 81 00 ef d6 ff  ......0......... |
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_io.c(1484): | 00d0: a6 39 e1 64 a5 d3 fb 16-de 4e ee 1d 81 84 31 bc  .9.d.....N....1. |
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_io.c(1484): | 00e0: e6 b7 96 07 3e 81 b9 94-d1 c1 e0 f9 00 3a 84 e8  ....>........:.. |
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_io.c(1484): | 00f0: 7a 30 11 cd 41 26 d6 6c-95 90 93 95 17 e0 1a b7  z0..A&.l........ |
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_io.c(1484): | 0100: 00 0f 59 33 7d 1d f3 a0-83 17 c5 f3 7e b3 ad ed  ..Y3}.......~... |
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_io.c(1484): | 0110: c9 60 ac af 9e 31 d2 ec-42 71 f9 c3 98 2e 93 f9  .`...1..Bq...... |
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_io.c(1484): | 0120: 9d c3 c4 3d b3 7d 9b 97-83 1c 6b bd c0 75 cc 96  ...=.}....k..u.. |
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_io.c(1484): | 0130: dc b9 a0 1b 00 79 85 e4-19 1f 61 42 54 db 91 94  .....y....aBT... |
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_io.c(1484): | 0140: d8 1d 72 13 08 36 22 49-3b fb 05 dc 33 02 03 01  ..r..6"I;...3... |
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_io.c(1484): | 0150: 00 01 a3 21 30 1f 30 1d-06 03 55 1d 0e 04 16 04  ...!0.0...U..... |
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_io.c(1484): | 0160: 14 ed ed 02 af 94 13 59-1c 42 e6 69 40 e5 80 dd  .......Y.B.i@... |
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_io.c(1484): | 0170: a4 e9 33 91 02 30 0d 06-09 2a 86 48 86 f7 0d 01  ..3..0...*.H.... |
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_io.c(1484): | 0180: 01 04 05 00 03 81 81 00-2c 22 08 bd 71 b6 80 43  ........,"..q..C |
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_io.c(1484): | 0190: 5a 2a 8b e8 62 34 b4 b4-84 8a 47 4b 97 5e bf dd  Z*..b4....GK.^.. |
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_io.c(1484): | 01a0: 17 4c 0a 1c b7 0e cd c5-d1 cc d8 77 cd 38 10 ef  .L.........w.8.. |
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_io.c(1484): | 01b0: 22 02 f0 02 7f a2 39 2b-53 eb 31 b6 18 49 37 a0  ".....9+S.1..I7. |
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_io.c(1484): | 01c0: 50 47 f2 34 ab 33 eb 5f-ec 5a f9 f7 53 5f 27 eb  PG.4.3._.Z..S_'. |
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_io.c(1484): | 01d0: 02 7f b4 28 3e e8 b1 c7-59 df 2c 93 25 c5 34 14  ...(>...Y.,.%.4. |
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_io.c(1484): | 01e0: 7a 34 7c 45 b4 eb 6b 34-93 26 98 51 37 d3 e6 b0  z4|E..k4.&.Q7... |
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_io.c(1484): | 01f0: 7f 83 e3 a9 04 d3 47 b3-3d de 43 57 27 45 82 c0  ......G.=.CW'E.. |
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_io.c(1484): | 0200: 4d 48 bf c0 a7 2f 66 0c-0c 00 02 08 00 80 af 76  MH.../f........v |
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_io.c(1484): | 0210: 1f f5 f6 48 a0 01 0f ed-55 4c 53 9a 7c 07 7a ba  ...H....ULS.|.z. |
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_io.c(1484): | 0220: c7 9d 77 e8 8b c7 66 8f-80 03 18 c5 1f 4f 2a a0  ..w...f......O*. |
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_io.c(1484): | 0230: 08 6f 9f e3 13 94 30 56-e7 2f 96 7c 26 97 ba 12  .o....0V./.|&... |
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_io.c(1484): | 0240: aa fd 3e 43 e1 46 c2 d1-32 94 56 45 52 c0 24 6f  ..>C.F..2.VER.$o |
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_io.c(1484): | 0250: 38 e0 93 0f 3a f8 0a 7c-41 0e 4c 54 4f 5a 7e d4  8...:..|A.LTOZ~. |
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_io.c(1484): | 0260: 62 e6 71 cd a0 dc 1e 9b-17 e5 10 71 3c 9d c6 39  b.q........q<..9 |
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_io.c(1484): | 0270: 05 50 b6 15 37 0b 68 4f-24 50 74 47 13 1c 74 d8  .P..7.hO$PtG..t. |
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_io.c(1484): | 0280: 81 27 81 71 3a 4a c5 26-7d b8 e6 21 b3 d9 00 80  .'.q:J.&}..!.... |
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_io.c(1484): | 0290: 4f 6f 5d e6 2d dc 77 46-e6 77 b1 94 3d 65 5b b0  Oo].-.wF.w..=e[. |
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_io.c(1484): | 02a0: 3d 39 7a 6c a2 c7 0b e3-27 08 fa 48 8d 75 1a fe  =9zl....'..H.u.. |
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_io.c(1484): | 02b0: 32 e6 13 d1 31 65 7d d5-11 34 21 78 38 d1 11 fb  2...1e}..4!x8... |
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_io.c(1484): | 02c0: ea 59 8e 24 79 5a 4b c2-f7 98 22 51 9f a7 4d 2b  .Y.$yZK..."Q..M+ |
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_io.c(1484): | 02d0: 15 98 fe d4 43 4b 34 25-b3 9b b3 ae 57 d1 ea 69  ....CK4%....W..i |
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_io.c(1484): | 02e0: 6e 02 7e 61 d7 80 b6 73-6a 3e ac eb 69 38 67 8f  n.~a...sj>..i8g. |
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_io.c(1484): | 02f0: a9 2a dc 93 3d 22 f3 6e-6a 5d 51 1f b1 b1 10 5e  .*..=".nj]Q....^ |
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_io.c(1484): | 0300: 82 28 48 0d 5a 78 f8 17-61 e0 c5 43 61 7a 42 6a  .(H.Zx..a..CazBj |
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_io.c(1484): | 0310: 00 80 42 fa 7e 11 b2 77-3a 8c de f1 52 5a e1 18  ..B.~..w:...RZ.. |
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_io.c(1484): | 0320: d4 e7 8f ee 2c e0 06 ef-d5 37 87 62 07 14 d1 5a  ....,....7.b...Z |
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_io.c(1484): | 0330: ca 30 be fd dd 76 47 8f-ed f4 5f f3 64 6c 32 a9  .0...vG..._.dl2. |
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_io.c(1484): | 0340: d5 07 e2 9b f1 29 a3 bf-33 4a ed 72 6b 2e c3 0f  .....)..3J.rk... |
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_io.c(1484): | 0350: 30 bd 13 a1 42 d8 f7 1d-58 8a 1c 53 d6 c3 c8 6e  0...B...X..S...n |
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_io.c(1484): | 0360: 0e 51 e3 f5 a0 37 68 0d-04 c6 0e c4 4d cc ed 7c  .Q...7h.....M..| |
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_io.c(1484): | 0370: ef 8f 81 b3 52 34 0c 60-eb f8 01 19 cc 95 31 55  ....R4.`......1U |
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_io.c(1484): | 0380: 7d 16 bf 0c df b8 e0 3d-8f 7c 7a 4a 64 98 93 59  }......=.|zJd..Y |
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_io.c(1484): | 0390: eb ae 00 80 ef cb bc 38-ab 16 0e a2 b2 2d fa 0f  .......8.....-.. |
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_io.c(1484): | 03a0: da 55 2d 67 a8 b8 34 1b-bf 39 d9 d6 da 65 f2 8f  .U-g..4..9...e.. |
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_io.c(1484): | 03b0: 6f a2 b1 1d db bb d5 dd-ab cf 9e 63 00 e4 57 a5  o..........c..W. |
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_io.c(1484): | 03c0: 18 4a dc 60 b0 97 5d 67-34 96 bf a2 43 2b 7d 70  .J.`..]g4...C+}p |
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_io.c(1484): | 03d0: d6 99 d2 31 d2 11 f4 f2-19 b8 0c 41 7d bf b1 7c  ...1.......A}..| |
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_io.c(1484): | 03e0: fb 31 cb 3e c2 0a e2 26-1a 7e 63 50 9b 62 c3 82  .1.>...&.~cP.b.. |
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_io.c(1484): | 03f0: ca cd 36 82 0c 56 5f 26-f6 cc c6 6f 03 92 cc f5  ..6..V_&...o.... |
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_io.c(1484): | 0400: 6b 55 1a d6 92 f9 5b 59-18 c2 62 21 eb d8 a4 ea  kU....[Y..b!.... |
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_io.c(1484): | 0410: fd b6 3e f7 0e                                   ..>..            |
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_io.c(1488): | 1048 - <SPACES/NULS>
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_io.c(1490): ----
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_kernel.c(1777): OpenSSL: Loop: SSLv3 read server hello A
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_kernel.c(1207): Certificate Verification: depth: 0, subject: /CN=localhost, issuer: /CN=localhost
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_kernel.c(1207): Certificate Verification: depth: 0, subject: /CN=localhost, issuer: /CN=localhost
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_kernel.c(1207): Certificate Verification: depth: 0, subject: /CN=localhost, issuer: /CN=localhost
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_kernel.c(1777): OpenSSL: Loop: SSLv3 read server certificate A
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_kernel.c(1777): OpenSSL: Loop: SSLv3 read server key exchange A
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_kernel.c(1777): OpenSSL: Loop: SSLv3 read server done A
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_kernel.c(1777): OpenSSL: Loop: SSLv3 write client key exchange A
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_kernel.c(1777): OpenSSL: Loop: SSLv3 write change cipher spec A
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_kernel.c(1777): OpenSSL: Loop: SSLv3 write finished A
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_kernel.c(1777): OpenSSL: Loop: SSLv3 flush data
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_io.c(1512): OpenSSL: read 5/5 bytes from BIO#629160 [mem: 47855a8] (BIO dump follows)
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_io.c(1459): ----
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_io.c(1484): | 0000: 15 03 01 00 02                                   .....            |
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_io.c(1490): ----
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_io.c(1512): OpenSSL: read 2/2 bytes from BIO#629160 [mem: 47855ad] (BIO dump follows)
    Wed May 24 07:03:54 2006] [debug] ssl_engine_io.c(1459): ----
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_io.c(1484): | 0000: 02 28                                            .(               |
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_io.c(1490): ----
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_kernel.c(1782): OpenSSL: Read: SSLv3 read finished A
    [Wed May 24 07:03:54 2006] [debug] ssl_engine_kernel.c(1801): OpenSSL: Exit: failed in SSLv3 read finished A
    [Wed May 24 07:03:54 2006] [info] SSL Proxy connect failed
    [Wed May 24 07:03:54 2006] [info] SSL Library Error: 336151568 error:14094410:SSL routines:SSL3_READ_BYTES:sslv3 alert handshake failure
    [Wed May 24 07:03:54 2006] [info] Connection to child 249 closed with abortive shutdown(server apacheserver:443, client j2eeserver)
    [Wed May 24 07:03:54 2006] [error] (20014)Error string not specified yet: proxy: pass request body failed to j2eeserver:50001 (j2eeserver)
    [<b>Wed May 24 07:03:54 2006] [error] (20014)Error string not specified yet: proxy: pass request body failed to j2eeserver:50001 (j2eeserve) from apacheserver ()
    [Wed May 24 07:04:10 2006] [debug] ssl_engine_io.c(1523): OpenSSL: I/O error, 5 bytes expected to read on BIO#612610 [mem: 62ac80]
    [Wed May 24 07:04:10 2006] [info] (OS 10060)A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.  : SSL input filter read failed.
    [Wed May 24 07:04:10 2006] [debug] ssl_engine_kernel.c(1787): OpenSSL: Write: SSL negotiation finished successfully
    [Wed May 24 07:04:10 2006] [info] Connection to child 249 closed with standard shutdown(server apacheserver:443, client apacheserver)
    </b>

  • Login in apache james using jsp

    how to make user log in apache james through jsp.
    any idea will be very helpful.

    JavaMail comes with a web app that uses JSPs, as well as a simple
    servlet app. Both of them handle logging in to the mail server.
    Did neither of them help you? Apache James is just another
    mail server.
    There's also pointers on the JavaMail web page to several tutorials
    and articles that will help.

  • Apache Plugin using SSL

    Hi,
    I'm using weblogic 8.1 SP4 and using demo certificate and https works fine on the APP server, I created a .PEM file and copied the same onto the apache2 webserver Httpd.conf,
    When I try to access the appserver from the web HTTP works but using HTTPS doent work,
    Regards

    I got past the initial problem. You need to run der2pem and use the pem file not the der file.

  • Segfault using char pointer array

    Hi,
    My project was just migrated to a SUN M9000 server running Solaris 10 with Sun Studio 12.1. Here is the cc -V output:
    Sun C 5.10 SunOS_sparc 2009/06/03
    Here is a simple example of code to demonstrate the problem. The compile command used is:
    cc -g -m64 filename.c -o filename
    #include <stdio.h>
    #include <string.h>
    int main(int argc, char **argv)
    char *statusMsg[5] = {
    "0 ",
    "1 ",
    "2 ",
    "3 ",
    "4 " };
    printf("Hello %s\n",statusMsg[3]);
    sprintf(statusMsg[3],"%s","new3");
    printf("Hello %s\n",statusMsg[3]);
    return(0);
    Output is:
    Hello 3
    Segmentation Fault
    I know it crashes on the sprintf.
    dbx output:
    dbx crash_dummy
    Reading crash_dummy
    Reading ld.so.1
    Reading libc.so.1
    (dbx) run
    Running: crash_dummy
    (process id 9169)
    Reading libc_psr.so.1
    Hello 3
    signal SEGV (access to address exceeded protections) in _ndoprnt at 0xffffffff7f3ac948
    0xffffffff7f3ac948: _ndoprnt+0x295c:    stb      %o4, [%o2]
    Current function is main
    17 sprintf(statusMsg[3],"%s","new3");
    (dbx) where
    [1] _ndoprnt(0x1000009aa, 0xffffffff7ffff658, 0x7ffffffefffff62f, 0x1000009b4, 0x1000009b0, 0xffffffff7ffff460), at 0xffffffff7f3ac948
    [2] sprintf(0x1000009d0, 0x7fffffff, 0x7ffffc00, 0xffffffff7f54962c, 0xffffffff7f53e000, 0xa), at 0xffffffff7f3ae024
    =>[3] main(argc = 1, argv = 0xffffffff7ffff768), line 17 in "crash_dummy.c"
    I think it's a bug in libc but I could be wrong. Any help will be appreciated.

    I had forgotten about the problem of literal strings being const. Your code has two bugs, and if it ever worked, it worked only by accident.
    1. Attempting to overwrite a literal string.
    2. Writing beyond the end of an array.
    As poster rajp pointed out, you can fix the first problem by compiling with the option -features=no%conststrings. This is not a general solution, but will work with Studio compilers.
    The second problem still needs to be addressed. As an implementation detail, Studio compilers in 64-bit mode allocate a literal string on an 8-byte boundary, and allocate the literal strings that initialize the array consecutively. By accident, there are a few padding bytes between the literal strings, allowing you to write extra characters to all but the last of the literal strings. (By another accident, there might be padding after the last literal string.)
    To see the bug in action, try writing beyond the accidental padding by writing "new4567890" instead of "new3":
    % cat z.c
    #include <stdio.h>
    #include <string.h>
    #define SIZE 5
    int main(int argc, char **argv)
        char *statusMsg[SIZE] = {
            "0 ",
            "1 ",
            "2 ",
            "3 ",
            "4 " };
        printf("Hello %s\n",statusMsg[3]);
        printf("Hello %s\n",statusMsg[4]);
        sprintf(statusMsg[3],"%s","new4567890");
        int i;
        for( i=0; i < SIZE; ++i )
            printf("Hello %s\n",statusMsg);
    return(0);
    % cc -m64 -features=no%conststrings z.c
    % ./a.out
    Hello 3
    Hello 4
    Hello 0
    Hello 1
    Hello 2
    Hello new4567890
    Hello 90
    Notice how the last string was clobbered.
    In 32-bit mode, literal strings are allocated on 4-byte boundaries, allowing for even more interesting results. I added an unrelated array of one string, "test", then overwrote statusMsg[3] as before. This time, it clobbers not only statusMsg[4], but "test" as well:#include <stdio.h>
    #include <string.h>
    #define SIZE 5
    int main(int argc, char **argv)
    char *statusMsg[SIZE] = {
    "0 ",
    "1 ",
    "2 ",
    "3 ",
    "4 " };
    char *test[1] = { "test" };
    printf("Hello %s\n",statusMsg[3]);
    printf("Hello %s\n",statusMsg[4]);
    printf("Hello %s\n",test[0]);
    sprintf(statusMsg[3],"%s","new4567890");
    int i;
    for( i=0; i < SIZE; ++i )
    printf("Hello %s\n",statusMsg[i]);
    printf("Hello %s\n",test[0]);
    return(0);
    213% cc -m32 -features=no%conststrings z.c
    214% a.out
    Hello 3
    Hello 4
    Hello test
    Hello 0
    Hello 1
    Hello 2
    Hello new4567890
    Hello 567890
    Hello 90

  • Access forbidden when Apache is trying to use NSS volume

    I'm helping a customer migrate from an OES2 SBE server to an OES2 Linux server running under VMware. The new server is up and seems to be running fine and I've migrated all of the data over, but not using the Migration Tools as I could not get them to work. (That's another thread in the forums. Could that problem be related to this problem???).
    Anyway, on their old server they run Apache for their public web site and it's default directory is on an NSS volume. It's configured in default-server.conf and it works fine. There are no virtual servers configured in Apache
    On the new server, I've duplicated every setting I can find in Apache and every permission in the file system to match exactly with the old server. However, all I can get from Apache is an "Error 403: You don't have permission to access the requested directory. There is either no index document or the directory is read-protected."
    If I move the web folder off of the NSS volume and adjust default-server.conf, it serves the pages up just fine. So, I'm pretty sure it's NSS permissions related. The wwwrun user and www group are pre-existing in the Tree and the old server is using them and they appear to be LUM enabled. There's a Unix Workstation object in the tree for the new server, so I'm assuming it's LUM enabled. From what very little I understand about LUM, it appears to be working but I wouldn't bet much on that. I also tried configuring Apache to use a virtual host instead of the default-server and that didn't help either.
    I've found several other threads and TIDS on the topic and tried them all but nothing worked. I'm at the end of my knowledge!
    -Farren

    farren wrote:
    >
    > I'm helping a customer migrate from an OES2 SBE server to an OES2 Linux
    > server running under VMware. The new server is up and seems to be
    > running fine and I've migrated all of the data over, but not using the
    > Migration Tools as I could not get them to work. (That's another thread
    > in the forums. Could that problem be related to this problem???).
    >
    > Anyway, on their old server they run Apache for their public web site
    > and it's default directory is on an NSS volume. It's configured in
    > default-server.conf and it works fine. There are no virtual servers
    > configured in Apache
    >
    > On the new server, I've duplicated every setting I can find in Apache
    > and every permission in the file system to match exactly with the old
    > server. However, all I can get from Apache is an "Error 403: You don't
    > have permission to access the requested directory. There is either no
    > index document or the directory is read-protected."
    >
    > If I move the web folder off of the NSS volume and adjust
    > default-server.conf, it serves the pages up just fine. So, I'm pretty
    > sure it's NSS permissions related. The wwwrun user and www group are
    > pre-existing in the Tree and the old server is using them and they
    > appear to be LUM enabled. There's a Unix Workstation object in the tree
    > for the new server, so I'm assuming it's LUM enabled. From what very
    > little I understand about LUM, it appears to be working but I wouldn't
    > bet much on that. I also tried configuring Apache to use a virtual host
    > instead of the default-server and that didn't help either.
    >
    > I've found several other threads and TIDS on the topic and tried them
    > all but nothing worked. I'm at the end of my knowledge!
    >
    > -Farren
    >
    >
    Did you give rights to wwwrun to the volume?

  • Apache Internal Server Error using mod_jk

    I just set up Apache/tomcat using mod_jk. Tomcat delivers pages fine through port 8080 and Apache delivers static pages fine from the tomcat directories, however give a 500 error when delivering jsp.
    Any ideas?
    I'm using
    Tomcat 4
    Apache 2
    Java 1.3.x

    where ur placing ur jsp pages in Tomcat
    the default plcae is
    tomcat folder/webapps/examples/jsp
    and run the jsp as
    http://localhost:8080/examples/jsp/index.jsp

  • HttpSession lost when using browser - Apache - oc4j

    Hi,
    config: browser <-> Apache <-> oc4j using ProxyPass & ProxyPassReverse directives.
    problem:
    - A servlet calls HttpSession.putValue("Key","some data"), then redirect to B servlet.
    - B servlet tries to HttpSession.getValue("Key"), but it return null.
    .putValue & .getValue are OK when config is browser <-> oc4j.
    Can anybody help me?
    Kenny.

    Can you tell us whether you are using cookies or URL rewriting to do session tracking ? Hi Debabrata,
    I use cookies to do the tracking. Also, same thing happened when I use NT version of Apache & NT version of OC4j.
    Kenny.

Maybe you are looking for