| View previous topic :: View next topic |
| Author |
Message |
gizard
Joined: Wed Apr 13, 2005 6:24 pm Posts: 5
|
Posted: Wed Apr 13, 2005 6:30 pm Post subject: Apache |
|
|
Hi guys, its nice to be back since the redesign.
I have a problem
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 |
|
 |
mcpherson
Joined: Wed Apr 13, 2005 3:49 pm Posts: 5
|
Posted: Wed Apr 13, 2005 8:20 pm Post subject: RE: Apache |
|
|
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 |
|
 |
nordle LXF regular

Joined: Fri Apr 08, 2005 10:56 pm Posts: 1497
|
Posted: Wed Apr 13, 2005 10:14 pm Post subject: RE: Apache |
|
|
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 |
|
 |
Guest
|
Posted: Thu Apr 14, 2005 4:27 pm Post subject: RE: Apache |
|
|
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 |
|
| Back to top |
|
 |
Guest
|
Posted: Thu Apr 14, 2005 4:28 pm Post subject: RE: Apache |
|
|
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 |
|
| Back to top |
|
 |
evilnick Moderator

Joined: Mon Apr 04, 2005 12:47 pm Posts: 151 Location: LXF towers
|
Posted: Thu Apr 14, 2005 4:57 pm Post subject: |
|
|
| 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 previous topic :: View next topic |
|