For the root permission you should check out "sudo".
@zaxxon:
Sudo is not installed on our HP-UX server, but I'll talk to our administrator later today.
Quote:
Originally Posted by sunpraveen
Meert,
All Oracle process ids are owned by the oracle software owner (like oracle).
Sounds like you do not have access to oracle user, yet you want to kill processes owned by that user, which can only be done a super user like root.
Usually, killing the session in oracle should clean the unix processes too.
As sys, run the below:
If there is some limitation which prevents you from running the above, then we can think of something.
HTH,
Regards,
Praveen
@Praveen:
The issue is that the alter system command leaves the original proccesses running in UNIX.
The case at hand is that it is an RF handscanner that connects through telnet to the database. If the scanner loses connection, we can do a reset of the database connection through alter system but for the user to reconnect to the scanner, we need to kill only the rfprocess ids and leave the display process running.
Hi,
I scheduled one script through crontab command and seems like it is hanging. I come to know this through the command 'ps -ef' whcih is showing me the program running, but no chances of it to take more than 2hrs to comlpete.
I want to kill that process. I tried to kill it using the... (6 Replies)
Hey
I'm writing a script that creates some processes,and some scripts which kill those processes.
the question is Simply:
How can I allow a group members to be able to kill (using kill command) processes created by other user at the same group?
and i need the change to be at the script... (5 Replies)
Hi Experts, we do have a shell script for Unix Solaris, which will kill all the process manullay, it used to work in my previous env, but now it is throwing this error.. could some one please help me to resolve it
This is how we execute the script (and this is the requirement) ... (2 Replies)
What I need to learn is how to use a script that launches background processes, and then kills those processes as needed.
The script successfully launches the script. But how do I check to see if the job exists before I kill it?
I know my problem is mostly failure to understand parameter... (4 Replies)
Hi Here is my problem:
1)I am login to unix server through my login id and do SU - xxx
2) Start the script which is running in background
I want that other user which login to there id and do SU - yyy(Different user) kill that
script.
Could you please help me in this. (9 Replies)
How can I kill a process owned by user1? I will be using another user (user2) (not root) and we are on the same primary and secondary group. I copied everything including it's .profile and set the path accordingly.
user1@hostnmae0:/home/user1 $ pkill java
pkill: Failed to signal pid 1234:... (2 Replies)
Hi!
I need your help, please.
I'm in AIX node and sometimes listener process from an oracle instance gets duplicated, i mean that it get spawned a second listener process. As we can't apply changes to the databases on this months, i want to build a shell that can identify the second... (6 Replies)
Hi folks,
I want to kill all process of oracle user and won't kill shell, should i try this? Please confirm.
1st way
pgrep -u oracle | sudo xargs kill -9
2nd way
killall -u oracle (2 Replies)
the task is grant user1 to kill another (for example user2) process. My steps:
by root:
usermod -P "Process Management" user1
login user1
user1@server (~) pfexec kill <PID>
the result is:
ksh: <PID>: not found
or user1@server (~) pfexec pkill <PID>
the result: nothing happens, still... (0 Replies)
Discussion started by: dsyberia
0 Replies
LEARN ABOUT OSF1
rc0
rc0(8) System Manager's Manual rc0(8)NAME
rc0 - Runs command script executed when stopping the system
SYNOPSIS
rc0
DESCRIPTION
The rc0 script contains run commands that enable a smooth shutdown and bring the system to a single-user state; run levels 0 and s. In
addition to commands listed in within the script itself, rc0 contains instructions to run commands found in the /sbin/rc0.d directory. The
script defines the conditions under which the commands execute; some commands run if the system is being shut down while others run if the
system is being shut down and rebooted to single user.
By convention, files in the /sbin/rc0.d directory begin with either the letter "K" or the letter "S" and are followed by a two-digit number
and a filename, for example: K00enlogin K05lpd K60cron K30nfs
In general, the system starts commands that begin with the letter "S" and stops commands that begin with the letter "K." The numbering of
commands in the /sbin/rc0.d directory is important since the numbers are sorted and the commands are run in ascending order. Files in the
/sbin/rc0.d directory are normally links to files in the /etc/init.d directory.
An entry in the inittab file causes the system to execute the rc0 script, for example: ss:Ss:wait:/sbin/rc0 shutdown < /dev/console >
/dev/console 2>&1 s0:0:wait:/sbin/rc0 off < /dev/console > /dev/console 2>&1
The following operations are typical of those that result from executing the rc0 script and the commands located in the /sbin/rc0.d direc-
tory: Notify users that the system is shutting down. Sync the disks Stop system services and daemons Stop processes Kill processes Unmount
file systems Invoke init if the system is being shut down to single user
The killall command sends a SIGTERM signal to stop running processes; SIGKILL follows to kill all processes except the process which initi-
ated the call. The umount -a command unmounts all file systems except the root file system.
FILES
Specifies the command path Specifies the directory of commands that corresponds to the run level
RELATED INFORMATION
Commands: init(8), killall(8), rc2(8), rc3(8), shutdown(8) delim off
rc0(8)