06-08-2016
Restart service xinit.d or init.d ?
Hello
How do I restart init.d ?? (centos 6.5)
Thanks
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hai Friends
I have written a DayTime server program using C socket.. I need to start the service automatically. My service directory is /etc/rc.d/init.d... my service name is DayTime present in /home/codebase/datetime/ directory.. Please help me
:confused: :confused: :confused:
Thanks in... (2 Replies)
Discussion started by: collins
2 Replies
2. Shell Programming and Scripting
fallowing code is for init script for dnotify service
# !/bin/bash
# DESCRIPTION
#Process name-dnotify
# Dnotify startup script:-
# Init/rc scripts are bash scripts used to manage services like dnotify.
# Dnotify (directory notification) is a utility for monitoring filesystem... (0 Replies)
Discussion started by: pankajd
0 Replies
3. UNIX for Dummies Questions & Answers
For vertitas netbackup 6.0
I have media server :Solaris
Client server: Windows
I want to restart the netbackup service on the media server .
plz suggest ASAP. (1 Reply)
Discussion started by: saurabh84g
1 Replies
4. Shell Programming and Scripting
Hello, I am trying to write a script which will monitor few processes(winbind) for cpu utilization, If the process consumes more than say 99% cpu for 3 minutes, I want to run a script to restart the service which forks the process.
---------- Post updated at 11:21 AM ---------- Previous update... (5 Replies)
Discussion started by: linuxaddict7
5 Replies
5. HP-UX
Hi All,
May i please know if it is possible to write a script to check the log messages and automatically restart a service if it is failed or it is stopped.
Appreciate your suggestions.
Thanks in advance.
regards,
Eajaz (2 Replies)
Discussion started by: ajazshariff
2 Replies
6. Red Hat
What's the difference between the two. I've seen xinit.d directory not always but on some systems. (1 Reply)
Discussion started by: Praveen_218
1 Replies
7. UNIX for Advanced & Expert Users
I have restarted the exim4 process.
It prints the following things.
$ /etc/init.d/exim4 restart
* Stopping MTA for restart
/usr/sbin/update-exim4.conf: non-ascii value sugumar_imp.tar write.sql
virtualbox-3.1_3.1.8-61349~debian~lenny_i386.deb
etc...
...done.
* Restarting MTA
... (1 Reply)
Discussion started by: ungalnanban
1 Replies
8. Shell Programming and Scripting
Hi All,
Requirement : I need to check for some services in my environment and restart the service if its not running.
I have written script to check the script if its running or not. While if its not running i need to restart it using ./start command. But it will ask for password prompt and i... (4 Replies)
Discussion started by: pradeepbaliga
4 Replies
9. Ubuntu
After I set IP , I want to make it work, so I ran "/etc/init.d/networking restart"
but it says it's deprecated:
Running /etc/init.d/networking restart is deprecated because it may not enable again some interfaces
So I want to know how to make my setup work correctly.
Thanks in... (1 Reply)
Discussion started by: cqlouis
1 Replies
10. SuSE
Hi,
Beside using crontab, what is other application we can set it? Normally I check using command crontab -l.
Any other path I need to check? Please guide me.
Thanks. (2 Replies)
Discussion started by: mzainal
2 Replies
LEARN ABOUT OPENSOLARIS
gdm-stop
gdm-restart(1m) User Commands gdm-restart(1m)
NAME
gdm-restart, gdm-safe-restart, gdm-stop - stop or restart GDM
SYNOPSIS
gdm-restart
gdm-safe-restart
gdm-stop
DESCRIPTION
gdm-restart stops and restarts GDM by sending a HUP signal to the GDM daemon. This command immediately terminates all sessions and logs out
users currently logged in with GDM.
gdm-safe-restart stops and restarts GDM by sending a USR1 signal to the GDM daemon. GDM is restarted as soon as all users log out.
gdm-stop stops GDM by sending a TERM signal to the GDM daemon.
FILES
The following files are used by this application:
/usr/bin/gdm-restart Executable to stop and restart GDM
/usr/bin/gdm-safe-restart Executable to stop and restart GDM safely
/usr/bin/stop Executable to stop GDM
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWgnome-display-mgr |
+-----------------------------+-----------------------------+
|Interface stability |Volatile |
+-----------------------------+-----------------------------+
SEE ALSO
Latest version of the GNOME Desktop User Guide for your platform.
gdmXnestchooser(1), gdmdynamic(1), gdmflexiserver(1), gdmphotosetup(1), gdmthemetester(1), gdm(1m), gdmsetup(1m), attributes(5)
NOTES
Written by Brian Cameron, Sun Microsystems Inc., 2004, 2006.
SunOS 5.11 1 Sep 2004 gdm-restart(1m)