[ apache24 (PHP 7) ] Web Server
Re: [ apache24 (PHP 7) ][ 2.4.51.0 ] Web Server
strange, that means the apache binary is missing.
Try to install again the app
Re: [ apache24 (PHP 7) ][ 2.4.51.0 ] Web Server
I tried 3 times, also with admin account. But it is installed, i can see folder and files
TNAS F2-220
TOS 5.0.176
TOS 5.0.176
Re: [ apache24 (PHP 7) ][ 2.4.51.0 ] Web Server
i don't understand why when you run
you get
As example if you type
normally you should get
we can try a teamviewer if you want
Code: Select all
/usr/local/apache24/sys/bin/httpd -f
Code: Select all
No such file or directory
Code: Select all
/usr/local/apache24/sys/bin/httpd -v
Code: Select all
[admin@TNAS ~]$ /usr/local/apache24/sys/bin/httpd -v
Server version: Apache/2.4.51 (Unix)
Server built: Oct 27 2021 00:42:12
Re: [ apache24 (PHP 7) ][ 2.4.51.0 ] Web Server
Thanks a lot for your time! I retried the first command you gave me (first time didn't work) but now i recived this message:outkastm wrote: ↑15 Nov 2021, 04:59 that means the server has never started and the log files are missing
Could you connect with SSH and run :
What message do you get ?Code: Select all
/usr/local/apache24/sys/bin/httpd -f /mnt/appdata/MOD_CONFIG/apache24/httpd.conf -k start
Code: Select all
httpd: Syntax error on line 199 of /mnt/appdata/MOD_CONFIG/apache24/httpd.conf: Cannot load libexec/libphp7.4.so into server: /usr/local/apache24/sys/lib/libkrb5.so.3: symbol k5_dir_filenames, version krb5support_0_MIT not defined in file libkrb5support.so.0 with link time reference
TNAS F2-220
TOS 5.0.176
TOS 5.0.176
Re: [ apache24 (PHP 7) ][ 2.4.51.0 ] Web Server
ok, now run the script to start the app, add sudo if you connect to SSH with administrator account.
Can you access the server at http://yournasip:89 ?
Code: Select all
[admin@TNAS ~]$ sudo /etc/init.d/apache24 start
Password:
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
apache start
Re: [ apache24 (PHP 7) ][ 2.4.51.0 ] Web Server
Ok it partially work. This is the new messaageoutkastm wrote: ↑19 Nov 2021, 05:53 ok, now run the script to start the app, add sudo if you connect to SSH with administrator account.
Can you access the server at http://yournasip:89 ?Code: Select all
[admin@TNAS ~]$ sudo /etc/init.d/apache24 start Password: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 apache start
Code: Select all
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
apache start
chown: invalid user: ‘www-data’
AH00543: httpd: bad user name www-data
[root@TNAS-220 ~]#
TNAS F2-220
TOS 5.0.176
TOS 5.0.176
Re: [ apache24 (PHP 7) ][ 2.4.51.0 ] Web Server
That should be the main issue, the user www-data on which the apache app should run is not available on your machine.
Normally this is a user that came already with the TOS. What is your TOS version ?
Normally this is a user that came already with the TOS. What is your TOS version ?
Re: [ apache24 (PHP 7) ][ 2.4.51.0 ] Web Server
I have tos 4.2.17. Bit i boght My Nas with tos 2.x and never delete that user
TNAS F2-220
TOS 5.0.176
TOS 5.0.176
Re: [ apache24 (PHP 7) ][ 2.4.51.0 ] Web Server
i've sent you a private mesage
Re: [ apache24 (PHP 7) ][ 2.4.51.1 ] Web Server
up to 2.4.51.1
php up to 7.4.26
added the option to create automatically the user www-data if is missing
php up to 7.4.26
added the option to create automatically the user www-data if is missing