Home > Cannot Open > Cannot Open File /var/www/sarg/one-shot

Cannot Open File /var/www/sarg/one-shot

Got a tip? GZIP: On Linux備忘録&ちょっと休憩しましょ PC-UNIX創成期はFreeBSDを使ったりしていました。今のように簡単にせっちはできず、すべてソースからのコンパイルだったので、起動した時はちょっと感動。 その後、opensuselinux10.1を使ったりしましたが、現在はCentOSが基本です。やっぱり簡単・便利。でも、メジャーバージョンアップの度にsysconfigあたりが変わるのには閉口ですね。 < sargでsquidのレポートを作成する(インストール編)sargでsquidのレポートを作成する(環境設定編 その2) > 2012年07月25日11:09 カテゴリsargsquidguard sargでsquidのレポートを作成する(環境設定編 その1) まずは、設定ファイルですが修正したのは以下のところ。全体は続きで見てください。(1)squidアクセスログのファイルを指定access_log /var/log/squid/access.log(2)単発でログ解析した時の出力先output_dir /var/www/sarg/ONE-SHOT(3)ログ解析対象日を指定するときの日付フォーマット(dd/mm/yyyy形式)date_format e(4)ログの保存履歴数(?)lastlog 45(5)squidguradの設定ファイルを指定 squidguard_conf /etc/squid/squidguard.conf(6)squidguradのブロックログを指定 redirector_log /var/log/squidguard/blocked.log(5)と(6)を指定することで、squidguardがブロックしたログも解析してくれます.。USERID IP/NAME DATE/TIME ACCESSED SITE RULEsarg.confが作成されたら、解析ログを表示するためのapacheの設定と定時処理するためのcronの設定です。ログを解析したhtmlなどを収めるフォルダを作成# mkdir /var/www/sarg# vi /etc/httpd/conf.d/sarg.confAlias /sarg i am trying to install SARG on Centos 7 and ran to the problem below when trying to run make install [[email protected] sarg-2.3.10]# make install cd po ; make install make[1]: Gravar 12. http://sauvblog.com/cannot-open/cannot-open-file-var-lib-sarg-sarg-users.html

Please don't fill out this field. A unica mudança que fiz é que a pasta padrão de depósito dos arquivos é: output_dir /var/www/sarg/ONE-SHOT - aí crei um link desta pasta p/ dentro da pasta do meu servidor Who are you?" (Hassan al-Banna) Online Your IP Address Blog Stats 116,658 hits Qur'an Flash Jadwal Sholat Powered by Create a free website or blog at WordPress.com. %d bloggers like this: Will it be possible to generate such a report?

Satyaveer Arya View Public Profile View LQ Blog View Review Entries View HCL Entries View LQ Wiki Contributions Find More Posts by Satyaveer Arya 04-23-2012, 02:09 AM #11 Satyaveer Arya Password Home Search Forums Register Forum RulesMan PagesUnix Commands Linux Commands FAQ Members Today's Posts Red Hat Red Hat is the world's leading open source technology solutions provider with offerings including Sarg failed!

Peguei o sarg.conf q vem no pacote e dissequei ele. You can also subscribe without commenting. That's why you're getting errors, generating bugs. See the output above for details.

Ai foi só alegria. 0 0 Quote × Editar post Assunto Mensagem E ai cara blz? Please refer to our Privacy Policy or Contact Us for more details You seem to have CSS turned off. Satyaveer Arya View Public Profile View LQ Blog View Review Entries View HCL Entries View LQ Wiki Contributions Find More Posts by Satyaveer Arya 04-19-2012, 07:29 AM #4 mail2ganesh.cse Member https://sourceforge.net/p/sarg/discussion/363374/thread/5b68facb/ The option# may be repeated up to 64 times to read multiple files.# If this option is specified, it takes precedence over squidguard_conf.# The command line option -L override this option.##redirector_log

Reply « Older Comments Got something to say? vBulletin 2000 - 2016, Jelsoft Enterprises Ltd. Ideal para quem busca auto-ajuda. Install Sarg Squid Log Analyzer in Linux In this article I will guide you on how to install and configure SARG - Squid Analysis Report Generator on RHEL/CentOS/Fedora and Debian/Ubuntu/Linux Mint

