[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Error: "user adm does not exist"



On Mon, Nov 16, 1998 at 03:28:05PM +1030, Mark Phillips wrote:
> 
> I'm trying to start the licence manager for matlab and it comes up with
> 
> su: user adm does not exist
> su: user adm does not exist
> su: user adm does not exist
> 
> Is "adm" some kind of standard user on unix systems that for some reason
> doesn't exist in debian?

I think matlab uses flexlm. I wrote the following script to start flexlm, it
should probably support start/stop/restart...:

  #!/bin/sh

  # run flexlm lmgrd for software which requires it

  FLEXHOME=/tools/flexlm/lmgrd/current/i486
  LICENSES=/tools/flexlm/licenses
  LOGDIR=/var/log

  # virsim
  su -c "$FLEXHOME/lmgrd -c $LICENSES/virsim.dat >> $LICENSES/log/virsim.log" install

It is in /etc/init.d. I then ran update-rc.d to set the links in the rc.d
directories. User install is a locally created user that owns the tools
directories. I would prefer the log files to go to /var/log, but didn't
want to deal with permission problems when I was setting this up.

Just fix the paths to your flexlm binaries, put the license in the location
referenced by "-c" and change "virsim" to "matlab". If you every want to kill
the daemon, make sure you kill lmgrd and the vendor daemon (mentioned in the
license file).

-- 
Lee Bradshaw                 lee@sectionIV.com (preferred)
Alantro Communications       lee@alantro.com


Reply to: