TROUBLESHOOTING: Restart BES Client on Solaris
Log In or Register to download the BES file, and more.

0 Votes

Description

Sometimes it is necessary for various troubleshooting reasons to restart the BES Client. You can use this task to restart the BES Clients on Solaris based computers.

Note: Do not set the "Reapply" behavior when taking this action or you may cause the BES Client to constantly restart itself.

Property Details

ID402
TitleTROUBLESHOOTING: Restart BES Client on Solaris
CategoryCommon Tasks
Download Size0
SourceBigFix
Source ID<Unspecified>
Source SeverityLow
Source Release Date10/25/2007 12:00:00 AM
KeywordsBES Client Solaris restart TROUBLESHOOTING
Added by on 10/17/2012 1:15:20 PM
Last Modified by on 10/17/2012 1:15:20 PM
Counters 3013 Views / 0 Downloads
User Rating 1 star 2 star 3 star 4 star 5 star * Average over 0 ratings. ** Log In or Register to add your rating.

Relevance

Used in 219 fixlets   * Results in a true/false
Show indented relevance
(if exists property "in proxy agent context" then ( not in proxy agent context ) else true )
Used in 91 fixlets and 24 analyses   * Results in a true/false
Show indented relevance
version of client >= "5.1"
Used in 32 fixlets   * Results in a true/false
Show indented relevance
(if (version of client >= "8.0") then (unix of it) else ((it does not start with "Win" AND it does not start with "Mac OS X") of name of it)) of operating system
Used in 2 fixlets   * Results in a true/false
Show indented relevance
name of operating system starts with "SunOS"
Used in 5 fixlets   * Results in a true/false
Show indented relevance
if (version of client < "8") then (exists file "/etc/init.d/BESClient") else (exists file "/etc/init.d/besclient")

Actions

Action 1

Action Link Click here to restart the BES Client service.
Script Type BigFix Action Script
delete "{(client folder of current site as string) & "/__appendfile"}"
appendfile #!/bin/sh
appendfile sleep 5
if {version of client < "8"}
appendfile /etc/init.d/BESClient stop
appendfile sleep 5
appendfile /etc/init.d/BESClient start
else
appendfile /etc/init.d/besclient restart
endif
wait chmod +x "{(client folder of current site as string) & "/__appendfile"}"
run "{(client folder of current site as string) & "/__appendfile"}"
Success Criteria

This action will be considered successful when the applicability relevance evaluates to false.


Sharing

Social Media:
Share this page on Yammer

Comments

Log In or Register to leave comments!
seacros -
awesome thanks