Unix Web server question

Homepage Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Unix Web server question

  • Creator
    Topic
  • #51047
    Tim Jipson
    Participant

    I have Redhat 5.0 with Cloverleaf 5.6 rev2.

    I just blew up my test box by installing Apache 2.2.

    Is anybody running a web server on their cloverleaf box?

    If the the web server and cloverleaf have to be up seperate boxes, how do you issue a command to start a thread from the web server?

    Thanks,

    Tim J.

Viewing 4 reply threads
  • Author
    Replies
    • #68568
      Russ Ross
      Participant

      I checked and we are running Apache on AIX 5.2 T9 Cloverleaf 5.2P2 without the issue you are having.

      I will be needing to install Apache on our AIX 5.3 T8 Cloverleaf 5.6 rev2 box, so I’m also interested to hear if anyone on this configuration is not able to do either of the following from the backend successfully:

      hcienginerun -p $process_name

      hcienginestop -p $process_name

      Russ Ross
      RussRoss318@gmail.com

    • #68569
      Russ Ross
      Participant

      One thought that also came to mind that could be relevant to your problem and certainly has caused other problems for us, if you have interfaces configured to use port number(s) in the ephemeral range typically any port number above 32K by default will send you chasing your tail.

      I mention this because installing a web server will result in a more active use of the ports in the ephemeral range, increasing the probability of a problem.

      The most noticeable problem we experience is the hostserver starts multiple instances of itself and hangs until we kill them all and restart the hostserver.

      Now that we know about this issue we have a sizeable task to remediate it.

      I’m curious if anyone out there knows if I place an entry in the /etc/services file for a port number being used in the ephemeral range will the OS be smart enough to removed that port number from use in the ephemeral range.

      If so that will make my rediation easier than reconfiguring the individual interfaces.

      Russ Ross
      RussRoss318@gmail.com

    • #68570
      John Mercogliano
      Participant

      Russ,

       I can say with 100% certainty, if you assign port numbers in the ephemeral range of  your system you will run into port conflicts.  The OS does not monitor the services file or the applications that are running. It only monitors the dynamic pool to determine what ports it has assigned and track when they have been released back to the pool.

      Here is a link I always keep handy:

      <a href="http://www.ncftp.com/ncftpd/doc/misc/ephemeral_ports.html&#8221; class=”bbcode_url”>http://www.ncftp.com/ncftpd/doc/misc/ephemeral_ports.html

      One other solution depending on how high your numbering went is you could increase your lower end of your range to above your highest number.  Don’t remember what OS your on but if I remember from your past posts it’s some flavor of unix so your should have a large range to play with.  Hopefully, you didn’t go more then a couple thousand over your bottom range with your numbers.  

      Hope this helps.

      John Mercogliano
      Sentara Healthcare
      Hampton Roads, VA

    • #68571
      Tim Jipson
      Participant

      Russ which verision of Apache are you running?

    • #68572
      Russ Ross
      Participant

      Good question which makes me wonder if I can say we are running Apache.

      My system admin said we were running Apache but when asked how to show the version he said do

      lslpp -l | grep httpd

      then I got this

       IMNSearch.rte.httpdlite    2.1.0.0  COMMITTED  Lite NetQuestion Local Web

       IMNSearch.rte.httpdlite    2.1.0.0  COMMITTED  Lite NetQuestion Local Web

      These are running on our AIX 5.2 cloverleaf 5.2 box.

      I’ve yet to get http installed on our newer AIX 5.3 cloverleaf 5.6 boxes.

      When I asked, “Isn’t httplite what IBM provides with AIX?”, he said, “Yes but it was Apache.”

      So now I’m not so sure if we are conparing apples to apples anymore.

      When I expanded my grep to

      lslpp -l |grep http

      I get the following

       IMNSearch.rte.httpdlite    2.1.0.0  COMMITTED  Lite NetQuestion Local Web

       http_server.base.license  1.3.19.4  COMMITTED  HTTP Server Licenses

       http_server.base.rte      1.3.19.4  COMMITTED  HTTP Server Base Run-Time

       http_server.base.source   1.3.19.4  COMMITTED  HTTP Server Source Code

       http_server.html.en_US    1.3.19.4  COMMITTED  HTTP Server Documentation –

       http_server.man.en_US     1.3.19.4  COMMITTED  HTTP Server Manual Pages –

       IMNSearch.rte.httpdlite    2.1.0.0  COMMITTED  Lite NetQuestion Local Web

       http_server.base.rte      1.3.19.4  COMMITTED  HTTP Server Base Run-Time

      These versions may not be all that current on this server because it is old and going away.

      Russ Ross
      RussRoss318@gmail.com

Viewing 4 reply threads
  • The forum ‘Cloverleaf’ is closed to new topics and replies.

Forum Statistics

Registered Users
5,125
Forums
28
Topics
9,294
Replies
34,439
Topic Tags
287
Empty Topic Tags
10