hostpc.com
Verified User
CentOS 5, 32 bit ..
Newly installed server, jailshell setup on initial config. Customer just moved to this server, old server (less than a year old build), same versions, was working fine.
Customer is trying to run a script via SSH executing PHP CLI:
Executed as root, the script runs without an issue:
When run as user USERNAME, it fails:
Tracked this down to a missing library not installed properly with the latest release of the jail script. I tried to symlink it in the customers /lib directory
libmysqlclient.so.15 -> /usr/lib/libmysqlclient.so.15
still not working. I'm reluctant to do a hard link, doing so would allow the customer to overwrite - with RW access.
My questions are, what changed in the jail script - who changed it (was this another user - or DA admins?) and most importantly, how can it be fixed quickly?
Thank you
Newly installed server, jailshell setup on initial config. Customer just moved to this server, old server (less than a year old build), same versions, was working fine.
Customer is trying to run a script via SSH executing PHP CLI:
<?
echo "TEST\n";
?>
Executed as root, the script runs without an issue:
[root@www534 cron]# pwd
/home/USERNAME/domains/customersdomain.com/public_html/admin/cron
[root@www534 cron]# php -q test.php
TEST
[root@www534 cron]#
When run as user USERNAME, it fails:
[root@www534 cron]# su USERNAME
bash-3.2$ php -q test.php
php: error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory
bash-3.2$
Tracked this down to a missing library not installed properly with the latest release of the jail script. I tried to symlink it in the customers /lib directory
libmysqlclient.so.15 -> /usr/lib/libmysqlclient.so.15
still not working. I'm reluctant to do a hard link, doing so would allow the customer to overwrite - with RW access.
My questions are, what changed in the jail script - who changed it (was this another user - or DA admins?) and most importantly, how can it be fixed quickly?
Thank you