3.3.11 eAccelerator install error 404 off litespeedtech.com

brrr

Well-Known Member
#1
3.3.11 + eAccelerator install errors

I am attempting a completely clean install of LSWS Std, using the latest 3.3.11.

The install.sh script runs fine until it comes to installing a cache.

If you select [2] to install eAccelerator, the script fails at that point and generates a 404 off the Litespeedtech.com website because the install is looking for:

http://www.litespeedtech.com/packages/eaccelerator/eaccelerator-php-4.4.8-i386-linux.tar.gz

and that file does not exist on the litespeedtech.com web site, for some reason.

If you manually replace that file location with the 4.4.7 eac version in the relevant install script, install works fine.

Edit: actually, even after editing the admin/misc/enable_phpa.sh install script to correct the eaccelerator file name that is pulled down off litspeedtech.com, the install still went awry - PHP couldn't find eaccelerator and 503 errors also started proliferating and LSWS crashed every time even the simplest php file was run, and then simply refused to start, throwing errors about umb:/ and sockets.

So I've deleted my complete LSWS install and switched back over to Apache.

If I run LSWS again, I think I'll go an re-install a LSWS edition from several versions back. Installing those was always effortless and they just worked. Installing 3.3.11 and trying to get php 4.4.8 configured with a cache on top of 3.3.11 has been a nightmare.
 
Last edited:

brrr

Well-Known Member
#3
You should use the admin console to build your own PHP and opcode cache binary now.
Hmmm. So are you saying that LSWS Std no longer offers to install a pre-built PHP or the option to install a PHP cache? If yes, that would certainly be a step backwards.

At the moment those options still are in install.sh and IMHO should stay in the install procedure for LSWS as it makes setting up a LSWS quick and easy (when the script works).

Anyway, I just downloaded the 3.3.11 installer and ran it again.

The LSWS Std installer still barfs because it can't find the right eaccelerator .gz off your own web site. (See below).

At a minimum you should either fix the install script or upload the correct file onto your server that the script is looking for so that install runs smoothly:

You can setup a global script handler for PHP with the pre-built PHP engine
shipped with this package now. The PHP engine runs as Fast CGI which
outperforms Apache's mod_php.
You can always replace the pre-built PHP engine with your customized PHP
engine.

Setup up PHP [Y/n]: Y
Suffix for PHP script(comma separated list)
PHP:
:

Installing, please wait...


PHP Opcode Cache Setup

In order to maximize the performance of PHP, a pre-built PHP opcode cache
can be installed automatically. An opcode cache increases performance of
PHP scripts by caching them in compiled state, the overhead of compiling
is avoided.

Note: If an opcode cache has been installed already, you do not need to
      change it. If you built PHP binary by yourself, you need to built
      PHP opcode cache from source as well, unless the version of your
      PHP binary is same as the pre-built PHP opcode cache built for.

Would you like to change PHP opcode cache setting [y/N]? Y


Please select from the following third party opcode cache for PHP

0. No Cache
1. Alternative PHP Cache (APC)
2. eAccelerator


Please select (0-2) [1]? 2

--15:49:39--  http://www.litespeedtech.com/packages/eaccelerator/eaccelerator-php-4.4.8-i386-linux.tar.gz
           => `eaccelerator-php-4.4.8-i386-linux.tar.gz'
Resolving www.litespeedtech.com... 209.151.227.121
Connecting to www.litespeedtech.com|209.151.227.121|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
15:49:39 ERROR 404: Not Found.

[WARN] Can not retrieve binary package for eaccelerator from www.litespeedtech.com,
       please download it manually from
           http://www.litespeedtech.com/download.html
       or build binary from source code.
       Please make a symbolic link from eaccelerator.so.4.4.8 to
       /opt/lsws/lib/eaccelerator.so.


AWStats Integration

AWStats is a popular log analyzer that generates advanced web server
statistics. LiteSpeed web server seamlessly integrates AWStats into
its Web Admin Interface. AWStats configuration and statistics update
have been taken care of by LiteSpeed web server.

Note: If AWStats has been installed already, you do not need to
      install again unless a new version of AWStats is available.

Would you like to install AWStats Add-on module [y/N]? Y

--15:50:29--  http://easynews.dl.sourceforge.net/sourceforge/awstats/awstats-6.7.tar.gz
           => `awstats-6.7.tar.gz'
Resolving easynews.dl.sourceforge.net... 69.16.168.245
Connecting to easynews.dl.sourceforge.net|69.16.168.245|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1,089,638 (1.0M) [application/x-tar]

100%[====================================>] 1,089,638      1.95M/s

15:50:30 (1.95 MB/s) - `awstats-6.7.tar.gz' saved [1089638/1089638]

[INFO] Creating a symbolic link from './awstats-6.7' to './awstats'
[OK] AWStats 6.7 has been successfully installed as a litespeed
     add-on module.

Congratulations! The LiteSpeed Web Server has been successfully installed.
Command line script - "/opt/lsws/bin/lswsctrl"
can be used to start or stop the server.

It is recommended to limit access to the web administration interface.
Right now the interface can be accessed from anywhere where this
machine can be reached over the network. Three options are available:
1. If the interface needs to be accessed only from this machine, just
   change the listener for the interface to only listen on the loopback
   interface - localhost(127.0.0.1).
2. If the interface needs to be accessible from limited IP addresses or sub
   networks, then set up access control rules for the interface accordingly.
3. If the interface has to be accessible via internet, SSL (Secure Sockets
   Layer) should be used. Please read respective HOW-TOs on SSL configuration.

To change configurations of the interface, login and click
"Interface Configuration" button on the main page.
The administration interface is located at http://localhost:<ADMIN_PORT>/
or http://<ip_or_Hostname_of_this_machine>:<ADMIN_PORT>/

Would you like to have LiteSpeed Web Server started automatically \nwhen the server restarts [Y/n]? Y

[OK] The startup script has been successfully installed!
Would you like to start it right now [Y/n]?

[OK] lshttpd: pid=17904.

LiteSpeed Web Server started successfully! Have fun![/QUOTE]
 
Top