#1  
Old 26th January 2007, 08:06
iantull iantull is offline
Junior Member
 
Join Date: Jan 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default saslauthd start problem

I am building a server using, "The Perfect Setup - Ubuntu 6.10 Server" I have been able to get everthing done up to trying to start saslauthd. I have uncommented start=yes and added the PARRAMS line to the correct location and changed the value of the PIDFILE in the /etc/init/saslauthd file. When trying to "start" saslauthd I get the following error,
/etc/default/saslauthd: 3: /var/spool/postfix/var/run/saslauthd: Permission denied.
I have checked all my settings and entries and am unable to find the problem. Hoping someone can point me in the right direction.
Reply With Quote
Sponsored Links
  #2  
Old 26th January 2007, 10:02
martinfst martinfst is offline
Senior Member
 
Join Date: Dec 2006
Location: Hilversum, The Netherlands
Posts: 880
Thanks: 1
Thanked 18 Times in 17 Posts
Send a message via MSN to martinfst Send a message via Skype™ to martinfst
Default

On my (working) Ubuntu 6.10 system, the permissions are:
Code:
~$ l /var/spool/postfix/var/
total 12
4 drwxr-xr-x  3 root root 4096 2006-12-10 20:05 run
4 drwxr-xr-x  3 root root 4096 2006-12-10 20:05 .
4 drwxr-xr-x 20 root root 4096 2006-12-10 20:07 ..
~$ l /var/spool/postfix/var/run/
total 12
4 drwxr-xr-x 3 root root 4096 2006-12-10 20:05 ..
4 drwxr-xr-x 3 root root 4096 2006-12-10 20:05 .
4 drwxr-xr-x 2 root root 4096 2007-01-15 13:26 saslauthd
~$ l /var/spool/postfix/var/run/saslauthd/
total 12
4 drwxr-xr-x 3 root root 4096 2006-12-10 20:05 ..
4 -rw------- 1 root root    5 2007-01-15 13:26 saslauthd.pid
0 -rw------- 1 root root    0 2007-01-15 13:26 mux.accept
0 srwxrwxrwx 1 root root    0 2007-01-15 13:26 mux
4 drwxr-xr-x 2 root root 4096 2007-01-15 13:26 .
PS: Remark for understanding the output - 'l' is an alias for 'ls -latrs'.
Reply With Quote
  #3  
Old 26th January 2007, 12:56
iantull iantull is offline
Junior Member
 
Join Date: Jan 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for the info, checked all that and except for the files not being in the saslauthd directory they are all the same permissions as yours. I commented out the PARAMS line in the saslauthd file in default and was able to start saslauthd, but the .pid file was written in /var/run/saslauthd/ but the only way I could stop it was to kill the pid. It has got me stumped as to why I cannot write to that directory, I even tried chmod 777 and still got the same error when trying to start. The failed start does not even show up in any log files?
I am going to spend the next few hours going over my install and see if there is some small typing error somewhere.
Reply With Quote
  #4  
Old 27th January 2007, 14:45
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

What's in /etc/fedault/saslauthd and /etc/init.d/saslauthd?
What's the output of
Code:
ls -la /var/spool/postfix/var/run/saslauthd
?
__________________
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
  #5  
Old 29th January 2007, 10:14
iantull iantull is offline
Junior Member
 
Join Date: Jan 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Thanks for all the help. I found the problem, for some reason my keyboard at the server has been inputing characters that I could not see when using vi. It was not until I downloaded the saslauthd file from default and opened it on my pc that I found odd characters in the entries I had made. I edited the file on the pc then uploaded it and it all worked. I have now re-installed the keyboard on the server and checked it and it now seems to be OK. I must have entered the keyboard type incorrectly when installing it. Hopefully that is all my problem was.

Thanks
Ian.
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
sending e-mail using mail() function linuxuser1 HOWTO-Related Questions 38 21st April 2009 13:20
/sbin/service vz start -- problem starting miltongoh Installation/Configuration 1 18th June 2006 14:42
Virtual Users And Domains HowTo saslauthd problem laser144 HOWTO-Related Questions 23 17th May 2006 16:40
Perfect Setup - Fedora Core 3 - saslauthd problem Median Installation/Configuration 28 29th January 2006 19:51
saslauthd problem ... tmwtp Server Operation 11 16th October 2005 17:50


All times are GMT +2. The time now is 11:35.


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