You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@metron.apache.org by "Ward Bekker (JIRA)" <ji...@apache.org> on 2017/08/04 05:49:02 UTC

[jira] [Commented] (METRON-938) "service metron-rest start " does not work on CentOS 7.

    [ https://issues.apache.org/jira/browse/METRON-938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16113975#comment-16113975 ] 

Ward Bekker commented on METRON-938:
------------------------------------

[~rmerriman] and me where able to reproduce this. The root cause is that CentOS doesn't allow to pass a parameter to the init script. A temporary workaround, until a more secure solution is found, is to hard code the password in the init script; in /etc/init.d/metron-rest, set  METRON_JDBC_PASSWORD="Myp@ssw0rd" (or to another password used to authenticate the rest mysql user account)



> "service metron-rest start <password>" does not work on CentOS 7.
> -----------------------------------------------------------------
>
>                 Key: METRON-938
>                 URL: https://issues.apache.org/jira/browse/METRON-938
>             Project: Metron
>          Issue Type: Bug
>    Affects Versions: 0.4.0
>         Environment: Metron 0.4.0 on CentOS 7.
>            Reporter: Laurens Vets
>            Priority: Minor
>
> I suppose due to the change to systemd, the command "service metron-rest start <password>" does not work anymore in CentOS 7.
> Changing "METRON_JDBC_PASSWORD="$2"" to "METRON_JDBC_PASSWORD="<DB PASSWORD>"" in "/etc/rc.d/init.d/metron-rest" seems to fix this.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)