Re: [ apache24 (PHP 7) ][ 2.4.51.0 ] Web Server
Posted: 18 Nov 2021, 06:17

strange, that means the apache binary is missing.
Try to install again the app
Bug Reports, Operation Guides, and Experience Sharing
https://forum.terra-master.com/en/

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
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 referenceCode: 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
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 ~]#I have tos 4.2.17. Bit i boght My Nas with tos 2.x and never delete that user