installer script errors

5 posts / 0 new
Last post
#1 Sat, 11/04/2006 - 21:30
nicbaxter

installer script errors

Hi I have installed virtualmin pro on a rhel4 box (vsp) and all seems OK at this stage except that I have been able to use any of the installer scripts. When I try to install squirrelmail I get Downloading http://surfnet.dl.sourceforge.net/sourceforge/squirrelmail/squirrelmail-... (584950 bytes) .. Received 1024 bytes (0 %) Received 59392 bytes (10 %) Received 117760 bytes (20 %) Received 176128 bytes (30 %) Received 234496 bytes (40 %) Received 292864 bytes (50 %) Received 351232 bytes (60 %) Received 409600 bytes (70 %) Received 467968 bytes (80 %) Received 527360 bytes (90 %) Received 584950 bytes (100 %) .. download complete. Now installing SquirrelMail version 1.4.8 ..

Configuration program failed : /config/conf.pl: /usr/bin/env: bad interpreter: Permission denied

.. failed! See the error message above for the reason why.

Also when I try TikiWiki I get Downloading http://optusnet.dl.sourceforge.net/sourceforge/tikiwiki/tikiwiki-1.9.5.zip (9577201 bytes) .. Received 1024 bytes (0 %) Received 958464 bytes (10 %) Received 1915904 bytes (20 %) Received 2873344 bytes (30 %) Received 3831808 bytes (40 %) Received 4789248 bytes (50 %) Received 5746688 bytes (60 %) Received 6704128 bytes (70 %) Received 7662592 bytes (80 %) Received 8620032 bytes (90 %) Received 9577201 bytes (100 %) .. download complete. Now installing TikiWiki version 1.9.5 ..

Failed to extract source : /bin/sh: unzip: command not found .

.. failed! See the error message above for the reason why.

Everything works OK when I try it from the command line so is there a simple permission setting that I have missed.

Cheers

Nic Baxter

Sat, 11/04/2006 - 22:01
Joe
Joe's picture

For the squirrelmail installer, check that the file /usr/bin/env exists on your system, and is executable (you can test it by running /usr/bin/env perl at the shell prompt).

For the tikiwiki problem, make sure that the unzip command is installed, and can be run as the owner of the domain. You could test this by running the following command as root :

su -s /bin/sh domainowner -c unzip

--

Check out the forum guidelines!

Sun, 11/05/2006 - 01:20 (Reply to #2)
nicbaxter

Hi Jamie
Thanks for the prompt posting. It appears that ordinary users do not have access to /usr/bin/ even though the permissions are 755. So /bin/env works but not its link /usr/bin/env. The neither does /usr/bin/unzip. I do not know why this is so. It is rhel4 running on a xen vps and I do not any experience with that combination. I will check with the hosting company.

Cheers

Nic

Mon, 11/06/2006 - 04:28 (Reply to #3)
nicbaxter

The issue is resolved so I though I should notify the forum in case others have a similar issue. It turns out the the permissions on /usr were a bit screwed up. I have no idea how it happened but once they matched 755 of /usr/bin then all worked OK.

Cheers

Nic

Sun, 11/05/2006 - 09:45
Joe
Joe's picture

Yeah, I would ask your hosting company - perhaps the /usr/bin directory is mounted in such a way that it cannot be accessed by normal users.

--

Check out the forum guidelines!

Topic locked