+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 17

Thread: HTTP Server Crashes

  1. #1
    Join Date
    Jul 2007
    Location
    Stockholm, Sweden
    Posts
    98

    Default HTTP Server Crashes

    Apache server currently hosts two sites, one internal site and the other being DekiWiki.
    DekiWiki was configured to run on port 90 (as a virtual host).

    Now, before the installation of DekiWiki, the server never went down.
    Whereas after the installation,the server is crashing moreoften.

    The log shows no special output just after and before the crash.
    However i was able to dig out some error messages which were raised but did not cause the server to crash.

    [Mon Aug 13 17:36:46 2007] [error] ap_proxy_connect_backend disabling worker for (localhost)
    [Mon Aug 13 17:36:47 2007] [error] proxy: HTTP: disabled connection for (localhost)
    [Mon Aug 13 17:36:49 2007] [error] (OS 10061)No connection could be made because the target machine actively refused it. : proxy: HTTP: attempt to connect to 127.0.0.1:8081 (localhost) failed
    [Mon Aug 13 17:36:49 2007] [error] ap_proxy_connect_backend disabling worker for (localhost)
    [Mon Aug 13 17:36:49 2007] [error] proxy: HTTP: disabled connection for (localhost)
    'uname' is not recognized as an internal or external command,
    operable program or batch file.
    'php' is not recognized as an internal or external command,
    operable program or batch file.
    'mysql' is not recognized as an internal or external command,
    operable program or batch file.
    'mono' is not recognized as an internal or external command,
    operable program or batch file.


    I was also trying to change the site-style of Deki, when i got the following error in the logs (thats when apache crashed):

    [Tue Aug 14 10:33:25 2007] [error] [client 88.131.8.250] File does not exist: C:/xampp/deki-wiki/web/skins/undefined, referer: http://localhost:90/Admin:Visual
    [Tue Aug 14 10:33:39 2007] [error] [client 88.131.8.250] File does not exist: C:/xampp/deki-wiki/web/skins/undefined, referer: http://localhost:90/Admin:Visual
    [Tue Aug 14 10:34:03 2007] [error] [client 88.131.8.250] File does not exist: C:/xampp/deki-wiki/web/skins/undefined, referer: http://localhost:90/Admin:Visual
    [Tue Aug 14 10:34:50 2007] [error] [client 88.131.8.250] File does not exist: C:/xampp/deki-wiki/web/skins/undefined, referer: http://localhost:90/Admin:Visual
    [Tue Aug 14 10:36:13 2007] [error] [client 88.131.8.250] File does not exist: C:/xampp/deki-wiki/web/skins/undefined, referer: http://localhost:90/Admin:Visual
    [Tue Aug 14 10:36:31 2007] [notice] Parent: child process exited with status 3221225477 -- Restarting.


    After this, the server is crashing more often without any special error message.

    Any ideas`??
    Last edited by Umair; 08-14-2007 at 09:16 AM.

  2. #2
    Join Date
    Jul 2007
    Location
    Stockholm, Sweden
    Posts
    98

    Default

    Now there seems to be some problem with the DekiWIki itself.
    I am unable to naviagate to any other page except the main page.

    The DekiWiki Log shows the following error:


    2007-08-14 11:24:46,937 [7432] DEBUG MindTouch.Dream.Http.HttpTransport - RequestHandler: (GET,http://localhost:8081/deki/site/sett...OLIbWanZCiSsTV)

    2007-08-14 11:24:48,750 [7432] ERROR DekiWikiService_deki - Error initializing instance()
    System.ArgumentNullException: Value cannot be null.
    Parameter name: An api-key is not configured for this service
    at MindTouch.Deki.DekiInstance.Startup(DekiContext context)
    at MindTouch.Deki.DekiWikiService.<>c__CompilerGenera ted139.MoveNext()

    2007-08-14 11:24:48,828 [7432] DEBUG MindTouch.Dream.DreamMessage - Response: Internal Error(site deki has failed to initialize or did not start up properly: Initialization exception: Value cannot be null.
    Parameter name: An api-key is not configured for this service)

    2007-08-14 11:24:49,234 [7432] DEBUG MindTouch.Dream.Http.HttpTransport - RequestHandler: (GET,http://localhost:8081/deki/site/nav/...157&width=1600)

    2007-08-14 11:24:49,234 [7432] DEBUG MindTouch.Dream.DreamMessage - Response: Internal Error(site deki has failed to initialize or did not start up properly: Initialization exception: Value cannot be null.
    Parameter name: An api-key is not configured for this service)

    2007-08-14 11:24:49,265 [7432] DEBUG MindTouch.Dream.Http.HttpTransport - RequestHandler: (GET,http://localhost:8081/deki/pages/1/s...=80.169.21.157)

    2007-08-14 11:24:49,265 [7432] DEBUG MindTouch.Dream.DreamMessage - Response: Internal Error(site deki has failed to initialize or did not start up properly: Initialization exception: Value cannot be null.
    Parameter name: An api-key is not configured for this service)

    2007-08-14 11:24:49,296 [7432] DEBUG MindTouch.Dream.Http.HttpTransport - RequestHandler: (GET,http://localhost:8081/deki/pages/1/s...=80.169.21.157)

    2007-08-14 11:24:49,296 [7432] DEBUG MindTouch.Dream.DreamMessage - Response: Internal Error(site deki has failed to initialize or did not start up properly: Initialization exception: Value cannot be null.
    Parameter name: An api-key is not configured for this service)


  3. #3
    Join Date
    Jul 2007
    Location
    Stockholm, Sweden
    Posts
    98

    Default

    Don't tell me that i am the only one who is facing this problem !!!

  4. #4
    Join Date
    Feb 2007
    Posts
    1,871

    Default

    is your config table in mysql empty? it seems to be missing the config_key = 'security/api-key'

  5. #5
    Join Date
    Jul 2007
    Location
    Stockholm, Sweden
    Posts
    98

    Default

    um...yes, it was there..
    It was working fine after the first install. Only when i did the restart, i got these messages.
    anyhow i removed the installed files with a fresh copy.

    Now, i am getting some interesting results :

    This may sound wierd, but on every user click (request for DekiWiki), the HTTP server goes down.
    It does however manually restars itself. But the site hangs on.
    Now, this starnge behavior of HTTP server crashing down evolves only when the request is to a Deki site.

    For the reference,
    1). The OS is Windows Server 2003.
    2). The HTTP server is Apache
    3). The Virtual host of DekiWiki is configured to work on port 90.

    <VirtualHost *:90>
    DocumentRoot "C:/xampp/deki-wiki/web"
    ServerName wiki

    RewriteEngine On
    RewriteCond %{REQUEST_URI} ^/$
    RewriteRule ^/$ /index.php?title= [L,NE]

    RewriteCond %{REQUEST_URI} !/(@api|editor|skins|config)/
    RewriteCond %{REQUEST_URI} !/(redirect|texvc|index|Version).php
    RewriteCond %{REQUEST_URI} !/error/(40(1|3|4)|500).html
    RewriteCond %{REQUEST_URI} !/favicon.ico
    RewriteCond %{REQUEST_URI} !/robots.txt
    RewriteCond %{REQUEST_URI} !/dummy.php
    RewriteCond %{REQUEST_URI} !/phpinfo.php
    RewriteCond %{QUERY_STRING} ^$ [OR] %{REQUEST_URI} ^/Special:Search
    RewriteRule ^/(.*)$ /index.php?title=$1 [L,QSA,NE]

    ProxyPass /@api http://localhost:8081 retry=1
    ProxyPassReverse /@api http://localhost:8081
    SetEnv force-proxy-request-1.0 1
    SetEnv proxy-nokeepalive 1

    AllowEncodedSlashes On
    </VirtualHost>


    4). The Apacge logs are :
    [Wed Aug 15 11:59:32 2007] [notice] Apache/2.2.4 (Win32) DAV/2 PHP/5.2.1 mod_ssl/2.2.4 OpenSSL/0.9.8e mod_autoindex_color configured -- resuming normal operations
    [Wed Aug 15 11:59:32 2007] [notice] Server built: Mar 5 2007 11:23:00
    [Wed Aug 15 11:59:32 2007] [notice] Parent: Created child process 4864
    [Wed Aug 15 11:59:32 2007] [warn] module php5_module is already loaded, skipping
    [Wed Aug 15 11:59:35 2007] [notice] Child 4864: Child process is running
    [Wed Aug 15 11:59:35 2007] [notice] Child 4864: Acquired the start mutex.
    [Wed Aug 15 11:59:35 2007] [notice] Child 4864: Starting 350 worker threads.
    [Wed Aug 15 11:59:35 2007] [notice] Child 4864: Starting thread to listen on port 443.
    [Wed Aug 15 11:59:35 2007] [notice] Child 4864: Starting thread to listen on port 90.
    [Wed Aug 15 11:59:35 2007] [notice] Child 4864: Starting thread to listen on port 80.
    Where it restarts
    [Wed Aug 15 12:00:21 2007] [notice] Parent: child process exited with status 3221225477 -- Restarting.

  6. #6
    Join Date
    Jul 2007
    Location
    Stockholm, Sweden
    Posts
    98

    Default

    Figured out...
    Man it was so exhausting...!!

    [Wed Aug 15 12:00:21 2007] [notice] Parent: child process exited with status 3221225477 -- Restarting.

    This was the main issue!
    I had been blaming DekiWiki untill now, but it seemed that there were larger forces involved

    If you have a W32 OS and are running Apache with PHP 4.5+ then a common reason is that you installed as a module and are using the Zend Optimizer.

    As tested we found that if your php.ini file is in your WINNT or WINDOWS directory and you leave the php DLLs in the c:\php folder then the problem will persist.

    I tested by commenting out the bottom three lines in my php.ini file as follows;

    [Zend]
    #zend_extension_manager.optimizer_ts="C:\Program Files\Zend\Optimizer\lib\Optimizer-2.5.10"
    #zend_extension_ts="C:\Program Files\Zend\Optimizer\lib\ZendExtensionManager.dll"
    #zend_optimizer.optimization_level=15
    With Reference From : http://forums.mysql.com/read.php?52,...9591#msg-49591

    It works like a beauty !

  7. #7
    Join Date
    Feb 2007
    Posts
    1,871

    Default

    excellent! thanks for posting this - i'm sure more people will run into this problem

  8. #8
    Join Date
    Jul 2007
    Location
    Stockholm, Sweden
    Posts
    98

    Default

    By the way,
    I just bumped into my COnfig table data :


    mysql> select * from config;
    +-----------+-------------+--------------+
    | config_id | config_key | config_value |
    +-----------+-------------+--------------+
    | 1 | ui/skin | mindtouch |
    | 2 | ui/template | ace |
    +-----------+-------------+--------------+
    2 rows in set (0.00 sec)

    Is this Normal ??

    I am just reffering to your earlier post which stated :

    is your config table in mysql empty? it seems to be missing the config_key = 'security/api-key'
    as i have started having these errors out of a sudden again :

    2007-08-20 10:31:26,073 [2748] DEBUG MindTouch.Dream.DreamMessage - Response: In
    ternal Error(site deki has failed to initialize or did not start up properly: In
    itialization exception: Value cannot be null.
    Parameter name: An api-key is not configured for this service)
    I really wonder what triggers the application to lose its consistent State !

  9. #9
    Join Date
    Jul 2007
    Location
    Stockholm, Sweden
    Posts
    98

    Default

    went through an earlier post and got fixed

    http://forums.opengarden.org/showthread.php?t=459

    The Bug reported was :
    http://bugs.opengarden.org/view.php?id=2392


    First Question :

    What should be the value for the field "storage/fs/path" in config table ?
    I saved the value to be : C:/deki-hayes/web/attachments as was stated in the reported Bug Manual.
    With attachments being a new folder created.
    Problem:
    There was however one problem due to these changes,The image uploading does not work at all.
    No error, nothing.!
    I upload the image, but it is not shown anywhere.


    Second Question:

    Why does this Bug :
    http://bugs.opengarden.org/view.php?id=2392

    occur so often?
    I mean, why does the config table gets wiped off by itself ?
    Last edited by Umair; 08-20-2007 at 01:27 PM.

  10. #10
    Join Date
    Oct 2006
    Location
    San Diego (PB!)
    Posts
    787

    Default

    What should be the value for the field "storage/fs/path" in config table ?
    I saved the value to be : C:/deki-hayes/web/attachments as was stated in the reported Bug Manual.
    With attachments being a new folder created.
    Problem:
    There was however one problem due to these changes,The image uploading does not work at all.
    No error, nothing.!
    I upload the image, but it is not shown anywhere.
    That should be valid value for "storare/fs/path". Can you make sure you have a "storage/type" with value "fs" ? Also, you'll need to restart dekihost after making direct changes in to the db config table as it's cached in memory. Check your bin/logs/warning.log for errors

+ Reply to Thread

Posting Permissions

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