LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 10-31-2005, 05:44 PM   #1
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Colombia
Distribution: Kubuntu, Debian, Knoppix
Posts: 1,982
Blog Entries: 1

Rep: Reputation: 83
Angry SLES: Why don't my environment variables get set?


I'm trying to set up ASE on a SLES server.

I set up /etc/profile.local, /etc/bashrc.bashrc.local and even the sybase user's .bashrc file to run the script that sets up the Sybase Variables... but when the sybase user logs in.... or any other user, the variables DON'T GET SET! I can even run the script myself, and the variables don't get set.

The script only has a bunch lines setting variables and exporting them.

What the hell is going on?
 
Old 11-01-2005, 11:15 AM   #2
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,593

Rep: Reputation: 188Reputation: 188
"I set up /etc/profile.local, /etc/bashrc.bashrc.local and even the sybase user's .bashrc file to run the script that sets up the Sybase Variables... but when the sybase user logs in.... or any other user, the variables DON'T GET SET! I can even run the script myself, and the variables don't get set."

Is the script's permissions set to executable?

Could you post the script?

---------------------
Steve Stites
 
Old 11-01-2005, 11:19 AM   #3
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Colombia
Distribution: Kubuntu, Debian, Knoppix
Posts: 1,982
Blog Entries: 1

Original Poster
Rep: Reputation: 83
Not really... The box is not within my reach right now.

But it has things like:

Code:
SYBASE=/usr/sybase
export SYBASE
And some other variables.... including PATH and LD_LIBRARY_PATH.
 
Old 11-01-2005, 12:09 PM   #4
ssfrstlstnm
Member
 
Registered: Dec 2004
Location: IN, USA
Distribution: debian etch
Posts: 402

Rep: Reputation: 30
Code:
source /etc/profile.local
will reload the profile
 
Old 11-01-2005, 12:49 PM   #5
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Colombia
Distribution: Kubuntu, Debian, Knoppix
Posts: 1,982
Blog Entries: 1

Original Poster
Rep: Reputation: 83
OK.... will try tonight. Let's see what happens. ;-)
 
  


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
how do i set environment variables? guitarfella Slackware 2 12-05-2004 12:05 AM
Why can't my scripts set environment variables? Matthew3 Linux - Software 5 08-28-2004 06:26 PM
How to set environment variables anjaan Linux - General 3 06-10-2004 03:04 PM
set environment variables using GUI? bax Linux - Software 2 04-10-2004 03:42 PM
Help with the currently set environment variables!! apoc013 Linux - Newbie 6 01-21-2004 02:28 AM


All times are GMT -5. The time now is 06:58 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration