سلام من طبق آموزش نصب و راه اندازی lemp در لینوکس centos 7 تونستم nginx و mariadb و php-fpm را نصب کنم. مشکلی که دارم وقتی میخوام سرویس nginx را استارت کنم خطای journalctl -xe را نمایش میدهد.
همچنین موقع reset کردن سرویس انجین ایکس هم خطای Failed to start nginx - high performance web server را میده :
وقتی من همانند توضیحات خطا دستور journalctl -xe را میزنم با خطای بالا مواجه میشوم :
چطور میتونم این مشکل رو برطرف کنم ؟
کد PHP:
# systemctl start nginx
Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for details.
کد PHP:
# systemctl status nginx.service
● nginx.service - nginx - high performance web server
Loaded: loaded (/usr/lib/systemd/system/nginx.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since جمعه 2017-12-22 07:06:13 EST; 15s ago
Docs: http://nginx.org/en/docs/
Process: 61564 ExecStartPre=/usr/sbin/nginx -t -c /etc/nginx/nginx.conf (code=exited, status=1/FAILURE)
Main PID: 61326 (code=exited, status=0/SUCCESS)
دسامبر 22 07:06:13 localhost.localdomain systemd[1]: Starting nginx - high performance web server...
دسامبر 22 07:06:13 localhost.localdomain nginx[61564]: nginx: the configuration file /etc/nginx/nginx.... ok
دسامبر 22 07:06:13 localhost.localdomain nginx[61564]: nginx: [emerg] open() "/srv/www/linux-zone/logs...ed)
دسامبر 22 07:06:13 localhost.localdomain nginx[61564]: nginx: configuration file /etc/nginx/nginx.conf...led
دسامبر 22 07:06:13 localhost.localdomain systemd[1]: nginx.service: control process exited, code=exite...s=1
دسامبر 22 07:06:13 localhost.localdomain systemd[1]: Failed to start nginx - high performance web server.
دسامبر 22 07:06:13 localhost.localdomain systemd[1]: Unit nginx.service entered failed state.
دسامبر 22 07:06:13 localhost.localdomain systemd[1]: nginx.service failed.
Hint: Some lines were ellipsized, use -l to show in full.
چطور میتونم این مشکل رو برطرف کنم ؟
کامنت