You are on page 1of 5

ip PRS: 10.200.170.

244

log in PRS Server from Puty (User: ossuser password: Changeme_123)


Reset Service: . /opt/PRS/server/svc_profile.sh
or
cd /opt/PRS/server
. svc_profile_sh
then appear: [ / ]
Type below command: svc_adm -cmd restartsvc ReportEngine

waiting the Service reset , after done, the issue can be fixed

if stopping process too long, please open another Puty Windows and put the command kill the
user procedue.

Type below command: . /opt/PRS/server/svc_profile.sh


then appear: [ / ]
Type below command : kill -9 `ps -ef | grep "prsrptengine_agent" | grep -v "grep" | awk '{print
$2}'`
then appear: [ / ]
Type below command : svc_adm -cmd restartsvc ReportEngine
Then appear: ------------cost: 2(sec)------------
svc_adm : info : STOP session locked !
[/]

if remind the ReporingEnginerrestar failure, please use below command re-star the ReportEngine

step1: star the PRS Service:


cd /opt/PRS

. ./svc_profile.sh

start_svc

then appear:
DataAggrService.....................running
DesktopService0101..................running
EAMService..........................running
FileService.........................running
ForwardingService...................running
ItmService..........................running
KarafService0101....................running
LicenseService......................running
LogService..........................running
MaintenanceService..................running
ModelMgmtService....................running
OSSDCService........................running
OSSMgmtService......................running
OperationLogService.................running
PartitionService....................running
PortTrunkingService.................running
ReportEngine........................running
ReportService.......................running
ScheduleReportService...............running
SecurityService.....................running
SystemService.......................running
------------cost: 1(sec)------------
svc_adm : info : START finished !
============================ Finished starting the system.
[ /opt/PRS ]

Step 2: list all PRS Services

svc_adm -cmd status

Then appear:

[ /opt/PRS ]svc_adm -cmd status


Host: 10.200.170.244

Service Agent: ds0101_agent [1 service(s)] pid: 11156


DesktopService0101 [running ]

Service Agent: eam_agent [1 service(s)] pid: 11233


EAMService [running ]

Service Agent: itm_agent [1 service(s)] pid: 11956


ItmService [running ]

Service Agent: karaf0101_agent [1 service(s)] pid: 11157


KarafService0101 [running ]

Service Agent: lic_agent [1 service(s)] pid: 11234


LicenseService [running ]

Service Agent: log_agent [3 service(s)] pid: 11235


ForwardingService [running ]
LogService [running ]
OperationLogService [running ]

Service Agent: maintain_agent [1 service(s)] pid: 11237


MaintenanceService [running ]

Service Agent: manager_agent [1 service(s)] pid: 11236


SystemService [running ]

Service Agent: partition_agent [1 service(s)] pid: 11256


PartitionService [running ]

Service Agent: porttrunk_agent [1 service(s)] pid: 11158


PortTrunkingService [running ]

Service Agent: prsds_agent [1 service(s)] pid: 11671


DataAggrService [running ]

Service Agent: prsfs_agent [1 service(s)] pid: 11682


FileService [running ]

Service Agent: prsmodel_agent [1 service(s)] pid: 11677


ModelMgmtService [running ]

Service Agent: prsossdc_agent [1 service(s)] pid: 11679


OSSDCService [running ]

Service Agent: prsossmgmt_agent [1 service(s)] pid: 11680


OSSMgmtService [running ]

Service Agent: prsrptengine_agent [1 service(s)] pid: 8139


ReportEngine [running ]

Service Agent: prsrs_agent [1 service(s)] pid: 11247


ReportService [running ]

Service Agent: prsschedrpt_agent [1 service(s)] pid: 12012


ScheduleReportService [running ]

Service Agent: sm_agent [1 service(s)] pid: 11684


SecurityService [running ]

[All Services: 21 ] [Running: 21 ] [Not Running: 0 ]

[ /opt/PRS ]
Step 3: Re-Set Service

a, stop all services


stop_svc
Then appear:
DataAggrService.....................stopped
DesktopService0101..................stopped
EAMService..........................stopped
FileService.........................stopped
ForwardingService...................stopped
ItmService..........................stopped
KarafService0101....................stopped
LicenseService......................stopped
LogService..........................stopped
MaintenanceService..................stopped
ModelMgmtService....................stopped
OSSDCService........................stopped
OSSMgmtService......................stopped
OperationLogService.................stopped
PartitionService....................stopped
PortTrunkingService.................stopped
ReportEngine........................stopped
ReportService.......................stopped
ScheduleReportService...............stopped
SecurityService.....................stopped
SystemService.......................stopped
------------cost: 27(sec)------------
svc_adm : info : STOP finished !
============================ Finished stopping the service.
[ /opt/PRS ]

b, check all the service already stopped


svc_ps

c,re-set all Service


start_svc
Then appear:
DataAggrService.....................stopped
DesktopService0101..................stopped
EAMService..........................stopped
FileService.........................stopped
ForwardingService...................stopped
ItmService..........................stopped
DataAggrService.....................running
DesktopService0101..................running
EAMService..........................running
FileService.........................running
ForwardingService...................running
ItmService..........................running
KarafService0101....................running
LicenseService......................running
LogService..........................running
MaintenanceService..................running
ModelMgmtService....................running
OSSDCService........................running
OSSMgmtService......................running
OperationLogService.................running
PartitionService....................running
PortTrunkingService.................running
ReportEngine........................running
ReportService.......................running
ScheduleReportService...............running
SecurityService.....................running
SystemService.......................running
------------cost: 26(sec)------------
svc_adm : info : START finished !
============================ Finished starting the system.
[ /opt/PRS ]

==> Yes total 21 service running, see the blue color

d, check the service status, total 21 service running.


svc_adm -cmd status

You might also like