Re: Script run older ver. ap. in other partition ?
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Red Hat support > Red Hat Configuration > Re: Script run older ver. ap. in other partition ?




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Re: Script run older ver. ap. in other partition ?  
news


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-08-06 12:28 PM


On Thu, 13 Jul 2006 12:52:39 -0400, Chris F.A. Johnson wrote:

> On 2006-07-12, news wrote: 
>
>    The partition an application is on makes no difference.
>
>    What is an ash-based application"? Do you mean a shell script? Ash
>    is a POSIX shell, and anything that runs in it should also run in
>    bash or ksh.
> 
>
>    A script can modify the environment.
> 
>
>    What script[s] are you talking about? What are the error messages?

The News & mail reader, rna, is written as an ash script, for mulinux:
a brilliantly simple 1m7-fd0 installation. I love the simplicity of
these Italian designs, compared to the Disneyland crap.

Here's my log:-
Run /mnt/p3/rna/rna  from mc ==
# ./rna
shift: can't shift that many
[vbcol=seagreen] 
for "shift" [don't you love mc?!].
== found twice eg. ======
#!/bin/ash
##################################
# RNA Messenger
# rustic MUA for muLinux
##################################
# v0.23 (C) 2000, M.Andreoli
# 7/10/00 tweaks by A. Costa

#set -x

# syntax

case "Z$1Z" in
Z-hZ)   echo "rna [-h|-mail|-news]"
exit;;
ZZ|Z-mailZ|Z-MailreaderZ)
MODE=Mailreader
shift ;;
Z-newsZ|Z-NewsreaderZ)
MODE=Newsreader
shift;;
esac
...snip...

?? perhaps FC1's ash is incompatible ??
Try force use of mulinx/ash ==edit "#!/bin/ash" to "#!mnt/p3/bin/ash"
& test-run == /mnt/p3/bin/ash: can't load library 'libc.so.5'
Try sym-link in 'lib-dir'
Where/what is 'lib-dir' ? Try /usr/bin/printenv ==> doesn't tell.
See where mulinux has libc.so.5 [using mc of course !].
== /mnt/p3/lib/ -> libc.so.5.4.13
? So sym-link <this Partn>/lib/libc.so.5  -> /mnt/p3/lib/libc.so.5.4.13
?! not sure how to use mc to do this !?
Try: ln -s /lib/libc.so.5  /mnt/p3/lib/libc.so.5.4.13
== ln: `/mnt/p3/lib/libc.so.5.4.13': File exists
Try: ln -s /mnt/p3/lib/libc.so.5.4.13 /lib/libc.so.5
== mc shows the required link as the most recent entry/file of /lib/* !
Test run: # ./FC1rna == .: Can't open rna.conf
Seek rna.conf in mulinux-parttion [using mc !]
== found in /mnt/p3/etc == mc: copy to /etc & test run
==  ./FC1rna
cat: /usr/rna/welcome: No such file or directory
exec: muless: not found
?!?! OK this 'making the web-of-files available to the script in
the mulinux partition is not practical.

What I want is to redirect all calls to '/root/ to '/mnt/p3'
for the duration of running the RNA script/application.

Is that possible ?

Thanks for info,

== Chris Glur.






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 01:04 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register