This pretty frequently happens when you bounce solr instances around. I usually use
ps aux | grep solr to find the pid to kill. I can’t help you at all about why lsof isn’t working, that has nothing to do with Solr. Best, Erick > On Jun 5, 2019, at 5:23 AM, Mary Eji <stablecou...@yahoo.com.INVALID> wrote: > > Hi, > I’ve been using Solr for a while now. I’m having trouble using the software > currently: I’m getting this error "Oops! Looks like port 8983 is already > being used by another process. Please choose a different port”. > I’m using Mac OS. When this happened sometimes ago in the Fall or so, I used > lsof -n -i4TCP: 8983 to identify the PID, then, killed the PID number. > > But, since yesterday, I’ve been receiving this error whenever I used lsof -n > -i4TCP: 8983 > > lsof: unacceptable port specification in: -i 4TCP: > lsof 4.89 > latest revision: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/ > latest FAQ: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/FAQ > latest man page: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_man > usage: [-?abhlnNoOPRtUvV] [+|-c c] [+|-d s] [+D D] [+|-f[cgG]] > [-F [f]] [-g [s]] [-i [i]] [+|-L [l]] [+|-M] [-o [o]] [-p s] > [+|-r [t]] [-s [p:s]] [-S [t]] [-T [t]] [-u s] [+|-w] [-x [fl]] [--] [names] > Use the ``-h'' option to get more help information. > > > Kindly help with how to handle the error messages, especially this: r "Oops! > Looks like port 8983 is already being used by another process. Please choose > a different port”. > > Thanks! > > Mary