Apache

The place to post if you need help or advice

Moderators: ChrisThornett, LXF moderators

Apache

Postby gizard » Wed Apr 13, 2005 5:30 pm

Hi guys, its nice to be back since the redesign.
I have a problem :shock:
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
gizard
 
Posts: 5
Joined: Wed Apr 13, 2005 5:24 pm

RE: Apache

Postby mcpherson » Wed Apr 13, 2005 7:20 pm

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.
mcpherson
 
Posts: 5
Joined: Wed Apr 13, 2005 2:49 pm

RE: Apache

Postby nordle » Wed Apr 13, 2005 9:14 pm

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
User avatar
nordle
LXF regular
 
Posts: 1500
Joined: Fri Apr 08, 2005 9:56 pm

RE: Apache

Postby Guest » Thu Apr 14, 2005 3:27 pm

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 :)
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
Guest
 

RE: Apache

Postby Guest » Thu Apr 14, 2005 3:28 pm

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 :)
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
Guest
 

Postby evilnick » Thu Apr 14, 2005 3:57 pm

Code: Select all
 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...
User avatar
evilnick
Moderator
 
Posts: 151
Joined: Mon Apr 04, 2005 11:47 am
Location: LXF towers


Return to Help!

Who is online

Users browsing this forum: No registered users and 2 guests