Andrew Deason wrote: > On Tue, 31 Aug 2010 20:05:07 -0400 > Jason Edgecombe <[email protected]> wrote: > > >> hi everyone, >> >> I tried to use src/venus/cacheout.c from the current master, but it >> segfaulted. The -help option is next to useless. >> > > Platform, usage, backtrace? It doesn't segfault for me right now, but > I've only run it around two or three times. > > >> I read that this is a tool to force a fileserver to refresh IP ACL's. >> >> If so, how do I use this tool? >> > > The usage that was the motivation for getting it to build was to refresh > the IP ACLs on all known fileservers in the local cell (according to the > vldb) for particular host IPs. Give it > > $ cacheout -ip 1.2.3.4 1.2.3.5 1.2.3.6 > > to invalidate the host CPS cache for (client) hosts 1.2.3.4, 1.2.3.5, > and 1.2.3.6. > > You can also give it an -id parameter, which specifies vice IDs if I > recall correctly. It will cause the host CPS to be recalculated for > users that are accessing under that vice id. I'm not sure how well that > usage actually works (or if that's what it's actually intended to do) > since as far as I can tell the fileserver only invalidates the cps for > the first client structure it finds for each vice id. But I only glanced > at it, so I may be misreading something. > > Platform: RHEL5.4 x86_64 OpenAFS version: 1.4.11 RPMs from openafs.org Kernel: 2.6.18-164.11.1.el5 -------- % rxdebug localhost -version -port 7001 Trying 127.0.0.1 (port 7001): AFS version: OpenAFS 1.4.11 built 2010-07-16 -------- compilation steps: git checkout master with commit: 335ccb4082657b7d0e4e9af1076356cf115642d2 ihandle positional read and write ran "sh regen.sh" on an ubuntu box to create the configure script. ran ./configure && make copied the cacheout binary to my personal bin folder. -------- command that was run: "~/bin/cacheout" (no arguments given) output: Warning: could not get cell configuration. Segmentation fault (core dumped) -------- "gdb ~/bin/cacheout core.1234" yields the following: Core was generated by `.../bin/cacheout'. Program terminated with signal 11, Segmentation fault. [New process 27446] #0 0x00000000004111f2 in afsconf_Check () (gdb) bt #0 0x00000000004111f2 in afsconf_Check () #1 0x0000000000411465 in afsconf_GetLocalCell () #2 0x0000000000412044 in afsconf_GetCellInfo () #3 0x0000000000404f90 in MyBeforeProc () #4 0x0000000000413f0a in cmd_Dispatch () #5 0x00000000004049d6 in main ()
Thanks, Jason _______________________________________________ OpenAFS-devel mailing list [email protected] https://lists.openafs.org/mailman/listinfo/openafs-devel
