
31st December 2007, 19:53
|
|
Senior Member
|
|
Join Date: Sep 2007
Posts: 103
Thanks: 18
Thanked 2 Times in 2 Posts
|
|
I may have done something dumb with Suexec
I was fighting a high server load and installed php5-xcache but still had high load. 95%+ all the time. In top, there were many processes assigned to the user www-data, so I unchecked the Suexec box in Management > Server >Settings and restarted the system (init 6)
On restart, things weren't much better AND I couldn't access my mail accounts, so I re-enabled Suexec and restarted again. Now I can get mail in all but one of my accounts. I could delete the account and set that up again, but I would like to know what happened? Also in top I see only processes owned by root and occationally www-data for apache2.
Oddly enough, none of these settings had significant impact on the load, but when I re-configured my Ubuntu virtual machine (VMWare ESX) for dual proc instead of single the load dropped from 95+% to <5%.
Am I in trouble with my mail accounts?
-J
|

1st January 2008, 15:59
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,591 Times in 2,443 Posts
|
|
Any errors in your mail log?
|

1st January 2008, 16:50
|
|
Senior Member
|
|
Join Date: Sep 2007
Posts: 103
Thanks: 18
Thanked 2 Times in 2 Posts
|
|
These errors were in mail.warn at the time Suexec was unchecked:
Quote:
Dec 31 10:05:01 clients1 postfix/local[4034]: warning: cannot open file /var/www/web/user/web4_gillian/.forward: Permission denied
Dec 31 10:05:01 clients1 postfix/local[4034]: warning: maildir access problem for UID/GID=10004/10000: create maildir file /var/www/web/user/web4_gillian/Maildir/tmp/1199120701.P4034.clients1.506birch.com: Permission denied
Dec 31 10:05:01 clients1 postfix/local[4034]: warning: perhaps you need to create the maildirs in advance
Dec 31 10:05:06 clients1 postfix/local[4034]: warning: cannot open file /var/www/web/.forward: Permission denied
Dec 31 10:05:06 clients1 postfix/local[4034]: warning: maildir access problem for UID/GID=10005/10000: create maildir file /var/www/web/Maildir/tmp/1199120706.P4034.clients1.506birch.com: Permission denied
Dec 31 10:05:06 clients1 postfix/local[4034]: warning: perhaps you need to create the maildirs in advance
Dec 31 10:05:31 clients1 freshclam[4446]: Your ClamAV installation is OUTDATED!
Dec 31 10:05:31 clients1 freshclam[4446]: Local version: 0.91.2 Recommended version: 0.92
|
And this is what is in mail.log when I try to log in with an account that was working:
Quote:
Jan 1 08:26:43 clients1 courierpop3login: Connection, ip=[::ffff:24.121.xx.xx]
Jan 1 08:26:45 clients1 courierpop3login: LOGIN FAILED, user=web4_john, ip=[::ffff:24.121.xx.xx]
Jan 1 08:26:50 clients1 courierpop3login: Disconnected, ip=[::ffff:24.121.xx.xx]
|
It seems to be only the one mail account!
-J
This is the output from top, does it seem normal?
Quote:
top - 08:55:52 up 21:26, 2 users, load average: 1.34, 1.57, 1.63
Tasks: 93 total, 3 running, 90 sleeping, 0 stopped, 0 zombie
Cpu(s): 49.4%us, 0.7%sy, 0.0%ni, 49.8%id, 0.0%wa, 0.0%hi, 0.2%si, 0.0%st
Mem: 1035704k total, 904236k used, 131468k free, 153364k buffers
Swap: 1759076k total, 0k used, 1759076k free, 506096k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
4280 www-data 25 0 56344 26m 4956 R 100 2.7 68:52.85 apache2
29167 root 15 0 8028 2468 2008 R 0 0.2 0:00.82 sshd
1 root 18 0 2912 1848 524 S 0 0.2 0:05.34 init
2 root RT 0 0 0 0 S 0 0.0 0:00.36 migration/0
3 root 34 19 0 0 0 S 0 0.0 0:00.01 ksoftirqd/0
4 root RT 0 0 0 0 S 0 0.0 0:00.00 watchdog/0
5 root RT 0 0 0 0 S 0 0.0 0:01.14 migration/1
6 root 35 19 0 0 0 S 0 0.0 0:00.02 ksoftirqd/1
7 root RT 0 0 0 0 S 0 0.0 0:00.00 watchdog/1
8 root 10 -5 0 0 0 S 0 0.0 0:00.03 events/0
9 root 10 -5 0 0 0 S 0 0.0 0:00.02 events/1
10 root 10 -5 0 0 0 S 0 0.0 0:00.08 khelper
11 root 10 -5 0 0 0 S 0 0.0 0:00.01 kthread
35 root 10 -5 0 0 0 S 0 0.0 0:00.40 kblockd/0
36 root 10 -5 0 0 0 S 0 0.0 0:00.69 kblockd/1
37 root 17 -5 0 0 0 S 0 0.0 0:00.00 kacpid
38 root 17 -5 0 0 0 S 0 0.0 0:00.00 kacpi_notify
94 root 10 -5 0 0 0 S 0 0.0 0:00.11 kseriod
115 root 16 0 0 0 0 S 0 0.0 0:00.00 pdflush
116 root 15 0 0 0 0 S 0 0.0 0:25.84 pdflush
117 root 11 -5 0 0 0 S 0 0.0 0:00.00 kswapd0
118 root 11 -5 0 0 0 S 0 0.0 0:00.00 aio/0
119 root 11 -5 0 0 0 S 0 0.0 0:00.00 aio/1
749 root 15 0 0 0 0 S 0 0.0 0:00.00 kirqd
1880 root 17 -5 0 0 0 S 0 0.0 0:00.00 ata/0
1882 root 16 -5 0 0 0 S 0 0.0 0:00.00 ata/1
1884 root 16 -5 0 0 0 S 0 0.0 0:00.00 ata_aux
1956 root 14 -5 0 0 0 S 0 0.0 0:00.00 scsi_eh_0
2112 root 10 -5 0 0 0 S 0 0.0 0:34.74 kjournald
2243 root 21 -4 2424 672 360 S 0 0.1 0:01.44 udevd
3036 root 12 -5 0 0 0 S 0 0.0 0:00.00 kpsmoused
3615 root 18 0 1652 512 440 S 0 0.0 0:00.05 getty
3616 root 18 0 1648 508 440 S 0 0.0 0:00.03 getty
3618 root 18 0 1652 512 440 S 0 0.0 0:00.03 getty
3621 root 18 0 1648 512 440 S 0 0.0 0:00.03 getty
3623 root 16 0 2752 1204 940 S 0 0.1 0:00.11 login
3631 root 18 0 1652 508 440 S 0 0.0 0:00.04 getty
|
Last edited by unsichtbare; 1st January 2008 at 16:57.
|

