Thank you, Joseph. In my original posting for this thread I included the output of netstat to demonstrate that nothing had secured port 9898. netstat is a handy tool!
On Sat, Oct 30, 2010 at 7:59 PM, Joseph Gentle <[email protected]> wrote: > Sounds like something else is running on port 9898. I see that error a > fair bit when I try to run another wave server without shutting down > my old one. > > Try running this: > $ netstat -na | grep 9898 > > This will tell you which process is using the port: > $ lsof -i | grep 9898 > > For me, with wave in a box running: > java 14680 josephg 24u IPv6 41140 0t0 TCP > seph-linux:9898 (LISTEN) > java 14680 josephg 28u IPv6 41142 0t0 TCP > localhost.localdomain:9898 (LISTEN) > > -J > > On Sun, Oct 31, 2010 at 10:17 AM, James Purser <[email protected]> wrote: >> No worries >> James >> >> On Sun, Oct 31, 2010 at 10:13 AM, John Poole <[email protected]> wrote: >>> >>> I regularly perform emerge --update --deep --newuse world, probably >>> one to two weeks ago was my last update. >>> >>> I just did so now, and about 30-50 new builds showed up. >>> Before you proceed, let me bring my system up to par, reboot it, and >>> try ./run-server.sh again to remove any variables. >>> >>> >>> On Sat, Oct 30, 2010 at 4:06 PM, James Purser <[email protected]> >>> wrote: >>> > Hrmm, let me run up a gentoo vm (may take a little while) and see if I >>> > can >>> > replicate. How old is the install? >>> > James >>> > >>> > On Sun, Oct 31, 2010 at 10:03 AM, John Poole <[email protected]> >>> > wrote: >>> >> >>> >> hermes wave-protocol # ps -A | grep java >>> >> hermes wave-protocol # >>> >> >>> >> I did have a java process for another service, but I killed it before >>> >> testing, again, just to remove any doubt. >>> >> >>> >> I also performed an "ps -ef" to take inventory of all processes. I >>> >> had done some development work of other wave-like project on this box >>> >> and haven't addressed them for several months, I wanted to make sure I >>> >> had not left some other project running -- but I do not think I ever >>> >> got to the stage of something running. Even still, the netstat >>> >> command should have pointed me to something that might conflict. >>> >> >>> >> >>> >> On Sat, Oct 30, 2010 at 3:58 PM, James Purser <[email protected]> >>> >> wrote: >>> >> > The server runs in debug mode by default, hence the reams of logging >>> >> > to >>> >> > the >>> >> > shell. >>> >> > Have you checked to see if there is a java process still running? >>> >> > ps -A | grep java should let you know. >>> >> > James >>> >> > >>> >> > On Sun, Oct 31, 2010 at 9:53 AM, John Poole <[email protected]> >>> >> > wrote: >>> >> >> >>> >> >> I believe I killed the process by entering Control-C, I'm accessing >>> >> >> this server via SSH and no other consoles popped open (I confirmed >>> >> >> my >>> >> >> DISPLAY setting points to my windows desktop where I'm working >>> >> >> from). >>> >> >> I tried a couple of other ports, e.g. 550105, and had the same >>> >> >> result. >>> >> >> >>> >> >> Is there a debug mode I should engage? >>> >> >> >>> >> >> Thanks. >>> >> >> >>> >> >> On Sat, Oct 30, 2010 at 3:25 PM, Vega <[email protected]> wrote: >>> >> >> > Try to kill the console. If doesn't help - just change the port >>> >> >> > from >>> >> >> > 9898 to something else. >>> >> >> > >>> >> >> > On Oct 31, 12:21 am, Lennard de Rijk <[email protected]> wrote: >>> >> >> >> On Sat, Oct 30, 2010 at 3:19 PM, James Purser >>> >> >> >> <[email protected]>wrote: >>> >> >> >> >>> >> >> >> > What distro are you using? >>> >> >> >> >>> >> >> >> Good point, can't reproduce on mac or ubuntu here. >>> >> >> >> >>> >> >> >> Greetings, >>> >> >> >> Lennard >>> >> >> >> >>> >> >> >> >>> >> >> >> >>> >> >> >> > Do you have anything like selinux running? >>> >> >> >> >>> >> >> >> > James >>> >> >> >> >>> >> >> >> > On Sun, Oct 31, 2010 at 9:09 AM, John Poole >>> >> >> >> > <[email protected]> >>> >> >> >> > wrote: >>> >> >> >> >>> >> >> >> >> run-server.sh has fatal error on startup My results are at: >>> >> >> >> >>> >> >> >> >> http://pastebin.com/diuHqEvp >>> >> >> >> >>> >> >> >> >> I terminated the process with Control-C. >>> >> >> >> >>> >> >> >> >> The gravamen of the problem appears to be: >>> >> >> >> >>> >> >> >> >> ..... >>> >> >> >> >> SEVERE: Fatal error starting http server. >>> >> >> >> >> java.net.BindException: Address already in use >>> >> >> >> >> ..... >>> >> >> >> >>> >> >> >> >> Both before and after attempting the run_server.sh command, I >>> >> >> >> >> ran >>> >> >> >> >> netstat to determine if there was a port conflict and nothing >>> >> >> >> >> came >>> >> >> >> >> back to suggest a conflict: >>> >> >> >> >> hermes wave-protocol # netstat -an |grep 9898 >>> >> >> >> >> hermes wave-protocol # >>> >> >> >> >>> >> >> >> >> I also tried running netstat in another console while the >>> >> >> >> >> run-server.sh was running and before I terminated it with a >>> >> >> >> >> Control-C. >>> >> >> >> >> I had the same result: nothing on the grep for "9898". >>> >> >> >> >>> >> >> >> >> For reference: >>> >> >> >> >> hermes wave-protocol # java -version >>> >> >> >> >> java version "1.6.0_22" >>> >> >> >> >> Java(TM) SE Runtime Environment (build 1.6.0_22-b04) >>> >> >> >> >> Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03, mixed >>> >> >> >> >> mode) >>> >> >> >> >> hermes wave-protocol # netstat -an |grep 9898 >>> >> >> >> >> hermes wave-protocol # >>> >> >> >> >>> >> >> >> >> -- >>> >> >> >> >> John L. Poole >>> >> >> >> >>> >> >> >> >> P.O. Box 6566 >>> >> >> >> >> Napa, CA 94581-6566 >>> >> >> >> >> 707-812-1323 >>> >> >> >> >>> >> >> >> >> [email protected] >>> >> >> >> >>> >> >> >> >> -- >>> >> >> >> >> You received this message because you are subscribed to the >>> >> >> >> >> Google >>> >> >> >> >> Groups >>> >> >> >> >> "Wave Protocol" group. >>> >> >> >> >> To post to this group, send email to >>> >> >> >> >> [email protected]. >>> >> >> >> >> To unsubscribe from this group, send email to >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> [email protected]<wave-protocol%2bunsubscr...@goog >>> >> >> >> >> legroups.com> >>> >> >> >> >> . >>> >> >> >> >> For more options, visit this group at >>> >> >> >> >>http://groups.google.com/group/wave-protocol?hl=en. >>> >> >> >> >>> >> >> >> > -- >>> >> >> >> > You received this message because you are subscribed to the >>> >> >> >> > Google >>> >> >> >> > Groups >>> >> >> >> > "Wave Protocol" group. >>> >> >> >> > To post to this group, send email to >>> >> >> >> > [email protected]. >>> >> >> >> > To unsubscribe from this group, send email to >>> >> >> >> > >>> >> >> >> > >>> >> >> >> > >>> >> >> >> > [email protected]<wave-protocol%2bunsubscr...@goog >>> >> >> >> > legroups.com> >>> >> >> >> > . >>> >> >> >> > For more options, visit this group at >>> >> >> >> >http://groups.google.com/group/wave-protocol?hl=en. >>> >> >> > >>> >> >> > -- >>> >> >> > You received this message because you are subscribed to the Google >>> >> >> > Groups "Wave Protocol" group. >>> >> >> > To post to this group, send email to >>> >> >> > [email protected]. >>> >> >> > To unsubscribe from this group, send email to >>> >> >> > [email protected]. >>> >> >> > For more options, visit this group at >>> >> >> > http://groups.google.com/group/wave-protocol?hl=en. >>> >> >> > >>> >> >> > >>> >> >> >>> >> >> >>> >> >> >>> >> >> -- >>> >> >> John L. Poole >>> >> >> >>> >> >> P.O. Box 6566 >>> >> >> Napa, CA 94581-6566 >>> >> >> 707-812-1323 >>> >> >> >>> >> >> [email protected] >>> >> >> >>> >> >> -- >>> >> >> You received this message because you are subscribed to the Google >>> >> >> Groups >>> >> >> "Wave Protocol" group. >>> >> >> To post to this group, send email to [email protected]. >>> >> >> To unsubscribe from this group, send email to >>> >> >> [email protected]. >>> >> >> For more options, visit this group at >>> >> >> http://groups.google.com/group/wave-protocol?hl=en. >>> >> >> >>> >> > >>> >> > -- >>> >> > You received this message because you are subscribed to the Google >>> >> > Groups >>> >> > "Wave Protocol" group. >>> >> > To post to this group, send email to [email protected]. >>> >> > To unsubscribe from this group, send email to >>> >> > [email protected]. >>> >> > For more options, visit this group at >>> >> > http://groups.google.com/group/wave-protocol?hl=en. >>> >> > >>> >> >>> >> >>> >> >>> >> -- >>> >> John L. Poole >>> >> >>> >> P.O. Box 6566 >>> >> Napa, CA 94581-6566 >>> >> 707-812-1323 >>> >> >>> >> [email protected] >>> >> >>> >> -- >>> >> You received this message because you are subscribed to the Google >>> >> Groups >>> >> "Wave Protocol" group. >>> >> To post to this group, send email to [email protected]. >>> >> To unsubscribe from this group, send email to >>> >> [email protected]. >>> >> For more options, visit this group at >>> >> http://groups.google.com/group/wave-protocol?hl=en. >>> >> >>> > >>> > -- >>> > You received this message because you are subscribed to the Google >>> > Groups >>> > "Wave Protocol" group. >>> > To post to this group, send email to [email protected]. >>> > To unsubscribe from this group, send email to >>> > [email protected]. >>> > For more options, visit this group at >>> > http://groups.google.com/group/wave-protocol?hl=en. >>> > >>> >>> >>> >>> -- >>> John L. Poole >>> >>> P.O. Box 6566 >>> Napa, CA 94581-6566 >>> 707-812-1323 >>> >>> [email protected] >>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "Wave Protocol" group. >>> To post to this group, send email to [email protected]. >>> To unsubscribe from this group, send email to >>> [email protected]. >>> For more options, visit this group at >>> http://groups.google.com/group/wave-protocol?hl=en. >>> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Wave Protocol" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/wave-protocol?hl=en. >> > > -- > You received this message because you are subscribed to the Google Groups > "Wave Protocol" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/wave-protocol?hl=en. > > -- John L. Poole P.O. Box 6566 Napa, CA 94581-6566 707-812-1323 [email protected] -- You received this message because you are subscribed to the Google Groups "Wave Protocol" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/wave-protocol?hl=en.
