[infinispan-issues] [JBoss JIRA] (ISPN-3327) Server init.d script should be customized for Infinispan
RH Bugzilla Integration (JIRA)
jira-events at lists.jboss.org
Thu Sep 19 04:09:03 EDT 2013
[ https://issues.jboss.org/browse/ISPN-3327?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12805707#comment-12805707 ]
RH Bugzilla Integration commented on ISPN-3327:
-----------------------------------------------
Vitalii Chepeliuk <vchepeli at redhat.com> made a comment on [bug 983781|https://bugzilla.redhat.com/show_bug.cgi?id=983781]
So I am not able to start JDG Server as service
[root at 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 at vchepQA /]# lsof -t -i:8080
9785 <<< SO server is started properly and listening
[But there is NO PID file created!!!]
[root at 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
> Server init.d script should be customized for Infinispan
> --------------------------------------------------------
>
> Key: ISPN-3327
> URL: https://issues.jboss.org/browse/ISPN-3327
> Project: Infinispan
> Issue Type: Bug
> Reporter: Tristan Tarrant
> Assignee: Tristan Tarrant
> Fix For: 6.0.0.Alpha4
>
>
> The current init.d script included in Infinispan Server should be appropriately renamed and verified
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the infinispan-issues
mailing list