INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

HANDLE


PASSWORD
Remember Me
Forgot Password?

Come Join Us!

  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • Turn Off Ad Banners
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

E-mail*
Handle

Password
Verify P'word
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Member Feedback

"...I am very happy with the whole site and would like to extend my compliments to all of you who work to make it one of the most useful sites (If not THE Most Useful) ...and the easiest to navigate..."

Geography

Where in the world do Tek-Tips members come from?
inetd (TechnicalUser)
9 Mar 03 23:37
I have found most of the startup scripts has a line that touch a file in /var/lock/subsys.  What does this mean?

For example:
/var/lock/subsys/xinetd
/var/lock/subsys/sendmail
/var/lock/subsys/named


Thanks.
Morsing (TechnicalUser)
10 Mar 03 3:30

This is to make sure the same process doesn't start up twice. If you run the startup script again, it will check the file, realise it's already running and exit.

Cheers

Henrik Morsing
Certified AIX 4.3 Systems Administration
& p690 Technical Support

inetd (TechnicalUser)
10 Mar 03 20:17
The system checks it or the start up script checks it?

If the system lost power suddenly, the file will remain there and does the start up script start in next boot?

Thanks.

bluegroper (TechnicalUser)
11 Mar 03 0:28
Prolly realise its a "stale" lockfile, and clean itself up.

ß

Morsing (TechnicalUser)
11 Mar 03 3:32

It's only the startup script that checks it. (There's really no such thing as "the system").

You can always just delete it manually if it causes problems.

Cheers

Henrik Morsing
Certified AIX 4.3 Systems Administration
& p690 Technical Support

Start A New Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Promoting, selling, recruiting and student posting
are not allowed in the forums.
Posting Policies

LINK TO THIS FORUM!
(Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum)
TITLE: Linux (server) Forum at Tek-Tips
URL: http://www.tek-tips.com/threadminder.cfm?pid=54
DESCRIPTION: Linux (server) technical support forum and mutual help system for computer professionals. Selling and recruiting forbidden.

 

Back To Forum