MRatWork Forum by Mustafa Ramadhan
Sawo Project - Kloxo-MR Discussions => Kloxo-MR Technical Helps => Topic started by: azzureal on 2015-07-08, 01:20:10
-
The account has many domains.
But only one domain got this error '(2)No such file or directory: FastCGI: neither POLLIN nor POLLOUT...'...
I ran fixphp , fixweb and restart-web -y
But the same.
How can i Solve it?
[root@tiger ~]# sh /script/sysinfo
A. Kloxo-MR: 7.0.0.b-2014122501
B. OS: CentOS release 6.6 (Final) x86_64
C. Apps:
1. MySQL: mysql55-5.5.40-2.ius.el6.x86_64
2. PHP: php53u-5.3.29-1.ius.el6.x86_64
3. Httpd: httpd-2.2.29-1.mr.el6.x86_64
4. Lighttpd: --uninstalled--
5. Hiawatha: hiawatha-9.9.0-f.3.mr.el6.x86_64
6. Nginx: --uninstalled--
7. Cache: --uninstalled--
8. Dns: --uninstalled--
9. Qmail: qmail-toaster-1.03-1.3.45.mr.el6.x86_64
- with: courier-imap-toaster-4.1.2-1.3.18.mr.el6.x86_64
-
Update your Kloxo-MR with 'yum clean all; yum update -y; sh /script/cleanup'. Your Kloxo-MR is very old.
-
i have still the same problum no one helps here some are trying
-
I had a similar FastCGI error. In Kloxo-MR panel - Webservice configure I selected fcgid_event for PHP-type in stead of php-fpm_event. Then 'sh /script/fixphp; sh /script/fixweb; sh /script/restart-web -y'. No more error recorded in the error log in my case. You can try that to see if it helps.
-
Ref my last msg. Maybe not a good idea after all. As a result I got other problems with my websites, so I had to go back to php-fpm_type again, and the fastcgi errors are poping up again in the error log again. Sorry. But I belive the problem must be with mod_fastcgi.
-
how to fix mod_fastcgi ?
-
Mod_fastCGI is just not somthing that can be fixed. It is old/depeciated, but have made life easier for many small sites for several years. Kloxo-MR use mod_fastcgi if you select php-fpm as php type in webserver configure. I have found it to be the best choise for my sites, and have to live with the error reports mentioned in the header. You can try out the other options like for example proxy_fcgi_event, and the error reports will stop. It requires sethandlers to work, and I got several permission issues with it so i switched back to php-fpm. I am not at all an expert on these matters, but if anybody have experience with proxy_fcgi_event I would be glad to read how to configure this in Kloxo-MR.
-
In my case, some outside banners had problems.
So I changed dns of resolved.conf.
Pleae try.
-
@azzureal
I tried your suggestion to edit /etc/resolv.conf with other nameserver IPs like my static VPS IP, 127.0.0.1 and 8.8.8.8 but observed no change to my domain error log, where the following error is recorded exactly every 5 minutes:
[Tue Sep 04 04:45:06 2018] [fastcgi:error] [pid 1135] [mod_fastcgi.c(2241):] [FastCGI: neither POLLIN nor POLLOUT...] [mydomain.com]
-
I changed to 1.1.1.1 because it was blocked by adz of my site.
-
mine still not working
-
any help
-
help me
-
Try change httpd (apache) from 2.2 to 2.4 version.
-
I use apache 2.4 and have similar error logged on all domains when using php-fpm_event in webserver configure
Error comes at regular intervals and looks like this:
[Mon Apr 22 10:39:49 2019] [fastcgi:error] [pid 15499] [mod_fastcgi.c(2241):] [FastCGI: neither POLLIN nor POLLOUT...] [mydomain.com]
If I switch to proxy_fcgi_event in webserver configure then error goes away.
So I believe the problem is caused by mod_fastcgi which is in use when using php-fpm mode.
AJ
-
Any issues for proxy_fcgi_event?.
-
I have 2 different VPS, both KVM-based, sysinfo is identical on both, and I have identical website on both.
When using proxy_fcgi_event one of the servers has no issues, but the other server have directory permission errors. On that server, if I set certain directory permissions to 777 there are no issues.
When I swithch both servers to php-fpm_event mode then domain error log shows [FastCGI: neither POLLIN nor POLLOUT...] [mydomain.com] at regular intervals on both servers.
With this error, do you thin that the response time will slow down significatly if there are many logged in to the domain at the same time ?
-
This forum have cache directory issue if using proxy_fcgi. Need change ownership to apache:apache (better than permissions to 777).
-
how to change ?
-
USe 'file manager' in Kloxo-MR panel for cache directory (example: '/home/tester/domain.com/cache directory').
-
cant find can you give exact location
-
Update your Kloxo-MR and then try fastcgi_event and proxy_fcgid
-
@nikobellicgamerin
If you use fastcgi_event or proxy_fcgid as PHP type in Webserver config then, as Mustafa have explained, you will most likely experience some file write issues, especially for files and directories used for various types of cache files. For example the cache directory located in the file sturcture below your domain root. This can be fixed as Mustafa has explained, by changing ownership to apache:apache for user and group for those directories & files concerned, by using the change ownership tool available in Kloxo-MR File Manager.
-
Update your Kloxo-MR and then try fastcgi_event and proxy_fcgid
Don't forget run 'sh /script/cleanup' after 'yum clean all; yum update -y'.
-
It seems that the FastCGI: neither POLLIN nor POLLOUT... error when using php-fpm_type for PHP has gone away after last update. ;D
Excellent ;D
-
Update your Kloxo-MR and then try fastcgi_event and proxy_fcgid
Don't forget run 'sh /script/cleanup' after 'yum clean all; yum update -y'.
I have already on latest update itself 7.0.0.c-2017072303 still same issue.
-
Latest update is: 7.0.0.c-2019051601
You have old version
-
how to update now then
-
Run 'yum clean all; yum update -y; sh /script/cleanup'.
-
Does yum clean all will delete all my website data and files ?
-
No. It is just remove yum cache.
-
i am getting this error when i try to update
http://repo.varnish-cache.org/redhat/varnish-3.0/el6/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'repo.varnish-cache.org'"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: mratwork-varnish-3.0. Please verify its path and try again
-
Try 'yum update mratwork-release -y' first.
-
Try 'yum update mratwork-release -y' first.
still this error
http://repo.varnish-cache.org/redhat/varnish-3.0/el6/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'repo.varnish-cache.org'"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: mratwork-varnish-3.0. Please verify its path and try again
-
Try 'yum update mratwork-* --disablerepo=mratwork-varnish -y' first.
-
Try 'yum update mratwork-* --disablerepo=mratwork-varnish -y' first.
Error Again
yum update mratwork-* --disablerepo=mratwork-varnish -y
Loaded plugins: fastestmirror, presto, priorities, protectbase, replace
Error getting repository data for mratwork-varnish, repository not found
-
Ok, give me your ssh login. Send to my mustafa@bigraf.com.
-
Ok, give me your ssh login. Send to my mustafa@bigraf.com.
this server is not mine i use ssh key to login and its bound to my static ip .
-
Login to Kloxo-MR panel is enough.