Lightsquid log rotate bug
-
Looks like there is a bug in lightsquid rotate cron entry:
Hello,I have lightsquid and squid installed, and I have lightsquid set to rotate logs, but it doesn't do it. After looking at the cron job this is what I found the crontab entry to say:
0 0 * * */1 root /usr/local/etc/squid
/usr/local/sbin/squid -k rotate > /dev/nullI believe it should say:
0 0 * * */1 root /usr/local/sbin/squid -k
rotate > /dev/null -
I believe it should say:
0 0 * * */1 root /usr/local/sbin/squid -k
rotate > /dev/nullThanks, i will test this bug
-
Thanks dvserg.
-
-
-
2.6.5_1-p15 that is shown in package version
-
2.6.5_1-p15 that is shown in package version
Ok. I return from rest in net monday & test this problem.
-
hi
dvserg, any news about this bug? Did you looked at this closer? my log file is groving fast :PI have found another possible bug.. there is some misconfiguration in graphing option i suppouse..
take a look into a screenshot
-
Rotate bug fixed (probably)
Pls check now.
Thanks -
ups… something goes wrong..
after reinstaling the package, something wrong was happend with my config.. :-[
webGUI does not show any my settings.. it shows standard GUI I have lost webGUui password.
Unfortunately I was be able to log in through ssh with my old password
I have seen error message
[code]Warning: Invalid argument supplied for foreach() in /etc/inc/util.inc on line 328I looked at the lines and there is nothing wrong with theese code..
327 foreach($config['interfaces'] as $name => $int) { 328 if($int['if'] == $ifname) $friendly = $name; 329 }
I have changed webGUI password, log in into webGUI.
status.php shows that router keep all settings, packages etc.. but webGUI does not :-
I do not know what I should do next….
-upgrade the system with newest snapshot? what about config.. will be keeped after upgrade?
-restore config from backup? what will happned if some core files are broken ???any suggestions?
Michaelupdate...
I have restored all config from backup.. everything back to normal..
I let you know about rotate log bug...
;) -
Log rotate function works perfect now.. ;D
many thanksMichael