Sponsored Content
Operating Systems Solaris Solaris patch cluster installation error Post 302536932 by tamitot on Wednesday 6th of July 2011 02:12:10 PM
Old 07-06-2011
the process might have created a pid file when it run. when you restarted the script, this pid file still exists and was found by the script thus it assumes there are still instances running. rebooting the machine clears the /var/run since its a tmpfs filesystem. the folder usually contains the pid/lock files.
This User Gave Thanks to tamitot For This Post:
 

9 More Discussions You Might Find Interesting

1. High Performance Computing

Installation Guide for Solaris Cluster 3.2 Software and Oracle 10g Release 2 Real App

Here are steps for installing the Solaris 10 11/06 OS, Solaris Cluster (formerly Sun Cluster) 3.2 software, QFS 4.5, and Oracle 10gR2 RAC. Also provided are instructions on how to configure QFS and Solaris Volume Manager for use with Oracle 10gR2 RAC. More... (0 Replies)
Discussion started by: Linux Bot
0 Replies

2. High Performance Computing

Solaris 10 and OpenSolaris : Web Based Management tools and Sun Cluster installation

Gurus, I have several questions : 1. Does Solaris 10/OpenSolaris has some kind of web based management tools ? Currently I am using WebMin. It worked fine, however I am very curious to use the tools provided by Sun Microsystem. Please advise for package name and how to activate.... (0 Replies)
Discussion started by: Zepiroth
0 Replies

3. Solaris

Immediate Help Required for Patch Installation on Solaris 10

Hi All, I am new to Solaris. I have to install some latest patches on my SPARC Machine running Solaris 10. I have installed the required patches. Please guide me through the rest of the process. Please include even minute details so that I don't face any problems while doing this activity. ... (0 Replies)
Discussion started by: kamaldeep1986
0 Replies

4. UNIX for Advanced & Expert Users

Immediate Help Required for Patch Installation on Solaris

Hi All, I am new to Solaris. I have to install some latest patches on my SPARC Machine running Solaris 10. I have installed the required patches. Please guide me through the rest of the process. Please include even minute details so that I don't face any problems while doing this activity.... (3 Replies)
Discussion started by: kamaldeep1986
3 Replies

5. Solaris

How to customize cluster during solaris installation?

While performing, solaris 10 U7 interactive initial installation I selected 'End User System Support' software group as below: Select Software ___________________________________________________________ Select the Solaris software to install on the system. NOTE: After selecting a software... (0 Replies)
Discussion started by: ramnagaraj
0 Replies

6. Solaris

Issue while installing: Solaris 10 SPARC Recommended Patch Cluster (2009.10.23)

Hello, As explained, I've encountered an issue while installing Solaris 10 SPARC Recommended Patch Cluster (2009.10.23). Actually, patch no 120011-14 stops with the following error: ERROR: attribute verification of </var/run/.patchSafeMode/root/usr/bin/passwd> failed file type <f>... (6 Replies)
Discussion started by: a.mauger
6 Replies

7. Solaris

Solaris 10 flash installation - fatal error. Solaris installation program exited.

Not very helpful to say the least. Seems to read the flar file and go through the upgrade and then come up with this error. Any ideas? (1 Reply)
Discussion started by: psychocandy
1 Replies

8. Solaris

Oracle stopped updating Solaris 10 recommended patch cluster ?

Dear All, Has Oracle stopped updating Solaris 10 recommended patch cluster ? From suport.oracle.com i could see the last patch bundle was released on 11th july and there has been no updates after that. Does anyone know about any official announcement from oracle on this ? Thanks ... (1 Reply)
Discussion started by: abhi_8029
1 Replies

9. Solaris

NIS broken after installing patch cluster on Solaris 10

Hi, I installed Solaris 10 recommended patch cluster (patch bundle of 400+ patches). After reboot global zone is fine, but a lot of services was in uninitialized state. I had to run /lib/svc/bin/restore_repository and then services came online. Now I can't login to server with NIS account... (1 Reply)
Discussion started by: ron323232
1 Replies
SHLOCK(1)						      General Commands Manual							 SHLOCK(1)

NAME
shlock - create lock files for use in shell scripts SYNOPSIS
shlock -p pid -f name [ -b ] [ -u ] [ -c ] DESCRIPTION
Shlock tries to create a lock file named name and write the process ID pid into it. If the file already exists, shlock will read the process ID from the file and test to see if the process is currently running. If the process exists, then the file will not be created. Shlock exits with a zero status if it was able to create the lock file, or non-zero if the file refers to currently-active process. OPTIONS
-b Process IDs are normally read and written in ASCII. If the ``-b'' flag is used, then they will be written as a binary int. For compatibility with other systems, the ``-u'' flag is accepted as a synonym for ``-b'' since binary locks are used by many UUCP pack- ages. -c If the ``-c'' flag is used, then shlock will not create a lock file, but will instead use the file to see if the lock is held by another program. If the lock is valid, the program will exit with a non-zero status; if the lock is not valid (i.e., invoking shlock without the flag would have succeeded), then the program will exit with a zero status. EXAMPLES
The following example shows how shlock would be used within a shell script: LOCK=/var/run/innd/LOCK.send trap 'rm -f ${LOCK} ; exit 1' 1 2 3 15 if shlock -p $$ -f ${LOCK} ; then # Do appropriate work else echo Locked by `cat ${LOCK}` fi HISTORY
Written by Rich $alz <rsalz@uunet.uu.net> after a description of HDB UUCP locking given by Peter Honeyman. This is revision 1.9, dated 1996/10/29. SHLOCK(1)
All times are GMT -4. The time now is 01:27 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy