Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 31st January 2007, 13:01
Crusher55 Crusher55 is offline
Junior Member
 
Join Date: Jan 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Cannot login to SSH after configuring postfix

Hi all,
I've been having problems trying to install ISPConfig onto my VPS. I've been following the perfect setup guides on the site to try and configure it properly but I cannot login to SSH after configuring the postfix portion of the guide and restarting the server. I've tried using both Debian and CentOS 4 (thought Id try using another distro as I thought debian was causing the problems) yet both have the same problem.

When I try logging in I can input my username and password however after that it just freezes and doesn't proceed any further. I only worked out that postfix was causing this when I kept restarting the server after doing little tasks and only had the problem occur after I installed and configured postfix so I'm pretty sure it's the culprit. Not sure how it's affected SSH in this way though.

Any suggestions on how to go about this would be greatly appreciated .

Edit: http://howtoforge.com/perfect_setup_centos_4.4_p5 is the page I'm up to that causes the problems for CentOS 4 on the guide.
Reply With Quote
Sponsored Links
  #2  
Old 31st January 2007, 15:37
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

I guess you may have made a typo. Postfix listens on port 25 and ssh on port 22. Otherwise these two programs have nothing to do with each other. They cannot interfere.

Only other thing I can imagine: you edited the wrong sasl file.

Or do you have portforwarding on a firewall? And made a typo there? Again 22 vs 25.
Reply With Quote
  #3  
Old 31st January 2007, 16:09
Crusher55 Crusher55 is offline
Junior Member
 
Join Date: Jan 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

A friend of mine helped me on IRC. I looked into the problem a bit more, just installing postfix with 'yum install postfix' causes the problem. An interesting thing I noticed was when I enabled postfix (without restarting the server) I couldnt log into a 2nd ssh session although the moment I stopped postfix I was able to log in.

I think it's something to do with DNS now as well. When I ran postfix I also noticed yum stopped functioning since it could no longer resolve names and I couldn't ping google. Once I stopped the process both worked fine. I'm still not really sure how to go about this though :S.

I haven't made any typos though and the firewall is disabled at the moment.
Reply With Quote
  #4  
Old 1st February 2007, 18:15
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
 
Default

What's in /etc/resolv.conf? What's the output of
Code:
netstat -tap
when Postfix is running?
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
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
Centos 4.4 32bit Hangs, High Server load 3cwired_com Server Operation 11 16th November 2006 15:47
Verify email setup meekish Installation/Configuration 28 27th October 2006 15:36
IPtables slowing down my SSH login!? edge Server Operation 7 4th July 2006 13:56
postfix starts and stops why lhatle Installation/Configuration 2 21st December 2005 15:20
Total Frustration-HELP palkat Installation/Configuration 17 3rd September 2005 17:28


All times are GMT +2. The time now is 10:18.


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