LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-20-2009, 02:29 PM   #1
scarpozzi
LQ Newbie
 
Registered: Jun 2009
Posts: 6

Rep: Reputation: 0
Installed a Server Application....I need some help with variables.


I installed a server application that was bundled with Tomcat and Java... I set the environment variables for Tomcat and Java and all seems to be working there. When I kickoff a run script that starts Tomcat (custom for the app), it does a check to make sure certain variables are set. Running the script returns:
"APPLICATION_SYSTEM_USER must be set for proper execution"
I opened the script in vi and saw that it was just checking to make sure the APPLICATION_SYSTEM_USER is set....roughly:
"if [-z "$APPLICATION_SYSTEM_USER" ]
then
echo "error msg"
fi"

The application has no documentation of this, but I know what user it should run as. How should I set this variable and what's the syntax. I've only set paths as EVs. Thanks,

-Scar
 
Old 07-20-2009, 03:25 PM   #2
scarpozzi
LQ Newbie
 
Registered: Jun 2009
Posts: 6

Original Poster
Rep: Reputation: 0
I think I got it...I just threw the App=username in one of my existing /etc/profile.d scripts. I just hope I used the right user.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Bash script with environment variables -Application launcher Offman Linux - Newbie 14 07-15-2009 02:21 PM
how can custom application launcher use my environmental variables tacca Linux - Software 1 06-01-2007 03:48 PM
How do I know if an application is installed or not? frankie_DJ Linux - Newbie 7 07-19-2005 05:25 AM
Launching application + variables in FVWM Peff Linux - Software 2 06-28-2005 09:36 AM
How do you know where your application got installed too? eww Linux - Software 7 12-11-2003 10:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration