Portal Home > Knowledgebase > Articles Database > Problem in Kayako Esupport
Problem in Kayako Esupport
Posted by prashant1979, 07-26-2008, 07:27 AM |
We are facing an error in Kayako Esupport. We are trying to fetch emails from an account using the Mail Parser function of Kayako. The error goes as follows
Warning: imap_open() [function.imap-open]: Couldn't open stream {localhost:110/pop3/notls}INBOX in /home/helpd/public_html/modules/parser/cron_parser.php on line 107
array(1) { [0]=> string(53) "Unable to create selectable TCP socket (1973 >= 1024)" } Total Messages
Rejected Messages:
Accepted Messages:
According to the support team of Kayako, it is an issue with the server. Can anybody let me know what could be the issue?
|
Posted by 24x7group, 07-26-2008, 09:59 AM |
The cause of this is an outdated code of the c-client, this uses the select() method instead of the poll() method (search man 2 select/poll). The error exists only if apache has a lot of log files open, more than 1024. It concerns the FD_SETSIZE.
As far as I know there are 2 solutions for this problem. The first one is to rewrite the source code of the c-client (file src/osdep/unix/tcp_unix.c) so it takes the poll() instead of the select(). The second solution is to increase the limit of 1024. Off course, the first solution is still the best one.
I have tried to work it out myself and I have increased the descriptors to 4096. This is pretty simple by editing the file /usr/include/bits/typesizes.h:
Search for:
/* Number of descriptors that can fit in an `fd_set'. */
#define __FD_SETSIZE 1024
And increase this (to for example 4096).
Then you need to recomplile the c-client and php (and restart apache) and the error should be gone.
|
Posted by supportskins, 07-26-2008, 11:22 AM |
Also make sure you are using correct credentials for your POP3 account. Check if the same credentials work at http://www.mail2web.com/
|
Posted by themedia, 10-13-2008, 10:00 AM |
i am having the same issue, and i am using cpanel. did you manage to work this out in an easier way than hacking php and apache?
array(1) { [0]=> string(53) "Unable to create selectable TCP socket (1495 >= 1024)" } array(1) { [0]=> string(53) "Unable to create selectable TCP socket (1495 >= 1024)" } array(1) { [0]=> string(53) "Unable to create selectable TCP socket (1495 >= 1024)" } array(1) { [0]=> string(53) "Unable to create selectable TCP socket (1495 >= 1024)" } array(1) { [0]=> string(53) "Unable to create selectable TCP socket (1495 >= 1024)" }
|
Posted by prashant1979, 10-13-2008, 11:28 AM |
No success so far.
|
Posted by pauln, 10-13-2008, 05:08 PM |
Good luck, we've always had terrible support in the past from Kayako.
|
Posted by supportskins, 10-13-2008, 05:12 PM |
Does the same credentials work at - http://www.mail2web.com/
|
Posted by sri81, 09-02-2010, 12:07 PM |
Can any one help me how to compile c-client and php on ubuntu server.
|
Add to Favourites Print this Article
Also Read