[Help] startup script on solaris 8


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting [Help] startup script on solaris 8
# 1  
Old 11-06-2006
[Help] startup script on solaris 8

hi experts,

i have some problem with my solaris 8 v890 server, is :

the server running process called SS7 below is example process :
PID STAT MODE HOST MUX OBJECT
384 ok LX|A USSDGmdn-1a spm/0 daemon [name=apmd]
385 ok LX|A USSDGmdn-1a spm/2 daemon [name=mlogd]
389 ok LX|A USSDGmdn-1a spm/3 daemon [name=spmd]
397 ok LX|A USSDGmdn-1a spm/4 daemon [name=netd]
419 ok LX|A USSDGmdn-1a spm/5 daemon [name=alarmd]
420 ok LX|A USSDGmdn-1a spm/6 daemon [name=dsmd]
421 ok LX|A USSDGmdn-1a spm/7 daemon [name=dkmd]
422 ok LX|A+ USSDGmdn-1a upm/0/0 daemon [name=upmd0]
424 ok LX|A+ USSDGmdn-1a sccp/0/0 daemon [name=scmd0]
426 ok LX|A USSDGmdn-1a spm/12 daemon [name=tcmd]
458 ok LX|A USSDGmdn-1a spm/13 daemon [name=logd]
719 ok L|A USSDGmdn-1a tcap/0/1 ss7obj [sp=0 up=3 ssn=147 inst=1]
5289 ok L|A USSDGmdn-1a spm/16 nmdobj [name=ebs_ps]

sometimes if the request from user too much the above process will hang and if we do check the process with command "ebs_ps" it will be display like this :

PID STAT MODE HOST MUX OBJECT
5289 ok L|A USSDGmdn-1a spm/16 nmdobj [name=ebs_ps]

and the server sometimes will be restarting itself.

note : to bring up the application use "ebs_start" and it running on "mapadm" user


how to check with script to make sure the process is running? and if the process hang it can be started automatically

how to do startup script if the server rebooting itself?

below is my script for startup :

root@USSDGmdn-4 # more S78ussdstart
#!/bin/sh

cd $HOME/script

/opt/EBS/access/bin/ebs_start ---> for start SS7 application

sleep 60

start_ussd.sh & ---> start ussd application in background
sleep 90

ussd_reload.sh ---> reload configuration file


note : i had put this script on /etc/rc2.d and named S78ussdstart


Please advice

thank you so much


Best Regards,

wu
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

JVM startup script in Solaris

Hi, I've installed dynatrace on a SunOS(5.10) & I need to update its agent path in JVM start up script. Where can I find or which script starts JVM? Some Details here : Java location : /<server location>/oracle/forms/FRHome_1/jdk/jre/bin Please help me in this. I did some research... (2 Replies)
Discussion started by: raj100
2 Replies

2. Shell Programming and Scripting

Apache tomcat startup script not booting at startup.

I copied the script from an AskUbuntu post - #!/bin/bash ### BEGIN INIT INFO # Provides: tomcat7 # Required-Start: $network # Required-Stop: $network # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Start/Stop Tomcat server ### END INIT INFO ... (14 Replies)
Discussion started by: Hijanoqu
14 Replies

3. Solaris

Solaris 10 startup scripts

Hi all, I have a server in maintenance mode and need to boot it up. Its due to a broken service "RepX". I need to stop the service from trying to start at boot up but i can't find where it is booting up from... it is not in any of the rcX.d directories and the two locations i have found it... (6 Replies)
Discussion started by: Tommyk
6 Replies

4. Solaris

Is there a way to debug the startup on Solaris?

Is there a way to debug the startup on a VT100 running Solaris 5? I have a problem related to file attributes that are resetting to there prior settings when the machine reboots. (3 Replies)
Discussion started by: jimcz2it
3 Replies

5. Solaris

Solaris 11 Express - freezes on startup!

I seem to be having a very irritating problem with my Solaris 11 Express fileserver which I built for my small home business. The basic problem is that the system will hang or freeze about 20 seconds into booting up. Grub comes up fine, and I can select between pre-napp-it and current build. It... (13 Replies)
Discussion started by: Smokin Whale
13 Replies

6. Solaris

Nis startup in Solaris 8

Hello How can I check to see when nis server is starting? I look at /etc/rc2.d/ but I don't see it in there. Every time we have power outage problem. I have to start autof service manual. So I think it might have to do with nis server services. (1 Reply)
Discussion started by: congngo
1 Replies

7. Solaris

VirtualBox Startup Script Solaris 10 U6

I have an Ultra 24 with Solaris 10 U6 with the latest patches. I'm running VirtualBox 2.1.0 with Windows 2003 as the guest. What I'm trying to do is have the Windows VM start at Solaris startup. I had a simple script that was working that was in /etc/init.d and linked to /etc/rc3.d. For some reason... (2 Replies)
Discussion started by: Lespaul20
2 Replies

8. UNIX for Advanced & Expert Users

How to diagnosis the problem on Solaris 10 for DB startup

I run Oracle 10g on Solaris 10 Sparc machine. I created a dbora file to automatically start Oracle database when UNIX system reboot. I created this dbora file under /etc/init.d, Then link it to /etc/rc0.d/K10dbora and /etc/rc2.d/S99dbora. When I reboot solaris 10 system to test this script. It... (2 Replies)
Discussion started by: duke0001
2 Replies

9. Solaris

X server startup on Solaris 9

Hi, I have Solaris 9 installed on a SunFire V880. When the machine boots up, I get a message, "the X-server cannot be started on display:0". I searched the forum for possible solution, however, they are not applicable to my problem for two reasons: either the platform is different or the... (6 Replies)
Discussion started by: purveshkhatri
6 Replies

10. Shell Programming and Scripting

Solaris Startup script for Apache.

I'm running Solaris 5.9 and Apache 2.... I've created a startup script for Apache....but it doesn't work!!! it resides in /etc/init.d and has a link to /etc/rc3.d and if it run it as /etc/init.d/apache_start stop it stops the httpd services and /etc/init.d/apache_start start starts the... (3 Replies)
Discussion started by: Zak
3 Replies
Login or Register to Ask a Question