karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Commented] (KARAF-5753) Karaf won't start correctly on HP-UX 11.31
Date Mon, 14 May 2018 08:46:00 GMT

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

Jean-Baptiste Onofré commented on KARAF-5753:
---------------------------------------------

Thanks for the report, I'm fixing that.

> Karaf won't start correctly on HP-UX 11.31
> ------------------------------------------
>
>                 Key: KARAF-5753
>                 URL: https://issues.apache.org/jira/browse/KARAF-5753
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-shell
>    Affects Versions: 4.2.0
>         Environment: HP-UX 11.31
>            Reporter: stephane Ricci
>            Assignee: Jean-Baptiste Onofré
>            Priority: Major
>
> On HP system, default ps command does not support -o option
> {code:java}
> $ ps -p 21601 -o args
> ps: illegal option -- o
> usage: ps [-edaxzflP] [-u ulist] [-g glist] [-p plist] [-t tlist] [-R prmgroup] [-Z psetidlist]
> $ UNIX95= ps -p 21601 -o args
> COMMAND
> /usr/sbin/stm/uut/bin/tools/monitor/dm_fclp_adapter
> {code}
> This command line :
> {code:java}
> PID_COMMAND=$(ps -p "${ROOT_INSTANCE_PID}" -o args | sed 1d)
> {code}
> should be replaced by :
>  
> {code:java}
> DIST_OS=`uname -s | tr [:upper:] [:lower:] | tr -d [:blank:]`
>  case "$DIST_OS" in
>                 'hp-ux')PID_COMMAND=$(UNIX95= ps -p "${ROOT_INSTANCE_PID}"
-o args | sed 1d);;
>                 *)PID_COMMAND=$(ps -p "${ROOT_INSTANCE_PID}" -o args |
sed 1d);;
>               esac{code}
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message