Showing posts with label Unable to start PSRENSRV. Show all posts
Showing posts with label Unable to start PSRENSRV. Show all posts

Tuesday, 12 November 2013

Unable to start PSRENSRV

PSRENSRV process fails to start.

PSRENSRV_mmdd.LOG:
(FATAL) nsmain: configuration file empty or missing ns/servers section (162,2076)
(ERROR) Server failed to start

When you start the Application Server, the PSRENSRV process fails to start. The following error is logged to APPSRV_MMDD.log:
REN configuration file not found.

Also, the following error may be logged to PSRENSRV_mmdd.LOG
(FATAL) nsmain: configuration file empty or missing ns/servers section (162,2076)
(ERROR) Server failed to start

Steps
1. Start Application Server (with 'Event Notification' enabled)
2. Application Server fails to start with message:

exec PSRENSRV -A -- -C psappsrv.cfg -D TESTSERV -S PSRENSRV :
CMDTUX_CAT:1685: ERROR: Application initialization failure
tmboot: CMDTUX_CAT:827: ERROR: Fatal error encountered; initiating user error handler
Cause

The REN configuration file (psrenconfig.txt) is missing or corrupted.

Solution :

Follow these steps in order to correct problems with the REN configuration file
in your PeopleTools environment:

1. A default REN configuration file is delivered when PeopleTools is installed.
   Whenever a new application server domain is created, it is populated with this file.
   So we need to make sure the file exists, and is not corrupted, as follows:
  a. Go to <PS_HOME>/appserv/ren.
  b. Within this directory, there should be a file called psrenconfig.txt
  c. If the file exists, make sure if it not corrupted, as follows:
       -Open file and it should be readable (this is a text file).
       -Verify that the last line is '#### END OF FILE #####'.
  d. If file does not exist, or is corrupted, then get a new copy from your DEMO system.

2. Next, place a new copy of psrenconfig.txt into the application server domain
   where you are getting the PSRENSRV error, as follows:
   a. Copy psrenconfig.txt
      From: <PS_HOME>/appserv/ren
      To:     <PS_CFG_HOME>/appserv/<DOMAIN_NAME>.
   b.  If you had made any customizations to the previous psrenconfig.txt file,
       you'll need to remake the changes.

3. After making the above changes, restart the application server.