Re: problems with sort in a chroot environment

From: Ryan.Bishop@exim.gov
Date: Wed Oct 16 2002 - 16:54:52 EDT


Thanks to Casper this problem has been fixed. All of the necessary
libraries where within the chroot environment it just turns out to be that
I copied over the wrong sort exec.

     rm -f $ROOT/usr/bin/sort
     cp /usr/bin/sparcv7/sort $ROOT/usr/bin/sort

     (It's one of those schizo executables that actually is a link to
isaexec)

     Casper

I had copied over /usr/bin/sort and as you can tell from above I needed to
copy over the one in /usr/bin/sparcv7. I also found out that it must be
the sparcv7 version of sort and not the sparcv9 version. The sparcv9
version caused the sort command to be killed during execution, no pun
intended.

thanks for all of the responses.
//ryan

>Managers --
>
>I am having a problem with the sort command within by chroot environment.
>I have a web process that is running within Apache 2.0.43 and uses this
>command to parse and display certain fields from a file. I am running
>Solaris 9 on a SunBlade100. Here is the error message that is found
within
>my error_logs
>
> /usr/bin/sort: cannot find/execute "sort" in ISA subdirectories,
>referer: (then the URL)

>Any wisdom would be greatly appreciated.

>thanks,
>//ryan
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:25:07 EDT