Siebel Server Error: Executing siebenv.sh hangs unix shell session

While administrating Siebel Servers, you must have been through many different errors. This one is one of them, might help you in first place.

Behavior
While bouncing Siebel server, when we execute siebenv.sh file it hangs out unix shell session.

Issue
Well you can’t start/stop your server as environment not set yet. It left you clueless.

Cause
Execute siebenv.sh file line by line, then you came to know that culprit is the last line.

${MWHOME}/bin/regautobackup -off

Comment out helps you run siebenv.sh so you can try stop_server BUT can’t leave it commented out, that is a worse situation.
Most importantly it tells you there is a problem with mainwin/siebel application. MainWin binary (mwadm) gets installed during Siebel server installation on UNIX or Linux based environments.There are 3 mainwin process which must be up and running.MainWin Processes:

1) regss:
regss is the registry service of MainWin. This service is in charge of manipulating the registry file which contains system and application information.
2) mwrpcss:
mwrpcss processes the RPC (Remote Procedure Calls) and COM (Component Object Model)requests for MainWin.
3) watchdog:
watchdog ensures that both regss and mwrpcss daemons are running.
All Siebel server components calls/uses above three processes during run time.When we stop Siebel server, MainWin processes should ideally be stopped.

Solution
So, you have to check status of mainwin and bounce it.

  • Stop the siebel server service and confirm with list_servers command and ps -elf command to ensure all siebel related processes are terminated.
  • navigated to the $MWHOME/bin directory
  • executed the “mwadm status” command and confirmed mainwin was not running
    If they are running execute “mwadm stop”
    and again executed the “mwadm status” command and confirmed mainwin was not running
  • rename the folder $MWHOME/.mw (please take attention to the “.” in “.mw”)
  • navigated to $MWHOME/bin directory
  • executed the “mwadm start” command
  • executed the “mwadm status” command and confirmed mainwin was successfully started.
  • start the siebel server using the command “start_server all”

Hope it will help someone in need.

[su_divider style=”dotted”]

@AskmeSiebel

2 comments for “Siebel Server Error: Executing siebenv.sh hangs unix shell session

Leave a Reply

Your email address will not be published. Required fields are marked *