Operating System - HP-UX
1838053 Members
4874 Online
110124 Solutions
New Discussion

How to start cvs server on HPUX

 
Dade Huang_2
Occasional Contributor

How to start cvs server on HPUX

Hi,
I installed cvs on my hpux11.11. How can I start cvs server when at the machine startup
automaticcly? How can start the cvs server manually?

Thanks a lot?

Dade Huang
2 REPLIES 2
Steven E. Protter
Exalted Contributor

Re: How to start cvs server on HPUX

Basics on autostart.

If cvs came with a startup script it will be in /sbin/init.d/

probably named cvs

if not

cp /sbin/init.d/template /sbin/init.d/cvs

modify cvs so it starts the cvs daemon

LEts say you want to start it at run level 3

cd /sbin/rc3.d
ln -s /sbin/init.d/cvs S990cvs

cd /sbin/rc2.d
ln -s /sbin/init.d/cvs K110cvs

The above code will start it at run level 3 and stop it at run level 3.

If cvs needs to be started by an application owner user this is possible in the startup file.

To manually start if it came with a startup script as root

/sbin/init.d/cvs start

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Dade Huang_2
Occasional Contributor

Re: How to start cvs server on HPUX

Thanks, when i did that, and I try to connect cvs server from my windows xp, I got following message:
connect to cvsserver:2401 failed: No connection could be made because the target machine actively refused it.
How can i fixed this problem.

Also, after i copy /sbin/init.d/template to /sbin/init.d/cvs, do i need change anything in this script?

Thanks a lot!

Dade