Sponsored Content
Full Discussion: Chkconfig & SMF
Operating Systems Solaris Chkconfig & SMF Post 302384739 by zedex on Wednesday 6th of January 2010 07:36:10 AM
Old 01-06-2010
@TonyFullerMalv

thanks for your reply. i am now thinking of using rcX.d scripts ( because in our org other scripts are implemented that way !! )

i thought of creating new thread for some of my questions then i thought why not put it here only

1 ) i have started migrating scripts from linux to solaris i am going through scripts and i found that all init script uses
Code:
. /etc/init.d/functions

which is not there in Solaris!! so what is the solution ? write my own script which with required functions ?

2) In init scripts empty file is created under /var/lock/subsys to avoid duplicate start. how this is implemented in solaris ? i tried searching but couldnt find any useful information.

you can redirect me to some relevant website i will do the rest Smilie
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Standalone FTPD within SMF

Hello We are trying to run the WU_FTPD demon in standalone mode (-S argument) via an SMF service. Prior to SMF, this was achieved by simply commenting out the FTP line within the inetd.conf file. However, within SMF, I believe we need to carry out the following activities: i) Remove the FTP... (0 Replies)
Discussion started by: CowsUdders
0 Replies

2. Red Hat

attempting to install chkconfig 1.3.5

Hi there everyone, I'm using redhat 7.3 at the moment and am currently trying to install chkconfig-1.3.5-3.i386.rpm , but when I type this command: rpm -Uvh chkconfig-1.3.5-3.i386.rpm I get the following error: error: failed dependencies: chkconfig = 1.2.24 is needed by... (3 Replies)
Discussion started by: redhat_newb101
3 Replies

3. UNIX for Advanced & Expert Users

chkconfig utility in solaris 10

I want to use chkconfig utility to simplify service management on Solaris 10. However, I couldn't find this utility. I tried " man chkconfig", the system return as " No manual entry for chkconfig". So what does this mean and how to find this utility on solaris 10? Thanks for your help. Happy New... (8 Replies)
Discussion started by: duke0001
8 Replies

4. Solaris

smf repository not running

Hi All, I have a Solaris server which runs version 10 After installing the patch , i thought of doing a recongiuration reboot But it failed saying "smf repository not running" what could be the issue. Thanks J (4 Replies)
Discussion started by: jegaraman
4 Replies

5. Solaris

SMF service HELP

I would like to run command whenever system boot up, i.e "/opt/admin/script/closegen -c /opt/share/script/colsehg" How do I integrate above command in to SMF services. -sam (1 Reply)
Discussion started by: sam786
1 Replies

6. Solaris

Solaris 8 how do I enable and disable services? (equivalent of chkconfig on Linux)

I've successfully installed syslog-ng and chkconfig using the packages from the OpenCSW project, these packages install under /opt/csw. I now need to disable the default syslog daemon and enable the new service created by the OpenCSW package (/etc/init.d/cswsyslog_ng). Is there any good way to... (3 Replies)
Discussion started by: aussieos
3 Replies

7. Red Hat

chkconfig error

I'm just trying to disable some of un used services. when i try that I'm getting following error. This is just for one "gpm" service failed to make symlink /etc/rc3.d/K15gpm: Read-only file system failed to make symlink /etc/rc4.d/K15gpm: Read-only file system failed to make symlink... (1 Reply)
Discussion started by: s_linux
1 Replies

8. Solaris

SMF in Solaris 10

In SOlaris 9 for eg, inside the /etc/init.d/inetsvc file, you can set the tcp tracing by going to the last line and adding the following as :- inetd -s -t & In Solaris 10, I know we can use the svccfg to do it or with the inetadm command. When I use inetadm -m command to set the tcp tracing... (3 Replies)
Discussion started by: incredible
3 Replies

9. Infrastructure Monitoring

Using SMF to register & start a (Nagios) service

I'm trying to register & start a service using SMF on Solaris 10. It's nsca, part of the Nagios monitoring system. I've got nsca running fine as a detached process, and can manually create passive checks via send_nsca. But when I try to run nsca as a daemon, I need some advice. The nsca... (0 Replies)
Discussion started by: lyle
0 Replies

10. UNIX for Dummies Questions & Answers

How do i disable kudzu without using chkconfig

How do i disable kudzu without using chkconfig? /sbin/chkconfig --level 3 kudzu off Is there any other way of doing it . for example by modifying parameter of any file. Basically i want kudzu to be disabled during the first run of the machine after installation. I have full access to the... (2 Replies)
Discussion started by: pinga123
2 Replies
SMFSH(1)																  SMFSH(1)

NAME
smfsh - SMF shell SYNOPSIS
smfsh [ -V ] [ file ] OPTIONS
-V Print libsmf version and exit. file Load the file. DESCRIPTION
smfsh, an "SMF shell", is an interactive, command-driven frontend to libsmf, useful for modifying MIDI files by hand. It started its life as a debugging aid for libsmf. There are four groups of commands: SMF level, track level, event level, and others. SMF LEVEL COMMANDS
SMF level commands display or change properties of smf (i.e. the MIDI file) as a whole. save file Save a file. If the file name is not given, the last file name is used. Note that this will not ask for confirmation. load file Load a file. If the file name is not given, the last file name is used. Instead of using "load", you can pass the file name on the command line. ppqn new-ppqn Show (if used without parameter) or change PPQN (Pulses Per Quarter Note, aka Division). format new-format Show (if used without parameter) or change format. tempo Show tempo map. Tempo map is computed automatically from the SMF contents - to modify a tempo, just add a Tempo Change event using "add" command. length Show total length of the song. Just like the tempo map, file length is computed from the SMF contents. TRACK LEVEL COMMANDS
Track level commands display or change properties of tracks. SMF may contain one or more tracks. tracks Show the list of tracks in the SMF. track track-number Show details of a track (if called without parameter), or select track with a given number - for example in order to display ("events") the events it contains. trackadd Create new track. trackrm track-number Remove the track. If the track number is not given, this will remove the track currently selected. EVENT LEVEL COMMANDS
Event level commands display or change properties of events. Events are grouped into tracks. Track may contain any number of events, including zero. events Show the list of events in the current track. event event-number Show information about a current event (if used without parameter) or select the event. add time-in-seconds midi-message-as-hex Add new event to the currently selected track. rm event-number Remove the event. If the event number is not given, this will remove the event currently selected. OTHER COMMANDS
There are three commands in the "other" category - "help", "version", and "exit". Their meaning should be self expanatory. smfsh 1.3 21 March 2010 SMFSH(1)
All times are GMT -4. The time now is 05:21 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy