Bug 983781
| Summary: | Installing JBoss Datagrid as a service | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Data Grid 6 | Reporter: | Guillaume Radde <gradde> |
| Component: | Build | Assignee: | Tristan Tarrant <ttarrant> |
| Status: | CLOSED UPSTREAM | QA Contact: | Martin Gencur <mgencur> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 6.1.0 | CC: | jdg-bugs |
| Target Milestone: | ER6 | ||
| Target Release: | 6.2.0 | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2025-02-10 03:28:04 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1017190 | ||
|
Description
Guillaume Radde
2013-07-12 00:29:21 UTC
So I am not able to start JDG Server as service [root@vchepQA /]# systemctl start infinispan-server.service Job failed. See system journal and 'systemctl status' for details. [Status of service] infinispan-server.service - SYSV: Infinispan Server Loaded: loaded (/etc/rc.d/init.d/infinispan-server) Active: failed (Result: resources) since Thu, 19 Sep 2013 09:56:21 +0200; 2min 7s ago Process: 9722 ExecStart=/etc/rc.d/init.d/infinispan-server start (code=exited, status=0/SUCCESS) Main PID: 8990 CGroup: name=systemd:/system/infinispan-server.service [Log from /var/log/messages] Sep 19 09:56:21 vchepQA systemd[1]: PID file /var/run/infinispan-server/infinispan-server-standalone.pid not readable (yet?) after start. [PID of server] [root@vchepQA /]# lsof -t -i:8080 9785 <<< SO server is started properly and listening [But there is NO PID file created!!!] [root@vchepQA /]# ll /var/run/infinispan-server/ total 0 [Problems in script infinispan-server.sh] 1. start()__line__(101) if JDG started, there is "grep 'Infinispan Server.*started in' $ISPN_SERVER_CONSOLE_LOG > /dev/null" I think should be "grep JBoss Data Grid.* started" 2. standalone.sh does not contain variables like LAUNCH_ISPN_SERVER_IN_BACKGROUND=1 so there is NO need to do %s/JBOSS_/ISPN_SERVER_/g because it does not help if you EXPORT variables and DO NOT use them inside standalone.sh The grep command could be universal. Something like grep '.*started.*in.*ms' . I tried this and it worked well for all JDG, ISPN server and EAP, started with or without errors. Just a tip... Martin Gencur <mgencur> updated the status of jira ISPN-3327 to Reopened Martin Gencur <mgencur> made a comment on jira ISPN-3327 Looks like this issue should be reopened. This product has been discontinued or is no longer tracked in Red Hat Bugzilla. |