Operating System - OpenVMS
1829101 Members
2688 Online
109986 Solutions
New Discussion

tring to autostart services on boot

 
SOLVED
Go to solution
Amit Levin_1
Occasional Contributor

tring to autostart services on boot

Hi everybody,
I am tring to enable certain services on boot time.
I enabled them on boot with:
$ tcpip set conf enable service ftp
...
after boot, FTP wont start!
when I do:
tcpip enable service ftp
it starts.
how can I enable it on startup?
my tcpip version is:
tcpip show ver

Compaq TCP/IP Services for OpenVMS Alpha Version V5.3 - ECO 2
on a AlphaServer ES45 Model 1B running OpenVMS V7.3-1
5 REPLIES 5
Martin P.J. Zinser
Honored Contributor

Re: tring to autostart services on boot

@sys$manager:tcpip$confiugre

If you enable the service in there it will be
started automatically at boot time.

Else you could always add the tcpip set conf...
commands to your own startup scripts ;-)

Happy new year,

Martin
Veli Körkkö
Trusted Contributor
Solution

Re: tring to autostart services on boot

well, since you apparently have the service properly configud and also properly enabled to be started during TCPIP startup BUT IT DOES NOT START, the most likely reason would be

SYSTEM WIDE LOGIN PROCEDURE contained logic

Start with putting $SET NOON at the very beginning, also maybe something like

$if f$mode() .eqs. "NETWORK" then exit

very early there.

Also, put a

$ SET LOGINS/INTERACTIVE=0

pretty much top of SYSTARTUP_VMS.COM, try
to log into system early, do

$ REPLY/ENABLE

and check what kind of messages you get during TCPIP startup.

My bet is on your SYS$SYLOGIN pointed procedure containing some bad stuff that FAILS if procedure executed during system
startup but what works later.

_veli

Re: tring to autostart services on boot

Hi Amit

To see what services gets started at system startup use

$ TCPIP SHOW CONFIG ENABLE SERVICE

To permanently enable FTP at system startup use:

$ TCPIP SET CONF ENABLE SERVICE FTP

Add a /COMMON if you want to enable FTP clusterwide.

All the above normally is done by TCPIP$CONFIG.COM

Regards
Juerg
labadie_1
Honored Contributor

Re: tring to autostart services on boot

Amit

I have seen similar situations. The only workaround has been to delete (when you can, of course) the file sys$system:tcpip$service.dat, then @tcpip$config to add again the services you use (Ftp, Telnet...)

You should have in operator.log a message, may be something as
"nolisten service disabled...", which could help resolve this issue.

regards

Gerard
Amit Levin_1
Occasional Contributor

Re: tring to autostart services on boot

Veli, you did it!
I added: $if f$mode() .eqs. "NETWORK" then exit
to my sylogin.com and it realy solved my problem.
You earned your points.

10x,
Amit.