Novell Cool Solutions

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



By:

August 8, 2007 8:44 pm

Reads:7,219

Comments:0

Score:5

Print/PDF

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 the /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.

2 votes, average: 5.00 out of 52 votes, average: 5.00 out of 52 votes, average: 5.00 out of 52 votes, average: 5.00 out of 52 votes, average: 5.00 out of 5 (2 votes, average: 5.00 out of 5)
You need to be a registered member to rate this post.
Loading...Loading...

Tags:
Categories: Uncategorized

0

Disclaimer: This content is not supported by Novell. It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test it thoroughly before using it in a production environment.

Comment

RSS