File upload problem and apache

Discussion in 'General' started by MarkPW, Jan 26, 2010.

  1. MarkPW

    MarkPW Member

    Ever since updated to 4.0.12, I've been experiencing some major problems with file uploads. The issue seems to be associated with Apache trying to run alongside LSWS. To get file uploads working temporarily, I have to kill all apache processes and then stop/start Litespeed. A few minutes later, Apache seems to restart itself and file uploads stop working again.

    In addition, I'm getting lots of the following error in LS admin: Failed to generate the real time report!

    I've done chkconfig httpd off, but Apache still restarts.

    Could somebody please assist?

    NB. I am running cpanel/WHM.
  2. mistwang

    mistwang LiteSpeed Staff

  3. MarkPW

    MarkPW Member

    I have just done that, killed httpd and restarted lsws but httpd continues to restart!?
  4. mistwang

    mistwang LiteSpeed Staff

    has you set the "Apache port offset" to non-zero?
  5. MarkPW

    MarkPW Member

    I changed apache port offset to non-zero (I tried 1) and my websites did not load (httpd was not running at the time). I've waited a few minutes and Apache has started itself meaning my websites (and uploads) are now working, but under Apache, not LS. Could you please offer any other suggestions?

    Also, when LS is not running, I can start and stop Apache no problem. However, when LS is running, Apache and httpd processes will not die.
    Last edited: Jan 26, 2010
  6. MarkPW

    MarkPW Member

    The error log is showing multiple instances of:

    Failed to generate the real time report!
    2010-01-26 21:38:33.054 [STDERR] lscgid: failed to open secret file: /usr/local/lsws/admin/conf/secret/.cgid.sock.049!

    Please help!
  7. mistwang

    mistwang LiteSpeed Staff

    should keep "Apache port offset" at zero.
    I think you should do a manual update to latest 4.0.12, just run from command line and select update.
    It will fix those permission errors.

Share This Page