04-01-2009
Use mkitab.
It's recommended and 'ibm best practice'. You can precisely set runlevel, chose after what services it starts.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi,
I'm new to AIX, and have to make some services start at system startup. The IBM-Redbook says I have to edit /etc/inittab. As a long time (Debian)-Linux Admin I'm a bit confused. Is there something like /etc/init.d/$SERVICE in AIX?
Greetings,
Dennis (1 Reply)
Discussion started by: dennis.kuehl
1 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I have a shell script t1.sh. on my solaris box.
So, what are the steps required to make this script run as a Service, when the system re-starts. (for ex:- at run level 3).
I know that I should use the rc.d folders. But I don't know the exact steps.
Kindly explain,
Thanks in... (3 Replies)
Discussion started by: S.Vishwanath
3 Replies
3. Shell Programming and Scripting
Hi
I need a service to be start as user after a reboot. My script in /etc/init.d contain the following:
start()
{
su - $USER
cd ${INSTALL_PATH}/bin
./MyApp -X
exit
return 0
}
This function stops after su - $USER, I get user shell, and only if I manualy... (5 Replies)
Discussion started by: potro
5 Replies
4. Programming
Hi,
I have installed MySql version 5.0.67 in RedHat LINUX version 5. The installation completed successfully.
When I am trying to start the service an error occured the error shown below
".......Manager of pid-file quit without updating file"
Can anyone help me to fix the problem.... (4 Replies)
Discussion started by: saravanakumar
4 Replies
5. Solaris
Hi guys:
i have a Solaris 10 development server and a Solaris 9 production server. The entire task must be done in the dev. server. When it's done and all the testing is OK, the script or files are transfer to prod. Server.
All right. Now I have to figure out a way to put a script to initiate... (2 Replies)
Discussion started by: bmathiasf
2 Replies
6. Red Hat
hi,
i am using RHEL 5 and i am not able to on the vsftp
i have tried to on the vsftp service using command
service vsftpd start
Starting vsftpd for vsftpd:
i am posting the content of my /etc/xinetd.d/vsftpd file
# description: The vsftpd FTP... (2 Replies)
Discussion started by: u.n.i.x
2 Replies
7. Red Hat
I have installed version of ntop 4.0.3 by guide.
But I can't start ntop daemon/service. I didn't find a service file for starting.
During the installation there was no problem only want to RRDTool so I installed that. Now there is no necessary package required.
I didn't find in /etc/init.d/... (9 Replies)
Discussion started by: getrue
9 Replies
8. Ubuntu
Hi Team,
I am using DRBL environment on Ubuntu. When my machine starts some times it's not starting lxdm & nslcd service. Because of that i didn't get graphic mode & also not able to authenticate user as nslcd is also stops. I have to login as root and restart these two services, then i am able... (0 Replies)
Discussion started by: paragnehete
0 Replies
9. Solaris
I need to start a service among the last on a freshly booted system. Via the manifest, I've made it dependent on very milestone on the computer yet the service still comes back with an error that a kstat variable in the kernel does not exist.
I run it right the service process right there... (6 Replies)
Discussion started by: JWH
6 Replies
10. Solaris
Hi,
This is Solaris-10 x86. I am not able to start cron service, configured in FMRI. It is in maintenance and when I clear it, it seems like calling and failing on /etc/init.d/tcs-rtm script. I am not able to figure out, why cron is calling that script, if this failure is because of that. Cron... (5 Replies)
Discussion started by: ron323232
5 Replies
LEARN ABOUT PHP
win32_set_service_status
WIN32_SET_SERVICE_STATUS(3) 1 WIN32_SET_SERVICE_STATUS(3)
win32_set_service_status - Update the service status
SYNOPSIS
bool win32_set_service_status (int $status, [int $checkpoint])
DESCRIPTION
Informs the SCM of the current status of a running service. This call is only valid for a running service process.
PARAMETERS
o $status
- The service status code, one of WIN32_SERVICE_RUNNING, WIN32_SERVICE_STOPPED, WIN32_SERVICE_STOP_PENDING, WIN32_SER-
VICE_START_PENDING, WIN32_SERVICE_CONTINUE_PENDING, WIN32_SERVICE_PAUSE_PENDING, WIN32_SERVICE_PAUSED.
o $checkpoint
- The checkpoint value the service increments periodically to report its progress during a lengthy start, stop, pause, or continue
operation. For example, the service should increment this value as it completes each step of its initialization when it is start-
ing up. The $checkpoint is only valid when the $status is one of WIN32_SERVICE_STOP_PENDING, WIN32_SERVICE_START_PENDING,
WIN32_SERVICE_CONTINUE_PENDING or WIN32_SERVICE_PAUSE_PENDING.
RETURN VALUES
Returns TRUE on success, FALSE if there is a problem with the parameters or a Win32 Error Code on failure.
SEE ALSO
win32_start_service_ctrl_dispatcher(3), Win32Service Service Status Constants.
PHP Documentation Group WIN32_SET_SERVICE_STATUS(3)