AOLserver Chat Logs

2004/07/14

IRC [00:58] *** thecodemill|aol parted the chat.
IRC [02:45] *** bartt parted the chat.
IRC [04:27] *** tekbasse joined the chat.
IRC [04:38] *** frankie joined the chat.
IRC [06:44] *** tekbasse parted the chat.
IRC [09:09] * leff is back (gone 14:27:17)
IRC [09:21] *** jhavard parted the chat.
IRC [09:21] *** leff parted the chat.
IRC [09:22] *** leff joined the chat.
IRC [09:22] *** jhavard joined the chat.
IRC [09:25] *** jhavard parted the chat.
IRC [09:25] *** leff parted the chat.
IRC [09:27] *** leff joined the chat.
IRC [09:27] *** jhavard joined the chat.
IRC [09:28] *** jhavard parted the chat.
IRC [09:28] *** leff parted the chat.
IRC [09:28] *** leff joined the chat.
IRC [09:28] *** jhavard joined the chat.
AIM [10:07] *** RSeeger00 joined the chat.
IRC [10:09] <Dossy> morning, rob :)
IRC [10:09] <Dossy> about ready to head into the office now ...
AIM [10:11] <RSeeger00> K
AIM [10:24] *** POLearyUK joined the chat.
AIM [11:31] <POLearyUK> man it's quiet today
IRC [11:37] *** frankie parted the chat.
IRC [11:40] <Dossy> yup.
AIM [11:40] <POLearyUK> reckon the internet is all working and everybody's happy?
AIM [11:44] *** DossyNJ joined the chat.
AIM [11:47] <DossyNJ> wow, running emacs off dcidev is ugly :)
AIM [11:48] <POLearyUK> use my .emacs on pubdev
AIM [11:48] <POLearyUK> might make it prettier
AIM [11:49] <DossyNJ> no i meant slow :)
AIM [11:50] <POLearyUK> ahh ok, just like me you mean
AIM [11:50] <POLearyUK> :-)
AIM [11:51] <DossyNJ> how do you get to eval mode in emacs? i thought it was esc-esc
AIM [11:51] <POLearyUK> left alt-x
IRC [12:00] *** jader joined the chat.
AIM [12:03] <DossyNJ> no, i was looking for M-:
AIM [12:03] <DossyNJ> ok, emacs under X not allowing you to use the \ as the continuation character (instead, it puts those goofy graphical arrows) is lame.
AIM [12:04] <POLearyUK> ahh ok- haven't used it under x before
IRC [12:31] <frodoroot> can someone tell me why this 13 line timer code is so flakey?
IRC [12:32] <frodoroot> tinyurl 4rjzs
IRC [12:33] <frodoroot> http://tinyurl.com/4rjzs
AIM [12:36] <RSeeger00> Thats not just X, that emacs 21+ in windowed mode
IRC [12:50] <Dossy> frodo: why is it flakey?
IRC [12:51] <Dossy> it should always print "command finished" followed by "timing out"
IRC [12:51] <Dossy> oh. actually, no it won't
IRC [12:51] <Dossy> it'll just say "command finished"
IRC [12:52] <Dossy> the "timing out" won't print until you enter the event loop again (by calling [update] or another [vwait]
IRC [12:52] <frodoroot> that's what you think
AIM [12:53] *** POLearyUK joined the chat.
AIM [12:54] <DossyNJ> oh duh
AIM [12:54] <DossyNJ> not "after idle"... should be "after 0" duh
AIM [12:54] <DossyNJ> i think that "after 400 return" is screwing you up btw
IRC [12:54] <frodoroot> oh yeah because idle is when it enters the event loop
IRC [12:55] <frodoroot> so after 0 not after idle?
AIM [12:55] <DossyNJ> because that's scheduling "return" to be called in 400 ms
AIM [12:55] <DossyNJ> not "sleep for 400 ms, then return"
AIM [12:55] <DossyNJ> which would be proc myproc {} { after 400; return }
IRC [12:55] <frodoroot> ok
AIM [12:56] <DossyNJ> so myproc is always returning immediately, well before the $timeout
IRC [12:56] <frodoroot> actually it will do both nondeterministically
AIM [12:57] <DossyNJ> interesting.
IRC [12:59] <jhavard> while at the doctor's office I had a wonderful idea.
IRC [12:59] <frodoroot> dru
IRC [12:59] * frodoroot rolls the drum
IRC [13:00] <jhavard> I'm creating a mud, well, the code base. The creative part will be done by a friend.
IRC [13:00] *** bartt joined the chat.
IRC [13:00] <jhavard> Well anyways, aolserver+nssock
IRC [13:00] <jhavard> 'nuff said
IRC [13:01] <frodoroot> have you seen carnage blender?
IRC [13:01] <jhavard> no.
AIM [13:01] <DossyNJ> jhavard - i was thinking of nsmud :)
AIM [13:01] <DossyNJ> jhavard - already mentioned it to someone here at aol, heh
IRC [13:01] <frodoroot> lol
AIM [13:01] <DossyNJ> with the "register a tcl proc to parse sock connection" it'd be trivially easy to build
IRC [13:02] <frodoroot> http://www.carnageblender.com runs aolserver last I checked
AIM [13:02] <DossyNJ> each player on their own conn thread ... world data objects stored in NSVs
IRC [13:02] <jhavard> dossy: exactly what I was thinking
IRC [13:03] <jhavard> and you get web integration for free.
IRC [13:04] <Dossy> 6 Server: bf2/4.0
IRC [13:04] <Dossy> haha. wtf is that.
IRC [13:04] <Dossy> jhavard: yup
IRC [13:05] <Dossy> wtf is carnageblender -- no demo site?
IRC [13:05] <Dossy> and it's not a MUD
IRC [13:05] <frodoroot> rpg
IRC [13:05] <frodoroot> it's mud like
IRC [13:05] <Dossy> looks like yet another dopewars/battlewang clone
IRC [13:05] <frodoroot> http://tinyurl.com/58cmh
IRC [13:06] <jhavard> battlewang
IRC [13:06] <jhavard> fun
IRC [13:06] <frodoroot> they used openacs in 2003 at least
IRC [13:06] <jhavard> I'm too hyper to read right now.
IRC [13:06] <jhavard> double dose of decadron + depomedrol
IRC [13:07] <frodoroot> yes you've mentioned your reading neurosis before
IRC [13:07] <frodoroot> oh it's drug induced ok
IRC [13:07] <jhavard> I can actually watch my poor allergy-swolen body becoming unswolen. it's weird.
IRC [13:07] <jhavard> this time.
IRC [13:07] <jhavard> but I do have a slight problem with not reading everything fully.
IRC [13:07] <frodoroot> you are reading this
IRC [13:07] <frodoroot> muahh ahh ahh
IRC [13:08] <jhavard> yeah, but these are short messages and fit well within my short attention span.
AIM [13:08] <DossyNJ> jhavard's having a cartman experience.
IRC [13:09] <frodoroot> ok
IRC [13:09] <jhavard> Wow, I really am skinny. I was just having a bad allergic reaction.
IRC [13:09] <frodoroot> from what?
IRC [13:09] <frodoroot> bees?
IRC [13:09] <jhavard> various grasses, dust mites and cats.
IRC [13:10] <jhavard> st augustine in particular.
IRC [13:10] <jhavard> Oh, by the way, st augustine is the most common grass in this area.
AIM [13:10] <DossyNJ> jhavard: move. where do you live again?
AIM [13:11] <DossyNJ> frodoroot - no idea about the timer code. i thought i used to have working examples, but obviously don't anymore.
IRC [13:11] <frodoroot> and upgrade while you are at it
IRC [13:11] <frodoroot> it seems to be working now
IRC [13:11] <jhavard> dossy: mississippi
AIM [13:11] <DossyNJ> jhavard, OMG. I'm so sorry to hear that.
IRC [13:11] * frodoroot sings old man river
IRC [13:11] <jhavard> It's not that bad as long as I don't roll around in it, cut it, or be aroudn where it's being cut.
AIM [13:12] <DossyNJ> Basically, as long as you don't go outdoors. :)
IRC [13:12] <frodoroot> http://tinyurl.com/4rjzs
AIM [13:12] <DossyNJ> yeah - that's just not going to work
AIM [13:12] <DossyNJ> you'll have to do it with aolserver trickery.
AIM [13:13] <DossyNJ> with actual threads. tcl event loop loses again.
IRC [13:13] <frodoroot> I'm doing it in an adp right now
IRC [13:13] <frodoroot> oh ok
IRC [13:13] <frodoroot> dang
AIM [13:13] <DossyNJ> Too many connections by 152.163.190.1
AIM [13:13] <DossyNJ> wtf is wrong with your lame wiki
IRC [13:13] <frodoroot> some doofy "feature"
IRC [13:13] <frodoroot> just wait a sec and try again
IRC [13:15] <frodoroot> jhavard: do you ever fish?
IRC [13:16] <jhavard> I did when I was younger.
IRC [13:16] <jhavard> but probably less than a dozen times total.
IRC [13:16] <jhavard> what's fishing got to do with it?
IRC [13:17] <jhavard> Are you stereotyping me?
IRC [13:17] <frodoroot> I was just thinking that if I was in Mississippi I would try bass fishing
IRC [13:17] *** cd34 joined the chat.
IRC [13:17] <frodoroot> and it would rock
IRC [13:18] <jhavard> I'm not a fan of bass. I like catfish, brim, perch, red bellies and their kin.
IRC [13:18] <frodoroot> for eating or for catching?
IRC [13:18] <jhavard> eating.
IRC [13:18] <jhavard> and catching.
IRC [13:18] <jhavard> What's the point of catching if you're not going to eat it?
IRC [13:18] <frodoroot> ok I was tempted to stereotype you there
IRC [13:19] <frodoroot> you can let em go too
IRC [13:19] <frodoroot> I like to eath yellow perch though
IRC [13:19] <frodoroot> and sometimes eat too
IRC [13:20] <jhavard> So, I spend all day trying to catch a fish, and when I do catch it, and stress it so that it may die prematurely, release it?
IRC [13:20] <jhavard> That's not right.
IRC [13:20] <frodoroot> well I was thinking of fly fishing
IRC [13:20] <frodoroot> where you wouldn't spend all day hopefully
IRC [13:20] <jhavard> a creek in the south is the equivalent of a river up north. remember that.
IRC [13:21] <jhavard> When I spent a summer out in Arizona, that was funny as hell.
IRC [13:21] <jhavard> The Pariah river.
IRC [13:21] <frodoroot> Pariah creek?
IRC [13:21] <jhavard> Not so much of a river as a few wet spots in the sand
IRC [13:22] <frodoroot> lol
IRC [13:22] <jhavard> I spit on the ground and said, "Well, I guess that's the Havard River"
IRC [13:22] <frodoroot> dune
IRC [13:22] <frodoroot> fremen
IRC [13:23] <frodoroot> spice
IRC [13:23] <frodoroot> must get back on topic
AIM [13:24] <DossyNJ> http://nate.amclock.com/cgi-bin/wikischool?CodePaste
IRC [13:24] <frodoroot> oh thanks
IRC [13:24] <frodoroot> so that won't work eh?
IRC [13:25] <frodoroot> guess it's time for lunch
AIM [13:25] <DossyNJ> jhavard: HAHA
AIM [13:25] <DossyNJ> frodoroot: try that code snippet.
IRC [13:25] <frodoroot> oh duh
AIM [13:26] <DossyNJ> omg, there's spam coming to da@shiz.net already.
IRC [13:26] * frodoroot tries the code snippet
IRC [13:26] <jhavard> dossy: is there a message queue mechanism in tcl or aolserver, or will I have to implement one using nsv's?
AIM [13:26] <DossyNJ> yay! my google adsense app got approved. time to splatter google ads on the aolserver wiki :P :P
IRC [13:26] <cd34> Dossynj: did you backorder it from someone?
AIM [13:27] <DossyNJ> jhavard: implement it in nsv's. works great.
AIM [13:27] <DossyNJ> cd34: quite possibly.
IRC [13:27] <cd34> because da shiz would be a 'hacker' slang email address
AIM [13:28] <DossyNJ> i know
AIM [13:28] <DossyNJ> you can send mail to me at dossy@is.the.shiz.net :)
AIM [13:28] <DossyNJ> brb, smoke.
IRC [13:28] <cd34> some 37337 hacker that couldn't afford the domain registration haha
IRC [13:41] <frodoroot> nsthreads: ptread_mutex_destroy failed in Ns_MutexDestroy: Device or resource busy
IRC [13:41] <frodoroot> also I changed ns_thread create to ns_thread begin
IRC [13:45] <Dossy> frodoroot: you broke something
IRC [13:45] <Dossy> you didn't use the script as-is, did you
IRC [13:45] <Dossy> why? ns_thread create :)
IRC [13:45] <frodoroot> I did
IRC [13:45] <Dossy> you did? um, ok
IRC [13:46] <frodoroot> there were errors
IRC [13:46] <frodoroot> and so I changed it
IRC [13:46] <Dossy> what errors
IRC [13:46] <frodoroot> it isn't aolserver 4.0 that I'm trying it on (dossy think upgrade you fool) and it doesn't like ns_thread create
IRC [13:51] <frodoroot> unknown command create
IRC [13:51] <frodoroot> should be begin, begindetached, get ...
IRC [13:56] <Dossy> http://panoptic.com/wiki/aolserver/6
IRC [13:56] <Dossy> HAHA, look at the left-most ad
IRC [13:57] <Dossy> panoptic.com:nscp 25> ns_thread create
IRC [13:57] <Dossy> wrong # args: should be "ns_thread create script"
IRC [13:57] <Dossy> uh, ns_thread create works under aolserver 4.0 --
IRC [14:41] *** ximon joined the chat.
IRC [14:42] <ximon> Does AOLServer have the equivalent of php connection_status() type functionality, or any other means of telling if the client hits the stop button in their browser?
IRC [14:42] <jcollins> ns_write will return 0 if no connection i think
IRC [14:43] <ximon> interesting
IRC [14:43] <ximon> will test, brb
IRC [14:51] <ximon> Works a treat, tho I have to write something when I don't necessarily want to, but I solved that by writting HTML comments which won't render anything
IRC [14:53] <jcollins> can you not "ns_write {}
IRC [14:53] <jcollins> "
IRC [14:53] <ximon> i tried ns_write "" but it doesn't work
IRC [14:53] <jcollins> hmm
IRC [14:54] <ximon> only works if i give ns_write something, ns_write must decide writing nothing is folly
AIM [14:59] <DossyNJ> yeah.
AIM [14:59] <DossyNJ> if you ns_write an empty string, it adds 0 bytes to the outgoing conn, which doesn't trigger a write.
AIM [14:59] <DossyNJ> So, who is ximon? :)
IRC [15:00] <ximon> Err, dats me name chum :)
IRC [15:00] <Dossy> Gee, thanks Captain Obvious. :)
IRC [15:02] <ximon> Is there a way to get the outgoing socket handle, then use ns_sockcheck?
IRC [15:02] <ximon> Just a thought
IRC [15:03] <Dossy> Well, until you write to the conn, you may not know if the peer has RST the connection, right?
IRC [15:03] <Dossy> unless poll() can detect it.
IRC [15:04] <ximon> Whadya wanna know about ximon? :p
AIM [15:05] <DossyNJ> ximon: What's your real name?
AIM [15:05] <DossyNJ> ah, poll() can return POLLHUP in revents, indicating that the socket was closed.
IRC [15:05] <ximon> Damn bot, least it looks like one
IRC [15:06] <ximon> are you talking about at the c code level?
AIM [15:06] <RSeeger00> Ok, I keep thinking "Ximon... digivolve to Xoniman!!"
IRC [15:06] <ximon> wtf? tv series or summat?
IRC [15:06] <ximon> Ximon is just Simon with an X instead, hippy parents
AIM [15:06] <RSeeger00> yeah... cartoon, digimonsters or somesuch, I foget
AIM [15:08] <DossyNJ> ximon: the bot bridges AIM chat room with IRC
AIM [15:09] <DossyNJ> ximon: are you new to aolserver? haven't seen your name around before.
IRC [15:10] <ximon> ah
IRC [15:10] <ximon> yeah
IRC [15:11] <ximon> last time I used IRC was for NSIS
AIM [15:11] <DossyNJ> heh.
IRC [15:11] <ximon> you'll see my name on that tho I've been inactive for about a year
IRC [15:12] <ximon> Been using aolserver for about 5 months now I guess
IRC [15:18] <Dossy> cool.
IRC [15:18] <Dossy> well, now you've found us. come back often. :)
IRC [15:26] <jhavard> now that php5 is out, anything to be aware of for aolserver?
IRC [15:31] <Dossy> no idea. i haven't tested aolserver w/ php5 yet.
IRC [15:36] <jhavard> well, I'm about to try.
AIM [15:36] <DossyNJ> good luck, and godspeed.
IRC [15:36] <jhavard> not that I'll actually use much php anymore. but still, good to have around.
IRC [15:46] <jhavard> I'd use it if somebody would put aolserver api support, though.
IRC [15:46] <jcollins> last i tried the threading wasn't quite right and it just segfaulted all the time
IRC [15:49] <jhavard> you know, it's quite convenient being able to do scripting in a config file
IRC [15:50] <jcollins> yes it is
IRC [15:50] <jcollins> we use that a LOT
IRC [15:50] <jhavard> mass virtual hosting? No problem. just add an item to an array, servername is the key, and the value is a list of hostnames for that server
IRC [15:51] <jhavard> and have a generic script or a block in a foreach that's done for each server.
IRC [15:51] <jhavard> works like magic.
IRC [15:51] <jhavard> only better.
IRC [15:53] <jhavard> and have it create all the necessary directories and all that.
IRC [15:54] <jhavard> dammit dossy, why didn't you proselytize aolserver more in #unix?
IRC [16:13] <jhavard> [14/Jul/2004:15:13:17][2717.136803328][-nssock:driver-] Notice: nssock: listening on 0.0.0.0:80
IRC [16:13] <jhavard> Abort trap
IRC [16:14] <jhavard> awesome, as soon as I load a php script, *pashoomp*
IRC [16:14] <frodoroot> jhavard: I did it once so it must be possible
IRC [16:14] <jhavard> I know it's possible.
IRC [16:14] <jhavard> I actually had it working at one time, php5rc3
IRC [16:15] <jhavard> and even had phpBB running
IRC [16:15] <jhavard> so, anything I can do to help debug this thing?
IRC [16:16] <frodoroot> gdb and print a backtrace
IRC [16:20] <jhavard> guess I need to compile everything with debugging symbols as well.
IRC [16:20] <jcollins> oh oh i remember
IRC [16:20] <jhavard> ?
IRC [16:20] <jcollins> it was because i used vservers
IRC [16:20] <jcollins> you can only load php in a single vserver at a time
IRC [16:21] <frodoroot> jhavard: not for a backtrace you don't need debugging symbols
IRC [16:21] <jcollins> i assume you are using AS 4.x
IRC [16:21] <jhavard> frodo: but I want to truly be useful
IRC [16:21] <jhavard> jcollins: 4.1 out of cvs
IRC [16:21] <jhavard> or atleast reports as 4.1
IRC [16:22] <jcollins> and you have multiple virtual servers?
IRC [16:22] <jhavard> yes
IRC [16:22] <jhavard> and when it worked, I didn't have any
IRC [16:22] <jhavard> I guess that makes sense.
IRC [16:22] <jhavard> so only one virtual can do php. good?
IRC [16:22] <jcollins> yeah, if you just load it in a single virtual server it'll work
IRC [16:22] <jhavard> and only that virtual server.
IRC [16:23] <jcollins> right
IRC [16:23] <jhavard> none of the others will be able to use php
IRC [16:23] <jcollins> right
IRC [16:25] <jcollins> sucks, label that a major bug
IRC [16:26] <jcollins> in php5, no AS
IRC [16:26] <jhavard> or both
IRC [16:28] <jhavard> what the hell
IRC [16:28] <jhavard> http://www.havpyro.com/test.php
IRC [16:28] <jhavard> that works quite weirdly
IRC [16:28] <jhavard> keep reloading the page
IRC [16:29] <jcollins> hmmm
IRC [16:29] <jcollins> it's like php is not in all the threads or something
IRC [16:30] <jhavard> and sometimes it's sending half the page
IRC [16:31] <jhavard> or even <html><body></body></html>
IRC [16:31] <jcollins> yeah
IRC [16:31] <jhavard> that's fucked up.
IRC [16:31] <jcollins> pretty much
IRC [16:32] <jhavard> oh wait, I didn't apply the patch that lets 4.3.7 work.
IRC [16:32] <jhavard> I believe 5.0.0 hasn't really changed much for the aolserver module.
IRC [16:33] <jcollins> i think it did change
IRC [16:34] <jhavard> nope, atleast not for the first function
IRC [16:34] <jcollins> hrm
IRC [16:34] <jhavard> and assuming a '-' in the patch means "remove this line" and a '+' means "add this line"
IRC [16:38] <jhavard> the changes between 4.3.7 and 5.0.0 are mostly version and copyright changes and a few other minor changes which seem to be php5-isms
IRC [16:38] <jcollins> i must be mistaken
IRC [16:38] <jcollins> i thought some threading stuff changed
IRC [16:41] <jhavard> I see a few nulls removed, removal of a default for a zend_file_handle, and one other change that I can't exactly tell what it is
IRC [16:41] <jhavard> but it's quite small
IRC [16:41] <jhavard> something dealing with return values
IRC [16:51] *** cd34 parted the chat.
AIM [16:57] <DossyNJ> dammit dossy, why didn't you proselytize aolserver more in #unix?
AIM [16:57] <DossyNJ> jhavard: because people in #unix are mostly clueless.
IRC [16:58] <jhavard> and/or extremely religious.
AIM [16:58] <DossyNJ> And those with a clue are usually in places where they don't get to choose the technology they use, it's chosen for them by people above them.
AIM [16:58] <DossyNJ> btw, you can use php in multiple vservers, I bet, but you have to load the libphp.so module once in each vserver, I bet
IRC [16:59] <jhavard> I was
AIM [16:59] <DossyNJ> jhavard: yeah, you need to apply the php patch to php5 too
IRC [16:59] <jhavard> why in the world is there freakin' broken code in the public php release? did they not accept the patch or something?
IRC [17:00] <jcollins> Dossy: You have no idea how appropriate that "those with a clue" comment is for me right now!
AIM [17:06] <DossyNJ> jhavard: no idea. i emailed sascha, got no response.
AIM [17:06] <DossyNJ> jcollins: :)
IRC [17:08] <jhavard> programming in C or any other language at that same level is like having to reinvent the universe just to reinvent the wheel.
IRC [17:22] <Dossy> heh.
IRC [17:49] *** TheGorilla joined the chat.
IRC [17:49] <TheGorilla> does anyone know how the sourcing works for aolserver
IRC [17:51] <bartt> Of adp pages or Tcl files?
IRC [17:51] <TheGorilla> Tcl files
IRC [17:51] <TheGorilla> let me be more specific
AIM [17:51] <DossyNJ> "the sourcing" ?
IRC [17:51] <Dossy> neat, another new name! wow, people are just coming out of the woodwork. :)
IRC [17:52] <TheGorilla> I have a control deamon which is sourced and runs under AOLserver, that allows me to execute commands.
IRC [17:52] <TheGorilla> I try and overwrite a procedure that has previously been sourced, by typing source example.tcl, which contains the procedure to overwrite the old one
IRC [17:53] <TheGorilla> but AOLserver seems to like keeping the old source procedure and discarding my changes, any addvice?
AIM [17:54] <RSeeger00> Is it a proc that was defined when the server started? If so, you may want to look into ns_eval to define your new version in all threads
IRC [17:54] <TheGorilla> AIM: thanks let me try it out
IRC [18:15] * leff is away: home
IRC [18:20] <jcollins> TheGorilla: ns_eval { source example.tcl } should do the trick
IRC [18:24] <jhavard> thegorilla: yeah, what jcollins said. I was trying to reload a module I had written, source'ing it in nscp, but that only loads it in that thread, not all of them. ns_eval runs it across all threads in that server.
AIM [18:42] *** RSeeger00 joined the chat.
IRC [18:49] <frodoroot> but will that replace existing procs with new ones?
AIM [18:50] <DossyNJ> yes.
IRC [18:55] <Dossy> OK, everyone's quiet. think I'm going to pack up and go home soon
IRC [18:56] <frodoroot> talk to you later
AIM [18:56] <DossyNJ> take care, everyone
AIM [18:56] *** DossyNJ joined the chat.
IRC [19:06] <TheGorilla> hmmm the eval seems to work
IRC [19:09] <TheGorilla> I'm taking off as well. Thanks for the help
IRC [19:09] *** TheGorilla parted the chat.
IRC [19:49] *** ximon parted the chat.
IRC [20:09] <jader>
IRC [20:18] *** jader parted the chat.
IRC [21:55] *** someguy joined the chat.
IRC [21:59] <someguy> i'm having trouble with a new aolserver install at home, anyone available to answer a couple of questions?
IRC [22:07] *** bartt parted the chat.
IRC [22:26] <jhavard> is nscache worth anything, or should I do a cache using nsv?
IRC [22:28] <someguy> i've just started using aolserver and have a problem, does anyone have time to answer a couple?
IRC [22:28] <jhavard> someguy: although I'm about as new as you are, I may be able to help.
IRC [22:29] <someguy> i'm probably doing something very stupid but here's what is happening,
IRC [22:29] <someguy> i am running aolserver on my home linux system , have tried port 8080 and port 8500
IRC [22:29] <someguy> on that same machine i can run a browser and get to it but i can't get to it from any other machine on the same network.
IRC [22:29] <someguy> i have turned off iptables so i know it is not that.
IRC [22:30] <someguy> is there something inthe config file that i have to do to make it listen for eth0 connections?
IRC [22:30] <someguy> i've been reading the doc and it doesn't look like it.
IRC [22:31] <someguy> if i run ethereal and capture the traffic it looks like the server is replying with a RST which i think means that the socket is not open
IRC [22:31] <jhavard> run netstat -an | grep LISTEN on your server while aolserver is running
IRC [22:31] <someguy> y
IRC [22:31] <jhavard> It will tell you what port and IP addresses have something bound and listening for connections on them.
IRC [22:32] <someguy> tcp 0 0 localhost.localdom:8500 *:* LISTEN
IRC [22:32] <someguy> it looks ok to me
IRC [22:32] <someguy> i checked that before
IRC [22:32] <jhavard> yeah, it's bound to localhost, as in the loopback interface
IRC [22:32] <someguy> i was wondering about the lo
IRC [22:32] <someguy> but i don't see anhything in the config on how to make it use eth0
IRC [22:32] <jhavard> what you need to do is specify the -b ip.address:port option on the command line.
IRC [22:33] <someguy> ah
IRC [22:33] <someguy> dangit, i tried all sorts of things
IRC [22:33] <someguy> tks
IRC [22:33] <someguy> i'll try that now
IRC [22:33] <jhavard> You may be able to specify it in the config file, I'm not really sure. Although everything I've seen seems to indicate 'use -b'
IRC [22:34] <someguy> no change
IRC [22:34] <someguy> tried:
IRC [22:35] <someguy> -b 192.168.1.101:8500
IRC [22:35] <someguy> netstat is the same
IRC [22:35] <jhavard> interesting
IRC [22:35] <jhavard> oh, and ns_param address
IRC [22:35] <jhavard> change that.
IRC [22:36] <jhavard> wait know, wrong.
IRC [22:36] <jhavard> nevermind, that was correct. I need to read more
IRC [22:36] <jhavard> okay, look at you ns/...../module/nssock section
IRC [22:36] <jhavard> set the address there.
IRC [22:37] <jhavard> and you might even need to specify it on the command line as well.
IRC [22:37] <someguy> hmm
IRC [22:39] <jhavard> did that work?
IRC [22:40] <someguy> i'm finding a few places with address, trying to see which to change now
IRC [22:40] <jhavard> are you using the sample-config.tcl file?
IRC [22:40] <someguy> y
IRC [22:41] <jhavard> well, it explains some of this stuff and I could tell you exactly what section to go to
IRC [22:41] <someguy> netstat is difference
IRC [22:41] <someguy> trying browser now
IRC [22:41] <jhavard> it would be ns_section "ns/server/${servername}/module/nssock"
IRC [22:42] <someguy> hah, that got it
IRC [22:42] <someguy> thanks a lot
IRC [22:42] <jhavard> np.
IRC [22:42] <someguy> i appreciate it
IRC [22:44] <someguy> yes, working correctly now. i was wondering if the address changes were necessary, i should have tried them before i bugged you.
IRC [22:44] <jhavard> eh, I think I did the same thing a few days ago.
IRC [22:45] <jhavard> There's actually quite a bit of documentation.
IRC [22:45] <jhavard> checkout http://www.aolserver.com/docs/ and http://www.panoptic.com/wiki/aolserver/
IRC [22:46] <someguy> will do
IRC [22:46] <jhavard> and if you want to see the config file I managed to whip up, http://hxe.us/main.txt
IRC [22:47] <jhavard> and http://hxe.us/generic-server.txt is the file containing the config for a generic server
IRC [22:47] <jhavard> you'll also need to create a directory called 'conf-server' off your top aolserver directory
IRC [22:48] <jhavard> any time you want to do some specific config on a particular server, add it there.
IRC [22:54] <someguy> tks, i'll take a look at it
IRC [22:58] <someguy> got the config
IRC [23:17] *** someguy parted the chat.