Cisco Headend Digital Broadband Delivery System

Page of 148
 
 
 
Define the Web Service Listening Interface 
 
4034689 Rev A 
61 
 
 
If a hostname is used, the hostname and IP address must be defined in the 
/etc/hosts file. 
Example: 
Listen dncseth:443
 
5  Save and close the httpd.conf file. 
 
Restart the Web Server 
Complete the following steps to restart the http web server instance to activate the 
changes. 
1  Complete the following steps to stop and start the http web server instance on 
the DNCS. 
a  Open an xterm window on the DNCS. 
b  Log into the system as root: 
i  At the prompt, type 
su -
 and press Enter
ii  Type the root password and press Enter
c  Type the following command and press Enter to stop the http instance: 
svcadm -v disable -st http
 
d  Type the following command and press Enter to refresh the http instance 
configuration: 
svcadm refresh http
 
e  Type the following command and press Enter to start the http instance: 
svcadm -v enable -s http
 
Type the following command and press Enter to verify that the http instance 
started successfully. 
svcs -xv http
 
Example: Output should be similar to the following: 
svc:/network/http:apache2 (Apache 2 HTTP server)
 
 State: online since Tue Oct 26 17:33:06 2010
 
   See: man -M /usr/apache2/man -s 8 httpd
 
   See: /var/svc/log/network-http:apache2.log
 
Impact: None.