HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=16)
-   -   Webmail problems with only one domain? (http://www.howtoforge.com/forums/showthread.php?t=10814)

compner 22nd February 2007 15:49

Webmail problems with only one domain?
 
Hello,

I am running ispconfig on centos 4.4 with postfix and dovecot. I currently am hosting 16 domains and everything is working nicely, except for one single domain. I cannot get webmail to work with this one domain. I have tried squirrelmail, roundcube, and uebimiau. All of these packages work just fine for all of my domains, but none of these will work properly for this one domain.
I have also tried openwebmail, which actually does work for everybody including this problem domain, except that I cannot get any icons to show?? (i have followed threads for that problem but none solved that problem for me)

Anyways back to this one domain. The mail account itself works fine, I can connect with thunderbird and send/receive no problem. Also openwebmail it works fine, apart from the icons.

When I log in using Squirrelmail, it shows this error:

ERROR: Connection dropped by IMAP server.
Query: CAPABILITY

Not one of my other domains has this problem with Squirrelmail.

When I log in with Uebimiau, it will not display the inbox. I can send mail no problem through uebimiau, but it will not display any messages in the inbox. Again, not one of my other domains has this problem.

When I log in with roundcube, all I get is a blank page. Other domains work fine.

I have deleted and recreated this domain 3 times now, and always have the same issue. I can add another domain and it will work fine. Php scripts and mysql are enabled, just like the other accounts. What's driving me nuts is that the domain's email account works fine, but why these errors on only this domain even after wiping and recreating it? I will try and figure out the openwebmail icon problem and get them using that, but there is obviously an underlying issue here that I need to resolve to prevent future problems.

Help?

falko 23rd February 2007 16:23

Any errors in the mail log and Apache's error log?
What's the domain name? Can you post the vhost configuration here?

compner 23rd February 2007 17:32

Actually the problem has now progressed, this morning I went to check my email with thunderbird and was unable to log in, seems all my domains now have a new problem!

I am getting this error in the logs:


dovecot: chroot directory no included in valid_chroot_dirs: /var/www/web2

I have not touched my dovecot.conf file, it has this line commented out:

#valid_chroot_dirs =

but until yesterday things were working fine. Should I now set this value to something? Googling did not help, I tried setting this to /var/mail and /var/www and restarting dovecot but that did not help either.

I got openwebmail working yesterday (got the icons to finally show) but now the dovecot problem, only I did not change this. Help?

till 24th February 2007 11:22

Never seen this problem before. Can you disable chrooting in dovecot.conf file?

Chip 8th January 2008 02:41

I have a simmilar problem, error: capability when trying to use squirrelmail, I don't quite know what to do or where to start looking for errors.

falko 8th January 2008 18:43

Any errors in your mail log (in /var/log)?

Chip 5th February 2008 17:38

The following error shows up when I try to login via sentimail:


Quote:

.: There were errors :.

There were errors in the process

Please login again

System message: Error connecting to the server

Code:

Feb  5 16:29:28 server dovecot: imap-login: imap-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory
Feb  5 16:29:28 server dovecot: imap-login: imap-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory
Feb  5 16:29:28 server dovecot: pop3-login: pop3-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory
Feb  5 16:29:28 server last message repeated 2 times
Feb  5 16:29:28 server dovecot: child 29165 (login) returned error 127
Feb  5 16:29:28 server dovecot: child 29166 (login) returned error 127
Feb  5 16:29:28 server dovecot: child 29167 (login) returned error 127
Feb  5 16:29:28 server dovecot: child 29168 (login) returned error 127
Feb  5 16:29:28 server dovecot: child 29169 (login) returned error 127
Feb  5 16:29:28 server dovecot: imap-login: imap-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory
Feb  5 16:29:28 server dovecot: child 29170 (login) returned error 127
Feb  5 16:30:28 server dovecot: imap-login: imap-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory
Feb  5 16:30:28 server last message repeated 2 times
Feb  5 16:30:28 server dovecot: pop3-login: pop3-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory
Feb  5 16:30:28 server last message repeated 2 times
Feb  5 16:30:28 server dovecot: child 29286 (login) returned error 127
Feb  5 16:30:28 server dovecot: child 29287 (login) returned error 127
Feb  5 16:30:28 server dovecot: child 29288 (login) returned error 127
Feb  5 16:30:28 server dovecot: child 29289 (login) returned error 127
Feb  5 16:30:28 server dovecot: child 29290 (login) returned error 127
Feb  5 16:30:28 server dovecot: child 29291 (login) returned error 127


Feb  5 16:31:28 server dovecot: pop3-login: pop3-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory
Feb  5 16:31:28 server last message repeated 2 times
Feb  5 16:31:28 server dovecot: child 29343 (login) returned error 127
Feb  5 16:31:28 server dovecot: child 29344 (login) returned error 127
Feb  5 16:31:28 server dovecot: child 29345 (login) returned error 127
Feb  5 16:31:28 server dovecot: imap-login: imap-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory
Feb  5 16:31:28 server dovecot: child 29346 (login) returned error 127
Feb  5 16:31:28 server dovecot: imap-login: imap-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory
Feb  5 16:31:28 server dovecot: child 29348 (login) returned error 127
Feb  5 16:31:28 server dovecot: imap-login: imap-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory
Feb  5 16:31:28 server dovecot: child 29347 (login) returned error 127

And when I try to use squirrelmail:

Quote:

ERROR:
ERROR: Connection dropped by IMAP server.
Query: CAPABILITY
Code:

Feb  5 16:35:28 server dovecot: pop3-login: pop3-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory
Feb  5 16:35:28 server dovecot: pop3-login: pop3-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory
Feb  5 16:35:28 server dovecot: child 29713 (login) returned error 127
Feb  5 16:35:28 server dovecot: child 29714 (login) returned error 127
Feb  5 16:35:28 server dovecot: child 29716 (login) returned error 127
Feb  5 16:35:28 server dovecot: imap-login: imap-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory
Feb  5 16:35:28 server dovecot: pop3-login: pop3-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory
Feb  5 16:35:28 server dovecot: child 29715 (login) returned error 127
Feb  5 16:35:28 server dovecot: imap-login: imap-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory
Feb  5 16:35:28 server dovecot: child 29717 (login) returned error 127
Feb  5 16:35:28 server dovecot: imap-login: imap-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory
Feb  5 16:35:28 server dovecot: child 29718 (login) returned error 127

Feb  5 16:36:28 server dovecot: pop3-login: pop3-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory
Feb  5 16:36:28 server last message repeated 2 times
Feb  5 16:36:28 server dovecot: child 29841 (login) returned error 127
Feb  5 16:36:28 server dovecot: child 29842 (login) returned error 127
Feb  5 16:36:28 server dovecot: child 29843 (login) returned error 127
Feb  5 16:36:28 server dovecot: imap-login: imap-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory
Feb  5 16:36:28 server dovecot: imap-login: imap-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory
Feb  5 16:36:28 server dovecot: child 29844 (login) returned error 127
Feb  5 16:36:28 server dovecot: imap-login: imap-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory
Feb  5 16:36:28 server dovecot: child 29846 (login) returned error 127
Feb  5 16:36:28 server dovecot: child 29845 (login) returned error 127


Feb  5 16:37:28 server dovecot: imap-login: imap-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory
Feb  5 16:37:28 server dovecot: pop3-login: pop3-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory
Feb  5 16:37:28 server last message repeated 2 times
Feb  5 16:37:28 server dovecot: child 29972 (login) returned error 127
Feb  5 16:37:28 server dovecot: child 29973 (login) returned error 127
Feb  5 16:37:28 server dovecot: child 29974 (login) returned error 127
Feb  5 16:37:28 server dovecot: child 29975 (login) returned error 127
Feb  5 16:37:28 server dovecot: imap-login: imap-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory
Feb  5 16:37:28 server dovecot: child 29976 (login) returned error 127
Feb  5 16:37:28 server dovecot: imap-login: imap-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory
Feb  5 16:37:28 server dovecot: child 29977 (login) returned error 127


If required I can attach a longer maillog message.

till 6th February 2008 09:10

Is this a virtual server? If yes, ask your ISP to add more memory to your server.

Chip 6th February 2008 21:05

Hi,

No, it is a dedicated server, maintained by us, with 4GB ram

-bash-3.1$ free
total used free shared buffers cached
Mem: 4031828 3781196 250632 0 43292 2406028
-/+ buffers/cache: 1331876 2699952
Swap: 2031608 3568 2028040

from ISPConfig

Cached: 2396416 kB
SwapCached: 388 kB
Active: 2671696 kB
Inactive: 688704 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 4031828 kB
LowFree: 486636 kB
SwapTotal: 2031608 kB
SwapFree: 2028040 kB
Dirty: 9392 kB
Writeback: 0 kB
AnonPages: 921036 kB
Mapped: 51276 kB
Slab: 85876 kB
PageTables: 70132 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
CommitLimit: 4047520 kB
Committed_AS: 2158268 kB
VmallocTotal: 34359738367 kB
VmallocUsed: 263860 kB
VmallocChunk: 34359474327 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
Hugepagesize: 2048 kB

till 7th February 2008 11:54

Please have a look here:

http://www.cyberciti.biz/tips/rhel-d...libraries.html


All times are GMT +2. The time now is 16:52.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.