System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

to auto start apache web server (hpws_apacheconf)

SOLVED
Go to solution
Tan Teck Khim
Occasional Advisor

to auto start apache web server (hpws_apacheconf)

when i wanted to set the auto = true as below :

vi /etc/rc.config.d/hpws_apacheconf

then

HPWS_APACHE_START=1

then

:x

( it request for encryption mode)

what is the encryption mode ????

11 REPLIES
Johnson Punniyalingam
Honored Contributor

Re: to auto start apache web server (hpws_apacheconf)

HP-UX Apache-based Web Server. It is universally accessible via any web browser and can use SSL encryption. Configuration with Webmin does not preclude configuration via other tools, or via the command line. Webmin is an excellent tool for both novice and experienced system administrators. As a tool for novices, it can provide a means of getting involved in system administration with minimal knowledge of the managed component and can be an effective teaching tool.
Problems are common to all, but attitude makes the difference
Johnson Punniyalingam
Honored Contributor

Re: to auto start apache web server (hpws_apacheconf)

My Sample :- hpws_apacheconf

# Set HPWS_APACHE_START to 1 to have the Apache web-server started by the
# init process.
HPWS_APACHE_START=1
HPWS_APACHE_START_SSL=1

# Set HPWS_APACHE_HOME to the location of the Apache web-server.
# Default is /opt/hpws/apache
HPWS_APACHE_HOME=/opt/hpws/apache
Problems are common to all, but attitude makes the difference
Tan Teck Khim
Occasional Advisor

Re: to auto start apache web server (hpws_apacheconf)

i have the file already ....


the problem is ,

the line currently :
HPWS_APACHE_START=0


i wan to change it to 1 , how ?
Johnson Punniyalingam
Honored Contributor

Re: to auto start apache web server (hpws_apacheconf)

>>># Set HPWS_APACHE_START to 1 to have the Apache web-server started by the <<<<

yes please .
Problems are common to all, but attitude makes the difference
Tan Teck Khim
Occasional Advisor

Re: to auto start apache web server (hpws_apacheconf)

but when i try to save it ,

a message

"Enter the encryption mode : " came out .

what is that?
Johnson Punniyalingam
Honored Contributor

Re: to auto start apache web server (hpws_apacheconf)

Backup the existing by below command

cp -p /etc/rc.config.d/hpws_apacheconf /etc/rc.config.d/hpws_apacheconf.bk

are you familier with "vi" editor

vi /etc/rc.config.d/hpws_apacheconf

HPWS_APACHE_START=0 --> Change to 1

Problems are common to all, but attitude makes the difference
Johnson Punniyalingam
Honored Contributor

Re: to auto start apache web server (hpws_apacheconf)

can you try add the lines which I posted above post.
Problems are common to all, but attitude makes the difference
OldSchool
Honored Contributor
Solution

Re: to auto start apache web server (hpws_apacheconf)

"You can encrypt a file using the :X subcommand.
Ensure that you remember the encryption key because an easy means to unencrypt a file
does not exist. Only the first 6 characters of a key are significant."

I believe your issue is caused by the ":x" you illustrated.

Note that some variants of "vi" (on some platforms) using :X or possibly :x will prompt for an encryption key. Since you don't specify your OS, I'd have to guess that that is what is happening here.

to exit and save use ZZ,Esc-ZZ, or :wq
Tan Teck Khim
Occasional Advisor

Re: to auto start apache web server (hpws_apacheconf)

thank you very much .... i succeeded write on the file using :w


its solved now :)
OldSchool
Honored Contributor

Re: to auto start apache web server (hpws_apacheconf)

Just curious...what OS / release are you running. I only ask because when I googled the error message, most listed Tru64????
Tan Teck Khim
Occasional Advisor

Re: to auto start apache web server (hpws_apacheconf)

The Operating environment is HP-UX 11i v3 released on 2007