#1  
Old 18th October 2006, 05:03
FreeVPS FreeVPS is offline
Junior Member
 
Join Date: Oct 2006
Posts: 9
Thanks: 1
Thanked 0 Times in 0 Posts
Default Postfix with MySQL

I've just done a complete rebuild of my VPS and when I try login to mail I get this in my logs:

Oct 17 20:00:02 mercury pop3d: chdir freevps.co.uk/ed/: No such file or directory

I've looked at:

[root@mercury vmail]# ls -al
total 5
drwx------ 2 vmail vmail 1024 Oct 17 19:57 .
drwxr-xr-x 3 root root 1024 Oct 17 18:49 ..
-rw-r--r-- 1 vmail vmail 24 Oct 17 18:49 .bash_logout
-rw-r--r-- 1 vmail vmail 191 Oct 17 18:49 .bash_profile
-rw-r--r-- 1 vmail vmail 124 Oct 17 18:49 .bashrc
[root@mercury vmail]# pwd
/home/vmail

Any ideas as to why it can't / won't seem to make the directories? Am i resigned to a new rebuild?
Reply With Quote
Sponsored Links
  #2  
Old 18th October 2006, 07:46
FreeVPS FreeVPS is offline
Junior Member
 
Join Date: Oct 2006
Posts: 9
Thanks: 1
Thanked 0 Times in 0 Posts
Default

I did a fresh re-install of my new VPS and still no go, so i compared the setup too a server that it seems to work on, here's the settings of the vmail directory of the one that isn't working:

Code:
[root@mercury home]# ls -al
total 3
drwxr-xr-x  3 root  root  1024 Oct 17 21:56 .
drwxr-xr-x 20 root  root  1024 Oct 17 22:20 ..
drwx------  2 vmail vmail 1024 Oct 17 21:56 vmail
[root@mercury home]# cd vmail
[root@mercury vmail]# ls -al
total 5
drwx------ 2 vmail vmail 1024 Oct 17 21:56 .
drwxr-xr-x 3 root  root  1024 Oct 17 21:56 ..
-rw-r--r-- 1 vmail vmail   24 Oct 17 21:56 .bash_logout
-rw-r--r-- 1 vmail vmail  191 Oct 17 21:56 .bash_profile
-rw-r--r-- 1 vmail vmail  124 Oct 17 21:56 .bashrc
[root@mercury vmail]#
and heres the code of the one that is working:

Code:
[root@vps home]# ls -al
total 132
drwxr-xr-x  4 root  root   4096 Oct 17 06:07 .
drwxr-xr-x 23 root  root   4096 Oct 18 00:45 ..
drwxr-x---  3 root  root   4096 Sep 15  2005 apf-0.9.6-1
-rw-r--r--  1 root  root  91798 Aug 16 09:26 apf-current.tar.gz
drwx------  3 vmail vmail  4096 Oct 17 07:31 vmail
[root@vps home]# cd vmail
[root@vps vmail]# ls -al
total 44
drwx------ 3 vmail vmail 4096 Oct 17 07:31 .
drwxr-xr-x 4 root  root  4096 Oct 17 06:07 ..
-rw-r--r-- 1 vmail vmail   24 Oct 17 06:07 .bash_logout
-rw-r--r-- 1 vmail vmail  191 Oct 17 06:07 .bash_profile
-rw-r--r-- 1 vmail vmail  124 Oct 17 06:07 .bashrc
drwx------ 3 vmail vmail 4096 Oct 17 07:31 domain.co.uk
[root@vps vmail]#
I'm really puzzled, it's a Fedora Core 5 Setup.
Reply With Quote
  #3  
Old 19th October 2006, 14:10
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Did you have a look at this tutorial? http://www.howtoforge.com/fedora_vir..._quota_courier
Did you disable SELinux?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #4  
Old 19th October 2006, 20:54
FreeVPS FreeVPS is offline
Junior Member
 
Join Date: Oct 2006
Posts: 9
Thanks: 1
Thanked 0 Times in 0 Posts
 
Default

Hi,

Yeah I looked

SELinux is switched off

I fixed it though, by changing my version of MySQL from MySQL 5 to MySQL 4 did the install ... then switched back to MySQL 5 all is working well now
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
postfix problems with smtp linkdeb Server Operation 13 15th March 2014 17:58
Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota, SpamAs k1piee HOWTO-Related Questions 14 1st October 2006 13:46
Quick question about Postfix + MySQL asterix HOWTO-Related Questions 5 12th September 2006 16:45
postfix - MySQL connection problem epo Installation/Configuration 7 4th August 2006 20:49
Mandriva 10.2 Perfect Setup Install Problems... ctroyp Installation/Configuration 12 30th December 2005 16:04


All times are GMT +2. The time now is 03:30.


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