You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/05/14 09:41:00 UTC

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

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

ASF GitHub Bot commented on KARAF-5753:
---------------------------------------

StephaneRicci opened a new pull request #504: [KARAF-5753]
URL: https://github.com/apache/karaf/pull/504
 
 
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Karaf won't start correctly on HP-UX
> ------------------------------------
>
>                 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)