1st January 2008, 21:56
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,591 Times in 2,443 Posts
|
|
Can you post the output of
Code:
ls -la /var/www/web/user/web4_gillian
?
|

1st January 2008, 22:36
|
|
Senior Member
|
|
Join Date: Sep 2007
Posts: 103
Thanks: 18
Thanked 2 Times in 2 Posts
|
|
This account is now working:
Quote:
root@clients1:~# ls -la /var/www/web/user/web4_gillian
total 132
drwxr-xr-x 5 root root 4096 2007-12-31 10:03 .
drwxr-xr-x 11 web3_john root 4096 2007-12-31 10:27 ..
-rw-r--r-- 1 root root 103 2007-12-31 10:03 .antivirus.rc
-rw-r--r-- 1 root root 771 2007-12-31 10:15 .autoresponder.rc
-rw------- 1 root root 24 2007-12-31 10:15 .forward
-rw-r--r-- 1 root root 67866 2007-12-31 10:15 .html-trap.rc
-rw-r--r-- 1 root root 3889 2007-12-31 10:15 .local-rules.rc
drwx------ 5 root root 4096 2007-12-31 10:03 Maildir
-rw-r--r-- 1 root root 204 2007-12-31 10:03 .mailsize.rc
-rw-r--r-- 1 root root 458 2007-12-31 10:15 .procmailrc
-rw-r--r-- 1 root root 656 2007-12-31 10:15 .quota.rc
drwx------ 2 root root 4096 2007-12-31 10:03 .spamassassin
-rw-r--r-- 1 root root 1147 2007-12-31 10:15 .spamassassin.rc
-rw-r--r-- 1 root root 2039 2007-12-31 10:15 .user_prefs
-rw-r--r-- 1 root root 32 2007-12-31 10:15 .vacation.msg
drwxrwxr-x 2 root root 4096 2007-12-31 10:03 web
root@clients1:~#
|
but this one is not:
Quote:
root@clients1:~# ls -la /var/www/web/user/web4_john
total 124
drwxr-xr-x 5 root root 4096 2007-12-31 10:15 .
drwxr-xr-x 11 web3_john root 4096 2007-12-31 10:27 ..
-rw-r--r-- 1 root root 103 2007-12-31 10:15 .antivirus.rc
-rw-r--r-- 1 root root 762 2007-12-31 10:15 .autoresponder.rc
-rw-r--r-- 1 root root 67866 2007-12-31 10:15 .html-trap.rc
-rw-r--r-- 1 root root 3889 2007-12-31 10:15 .local-rules.rc
drwx------ 5 root root 4096 2007-12-31 10:03 Maildir
-rw-r--r-- 1 root root 204 2007-12-31 10:15 .mailsize.rc
-rw-r--r-- 1 root root 656 2007-12-31 10:15 .quota.rc
drwx------ 2 root root 4096 2007-12-31 10:03 .spamassassin
-rw-r--r-- 1 root root 1144 2007-12-31 10:15 .spamassassin.rc
-rw-r--r-- 1 root root 2039 2007-12-31 10:15 .user_prefs
-rw-r--r-- 1 root root 32 2007-12-31 10:15 .vacation.msg
drwxrwxr-x 2 root root 4096 2007-12-31 10:03 web
root@clients1:~#
|
thanks for looking-
-J
|

2nd January 2008, 22:23
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,591 Times in 2,443 Posts
|
|
Please run
Code:
chown web4_gillian /var/www/web/user/web4_gillian/Maildir
chown web4_john /var/www/web/user/web4_john/Maildir
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Similar Threads
|
| Thread |
Thread Starter |
Forum |
Replies |
Last Post |
|
Suexec Php5-cgi
|
edony44 |
Installation/Configuration |
5 |
15th November 2006 15:45 |
|
SUEXEC PHP5-CGI ... help
|
edony44 |
Installation/Configuration |
1 |
14th November 2006 10:53 |
|
Suexec Not Working
|
helfrez |
Installation/Configuration |
1 |
13th October 2006 15:52 |
|
SuExec compiling
|
qtam0 |
Server Operation |
6 |
24th September 2006 02:25 |
|
SuExec
|
linutzy |
Server Operation |
1 |
16th August 2005 23:09 |
All times are GMT +2. The time now is 09:25.
|
|
Recent comments
1 day 9 hours ago
1 day 12 hours ago
1 day 13 hours ago
1 day 14 hours ago
1 day 16 hours ago
1 day 17 hours ago
1 day 19 hours ago
2 days 10 hours ago
2 days 11 hours ago
2 days 15 hours ago