deamon is not getting started with the script(Urgent)
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix Programming > deamon is not getting started with the script(Urgent)




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    deamon is not getting started with the script(Urgent)  
harry


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-23-07 06:27 PM

In unix environment the deamon(secrvr_dae) is not getting started with
the following command

SMS_DIR="/oracle/usr1/sms/"
su  orbit -c "$SMS_DIR/.profile; cd $SMS_DIR/bin;./secrvr_dae"

(;./secrvr_dae) secrvr_dae is not getting started with the above
command

Let me know what is wrong with the above command in the script






[ Post a follow-up to this message ]



    Re: deamon is not getting started with the script(Urgent)  
Barry Margolin


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-24-07 06:23 AM

In article <1187872625.256624.120500@x35g2000prf.googlegroups.com>,
harry <harishgowda84@gmail.com> wrote:

> In unix environment the deamon(secrvr_dae) is not getting started with
> the following command
>
> SMS_DIR="/oracle/usr1/sms/"
> su  orbit -c "$SMS_DIR/.profile; cd $SMS_DIR/bin;./secrvr_dae"
>
> (;./secrvr_dae) secrvr_dae is not getting started with the above
> command
>
> Let me know what is wrong with the above command in the script

The first command should probably be ". $SMS_DIR/.profile".  The server
probably depends on some of the environment variables set in the
.profile script.  Since you don't use the "." command to run the script,
its variable settings are discarded when the script finishes, instead of
persisting into ./secrvr_dae.

--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 05:08 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register