Hello
I've done some further digging around and found this in a nginx error.log file. Can you please recommend dwhat my next steps might be?
sudo cat /var/log/nginx/error.log
[sudo] password for pbx2:
2022/03/17 08:37:03 [crit] 720#720: *17 connect() to unix:/var/run/php/php7.3-fpm.sock failed (2: No such file or directory) while connecting to upstream, client: 192.168.2.52, server: fusionpbx, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.3-fpm.sock:", host: "192.168.2.25"
2022/03/17 08:37:03 [error] 720#720: *17 open() "/var/www/fusionpbx/favicon.ico" failed (2: No such file or directory), client: 192.168.2.52, server: fusionpbx, request: "GET /favicon.ico HTTP/1.1", host: "192.168.2.25", referrer: "
https://192.168.2.25/"
2022/03/17 08:40:28 [crit] 720#720: *19 connect() to unix:/var/run/php/php7.3-fpm.sock failed (2: No such file or directory) while connecting to upstream, client: 192.168.2.25, server: fusionpbx, request: "GET /core/user_settings/user_dashboard.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.3-fpm.sock:", host: "192.168.2.25"
2022/03/17 08:40:29 [error] 720#720: *19 open() "/var/www/fusionpbx/favicon.ico" failed (2: No such file or directory), client: 192.168.2.25, server: fusionpbx, request: "GET /favicon.ico HTTP/1.1", host: "192.168.2.25", referrer: "
https://192.168.2.25/core/user_settings/user_dashboard.php"
2022/03/17 08:42:43 [crit] 720#720: *21 connect() to unix:/var/run/php/php7.3-fpm.sock failed (2: No such file or directory) while connecting to upstream, client: 192.168.2.25, server: fusionpbx, request: "GET /login.php?path=%2Fcore%2Fdomains%2Fdomains.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.3-fpm.sock:", host: "192.168.2.25"
2022/03/17 08:59:24 [warn] 585#585: the "ssl" directive is deprecated, use the "listen ... ssl" directive instead in /etc/nginx/sites-enabled/fusionpbx:181
2022/03/17 08:59:37 [warn] 716#716: the "ssl" directive is deprecated, use the "listen ... ssl" directive instead in /etc/nginx/sites-enabled/fusionpbx:181
2022/03/17 09:02:57 [crit] 718#718: *1 connect() to unix:/var/run/php/php7.3-fpm.sock failed (2: No such file or directory) while connecting to upstream, client: 192.168.2.25, server: fusionpbx, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.3-fpm.sock:", host: "192.168.2.25"
2022/03/17 09:08:09 [warn] 580#580: the "ssl" directive is deprecated, use the "listen ... ssl" directive instead in /etc/nginx/sites-enabled/fusionpbx:181
2022/03/17 09:08:26 [warn] 717#717: the "ssl" directive is deprecated, use the "listen ... ssl" directive instead in /etc/nginx/sites-enabled/fusionpbx:181
2022/03/17 09:19:53 [crit] 720#720: *3 connect() to unix:/var/run/php/php7.3-fpm.sock failed (2: No such file or directory) while connecting to upstream, client: 192.168.2.52, server: fusionpbx, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.3-fpm.sock:", host: "192.168.2.25"
2022/03/17 09:19:53 [error] 720#720: *3 open() "/var/www/fusionpbx/favicon.ico" failed (2: No such file or directory), client: 192.168.2.52, server: fusionpbx, request: "GET /favicon.ico HTTP/1.1", host: "192.168.2.25", referrer: "
https://192.168.2.25/"
There doesn't seem to be a php7.3-fpm
/var/run$ ls
agentx dmeventd-client log plymouth tmpfiles.d
alsa dmeventd-server lvm postgresql udev
atd.pid exim4 memcached sendsigs.omit.d udisks2
avahi-daemon fail2ban motd.d shm user
blkid freeswitch motd.dynamic snmpd.pid utmp
console-setup gdm3 mount speech-dispatcher uuidd
credentials gdm3.pid network sshd xrdp
crond.pid initctl NetworkManager sshd.pid xtables.lock
crond.reboot initramfs nginx.pid sudo
dbus lock ntpd.pid systemd
I tried to restart the php service, but i won't start because it doesn't exist?
pbx2@fusionpbx:~$ sudo service php7.3-fpm restart
Failed to restart php7.3-fpm.service: Unit php7.3-fpm.service is masked.
And there isn't a "favicon.ico file
pbx2@fusionpbx:/var/www/fusionpbx$ ls
app index.php logout.php readme.md robots.txt secure
core login.php project_root.php resources root.php themes
I believe that nginx is running
systemctl status nginx
● nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset:>
Active: active (running) since Thu 2022-03-17 09:08:26 EDT; 52min ago
Docs: man:nginx(8)
Process: 580 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_proces>
Process: 717 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; (co>
Main PID: 718 (nginx)
Tasks: 3 (limit: 6840)
Memory: 12.7M
CPU: 175ms
CGroup: /system.slice/nginx.service
├─718 nginx: master process /usr/sbin/nginx -g daemon on; master_p>
├─719 nginx: worker process
└─720 nginx: worker process
Warning: some journal files were not opened due to insufficient permissions.