Search results

  1. Z

    [Resolved] Cannot Start lsws

    I'm unable to start LiteSpeed due to the following message. I should mention that LS is being hosted in a OpenVZ container. I'm not too concerned about the first message regarding /proc/irq. It's the following messages that worry me. LS crashed due to a disk space issue which has been...
  2. Z

    Litespeed Ubuntu

    Do I need to do something special to get litespeed running on Ubuntu Server? When I attempt to start using "sudo ./lswsctrl start" I get the following error. ./lswsctrl: 70: ./lswsctrl: ./litespeed: not found [ERROR] Failed to start litespeed! Everything compiled fine and I'm not using a...
  3. Z

    503 Errors

    I seem to be getting lot's of 503 errors which requires me to restart the LiteSpeed webserver. I'm not sure why it's happening. At first I thought it might be a php memory leak, now I'm wondering if it's a configuration issue. Thoughts? Max Connections: 20 PHP_LSAPI_MAX_REQUESTS=60...
  4. Z

    Source Control

    Can anyone tell me if LiteSpeed supports mod_svn?
  5. Z

    Preventing Log Rotation

    I'm trying to prevent LiteSpeed from rotating the logs by setting the rolling size to 2G and the keep days to 0. The reason for preventing LiteSpeed from rotating the logs is to address a problem with awstats in LiteSpeed. Therefore, I'm running awstats as a cron job and use logrotate to...
  6. Z

    Performance Tuning

    I'm trying to determine what would be a good configuration for a site getting on avg 12000 hits per day. I'm running on a VPS with 2GB memory with the LiteSpeed Enterprise version. Are the settings below acceptable? Max Connections: 500 PHP_LSAPI_MAX_REQUESTS=500 PHP_LSAPI_CHILDREN=50...
  7. Z

    Rewrite Rule Problem

    I'm not sure if this is a LiteSpeed issue or not. I'm trying to redirect to a SSL URL if the initial request is not using HTTPS and the REQUEST_URI is /admin.php. If I use the following rewrite ruleset (see below) it seems to redirect to the first SSL site I have in my SSL template list...
  8. Z

    Stats Error Message

    I seem to be getting this message when awstats runs. File already exists: [/www/site1.com/logs/access_log.awstats], Awstats updating might be in progress. The ownership and rights are fine and I'm running 3.3.15 LSWS. Any idea why this message keeps appearing? I should mention that...
  9. Z

    Log Alert Messaging

    I was wondering if the current version of LiteSpeed has the ability to alert the administrator about potential warnings or errors as they appear in the server log? The reason I ask about this option is because I've had a few warning messages appear (cuased primarly by awstats mis configuration)...
  10. Z

    awstats errors

    Seems the awstats module is generating some error messages which I'm not sure exactly why??? Permissions seem to be okay for the log files. Ideas? Thanks First Error: Log file exists with rights rw-r-r owner lsws ERROR File already exists: [/www/site1.com/logs/access_log.awstats], Awstats...
  11. Z

    Permissions

    I have two vhosts setup each using the DocRoot UID setting so that scripts run under the user which owns the directory. The problem I'm having is allowing user1 to access a file in user2 directory. Below is what I'm using in my /etc/groups file. Each the directories are chmod 770...
  12. Z

    Apache Style Configurations

    When overriding php directives in LiteSpeed under "Apache Style Configurations" for a vhost template which server variables are available to reference? Doing this works: php_admin_value error_log /www/$VH_NAME/logs/php_errors.log Doing this doesn't work php_admin_value error_log...
  13. Z

    Custom ERROR 401

    I've created a custom error 401 error page, however the odd thing is that I'm getting the error page instead of the typical user/pw prompt you get with you secure a directory with a realm. When I remove the custom error page reference for the vhost it seems to work fine, however I don't have a...
  14. Z

    PHP Error Logging

    I'm trying to enable PHP error logging and believe that I have everything correctly setup, however I'm not noticing anything in the error log. The following information is display from phpinfo() Loaded Configuration File /etc/php.ini error_log /opt/lsws/logs/php_error.log log_errors On...
  15. Z

    PHP Command Line

    Is it wise to use the version of php compiled using LiteSpeed for scripting? Currently, I have /usr/bin/php linked to the binary located in LiteSpeed's directory /opt/lsws/lsphp5/bin/php and I have noticed some strange behavior. I've since then downloaded PHP and installed the binary...
  16. Z

    Blocking Based On Country

    I'm just wondering if it's possible to block requests coming from a specific country using the IP Geolocation support within LiteSpeed? I know you can do this using a site like blockacountry.com which will generate apache deny statements for a given country. Since Litespeed is doing the...
  17. Z

    Core Files

    I'm having a strange problem since I upgraded from the standard server to Enterprise. It seems that litespeed is crashing and dumping a number of files ie core.17469, core.17470.. I'm using the default build options for php5. Do I need to change an option to prevent this from happening??
  18. Z

    Webserver Error

    I've been observing a strange problem on the litespeed webserver which is preventing litespeed from serving up the php pages. I've noticed lot's of php spawned processes and the litespeed server has the following messages. 2008-05-15 06:29:06.085 INFO [phpLsapi] setuid child process, let...
  19. Z

    awstats log file spec

    When using the awstats add-on module I found a couple of problems. The first problem was easily fixed by downloading 3.3.10 ( addresses the issue of awstats redirecting to https even when it's not enabled). The second issue is with LogFile entry in the awstats configuration file for the...
  20. Z

    PHP SuEXEC

    I seem to be having a strange problem with running PHP in SuEXEC mode. I have created a new virtual host which is using the "ExtApp Set UID Mode" of "DocRoot UID". I created a new user and group (zoom:zoom) for the virtual host and then added the lsws user to it's group. I also did a chmod 770...
Top