Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-13-2004, 04:16 PM   #1
LQ Newbie
Registered: May 2004
Posts: 2

Rep: Reputation: 0
env varaibles at bootup


I would like to define env variables ORACLE_SID and ORACLE_HOME for apache at boot up time. The definitions in /etc/profile do not help at boot up time. The objective is to enable webserver retrieve data from Oracle database (on a different machine) and display it to users coming through web browser.

Old 05-13-2004, 04:55 PM   #2
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,684

Rep: Reputation: 230Reputation: 230Reputation: 230
The easiest solution (if the variables just have a value and you don't need to change them) is to add the definition at the beginning of Apache starting script (it's usually /etc/init.d/httpd).


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
execute the .env bxr1981 Programming 5 08-22-2005 10:00 AM
set or env? calutateo Linux - Newbie 2 07-24-2005 01:56 PM
env variable allelopath Linux - Software 3 04-14-2005 01:07 PM
profile.env twk Linux - Distributions 1 10-20-2004 02:04 AM
How to convert a bootup floppy to a bootup CD ? wlaw Linux - Newbie 2 07-15-2004 04:28 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:58 PM.

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