Mantis - setoolkit
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
4518 | regular use | block | always | 2010-08-10 21:00 | 2019-07-24 08:11 |
|
|||||
Reporter: | hudesd | Platform: | |||
Assigned To: | OS: | ||||
Priority: | normal | OS Version: | |||
Status: | new | Product Version: | |||
Product Build: | Resolution: | open | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | |||
|
|||||
Summary: | 0004518: global zone orcallator won't start if child zone orcallator already running | ||||
Description: |
The global zone sees processes in all child zones as well as itself. The start_orcallator script is using /usr/ucb/ps but that's not appropriate for Solaris 10 it doesn't know about zones. Use /usr/bin/ps with the -z flag and the value from zonename ("/usr/bin/ps -eafz `zonename`) and you will only see current zone processes. Here is another approach which looks for the orcallator.pid file: # diff -u start_orcallator.csw start_orcallator --- start_orcallator.csw Wed Nov 25 07:04:57 2009 +++ start_orcallator Wed Feb 10 16:45:01 2010 @@ -112,11 +112,14 @@ export COMPRESSOR OUTDIR WEB_LOG WEB_SERVER WEB_SERVER_SECURE # Check if orcallator is already running. -pids=`/usr/ucb/ps auxww | $AWK '/orcallator.se/ && !/awk/ {print $2}'` -if test "$pids" != ""; then +#pids=`/usr/ucb/ps auxww | $AWK '/orcallator.se/ && !/awk/ {print $2}'` +if test -f $OUTDIR/orcallator.pid then + $pid=`cat $OUTDIR/orcallator.pid` +if test `/usr/bin/ps -p $pid|wc -l` -gt 1 then echo "$0: orcallator already running." 1>&2 exit 1 fi +fi # echo "Writing data into $OUTDIR/" if test "$WEB_LOG"; then |
||||
Steps To Reproduce: | |||||
Additional Information: | |||||
Relationships | |||||
Attached Files: |
e33.pdf [^] (26,808 bytes) 2019-07-24 08:04 lim.pdf [^] (23,264 bytes) 2019-07-24 08:11 |
||||
|
|||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2010-08-10 21:00 | hudesd | New Issue | |||
2010-08-10 23:13 | hudesd | Note Added: 0008192 | |||
2019-07-24 08:04 | marthasimons | File Added: e33.pdf | |||
2019-07-24 08:11 | marthasimons | File Added: lim.pdf |
Notes | |||||
|
|||||
|
|