home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / infosyst / gopher / 1206 < prev    next >
Encoding:
Internet Message Format  |  1992-11-17  |  1.8 KB

  1. Path: sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!agate!doc.ic.ac.uk!uknet!mucs!mcchpc.mcc.ac.uk!zlsiimw
  2. From: zlsiimw@mcchpc.mcc.ac.uk (Mark Whidby)
  3. Newsgroups: comp.infosystems.gopher
  4. Subject: Re: Anyone running shell  scripts on HPs?
  5. Message-ID: <6766@m1.cs.man.ac.uk>
  6. Date: 17 Nov 92 09:26:04 GMT
  7. References: <1992Nov13.154707.14790@news.nd.edu>
  8. Sender: news@cs.man.ac.uk
  9. Reply-To: M.Whidby@mcc.ac.uk
  10. Organization: Manchester Computing Centre
  11. Lines: 26
  12.  
  13. In article <1992Nov13.154707.14790@news.nd.edu>, mandell@bach.helios.nd.edu (Dan
  14. Mandell) writes:
  15. |> Has anyone figured out how to get shell scripts running under hpux?
  16. |> I would be gratefull for any tips.
  17.  
  18. Well, I thought I understood the situation but I'm not so sure now.
  19. In the early experimental days I was running a test server manually (ie. not
  20. under inetd) and with -c on the command line. I could execute shell scripts
  21. any where in the gopher tree so long as they had the executable bits set and
  22. they had the #! at the beginning.
  23.  
  24. Now, I'm running under inetd but still with -c and now I find it will only
  25. execute scripts if I put them in a directory called bin at the top of the
  26. gopher tree. I should point out that this is with the latest beta 1.1 version
  27. of the server so I'm not sure if this has caused the change.
  28.  
  29. So all in all scripts _will_ work under HPUX - you just may need to play
  30. around a bit to get it working. Try running with debugging on and checking
  31. the logs; try running non-chroot and see if that makes a difference;
  32. ensure the exceutable bits are on and that the #! is present.
  33.  
  34. Meanwhile, I'm going to have another look at the source to see if I can
  35. understand what's going on...
  36. -- 
  37. _____________________________________________________________
  38. Mark Whidby, Distributed Systems, Manchester Computing Centre
  39.