comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » IDL license server startup on DEC Alpha
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
IDL license server startup on DEC Alpha [message #1518] Thu, 02 December 1993 04:40 Go to next message
eckman is currently offline  eckman
Messages: 8
Registered: February 1991
Junior Member
I recently upgraded to idl v3.5 and am just attempting to get the idl
license manager software running on a DEC Alpha workstation running OSF/1.
I adapted the sys5_idl_lmgrd script provided by RSI as follows:

#!/bin/sh
#
#
# This script can be used to start and stop the IDL network license
# manager on System V operating systems. To use it, edit it to
# customize it for your site. This is done by modifying the shell
# variable definitions IDL_DIR and LM_LICENSE_FILE below.
#
# Once it is properly customized, use the following commands to install
# it on your system. These commands assume that your current working
# directory is the one containing this script:
#
# % cp sys5_idl_lmgrd /sbin/init.d
# % ln -s ../init.d/sys5_idl_lmgrd /sbin/rc3.d/S99sys5_idl_lmgrd
# % ln -s ../init.d/sys5_idl_lmgrd /sbin/rc0.d/K01sys5_idl_lmgrd
#
# After executing these commands, reboot the system.
#
# The following steps explain the commands above.
#
# 1) Copy this script to the standard System V location.
# 2) Link it into the run level 3 directory. The leading 'S' means
# that our daemon should be started at run level 3. The 99 causes
# this script to be executed after all other scripts in /sbin/rc3.d.
# 3) Link it into the run level 0 directory. The leading 'K' means
# that our daemon should be killed when entering run level 0.
# The 01 causes this script to be executed before the other scripts
# in /sbin/rc0.d.
# 4) Reboot the system, returning to multi-user mode. Entering this
# mode (run level 3) should cause the IDL license manager daemon
# to be started.
#
# TO LEARN MORE:
# - Read about run levels in the System Administration guide for
# your system.
# - Read the file /sbin/init.d/README

# NOTE: EDIT THESE DEFINITIONS FOR YOUR SITE
IDL_DIR=/usr1/local/lib/idl
LM_LICENSE_FILE=$IDL_DIR/license.dat
LOG_FILE_NAME=/dev/null
# END OF END-USER DEFINITIONS

SCRIPT=$0
export IDL_DIR
export LM_LICENSE_FILE
export LOG_FILE_NAME


# Make sure we really have the location of the daemon and the license file.
if [ ! -f $IDL_DIR/bin/lmgrd ]; then
echo "$SCRIPT: Can't find the idl license manager daemon"
exit 1
fi
if [ ! -f $LM_LICENSE_FILE ]; then
echo "$SCRIPT: Can't find the idl license file: $LM_LICENSE_FILE"
exit 1
fi

# Take the desired action
case "$1" in
'start')
$IDL_DIR/bin/lmgrd > $LOG_FILE_NAME &
echo "Started idl license manager daemon"
;;
'stop')
$IDL_DIR/bin/lmdown -q
;;
*)
echo "$SCRIPT: Unknown option: $1"
echo "Usage: $SCRIPT { start | stop }"
exit 1
;;
esac


However, I can't get the license manager to start up at system boot
time. At boot, I do see a console message indicating that the license
manager daemon has started, but if it really started, it must
have immediately died. I tried changing the log file from /dev/null
to /usr/adm/idl_mess, but that file remains empty at startup so it provides
no clue as to what's happening. The script works just fine manually
and the daemon can be started and stopped with no difficulty.
Has anyone had success in starting the license manager daemon at
boot time on the OSF/1 Alpha?
Thanks.

Rich Eckman
NASA Langley Research Center
Hampton, VA
eckman@eos1.larc.nasa.gov
Re: IDL license server startup on DEC Alpha [message #1589 is a reply to message #1518] Wed, 08 December 1993 07:42 Go to previous message
thompson is currently offline  thompson
Messages: 584
Registered: August 1991
Senior Member
eckman@eos1.larc.nasa.gov (Richard Eckman) writes:

> I recently upgraded to idl v3.5 and am just attempting to get the idl
> license manager software running on a DEC Alpha workstation running OSF/1.
> I adapted the sys5_idl_lmgrd script provided by RSI as follows:

(stuff deleted)

> However, I can't get the license manager to start up at system boot
> time. At boot, I do see a console message indicating that the license
> manager daemon has started, but if it really started, it must
> have immediately died. I tried changing the log file from /dev/null
> to /usr/adm/idl_mess, but that file remains empty at startup so it provides
> no clue as to what's happening. The script works just fine manually
> and the daemon can be started and stopped with no difficulty.
> Has anyone had success in starting the license manager daemon at
> boot time on the OSF/1 Alpha?
> Thanks.

I'm having similar problems with the version 3.5 license manager on an Alpha
running OpenVMS 1.0. I can start the license manager fine manually, but it
doesn't seem to want to start from system boot. Any suggestions?

Bill Thompson
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Cursor-editing techniques/tools?
Next Topic: Efficient IDL Programming - RESULTS

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 18:13:44 PDT 2025

Total time taken to generate the page: 0.00501 seconds