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

Revert "DRIVERS-2991 Properly kill old MO server to avoid "Address al… #507

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions .evergreen/start-orchestration.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@ if [[ "${OSTYPE:?}" == cygwin || "${OSTYPE:?}" == msys ]]; then
if [ ! -z "$OLD_MO_PID" ]; then
taskkill /F /T /PID "$OLD_MO_PID" || true
fi
elif [ -x "$(command -v fuser)" ]; then
fuser --kill 8889/tcp || true
elif [ -x "$(command -v lsof)" ]; then
OLD_MO_PID=$(lsof -t -i:8889 || true)
if [ ! -z "$OLD_MO_PID" ]; then
Expand All @@ -71,7 +69,7 @@ elif [ -x "$(command -v ss)" ]; then
kill -9 "$OLD_MO_PID" || true
fi
else
echo "Unable to identify the OS (${OSTYPE:?}) or find necessary utilities (fuser/lsof/ss) to kill the process."
echo "Unable to identify the OS (${OSTYPE:?}) or find necessary utilities (lsof/ss) to kill the process."
exit 1
fi

Expand Down
Loading