Linux Format forums Forum Index Linux Format forums
Help, discussion, magazine feedback and more
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Apache

 
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help!
View previous topic :: View next topic  
Author Message
gizard



Joined: Wed Apr 13, 2005 6:24 pm
Posts: 5

PostPosted: Wed Apr 13, 2005 6:30 pm    Post subject: Apache Reply with quote

Hi guys, its nice to be back since the redesign.
I have a problem Shocked
My Apache install is using port 142 (normally imap) even though there is no config for it in the http.conf file. I need to run IMAP for my squirrel Mail but can't start imap due to the port already being binded.
Any ideas as I am all out.
Giz
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
mcpherson



Joined: Wed Apr 13, 2005 3:49 pm
Posts: 5

PostPosted: Wed Apr 13, 2005 8:20 pm    Post subject: RE: Apache Reply with quote

well unbind it from it, start imap thing, then once ur done, undo the changes and figure a way so opening ur email client makes that thing do, and closing undo if u get me

ofcourse me being new and not much on software programmin and stuff, i have no idea wether its poss/a good thing to do.
Back to top
View user's profile Send private message
nordle
LXF regular


Joined: Fri Apr 08, 2005 10:56 pm
Posts: 1500

PostPosted: Wed Apr 13, 2005 10:14 pm    Post subject: RE: Apache Reply with quote

The http.conf file should have a section like:

# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, instead of the default. See also the <VirtualHost>
# directive.
#
# Change this to Listen on specific IP addresses as shown below to
# prevent Apache from glomming onto all bound IP addresses (0.0.0.0)
#
#Listen 12.34.56.78:80

Listen 192.168.0.5:80


If its missing, might be worth adding it.

Have a look in the startup script eg /etc/rc.d/rc.httpd or /etc/init.d/rc. etc etc See if its passed at startup.

Have a look in /etc/protocols see if the ports are listed correctly.
_________________
I think, therefore I compile
Back to top
View user's profile Send private message
Guest






PostPosted: Thu Apr 14, 2005 4:27 pm    Post subject: RE: Apache Reply with quote

I have looked at the http.conf and /etc/rc.d/init.d/httpd file but could not find anything so like an idiot I uninstalled all of the qmail stuff (after a backup).
A reinstall did not work Smile
I think went about connected to the imap port again and confired that apache was listening on that port.
I then decided to egrep all the apache files for the string 143 (for the imap port). After looking though thousands of lines I found:
conf.d/ssl.conf
contained the line: Listen 217.199.186.177:143
I connected this out and this has freed the port for IMAP.
Happy Days.
Hope this will help anyone who has had similar problems
Giz
Back to top
Guest






PostPosted: Thu Apr 14, 2005 4:28 pm    Post subject: RE: Apache Reply with quote

I have looked at the http.conf and /etc/rc.d/init.d/httpd file but could not find anything so like an idiot I uninstalled all of the qmail stuff (after a backup).
A reinstall did not work Smile
I think went about connected to the imap port again and confired that apache was listening on that port.
I then decided to egrep all the apache files for the string 143 (for the imap port). After looking though thousands of lines I found:
conf.d/ssl.conf
contained the line: Listen :143
I connected this out and this has freed the port for IMAP.
Happy Days.
Hope this will help anyone who has had similar problems
Giz
Back to top
evilnick
Moderator


Joined: Mon Apr 04, 2005 12:47 pm
Posts: 151
Location: LXF towers

PostPosted: Thu Apr 14, 2005 4:57 pm    Post subject: Reply with quote

Code:
 After looking though thousands of lines I found:
conf.d/ssl.conf
contained the line: Listen :143
I connected this out and this has freed the port for IMAP.


Spooky. HTTPS usually runs on port 443. Someone has typed it in wrong somewhere...
Back to top
View user's profile Send private message
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help! All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Linux Format forums topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group


Copyright 2011 Future Publishing, all rights reserved.


Web hosting by UKFast