Novell Home

Changing the Default Port used by ZENworks Linux Management (ZLM)

Novell Cool Solutions: Tip
By D A Umesh

Digg This - Slashdot This

Posted: 8 Aug 2007
 

By default, ZENworks Linux Management (ZLM) listens on port 80. However, this can cause problems in many organizations. Port 80 by default is often occupied with the web server, causing the configuration of ZLM to fail. If you are experiencing that problem, never fear - you just have to make ZLM listen on a different port. Here is what you do to make ZlM listen on a different port, such as port 8081.

  1. First check to see if any services are listening on port 443 and port 80.
    # netstat -na | grep 443
    # netstat -na | grep 80


  2. If any service is listening, stop the service.


  3. Now configure ZLM.
    # zlm-config


  4. After configuration is completed, stop ZLM services.
    # zlm-config -stop


  5. Edit /etc/opt/novell/zenworks/tomcat/base/server.xml file
    # vi /etc/opt/novell/zenworks/tomcat/base/server.xml


  6. Modify this section of configuration in server.xml to listen on port 8081
    <!-- Define a non-SSL Coyote HTTP/1.1 Connector on port 80 -->
           	     <Connector port="8081"   -----------> Change the Port no. here
                       debug="0"
                       redirectPort="443"
    
                       acceptCount="10"
                       disableUploadTimeout="true"
                       enableLookups="false"
    
                       maxSpareThreads="50"
                       maxThreads="100"
                       minSpareThreads="10"  
                       />


  7. Start ZLM Services.
    # zlm-config -start

Note: no service should be listening on port 443.


Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

© 2014 Novell