Restart SMSPI

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Restart SMSPI
# 1  
Old 04-02-2010
Restart SMSPI

I know this sounds silly but im not sure where my smspi is located.

I want to restart the services but im not sure where to look at. I dont have init.d in my /sbin :

Code:
[root@vicapp70 ~]# cd /sbin       
[root@vicapp70 sbin]# cd init.d
-bash: cd: init.d: No such file or directory

Its running at this time:

Code:
HTML Code:
-bash-3.00$ ps -ef | grep -i smspi
root      5405     1  0 Mar20 ?        00:30:41 /opt/HPO/SMSPIv2/bin/smsp  -n
hpfprbab 26554  6771  0 15:28 pts/1    00:00:00 grep -i smspi
root     27125     1  0 Mar25 ?        00:19:46 /opt/HPO/SMSPIv2/bin/smsp  -n

I did find and where is and this is wat i got:

[root@vicapp70 ~]# whereis smspi
smspi: /sbin/smspi.log

Code:
-bash: cd: init.d: No such file or directory
[root@vicapp70 sbin]# find / -name smspi
find: /proc/3198/task: No such file or directory
find: /proc/3199/task: No such file or directory
find: /proc/3200/task: No such file or directory
find: /proc/3201/task: No such file or directory
find: /proc/3202/task: No such file or directory
find: /proc/3228/task: No such file or directory
/opt/HPO/SMSPIv2/bin/smspi
/var/lock/subsys/smspi

smspi version number:

Code:
Code:
[root@vicapp70 sbin]# /opt/HPO/SMSPIv2/bin/smspi -v
Server Management Smart Plugin (SMSPI) version v2-11-r3q $Revision: 1.7 nCopyright(c) Hewlett Packard Corperation 2003
[root@vicapp70 sbin]#

Any idea on where I should be looking...?
# 2  
Old 04-02-2010
Try /etc/init.d instead of /sbin/init.d Smilie
# 3  
Old 04-06-2010
Thank you! It was there alright!

Code:
[root@vicapp70 init.d]# ./smspiv2 start
Starting smspi: 
[root@vicapp70 init.d]# 
[root@vicapp70 init.d]# ps -ef | grep -i smspi
root     30413     1  5 16:08 pts/1    00:00:00 /opt/HPO/SMSPIv2/bin/smsp  -n
root     30415 30413  7 16:08 pts/1    00:00:00 /opt/HPO/SMSPIv2/bin/recover  -d -D
root     30528 28295  0 16:09 pts/1    00:00:00 grep -i smspi
[root@vicapp70 init.d]# date
Tue Apr  6 16:09:06 EST 2010
[root@vicapp70 init.d]# pwd
/etc/init.d

Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

An overall function as a restart...

This is going to rasie a few eyebrows... I have been thinking of running the WHOLE of the AudioScope project inside a function which I will call "restart()". A kind of wrapper function... This is so that should there be anything that the user has set be wrong then a _cold_ start could be... (2 Replies)
Discussion started by: wisecracker
2 Replies

2. Shell Programming and Scripting

restart parameter

I have a shell script with 4 separate functions taking place, one after the other. Is there a way to introduce a parameter so that if the job fails, then I can restart it at a specific point in the script ? Ideally, the default will be null (or 1), so that it will not normally be set, and the... (4 Replies)
Discussion started by: malts18
4 Replies

3. Shell Programming and Scripting

How to restart a script?

Hello, I created a shell script in /etc/init.d and it already runs at boot. However I cannot figure out how to make it run just like typing "scrip_name start" I can run it like this ./script_name but since I am doing remote log in whenever I log off the script stops and I also don't want to run... (8 Replies)
Discussion started by: kizofilax
8 Replies

4. Solaris

sysedge restart

on a solaris box, if somebody restarts sysedge, which log file (path) can we look at to determine if sysedge was restarted or not? Thanks, (1 Reply)
Discussion started by: Pouchie1
1 Replies

5. UNIX for Dummies Questions & Answers

Restart a Daemon

Dear expert, How do i restart a daemon ? I know to use the kill <PID> command to shut down the daemon. But after terminate the daemon, how to restart it back ? :confused: Please advice, many thanks in advance !!! :) (2 Replies)
Discussion started by: kseng2002
2 Replies

6. Shell Programming and Scripting

Restart a Service!!

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

7. Shell Programming and Scripting

Any Restart Script?

Hi, I would like to check if there's any sample of restart script for my AIX server. I'm planning to restart it every month. Thanks. (5 Replies)
Discussion started by: ademah
5 Replies

8. SuSE

Restart process

I have a process that gradually eats up memory, it's currently at 80.2% and slowing down the linux server > ps aux | grep SNMPME root 3129 0.0 80.2 3591752 2480700 ? Sl Feb13 5:04 /opt/nampe/lib/snmpme/SNMPME config/startup.xml Is there a command I can execute to restart this... (3 Replies)
Discussion started by: brendan76
3 Replies

9. UNIX for Dummies Questions & Answers

Postfix Restart

I am really really new on UNIX system. I am trying to update our e-mail list. I added/deleted new members at etc/aliases but e-amil always got old e-mail lists. I reloaded postmaster but does not seem to be working. Anybody has any idea? (4 Replies)
Discussion started by: kumarrana
4 Replies
Login or Register to Ask a Question