Visit Jeremy's Blog.
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 12-03-2003, 11:40 AM   #1
LQ Newbie
Registered: Dec 2003
Distribution: red hat 8
Posts: 2

Rep: Reputation: 0
Unhappy Can't modify PATH globally for SOAP interaction...


I am a linux newbie. I am trying to get a path to a program in the environment PATH. I tried modifying the /etc/profile and adding to PATH, but it doesn't seem to work using the following:

export PATH

When I log out and log back in, I type printenv PATH, but the PATH does not contain the new program path!!!

I am trying to get the location to the program in the global PATH environment so that any user will be able to call the program without having to modify every user's .bash_profile.

Then I discovered that SOAP interactions or CGI scripts do not load the bash environment (is this correct?). I have a SOAP server that is supposed to run the program, but since it can't see it in the PATH environment, it doesn't work. I am at my wits end after having tried for 3 days. Please help!! Thanks in advance.
Old 12-03-2003, 11:45 AM   #2
LQ Newbie
Registered: Dec 2003
Distribution: red hat 8
Posts: 2

Original Poster
Rep: Reputation: 0
I forgot to add that the system call that runs the meme program within a perl method explictly states the correct path to the program. I also added a BEGIN block that modifies the PATH using $ENV{PATH} = '/usr/local/bin/MEME/meme/bin:/usr/local/bin:/usr/bin:/bin';
Old 12-03-2003, 02:29 PM   #3
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917
Try to put something like
export PATH=$PATH:/usr/local/bin/MEME/meme.3.0.4/bin
in /etc/profile.d



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 to modify the root path at boot time jayhel Slackware 3 08-27-2005 12:40 AM
How to modify the system-wide PATH jayhel Slackware - Installation 8 04-22-2005 04:00 AM
How to modify the library path variable?modify the Electronkz Linux - Newbie 1 04-13-2004 07:18 AM
Globally set PATH for all users glock19 Red Hat 8 11-09-2003 03:25 PM
removing path variables globally Nevetsmik103081 Linux - General 1 07-05-2003 02:17 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:42 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
Open Source Consulting | Domain Registration