Re: [Netpass-users] Resetport errors?
Brought to you by:
jeffmurphy
From: Jeff M. <jcm...@os...> - 2005-08-26 13:26:55
|
On Fri, 2005-08-26 at 08:49 -0400, Don Rugh wrote: > > These repeat over and over -- is there a config problem? coding > problem? looks like it's stuck on the processing queue.... > this is normal. we see them too and i've verified that the ports really dont have macs on them. im working on a feature in resetport that will let those age out so after a while it wont bother checking any more and anything connected to the port will just use the default unquar mechanism - which is to hit the web server. > > Also, even though the "-D" is not set for resetport, the debug > messages are printed to the logfile -- looking at the code, it would > appear this is by design. Am I missing something, or can you not turn > these off?? right now, no they cant be turned off. i'll change that probably with a -v flag or something. the debug messages are useful so i leave them going to the log regardless. the -D flag really just means "dont detach" so the process runs in the foreground and sends all output to stdout as an aside, resetport uses perl threads. perl threads, while they've come a long way, still dont work 100% of the time. so occasionally resetport will die. you should configure npsvc.pl by creating /opt/netpass/etc/npsvc.conf and placing npsvc in /etc/inittab. npsvc is a basic process watching script. if it finds a process has died it will restart it. it was recently introduced, so it probably wasnt installed by your version of the ./install script. 1. cvs update 2. make install 3. vi /opt/netpass/etc/npsvc.conf (see attachment for example, change the email address in the conf file!) 4. vi /etc/inittab # Run npsvc in runlevel 3 npsv:3:respawn:/opt/netpass/bin/npsvc.pl -m smtp.your.edu 5. init q then, if resetport dies, npsvc will restart it and send you mail. things like resetport and portmover are more or less stateless. so restarting them doesn't impact functionality. looking into the perl segv is on my list of things to examine, but this weekend is move-in at UB, so it'll have to wait. 3400 already registered... another 5000 to go! jeff > > > Thanks, > Don > > Donald G. Rugh > > Director of Network Services > > Information Services > > Saint Vincent College > > 300 Fraser Purchase Road > > Latrobe, PA 15650 > > 724-805-2559 > > don...@em... > > > > -- Jeff Murphy <jcm...@os...> |