Sarg throwing up error
-
Hello friends
my spec is below.
it's an embedded on alix boardpfsense
2.1-DEVELOPMENT (i386)
built on Wed May 2 08:30:27 EDT 2012
FreeBSD 8.3-RELEASEsarg
2.3.2 pkg v.0.4.2_1squid
2.7.9 pkg v.4.3.1Installation is successful and when i try to see the log in real time via sarg
Status->sarg report->Realtime->showlog
it throws me an errorWarning: file_get_contents(/usr/local/etc/sarg/sarg.conf): failed to open stream: No such file or directory in /usr/local/www/sarg_queue.php on line 55 Warning: file_put_contents(/usr/local/etc/sarg/sarg.conf): failed to open stream: No such file or directory in /usr/local/www/sarg_queue.php on line 60
but i can see logs in realtime from console with trail -f access.log
is there any extra configuration that i need to do in sarg
Thanks
kalu -
and to my surprise sarg has not created sarg folder inside /usr/local/etc/
do we need to create it manually ??[2.1-DEVELOPMENT][kalu@localhost]/usr/local/etc(10): ls
devd man.d pam.d php.ini rc.d squidor sarg is not currently supported in 2.1 development version
Thanks
kalu -
or sarg is not currently supported in 2.1 development version
try to reinstall the package using conf_mount_rw and then pkg_delete and pkg_add . I did not created the pbi packages for sarg.
-
or sarg is not currently supported in 2.1 development version
try to reinstall the package using conf_mount_rw and then pkg_delete and pkg_add . I did not created the pbi packages for sarg.
sorry marcelloc
i'm not that comfortable with "cli"
i get this when i tried to do something smart on cli[2.1-DEVELOPMENT][admin@localhost]/root(1): sarg
sarg: Command not found.
[2.1-DEVELOPMENT][admin@localhost]/root(2): pkg_delete sarg
pkg_delete: no such package 'sarg' installed
[2.1-DEVELOPMENT][admin@localhost]/root(3): conf_mount_rw
conf_mount_rw: Command not found.
[2.1-DEVELOPMENT][admin@localhost]/root(4):could you please elaborate a bit more or give me a link on how to do it , excluding www.google.com :p
thanks
kalu -
try it on console
/etc/rc.conf_mount_rw
pkg_add -rf http://e-sac.siteseguro.ws/packages/8/All/sarg-2.3.2.tbz
/etc/rc.conf_mount_ro -
Dear marcelloc
while doing that command.
it said there's no enough space in /var but i do have enough space
http://i45.tinypic.com/2duxwuv.jpg
then close the console and trid againand it's saying.[2.1-DEVELOPMENT][admin@localhost]/(17): /etc/rc.conf_mount_rw
[2.1-DEVELOPMENT][admin@localhost]/(18): pkg_add -rf http://e-sac.siteseguro.ws/packages/8/All/sarg-2.3.2.tbz
Fetching http://e-sac.siteseguro.ws/packages/8/All/sarg-2.3.2.tbz… Done.
[2.1-DEVELOPMENT][admin@localhost]/(19): /etc/rc.conf_mount_ro
[2.1-DEVELOPMENT][admin@localhost]/(20):and it's not even in my installed packages list
Thanks
kalu -
hi marcelloc
sorry to bother you again
i some how managed to install sarg but it's not coming up on menus (gui)[2.1-DEVELOPMENT][root@ico-rt-01.ico.infn]/(78): pkg_add -rf http://e-sac.sitese
guro.ws/packages/8/All/sarg-2.3.2.tbz
Fetching http://e-sac.siteseguro.ws/packages/8/All/sarg-2.3.2.tbz… Done.
[2.1-DEVELOPMENT][root@ico-rt-01.ico.infn]/(79): sarg
SARG: Records in file: 6065, reading: 100.00%
SARG: Successful report generated on /var/www/html/squid-reports/2012May11-2012M
ay11Thanks
kalu -
i some how managed to install sarg but it's not coming up on menus (gui)
The menu will appear after you install gui package from system-> packages.
after the install, sarg menu is in status -> sarg reports
-
Thankyou marcelloc.
You're great :-)