Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ispconfig + ubuntu 22.04 doesn't work #64

Open
andreabel1981 opened this issue Oct 19, 2023 · 5 comments
Open

ispconfig + ubuntu 22.04 doesn't work #64

andreabel1981 opened this issue Oct 19, 2023 · 5 comments
Assignees
Labels
question Further information is requested

Comments

@andreabel1981
Copy link

this is the only command I can run on the isp server that I have a response, I don't understand if the script doesn't work with this version or something is missing to install

root@server6:/etc/zabbix# /etc/zabbix/zabbix_php_fpm_discovery.sh POOL_PATH debug
Debug mode enabled
Current user is root
Status path to be used: /php-fpm-status
Local directory is /etc/zabbix
Helper script /etc/zabbix/zabbix_php_fpm_status.sh is reachable
Reading cache file /etc/zabbix/php_fpm.cache...
Started analysis of pool www, PID 904
Checking process: php-fpm8. 904 www-data 4u unix 0xffff94aa6ad6d540 0t0 25689 type=STREAM
Error: specified socket type=STREAM is not valid
Checking process: php-fpm8. 904 www-data 10u unix 0xffff94aa6f170440 0t0 28005 /run/php/php8.1-fpm.sock type=STREAM
Found socket /run/php/php8.1-fpm.sock
Failed to get status for pool www, socket /run/php/php8.1-fpm.sock, status path /php-fpm-status
Status script returned: Utility 'cgi-fcgi' not found. Please, install it first.
Error: socket /run/php/php8.1-fpm.sock didn't return valid data
Error: failed to discover information for pool www
Processing pools from old cache...
Saving new cache file /etc/zabbix/php_fpm.cache...
Resulting JSON data for Zabbix:
{"data":[]}root@server6:/etc/zabbix# ^C

@welcome
Copy link

welcome bot commented Oct 19, 2023

Hello welcome GIF
Thank you so much for opening your first issue here! 🌸
✅ I hope you have kindly checked any other opened issues to make sure that it's not a duplicate 🙏
✅ And you have read the Wiki of this project that contains a full documentation, specifically the Installation instructions and Troubleshooting guide 😇
ℹ️ You may add any additional information by editing your original post or by posting additional comments below.
ℹ️ We need some time to read your issue and verify it, so please, be patient 😇
ℹ️ Any questions or comments regarding your issue will be posted here below that may require your response. So, please, don't miss the Github notifications about new updates on this topic 😉

We will kindly investigate the information you provided and hopefully return to you as soon as possible! 😊

@rvalitov rvalitov self-assigned this Oct 24, 2023
@rvalitov
Copy link
Owner

According to the log the cgi-fcgi utility is not installed. Please install it.
Please check the installation guide here https://github.com/rvalitov/zabbix-php-fpm/wiki/Installation#11-install-prerequisites
For Ubuntu it's the package libfcgi-bin

@rvalitov rvalitov added the question Further information is requested label Oct 24, 2023
@andreabel1981
Copy link
Author

root@server4:~# apt-get -y install libfcgi-bin
Reading package lists... Done
Building dependency tree
Reading state information... Done
libfcgi-bin is already the newest version (2.4.0-10build1).
The following package was automatically installed and is no longer required:
squashfs-tools
Use 'apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 113 not upgraded.

the package is installed, I have Ubuntu 20.04

@rvalitov
Copy link
Owner

Last time I made a test with Ubuntu 20, not 22. I will check again anyway. Thank you for reporting!

@rvalitov rvalitov reopened this Oct 24, 2023
@andreabel1981
Copy link
Author

the version is 20.04 not 22

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants