It will need to go in the .bashrc which is what is used, at least in some 
distros, when you bring up a terminal window and the .bash_profile is used 
when you ssh in, etc.


On Wednesday 25 May 2005 06:58 pm, Martinelli, Richard wrote:
> Thanks Kevin.
>
> I place the changes you suggested (making the necessary directory changes)
> in the /home/vista/.bash_profile file, but still have the same error
> messages appear when trying to execute mupip.  I also placed the changes in
> the root bash_profile. Is there another area that I should place these
> environmental variables?
>
> As you probably guessed, I have not worked with Linux before so I'm limping
> along.
>
> Richard Martinelli
> CDVA
> (916) 653-2395
>
>
> -----Original Message-----
> From: Kevin Toppenberg [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, May 25, 2005 2:04 PM
> To: hardhats-members@lists.sourceforge.net
> Subject: Re: [Hardhats-members] Trouble with mupip
>
>
> The biggest problem I had when I was getting this
> running, was to get all the environmental variables
> correct.  Here is my setup.  I have a shell script
> named "rundown".  Here it is:
>
> . /var/local/OpenVistA_UserData/setup_vista_env
> #-----------------------------
> echo "Running down database..."
> /usr/local/gtm/mupip rundown -reg "*"
>
>
> And here is the file that sets my variables:
>
> #12-14-2004 --moved exports into runvista script
> #4-12-05 Trying to make a unified environmental setup
> script
>
> #-----------------------------
> export m2web="/usr/local/m2web"
>
> export gtm_dist=/usr/local/gtm
> export gtm_log=/var/gtm/log
> export gtm_vista=/var/local/OpenVistA_UserData
> export gtm_vista_prod=/usr/local/OpenVistA
> export gtmgbldir=$gtm_vista/g/mumps.gld
> export vista_home=$gtm_vista
>
> export gtmroutines="$gtm_vista/o($gtm_vista_prod/r
> $gtm_vista/r $gtm_dist) $gtm_dist()
> $m2web/o($m2web/w)"  #//kt
> # export gtmroutines="$gtm_vista/o($gtm_vista_prod/r
> $gtm_vista/r $gtm_dist) $gtm_dist()"
>
> export EDITOR="vim"
> PATH=$PATH:$gtm_dist
>
> #-----------------------------
> echo " "
> echo " "
> echo "-------------------------"
> echo "FYI, here are relevant defined variables:"
> echo
> echo "gtm_dist="$gtm_dist
> echo "gtm_log="$gtm_log
> echo "gtm_vista="$gtm_vista
> echo "gtm_vista_prod="$gtm_vista_prod
> echo "gtmgbldir="$gtmgbldir
> echo "vista_home="vista_home
> echo "gtmroutines="$gtmroutines
> echo " "
> #-----------------------------
>
>
> Hope that helps.
> Kevin
>
>
>
>
> --- "Martinelli, Richard"
>
> <[EMAIL PROTECTED]> wrote:
> > I had Vista up and running and had been working with
> > CPRS, finely getting
> > the PC to communicate with the Vista server last
> > Friday.  Over the weekend
> > the server lost power and now each time I try to
> > work within GTM I get the
> > message: "%GTM-E-REQRUNDOWN, Error accessing
> > database
> > /home/vista/2.5/g/mumps.dat. Must be rundown on
> > cluster node Vista At M
> > source location GROUP+2^ZTMKU"
> >
> > I have searched the list and found a very similar
> > question from Michael
> > Quattlebaum. I followed the procedures mentioned,
> > entering the command:
> > mupip rundown -file /home/vista/2.5/g/mumps.dat and
> > I get a response from
> > mupip of: "%GTM-E-INVCMD, Invalid command keyword
> > encountered.  In the past
> > I have also tried to run the mupip command when I
> > was finished running MUMPS
> > as mupip rundown -r "*", however, it has never
> > executed successfully, always
> > issuing the same error of INVCMD.
> >
> > Where is this command issued?  I cannot see what I'm
> > doing wrong with this
> > command, it's like it cannot find the command.  Can
> > anyone help another
> > newbie trying to establish a Vista system.
> >
> >
> > Richard Martinelli
> > CDVA
> > (916) 653-2395
>
> __________________________________
> Yahoo! Mail Mobile
> Take Yahoo! Mail with you! Check email on your mobile phone.
> http://mobile.yahoo.com/learn/mail
>
>
> -------------------------------------------------------
> SF.Net email is sponsored by: GoToMeeting - the easiest way to collaborate
> online with coworkers and clients while avoiding the high cost of travel
> and communications. There is no equipment to buy and you can meet as often
> as you want. Try it
> free.http://ads.osdn.com/?ad_id=7402&alloc_id=16135&op=click
> _______________________________________________
> Hardhats-members mailing list
> Hardhats-members@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/hardhats-members

-- 
Nancy Anthracite


-------------------------------------------------------
SF.Net email is sponsored by: GoToMeeting - the easiest way to collaborate
online with coworkers and clients while avoiding the high cost of travel and
communications. There is no equipment to buy and you can meet as often as
you want. Try it free.http://ads.osdn.com/?ad_id=7402&alloc_id=16135&op=click
_______________________________________________
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members

Reply via email to