Search results

  1. G

    OpenSSL CVE-2014-0160

    That command will not indicate that the litespeed server installed on the server is OK. I'm running openssl-0.9.8e, which is not vulnerable, but my litespeed server was still vulnerable, thus the release of 4.2.9 required to fix this.
  2. G

    OpenSSL CVE-2014-0160

    Michael: I get the same timeout as JulesR after I upgraded to 4.2.9. I use the Heartbleed CLI tool available here: https://github.com/FiloSottile/Heartbleed Would like to confirm that this timeout is the expected response, for this test and a patch Litespeed. Testing www.litespeedtech.com also...
  3. G

    503 Service Unavailable using RewriteRule to

    some.host.com is a Virtual Host. It has a Web Server External App configured: - Name: another.host.net - Address: another.host.net:80 - Max Connections: 50 - Initial Request Timeout (secs): 2 - Retry Timeout (secs): 0 - Response Buffering: No And it has Rewrite enabled with the following rule...
  4. G

    [Resolved] 4.2.4 won't ForceType per .htaccess

    Thank you. That fixed it.
  5. G

    [Resolved] 4.2.4 won't ForceType per .htaccess

    My .htaccess file: <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{HTTP_USER_AGENT} ^MJ12bot/v1\.0\.8.*$ RewriteRule .* - [F] </IfModule> <FilesMatch "^(/||[en/]*index\.html|[en/]*Evenements.*\.html)$"> ForceType application/x-httpd-php </FilesMatch> With lsws 4.2.3, the...
  6. G

    Custom log format for use with CloudFlare

    If there is no HTTP-X-Forwarded-For header, the client IP is logged, as it should. I stopped using CloudFlare a while ago, and never disabled that option, and the correct IP addresses are logged for all requests.
  7. G

    [Resolved] lsphp: failed to map segment from shared object: Cannot allocate memory

    Got it! I grep-ed for 100M in lsws/conf/* and found it in Default.xml (and some other virtualhosts config files). I removed the virtualhost-specific external apps and PHP script handlers (not sure why I had them!) That fixed the issue! Thanks for the help.
  8. G

    [Resolved] lsphp: failed to map segment from shared object: Cannot allocate memory

    From a .php script, run through LSWS: core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (blocks, -f) unlimited pending signals (-i) 11896 max locked memory (kbytes...
  9. G

    [Resolved] lsphp: failed to map segment from shared object: Cannot allocate memory

    Will do as soon as my server comes back; provider is having power issues in their data center. *edit: infos sent.
  10. G

    [Resolved] lsphp: failed to map segment from shared object: Cannot allocate memory

    If you guys want SSH access to the server, and access to the LSWS admin portal, that can be arranged.
  11. G

    [Resolved] lsphp: failed to map segment from shared object: Cannot allocate memory

    They are all 64-bit: # file /usr/local/lsws/lsphp5/lib/php/20090626/*.so /usr/local/lsws/lsphp5/lib/php/20090626/bcmath.so: ELF 64-bit LSB shared object, AMD x86-64, version 1 (SYSV), not stripped /usr/local/lsws/lsphp5/lib/php/20090626/dba.so: ELF 64-bit LSB shared object, AMD...
  12. G

    [Resolved] lsphp: failed to map segment from shared object: Cannot allocate memory

    # ulimit -a core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (blocks, -f) unlimited pending signals (-i) 11896 max locked memory (kbytes, -l) 32 max memory size...
  13. G

    [Resolved] lsphp: failed to map segment from shared object: Cannot allocate memory

    Those are currently set to 200M and 768M. I tried setting them to 0 and 0, but that didn't help. Should I try other numbers ?
  14. G

    [Resolved] lsphp: failed to map segment from shared object: Cannot allocate memory

    Adding that gives the exact same result (same executable is compiled, with same errors when used in LSWS).
  15. G

    [Resolved] lsphp: failed to map segment from shared object: Cannot allocate memory

    The default config line worked; I was able to enable all modules with a LSPHP compiled with that. But it's missing things I need, like curl, freetype, openssl... I'm going to try to find only the ones I need (difficult, since I run a lot of PHP apps on my server, and don't know exactly what they...
  16. G

    [Resolved] lsphp: failed to map segment from shared object: Cannot allocate memory

    From phpinfo: memory_limit 768M (same as php.ini) Same php.ini file on both servers. No opcode cache enabled. I tried to remove the 'shared' from my configure command. It didn't help. Now I'm trying the default configure line that LSWS suggests.
  17. G

    [Resolved] lsphp: failed to map segment from shared object: Cannot allocate memory

    I was able to make a simple PHP page load by disabling/enabling the following modules: extension=gd.so ;extension=imap.so ;extension=ldap.so extension=mbstring.so ;extension=mysqli.so extension=mysql.so ;extension=pdo.so ;extension=pdo_mysql.so ;extension=pdo_pgsql.so...
  18. G

    [Resolved] lsphp: failed to map segment from shared object: Cannot allocate memory

    I'm on a new dedicated server with more RAM (1.5GB) than my previous install which used the same modules (same php.ini). I was on Fedora before, with 1GB of RAM. Now that I compare, I see that I compiled --with-pear, and --with-mime-magic, and without on my old server. I'll try to change those...
Top