Sarg calls it like this:# mail_utility -s "SARG report, date" "output_email" <"mail_content"## Therefore, it is possible to add more arguments to the command by specifying them# here.## If you need too, https://ubuntuforums.org/showthread.php?t=1343307 Registration is quick, simple and absolutely free. FAQ - Perguntas frequentes Estatísticas do site Equipe de moderadores Membros da comunidade Anuncie Contato Política de privacidade Quem somos Termos de uso Site hospedado por: Visite também: Viva o Xenforo skin by Xenfocus Contact Us Help Imprint Home Top RSS Terms and Rules Forum software by XenForo™ ©2010-2014 XenForo Ltd.

eu atualizei pra mais recente: 2.1, mas foi a q deu a pane, ento peguei a verso anterior. 2.0.9 e foi tranquilo, tudo voltou ao normal... http://sauvblog.com/cannot-open/cannot-open-include-file-delay-c-no-such-file-or-directory.html Does this maybe have something to do with the access list in squid? Gravar 3. Good Luck! 1 members found this post helpful.

Under default settings, it should be /var/log/dansguardian/access.log * change any other settings you want to change * :wq - save the changes to the file and quit * Check the sarg Earlier I was also using the same version that you're using now but now after updating the package reports are generating automatically as per my requirements. Gravar 11. o arquivo de configura艫o mesmo darksidefsz (usa Debian) Enviado em 15/03/2007 - 18:32h Estava com o mesmo problema. http://sauvblog.com/cannot-open/cannot-open-include-file-cmath-no-such-file-or-directory.html Reference Links Sarg Homepage That's it with SARG!

Gravar 10. i man running dansguardian + squid at the same time. You are currently viewing LQ as a guest.

Click Here to receive this Complete Guide absolutely free.

i realize that other people is putting their access_log as access_log /var/log/squid/access.log/ but anyway do i need to point the apache to listen to port 8080 instead? Until then, you're much better served researching this yourself from existing resources. queria ver se encontrava alguem que esta usando essa verso, pra ver se teve esse problema tb... The time now is 06:33 AM. - Contact Us - UNIX & Linux - unix commands, linux commands, linux server, linux ubuntu, shell script, linux distros. - Advertising - Top

Apache/2.0.52 (Red Hat) Server at sarg.lgplaza.com Port 80 " The configuration in crontab file is ]# cd /etc etc]# vi crontab SHELL=/bin/bash PATH=/sbin:/bin:/usr/sbin:/usr/bin MAILTO=root HOME=/ # run-parts #01 * * * Tango Icons Tango Desktop Project. Ravi Saive says: @Naeem, Yes, you should have bootable CD/DVD or USB media... have a peek here Do you want to help us debug the posting issues ? < is the place to report it, thanks !

procurei por aki nao encontrei nenhum bacana... Open sarg.conf file with your choice of editor and make changes as shown below. # vi /usr/local/etc/sarg.conf [On RedHat based systems] $ sudo nano /etc/sarg/sarg.conf [On Debian based systems] Now Uncomment If you use this tag, no html reports will be generated.# sarg -e email##output_email none# TAG: resolve_ip yes/no# Convert ip address to dns name# sarg -n#resolve_ip no# TAG: user_ip yes/no# Use when i run sarg through webmin, i click on "generate report now" and i get the following error: Now generating Sarg report from Squid log file /var/log/dansguardian/access.log and all rotated versions

Alguem teria o sarg.conf de uma outra versão para me enviar? Submit it here to become an TecMint author. Main Menu LQ Calendar LQ Rules LQ Sitemap Site FAQ View New Posts View Latest Posts Zero Reply Threads LQ Wiki Most Wanted Jeremy's Blog Report LQ Bug Syndicate Latest http://192.168.0.1/sarg Check to make sure the ONE-SHOT report was generated. * wait for the cron jobs to run and generate the rest of the reports Done Like this:Like Loading...

Satyaveer Arya View Public Profile View LQ Blog View Review Entries View HCL Entries View LQ Wiki Contributions Find More Posts by Satyaveer Arya 04-23-2012, 03:41 AM #12 mail2ganesh.cse Member Save and close the file. Introduction to Linux - A Hands on Guide This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started Gravar 6.

Reply Ravi Saive says: March 29, 2016 at 5:27 pm @JB, Nothing to worry, it's just a total bandwidth of request comes to localhost, but got access denied due to security… For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. Please help me too. previously, i had sarg pointed at the squid access.log instead of the dansguardian log and it worked fine but the problem is that, with dansguardian working, every user ip address was

Gravar 8. Reply Rangachisi says: May 13, 2016 at 12:39 pm Hello there. That is, if you want to map the ip address, be sure to set resolv_ip to no or# the resolved name will be looked into the file instead of the ip Gravar 4.

Join the discussion.