home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / unix / sysv386 / 16662 < prev    next >
Encoding:
Text File  |  1992-11-20  |  1.8 KB  |  50 lines

  1. Newsgroups: comp.unix.sysv386
  2. Path: sparky!uunet!ihz.compuserve.com!sam
  3. From: sam@csi.compuserve.com (Sam Neely)
  4. Subject: Re: inittab problems with Dell 2.2
  5. Message-ID: <By1Csu.4IE@csi.compuserve.com>
  6. Organization: CompuServe Incorporated
  7. References: <105@jassys.UUCP>
  8. Date: Fri, 20 Nov 1992 22:22:05 GMT
  9. Lines: 39
  10.  
  11. In article <105@jassys.UUCP> tony@jassys.UUCP (Tony Holden) writes:
  12. >We've just picked up a copy of Dell 2.2 and have run into a problem.
  13. >
  14. >I'm trying to add a line to /etc/inittab to run a script that starts
  15. >up database servers & such.  It's never run.  Here's how it looks:
  16. >
  17. >rclocal:23:wait:/usr/local/rc.local > /dev/sysmsg 2>&1 < /dev/console
  18.  ^^^^^^^
  19. First of all, inittab(4) says that the id should be a 1 to 4 character
  20. tag.  Could this be the problem?
  21.  
  22. >The script itself is fine, has been used for years now.  For some
  23. >reason this entry is never executed when the system is bought up.
  24.  
  25. Another possibility: (just grasping at straws, here...)  Is the
  26. script flagged as executable?
  27.  
  28. >I can work around it by putting a line in rc2 but that's not the way I
  29. >want to do it.  I have other systems in the field and I want things to
  30. >be setup in the same manner.  I don't want to have to remember the
  31. >differences between this system and that.
  32.  
  33. As an alternative, how about setting up the script so it can be
  34. dropped into the /etc/init.d directory and then linked over to
  35. /etc/rc2.d?
  36.  
  37. >Thanks in advance.
  38.  
  39. No problem.
  40.  
  41. >Tony Holden                    live on the edge,
  42. >tony@jassys                      Bank in Texas
  43. >jassys!tony@rwsys.lonestar.org
  44.  
  45. -- 
  46. Sam Neely, CompuServe Incorporated                  +1 614 457 8600 (voice)
  47. 5000 Arlington Centre Blvd, Columbus, OH  43220     +1 614 457 0348 (FAX)
  48. Electronic Mail:  InfoPlex: >CSI:SAM      Internet: SAM@CSI.COMPUSERVE.COM
  49. To err is human, to forgive is against company policy
  50.