James Palmer (Vertu Motors PLC) asked a question.
Occasional errors when restarting a PAS instance
RHEL 8 (AWS), OE 11.7.19 (Upgrade planning in progress)
From time to time, and usually only with one PAS (we have 3 different applications) we get a situation where the instance doesn't shut down properly, meaning it also doesn't start properly.
- [dbadm@db1 bin]$ ./restartPAS.sh www
-
- Starting PASOE instance: www
- Stop running PASOE instance www before restart
- .
- Restarting the running PASOE instance www
- info: Archiving previous log files
- info: Waiting for PASOE instance startup to complete...
- .................
-
- info: Getting PASOE instance process ids for 1227955 ...
- info: Scanning for startup errors...
- The PASOE instance encountered errors during startup - stopping instance
- ..................................................................................................................................................................................../usr/dlc11/servers/pasoe/bin/pasoestartCmd.sh: line 951: [: : integer expression expected
- Start action: restart
- Initial state: started
- Initial processes: 1223915 1224025 1224032 1224039 1224060 1224068 1224075 1224082 1224104 1224111 1224118 1224127 1224150 1224158 1224167 1224174 1224195 1224213 1224231 1224252 1224259 1224266 1224287 1224295 1224302 1224309 1224334 1224342 1224349 1224373 1224382 1224403 1224412 1224421 1224443 1224453
- Exit state: 2
- Exit description: PASOE instance hung in stopping state
- Exit processes: 1223915 1224025 1224032 1224039 1224060 1224068 1224075 1224082 1224104 1224111 1224118 1224127 1224150 1224158 1224167 1224174 1224195 1224213 1224231 1224252 1224259 1224266 1224287 1224295 1224302 1224309 1224334 1224342 1224349 1224373 1224382 1224403 1224412 1224421 1224443 1224453
- Exit status: 2
- Exit errors:
- /app/central.live/pasoe/www/logs/www.2026-06-30.log:23:05:34.834/16385 [thd-25] ERROR c.p.a.adapters.web.WebOutputStreamer - getStatusCode offset error : streamState= ERROR
- info: external command pasoestart failed with status - 2
- [dbadm@db1 bin]$
restartPAS.sh is a wrapper to check we're logged in as the right user. It ultimately calls
- $DLC/bin/pasman pasoestart -I $1 -restart -v -archive -timeout 180
I'll post the log content shortly.