From: Jaron P. <jpa...@su...> - 2008-03-22 01:23:58
|
Jamie Cameron wrote: >On 21/Mar/2008 15:27 Jaron Parsons wrote .. > > >>Jamie Cameron wrote: >> >> >>>On 21/Mar/2008 13:53 Jaron Parsons wrote .. >>> >>> >>> >>>>Jamie Cameron wrote: >>>> >>>> >>>> >>>>>On 21/Mar/2008 13:23 Jaron Parsons wrote .. >>>>> >>>>> >>>>> >>>>> >>>>>>When I click to install, it downloads the file, and then gives a message >>>>>>"Failed to extract source : Uncompression failed : " >>>>>> >>>>>>any ideas? >>>>>>miniserv.error contains this message each time i run the script "Badly >>>>>>placed ()'s." >>>>>> >>>>>> >>>>>> >>>>>> >>>>>Do you have the tar and gunzip commands on your system? >>>>> >>>>>If so, which OS are you running there? I suspect that the error >>>>>about () is related, and may be caused by some problem with the >>>>>shell command Virtualmin is trying to run. >>>>> >>>>> - Jamie >>>>> >>>>> >>>>> >>>>> >>>>Yes, I do have tar and gunzip. I am running FreeBSD 6.2-stable >>>>If you can tell me the command it is trying to run, or where to find >>>>that part of the code, I can try it from the shell myself and see if i >>>>can re-create if necessary. >>>>Thanks >>>> >>>> >>>> >>>The command is something like : >>> >>>(cd /tmp/something && (gunzip -c /path/to/script.tar.gz | tar xf -)) >>> >>>all run as the domain owner's user. >>> >>>By the way, what shell does this user have set? On Linux Virtualmin >>>forces all these commands to be run using /bin/sh with the -s flag to >>>the su command, but sadly that isn't available on FreeBSD :-( So if >>>the user has tcsh or something funny as the shell, complex commands >>>like that may break. >>> >>> - Jamie >>> >>> >>> >>ahh.. root is set to use tcsh. >>is there are work around? >>I usually accomplish the same as the commadn above with " tar -zxvf >>/path/to/file.tar.gz " >>After changing to the directory of course. >>Jaron >> >> > >Root's shell doesn't really matter here - it is the domain owner's >shell that matters. Can you change that to sh or bash ? > > - Jamie > >------------------------------------------------------------------------- >This SF.net email is sponsored by: Microsoft >Defy all challenges. Microsoft(R) Visual Studio 2008. >http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >- >Forwarded by the Webmin mailing list at web...@li... >To remove yourself from this list, go to >http://lists.sourceforge.net/lists/listinfo/webadmin-list > > ahhh.. ok that worked... I changed that user to /bin/sh and all worked fine thanks for the help! Jaron |