03-01-2011
You cannot change the location, it is coded into svc.startd and not configurable. All Logfiles will be created in the same location. The name of the logfile is derived from the service fmri.
9 More Discussions You Might Find Interesting
1. HP-UX
Can anyone tell me how I can change the default location for a netbackup installation to another location on my box? The default location is too small and I want to install in another location that has the adequate space. The Netbackup user manual is USELESS!!:mad::mad: (3 Replies)
Discussion started by: impunchdrunk
3 Replies
2. Infrastructure Monitoring
Hi,
I need to kill processes from a specific location for Linux, HP, AIX and Solaris.
My problem is to be able to identify the location of the running processes.
I've tried with a simple "ps -fu username | grep mylocation" but if the process command has been run directly from the location,... (2 Replies)
Discussion started by: Peuj
2 Replies
3. UNIX for Dummies Questions & Answers
Hello,
Is it possible to make a file manager use different "colored folders" when browsing specific directories?
For example, if I open a gnome file manager and browse my windows share at, smb://192.168.1.101/z/ , can I make those folders appear green?
And when I open another instance of... (0 Replies)
Discussion started by: bz43
0 Replies
4. UNIX for Advanced & Expert Users
Thanks in advance.
My environment is Ubuntu 9.04 desktop customized to be a high school classroom server for teaching code development. I have a unique "fake" jail called "lshell" which is very easy to setup and restricts users to commands that I dictate DISALLOWING ANYTHING ELSE. These... (6 Replies)
Discussion started by: tuxhats
6 Replies
5. Solaris
I can't get the exact error message because I am at home, but on Solaris 10u5 machine I have at work, a few services are stuck in the maintenance state with the following error message in the individual service logs (/var/svc/log/FMRI:instance.log):
Cannot chdir: permission denied
Fortunately... (2 Replies)
Discussion started by: ilikecows
2 Replies
6. Solaris
I'm running Tibco Hawk (hawkhma and agent) on a number of solaris 10 boxes (both x86 and Sparc).
Tibco Hawk is a monitoring system, that can monitor processs and logs on the OS and applications. It also have the ability to start a process, if it for some reason, have died.
I have implemented... (2 Replies)
Discussion started by: u_paludan
2 Replies
7. UNIX for Dummies Questions & Answers
avahi error message goes to /var/log/messages , how can put avahi to log the error in a file /var/log/avahi-error instead of /var/log/messages (1 Reply)
Discussion started by: prpkrk
1 Replies
8. Solaris
I found that there was a SMF log file: /var/svc/log/milestone-multi-user-server:default.log.0 which occupied around 19G bytes.
Please help me how to purge this massive file.
Can I just use cat /dev/null > /var/svc/log/milesto..... to this file without any interruption to a non-stop system?... (11 Replies)
Discussion started by: AlexLi
11 Replies
9. UNIX for Beginners Questions & Answers
Hi ALL,
I am trying to find the installed tomcat version and location of the server.xml file to get the tomcat port number.
Using below script to do that.
#!/usr/bin/env bash
var1=$(find / -name "version.sh" ! -size 0 2>&1 |egrep -v "tmp|docker")
for loc1 in $var1
do
... (1 Reply)
Discussion started by: sravani25
1 Replies
LEARN ABOUT HPUX
smf_restarter
smf_restarter(5) Standards, Environments, and Macros smf_restarter(5)
NAME
smf_restarter - service management facility conventions for restarters
DESCRIPTION
All service instances in the service management facility must be managed by a restarter. This manual page describes configuration, func-
tionality, and reporting characteristics that are common to all restarters in the framework. Characteristics specific to a particular
restarter are described in the restarter's manpage.
For each managed service, a restarter relies on retrieving properties on the service instance to determine configuration. The restarter
manages a set of property groups to communicate the current disposition of a service with display tools such as svcs(1).
Service configuration
The common restarter configuration for all services is captured in the general property group. This group includes the following required
and optional property settings.
enabled This is a required property. If set, the restarter of an instance attempts to maintain availability of the service.
restarter This is an optional property that allows the specification of an alternate restarter to manage the service
instance. If the restarter property is empty or absent, the restarter defaults to svc.startd(1M).
single_instance This is an optional property. When set, only one instance of the service is allowed to transition to an online or
degraded status at any time.
transient_process This is an optional property. When specified, the service does not contain objects that run indefinitely
Service reporting
All restarters report status using the restarter property group, which includes the following properties:
next_state The current state and next state, if currently in transition, for instances stored in these properties. See smf(5)
for a description of the potential states.
auxiliary_state An astring with no spaces that contains a precise term to describe the full restarter-specific state in combination
with the restarter state property. The auxiliary state may not always be set and is always cleared during transi-
tion out of any state. Each restarter must define the precise list of auxiliary states it will use.
state_timestamp The time when the current state was reached.
contract The primary process contract ID, if any, under which the service instance is executing.
SEE ALSO
svcs(1), svc.startd(1M), service_bundle(4), smf(5), smf_method(5)
SunOS 5.10 08 Mar 2004 smf_restarter(5)