You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2018/05/14 08:46:00 UTC

[jira] [Assigned] (KARAF-5753) Karaf won't start correctly on HP-UX 11.31

     [ https://issues.apache.org/jira/browse/KARAF-5753?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré reassigned KARAF-5753:
-------------------------------------------

    Assignee: Jean-Baptiste Onofré

> 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)