Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

init.d/obiee issue with IPv6 in check_process_ports #16

Open
gianniceresa opened this issue Feb 1, 2015 · 0 comments
Open

init.d/obiee issue with IPv6 in check_process_ports #16

gianniceresa opened this issue Feb 1, 2015 · 0 comments

Comments

@gianniceresa
Copy link

In check_process_ports there is a line to find the port a process is listening on.
PORT=$(pgrep -f $1|xargs -I'{}' $LSOF_PATH -nPp {}|grep LISTEN|awk -F ":" '{print $2}'|cut -d " " -f 1|sort -u|paste -s)
When using IPv6 this line match the second block of the IP instead of the port. In the picture below it return "120b" instead of "9000".
IPv6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant