نقل قول نوشته اصلی توسط mesazvar نمایش پست ها
کد HTML:
[root@server ~]# journalctl -xe | grep httpd
-- Subject: Unit httpd.service has begun start-up
-- Unit httpd.service has begun starting up.
Oct 14 13:49:51 server.makoranhost.net httpd[9207]: AH00526: Syntax error on line 62 of /usr/local/directadmin/data/users/admin/httpd.conf:
Oct 14 13:49:51 server.makoranhost.net httpd[9207]: SSLCertificateFile: file '/usr/local/directadmin/data/users/admin/domains/makoranhost.net.cert' does not exist or is empty
Oct 14 13:49:51 server.makoranhost.net systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
-- Subject: Unit httpd.service has failed
-- Unit httpd.service has failed.
Oct 14 13:49:51 server.makoranhost.net systemd[1]: Unit httpd.service entered failed state.
Oct 14 13:49:51 server.makoranhost.net systemd[1]: httpd.service failed.
Oct 14 13:50:01 server.makoranhost.net systemd[1]: Unit httpd.service cannot be reloaded because it is inactive.
-- Subject: Unit httpd.service has begun start-up
-- Unit httpd.service has begun starting up.
Oct 14 13:50:02 server.makoranhost.net httpd[10383]: AH00526: Syntax error on line 62 of /usr/local/directadmin/data/users/admin/httpd.conf:
Oct 14 13:50:02 server.makoranhost.net httpd[10383]: SSLCertificateFile: file '/usr/local/directadmin/data/users/admin/domains/makoranhost.net.cert' does not exist or is empty
Oct 14 13:50:02 server.makoranhost.net systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
-- Subject: Unit httpd.service has failed
-- Unit httpd.service has failed.
Oct 14 13:50:02 server.makoranhost.net systemd[1]: Unit httpd.service entered failed state.
Oct 14 13:50:02 server.makoranhost.net systemd[1]: httpd.service failed.
-- Subject: Unit httpd.service has begun start-up
-- Unit httpd.service has begun starting up.
Oct 14 13:50:02 server.makoranhost.net httpd[10485]: AH00526: Syntax error on line 62 of /usr/local/directadmin/data/users/admin/httpd.conf:
Oct 14 13:50:02 server.makoranhost.net httpd[10485]: SSLCertificateFile: file '/usr/local/directadmin/data/users/admin/domains/makoranhost.net.cert' does not exist or is empty
Oct 14 13:50:02 server.makoranhost.net systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
-- Subject: Unit httpd.service has failed
-- Unit httpd.service has failed.
Oct 14 13:50:02 server.makoranhost.net systemd[1]: Unit httpd.service entered failed state.
Oct 14 13:50:02 server.makoranhost.net systemd[1]: httpd.service failed.
-- Subject: Unit httpd.service has begun start-up
-- Unit httpd.service has begun starting up.
Oct 14 13:50:07 server.makoranhost.net httpd[11832]: AH00526: Syntax error on line 62 of /usr/local/directadmin/data/users/admin/httpd.conf:
Oct 14 13:50:07 server.makoranhost.net httpd[11832]: SSLCertificateFile: file '/usr/local/directadmin/data/users/admin/domains/makoranhost.net.cert' does not exist or is empty
Oct 14 13:50:07 server.makoranhost.net systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
-- Subject: Unit httpd.service has failed
-- Unit httpd.service has failed.
Oct 14 13:50:07 server.makoranhost.net systemd[1]: Unit httpd.service entered failed state.
Oct 14 13:50:07 server.makoranhost.net systemd[1]: httpd.service failed.
-- Subject: Unit httpd.service has begun start-up
-- Unit httpd.service has begun starting up.
Oct 14 13:50:46 server.makoranhost.net httpd[16060]: AH00526: Syntax error on line 62 of /usr/local/directadmin/data/users/admin/httpd.conf:
Oct 14 13:50:46 server.makoranhost.net httpd[16060]: SSLCertificateFile: file '/usr/local/directadmin/data/users/admin/domains/makoranhost.net.cert' does not exist or is empty
Oct 14 13:50:46 server.makoranhost.net systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
-- Subject: Unit httpd.service has failed
-- Unit httpd.service has failed.
Oct 14 13:50:46 server.makoranhost.net systemd[1]: Unit httpd.service entered failed state.
Oct 14 13:50:46 server.makoranhost.net systemd[1]: httpd.service failed.
Oct 14 13:51:01 server.makoranhost.net systemd[1]: Unit httpd.service cannot be reloaded because it is inactive.
-- Subject: Unit httpd.service has begun start-up
-- Unit httpd.service has begun starting up.
Oct 14 13:51:01 server.makoranhost.net httpd[17647]: AH00526: Syntax error on line 62 of /usr/local/directadmin/data/users/admin/httpd.conf:
Oct 14 13:51:01 server.makoranhost.net httpd[17647]: SSLCertificateFile: file '/usr/local/directadmin/data/users/admin/domains/makoranhost.net.cert' does not exist or is empty
Oct 14 13:51:01 server.makoranhost.net systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
-- Subject: Unit httpd.service has failed
-- Unit httpd.service has failed.
Oct 14 13:51:01 server.makoranhost.net systemd[1]: Unit httpd.service entered failed state.
Oct 14 13:51:01 server.makoranhost.net systemd[1]: httpd.service failed.
-- Subject: Unit httpd.service has begun start-up
-- Unit httpd.service has begun starting up.
Oct 14 13:51:02 server.makoranhost.net httpd[17687]: AH00526: Syntax error on line 62 of /usr/local/directadmin/data/users/admin/httpd.conf:
Oct 14 13:51:02 server.makoranhost.net httpd[17687]: SSLCertificateFile: file '/usr/local/directadmin/data/users/admin/domains/makoranhost.net.cert' does not exist or is empty
Oct 14 13:51:02 server.makoranhost.net systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
-- Subject: Unit httpd.service has failed
-- Unit httpd.service has failed.
Oct 14 13:51:02 server.makoranhost.net systemd[1]: Unit httpd.service entered failed state.
Oct 14 13:51:02 server.makoranhost.net systemd[1]: httpd.service failed.
-- Subject: Unit httpd.service has begun start-up
-- Unit httpd.service has begun starting up.
Oct 14 13:51:07 server.makoranhost.net httpd[17696]: AH00526: Syntax error on line 62 of /usr/local/directadmin/data/users/admin/httpd.conf:
Oct 14 13:51:07 server.makoranhost.net httpd[17696]: SSLCertificateFile: file '/usr/local/directadmin/data/users/admin/domains/makoranhost.net.cert' does not exist or is empty
Oct 14 13:51:07 server.makoranhost.net systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
-- Subject: Unit httpd.service has failed
-- Unit httpd.service has failed.
Oct 14 13:51:07 server.makoranhost.net systemd[1]: Unit httpd.service entered failed state.
Oct 14 13:51:07 server.makoranhost.net systemd[1]: httpd.service failed.
-- Subject: Unit httpd.service has begun start-up
-- Unit httpd.service has begun starting up.
Oct 14 13:52:01 server.makoranhost.net httpd[17851]: AH00526: Syntax error on line 62 of /usr/local/directadmin/data/users/admin/httpd.conf:
Oct 14 13:52:01 server.makoranhost.net httpd[17851]: SSLCertificateFile: file '/usr/local/directadmin/data/users/admin/domains/makoranhost.net.cert' does not exist or is empty
Oct 14 13:52:01 server.makoranhost.net systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
-- Subject: Unit httpd.service has failed
-- Unit httpd.service has failed.
Oct 14 13:52:01 server.makoranhost.net systemd[1]: Unit httpd.service entered failed state.
Oct 14 13:52:01 server.makoranhost.net systemd[1]: httpd.service failed.
-- Subject: Unit httpd.service has begun start-up
-- Unit httpd.service has begun starting up.
Oct 14 13:52:06 server.makoranhost.net httpd[17879]: AH00526: Syntax error on line 62 of /usr/local/directadmin/data/users/admin/httpd.conf:
Oct 14 13:52:06 server.makoranhost.net httpd[17879]: SSLCertificateFile: file '/usr/local/directadmin/data/users/admin/domains/makoranhost.net.cert' does not exist or is empty
Oct 14 13:52:06 server.makoranhost.net systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
-- Subject: Unit httpd.service has failed
-- Unit httpd.service has failed.
Oct 14 13:52:06 server.makoranhost.net systemd[1]: Unit httpd.service entered failed state.
Oct 14 13:52:06 server.makoranhost.net systemd[1]: httpd.service failed.
-- Subject: Unit httpd.service has begun start-up
-- Unit httpd.service has begun starting up.
Oct 14 13:53:02 server.makoranhost.net httpd[18043]: AH00526: Syntax error on line 62 of /usr/local/directadmin/data/users/admin/httpd.conf:
Oct 14 13:53:02 server.makoranhost.net httpd[18043]: SSLCertificateFile: file '/usr/local/directadmin/data/users/admin/domains/makoranhost.net.cert' does not exist or is empty
Oct 14 13:53:02 server.makoranhost.net systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
-- Subject: Unit httpd.service has failed
-- Unit httpd.service has failed.
Oct 14 13:53:02 server.makoranhost.net systemd[1]: Unit httpd.service entered failed state.
Oct 14 13:53:02 server.makoranhost.net systemd[1]: httpd.service failed.
-- Subject: Unit httpd.service has begun start-up
-- Unit httpd.service has begun starting up.
Oct 14 13:53:07 server.makoranhost.net httpd[18069]: AH00526: Syntax error on line 62 of /usr/local/directadmin/data/users/admin/httpd.conf:
Oct 14 13:53:07 server.makoranhost.net httpd[18069]: SSLCertificateFile: file '/usr/local/directadmin/data/users/admin/domains/makoranhost.net.cert' does not exist or is empty
Oct 14 13:53:07 server.makoranhost.net systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
-- Subject: Unit httpd.service has failed
-- Unit httpd.service has failed.
Oct 14 13:53:07 server.makoranhost.net systemd[1]: Unit httpd.service entered failed state.
Oct 14 13:53:07 server.makoranhost.net systemd[1]: httpd.service failed.

=================
برای nginx نتونستم این پاسخ رو داد

[root@server ~]# /etc/nginx/nginx.conf
-bash: /etc/nginx/nginx.conf: Permission denied
سلام
هم فایل nginx و هم فایل آپاچی تون خطای سینتکس و دستوری داره.

مایل بودید دسترسی روت سرور رو در تلگرام یا از طریق تیکت به واحد فروش ارسال کنید، به جهت این که بررسی فنی نیاز داره با هزینه قابل رفع هست.