This is very strange.

I am running apache 2.2 (compiled with gcc and all default
params) on
AIX 5.2.0.6 - 64 bit kernel.

I edit the httpd.conf file to listen on two different
ports --

Listen 8000
Listen 8001

The server will not start no errors or anything it just
accepts the
command but nothing starts.

I can comment out on of the entires and everything starts
up just fine
minus the commented out port.

Listen 8000
#Listen 8001

So, my problem is that I cannot get apache to listen on two
ports, any
ideas? Has someone else seen this before?

Thanks,


Answers were Sorted based on User's Feedback



This is very strange. I am running apache 2.2 (compiled with gcc and all default params) on AI..

Answer / vamsee

apache is a server.we can run each server in unique listen
port so we are unable to run same server in two different
ports.but u can run on different unique ports.
in apache webserver u change that in httpd.conf listen
port to 8080 (default is 80).that listen port belongs to
http port for reciving requests and send responces.so
please try to understand that which port belongs to which
one.

thank you.

Is This Answer Correct ?    3 Yes 0 No

This is very strange. I am running apache 2.2 (compiled with gcc and all default params) on AI..

Answer / sagi

try setting environment flag:
ac_cv_o_nonblock_inherited=no
just before running configure...

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apache Interview Questions

What is struct?

0 Answers  


How to check for the httpd.conf consistency and any

0 Answers  


What are the log files generated by apache?

0 Answers  


Where is apache installed?

0 Answers  


What’s the weblogic module name?

0 Answers  


How do you set up a virtual host in Apache?

2 Answers  


Why doesn't Apache include SSL?

1 Answers  


Do I need programming skills to install apache in my system?

0 Answers  


How do I enable apache modules?

0 Answers  


How do you install the apache web server?

0 Answers  


How to make sure apache pay attention to just one ip deal with on the server?

0 Answers  


Can apache and tomcat run together?

0 Answers  


Categories