0
votes
2answers
64 views

CentOS - binary won't run unless typed with absolute path

I'm not sure if it's a quirk of the program I'm trying to run (amidelnx) or if it's something with the way some binaries in general function. Also, I've read this question but it is not the same as ...
0
votes
0answers
56 views

Problems with @INC when updating Perl form 5.10 to 5.18 on Centos

I am on Centos 6 (as root) with Perl 5.10, also with a lot of modules installed (using yum and CPAN). I've tried to upgrade Perl to 5.18 and now have some problems with @INC. I receive messages that ...
1
vote
3answers
235 views

which and sudo not using the same path

$ which reboot /usr/bin/reboot $ sudo reboot Sorry, user myusername is not allowed to execute '/sbin/reboot' as root What am I missing here? Thanks for your help.
1
vote
2answers
110 views

Per-application library paths on CentOS

Context: After a recent version upgrade of a bunch of our server software, I've found myself in a dilemma: I have two sets of applications (Zend server and assorted utils, and a bunch of PostgreSQL ...
0
votes
1answer
52 views

$PATH variable for anonymous user

I'm on CentOS. I have a php script that needs to have /usr/lib64 in its $PATH. From the php script when I output echo $PATH I get /bin:/usr/bin when I ouput echo $USER I get a ...
5
votes
2answers
7k views

CentOS /usr/local/lib system wide $LD_LIBRARY_PATH?

I install custom software in /usr/local/lib. How do I set the PATH and LD_LIBRARY_PATH in CentOS 6 system-wide to use /usr/local/lib. I realize there may be more than one way. What's the simplest and ...
0
votes
1answer
167 views

Need Apache configuration fixed

Issue: I have loaded Wordpress MU inside of my DocumentRoot. This is working fine however, I now have two projects inside the DocumentRoot that both have a directory with the same name: 'plugins': ...
0
votes
1answer
343 views

ld path update in centos

I just installed manually apr and apr_util so i can install activemq cpp library. When i try to make the cpp library i get the following error: /usr/bin/ld: cannot find -lexpat collect2: ld ...
0
votes
3answers
1k views

how to set PATH in CentOS so that it is visible in PHP

I need my PATH environment variable to include /usr/local/bin when seen from PHP, so that I can execute binaries that are in /usr/local/bin with exec() in PHP code without writing their full path, ...
4
votes
3answers
586 views

Why is my $PATH variable for root different when I use su root

When I was trying to run chkconfig as an ordinary user (on CentOS 5) I realized that I could not access it because the directory, sbin, is not in my $PATH. When I su to root it still doesn't work. I ...
26
votes
4answers
64k views

Adding a directory to $PATH in CentOS?

We just got our new server(s) up and we're running CentOS on them all. After successfully installing Ruby Enterprise Edition, I would now like to add the REE /bin (located at ...