[Resolved] EA4

Status
Not open for further replies.

Hedloff

Well-Known Member
#1
Hello,

I just used the old installer command on a new server with EA4, but it seem to work fine except the username/password was not correctly added. I saw the new wiki on installation after I had installed it.

So when I logged into LiteSpeed WebAdmin Console I saw this error:
Code:
2016-08-18 15:22:45.000 ERROR Wrapper script does not exist: /usr/local/lsws/admin/misc/ap_lsws.sh.
Seen that before?
How can I fix that?

I see the file is on the server:
Code:
-rwxr-xr-x  1 root nobody 1.8K Aug 18 15:23 ap_lsws.sh
 
Last edited by a moderator:
L

Long

Guest
#2
Hi,

Did you try the command /usr/local/lsws/admin/misc/lsup.sh -f to see whether it can solve the issue?
 

Hedloff

Well-Known Member
#4
Which "old installer command" do you mean?
You recommend to use auto installer to install litespeed.

https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cpanel:auto-installer
Yes, that's the one I used. Password wasn't set with that so I had to manually set it.

The ERROR are not there anymore.
So to only issue I got so far is to get lscache folder working that isn't created under each users /home/ folder.

I followed this guide:
https://www.litespeedtech.com/suppo..._wiki:cache:common_installation:cpanel-shared
Code:
/usr/local/apache/conf/userdata# cat lscache.conf
<IfModule LiteSpeed>
CacheRoot lscache/$vh_domain
</IfModule>
I ran:
Code:
/scripts/ensure_vhost_includes --all-users
But none lscache folder was created. Any tips? I have checked my old server running LiteSpeed 5.0.17 and they work fine.
But this has 5.1.7 version.
 
Last edited by a moderator:

Hedloff

Well-Known Member
#5
Did try downgrading to 5.0.17 but that didn't help:
Code:
/scripts/ensure_vhost_includes --all-users
/usr/sbin/httpd: line 87: /usr/local/apache/bin/httpd_ls_bak: No such file or directory
/usr/sbin/httpd: line 87: /usr/local/apache/bin/httpd_ls_bak: No such file or directory
/usr/sbin/httpd: line 87: /usr/local/apache/bin/httpd_ls_bak: No such file or directory
warn [ensure_vhost_includes] Invalid Apache Config File, /usr/sbin/httpd
/usr/sbin/httpd: line 87: /usr/local/apache/bin/httpd_ls_bak: No such file or directory

/usr/sbin/httpd: line 87: /usr/local/apache/bin/httpd_ls_bak: No such file or directory
warn [ensure_vhost_includes] Invalid Apache Config File, /usr/sbin/httpd
warn [ensure_vhost_includes] Unable to detect Apache version from binary
/usr/sbin/httpd: line 87: /usr/local/apache/bin/httpd_ls_bak: No such file or directory
 
Last edited by a moderator:

Hedloff

Well-Known Member
#6
I found the issue with lscache folder so it would be great if you update your wiki or create a new for EA4.
I needed to place the .conf file in folder /etc/apache2/conf.d/userdata/ and not /usr/local/apache/conf/userdata/ :)
 

Pong

Administrator
Staff member
#7
Thanks for the recommendation. We have updated our wiki to reflect recently cPanel EA4 directory change.
 

Hedloff

Well-Known Member
#8
Tried rebuilding a matching LSPHP but got this error:
Code:
==============================================
Start building PHP 7.0.8 with LSAPI
==============================================
Mon Aug 22 15:40:37 GMT-2 2016

*********************************************
**
** BUILD MATCHING PHP FAILED **************
**
** -- ERROR -- Cannot find EasyApache PHP source directory, please try to run EasyApache first.
*********************************************
 
Last edited by a moderator:
Status
Not open for further replies.
Top