From: Larry G. <Li...@IS...> - 2003-06-10 18:43:16
|
I thought I would let you know that I figure this out finally. I don't know if you care or not since this is not your module but I always think it rude not to follow-up. At the command line, one can issue the squidGuard command to create a database from a text file. The text file does not need to be identified as a destination group in the squidguard.conf file. However, when issuing the command via Webmin/miniserv, the entry/destination group needs to be in the squidguard.conf file. The squidGuard binary did not return any errors and the only way I found this was by trial and error. It is reproducable. All I had to do is move the &rebuild_db($filename) subroutine call below &flush_file_lines() so the db creation request is performed after the conf file is updated. If you have any ideas why this might happen I would love to hear it. I just can not figure out why this works the way it does. Then again, my brain is thoroughly fried now anyway. Thanks for your help on this and thanks for Webmin! --Larry > -----Original Message----- > From: Jamie Cameron > > You should display the return value from backquote_logged, > which is the output > from the program - it may contain some error message > explaining what went > wrong. Also, check the exit status in the $? variable, which > if non-zero > indicates failure. > > - Jamie > |