4.0.0.RMD2 breaks webserver

Moderator: Lillian.W@AST

Post Reply
TinCanFury
Posts: 86
youtube meble na wymiar Warszawa
Joined: Sat Sep 19, 2015 7:12 am

4.0.0.RMD2 breaks webserver

Post by TinCanFury »

Just installed 4.0.0.RMD2 and now I can't connect to my web server. Not even sure where to start, Web Center says everything is working, but it's not.
User avatar
orion
Posts: 3482
Joined: Wed May 29, 2013 11:09 am

Re: 4.0.0.RMD2 breaks webserver

Post by orion »

Mine is just fine. Not sure what are the possible cases. You'd better to contact to asustor support.
TinCanFury
Posts: 86
Joined: Sat Sep 19, 2015 7:12 am

Re: 4.0.0.RMD2 breaks webserver

Post by TinCanFury »

apache2 doesn't even seem to be installed. and `ps aux` doesn't show apache running. I'm very confused now.
User avatar
father.mande
Posts: 1805
Joined: Sat Sep 12, 2015 2:55 am
Location: La Rochelle (France)

Re: 4.0.0.RMD2 breaks webserver

Post by father.mande »

Hi,

Do a verification that new Web server is installed
open a terminal (ssh root/your_admin_password (or admin)
do : apkg --list
and verify that APKG : httpd-2.4.43 is installed and available (apkg --info-installed httpd-2.4.43 | grep Enabled)

if APKG is not listed, install it using App. Central

Philippe.
AS6602T / AS5202T /AS5002T / AS1002T / FS6706T
zserban
Posts: 2
Joined: Tue Oct 19, 2021 8:19 pm

Re: 4.0.0.RMD2 breaks webserver

Post by zserban »

I have issues too. The package is installed.

If i go with ssh and try to start the server manually i get this error:

apache2: Syntax error on line 56 of /usr/local/AppCentral/httpd-2.4.43/data/conf/apache2.conf: Syntax error on line 1 of /usr/local/AppCentral/httpd-2.4.43/data/conf/mods-enabled/php.conf: Cannot load /usr/local/AppCentral/php7/libphp7.so into server: libgnutls.so.26: cannot open shared object file: No such file or directory

But system is using:
libgnutls.so.30 (libc6,x86-64) => /usr/builtin/lib/libgnutls.so.30
libgnutls.so (libc6,x86-64) => /usr/builtin/lib/libgnutls.so
zserban
Posts: 2
Joined: Tue Oct 19, 2021 8:19 pm

Re: 4.0.0.RMD2 breaks webserver

Post by zserban »

Even trried to symlink 30 to 26...but thats not fixing it:
apache2: Syntax error on line 56 of /usr/local/AppCentral/httpd-2.4.43/data/conf/apache2.conf: Syntax error on line 1 of /usr/local/AppCentral/httpd-2.4.43/data/conf/mods-enabled/php.conf: Cannot load /usr/local/AppCentral/php7/libphp7.so into server: /usr/builtin/lib/libgnutls.so.26: version `GNUTLS_2_12' not found (required by /usr/local/lib/libzip.so.5)

So, as far as i can tell, there is some building issues with Php7 that is preventing apache2 to work properly.
User avatar
orion
Posts: 3482
Joined: Wed May 29, 2013 11:09 am

Re: 4.0.0.RMD2 breaks webserver

Post by orion »

Did you install PHP 7 under AppCentral? I don't need to do anything manually.
maksmedia
Posts: 1
Joined: Fri Apr 02, 2021 12:26 am

Re: 4.0.0.RMD2 breaks webserver

Post by maksmedia »

Hello, I have the same issue after upgade.
How can I resolve the issue?
TinCanFury
Posts: 86
Joined: Sat Sep 19, 2015 7:12 am

Re: 4.0.0.RMD2 breaks webserver

Post by TinCanFury »

since it seems Asustor is unable to fix this issue, here is what I found and emailed to their support:
I found,
$ /volume1/.@plugins/AppCentral/httpd-2.4.43/data/init.d/S54apache2
usage: /volume1/.@plugins/AppCentral/httpd-2.4.43/data/init.d/S54apache2 {start|stop|restart}

but I can't run it as sudo.

if I copy it to
/usr/builtin/etc/init.d/

overwriting the original one there, then I can run ./S54apache2 start
and the webserver starts.
Post Reply

Return to “[Official] For AS50xx/51xx Series”