From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,c17f02eb35c6d1ae X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-10-04 06:58:58 PST Path: bga.com!news.sprintlink.net!howland.reston.ans.net!europa.eng.gtefsd.com!MathWorks.Com!news2.near.net!emerald.tufts.edu!usenet From: jrozes@musketeers.tufts.edu (Jonathan Rozes) Newsgroups: comp.unix.osf.osf1 Subject: Re: rc3.d question: Anyone using lmgrd on OSF1? Date: 4 Oct 1994 13:41:45 GMT Organization: The Musketeer Project - Tufts University Message-ID: <36rm2p$q4t@Emerald.tufts.edu> References: <36qtrt$c75@news.mic.ucla.edu> Reply-To: jrozes@musketeers.tufts.edu NNTP-Posting-Host: porthos.tcs.tufts.edu In article c75@news.mic.ucla.edu, afj@DrMemory.nuc.ucla.edu (Andy Jacobson) writes: > >Riddle me this: We have AVS here on a Dec Alpha, which uses Flexlm >license manager. (This is not the DEC license manager), anyway, to >get the lmgrd daemon to startup at boot, we put the command in /sbin/rc3.d >at the end, as something like S96lmgrdstart. In the file we put the >command "{path}/lmgrd -c {path}/license.file" followed by an "&" to keep >the boot going. No dice. No errors messages. Changing the command to >"sh {command} &" did nothing for us either. We finally gave up and >hardwired it into the end of rc3 itself with no &, whereapon it works, and >xdm comes up. This is not ideal as it still has the console, but it doesn't >seem to want to do anything when started in the background. I never >encounter this problem with any other version of unix and rc files. When >started on the command line by root, lmgrd runs fine in the background. We use several packages that implement FlexLM. My lmgrd comes from LSF and starts roughly like this: $LSF_SERVERDIR/lmgrd \ -c /usr/lsf/etc/license.dat | sh -c \ 'while read line; do echo "$line" >> /var/adm/flexlm.log ; done ' \ 2>&1 & I have this by itself in /sbin/init.d, with a link from /sbin/rc3.d pointing to it. It isn't very elegant if you ask me, but then again, I haven't had any problems with it here. jonathan +++ Jonathan Rozes, jrozes@musketeers.tufts.edu, jrozes@cs.tufts.edu +++ http://www.tufts.edu/~jrozes/ +++ Mind Over Liver: The liver probably contains 100 million cells, but 1,000 livers do not add up to a rich inner life.