Author Topic: logzilla_import.txt' not found (Errcode: 13)  (Read 1796 times)

0 Members and 1 Guest are viewing this topic.

Offline Avio

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: logzilla_import.txt' not found (Errcode: 13)
« Reply #15 on: November 09, 2010, 03:49:54 pm »
Please check the install guide:
http://nms.gdd.net/index.php/Install_Guide_for_LogZilla_v3.0#Installing_Sphinx

Which explains how to add it to both cron and your /etc/rc.local file :)


Yes, i forgot i just inserted the crontab but didn't configure in the right way.

Thanks for support!

Offline sles

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: logzilla_import.txt' not found (Errcode: 13)
« Reply #16 on: September 13, 2011, 05:30:34 am »
Funny, the actual thing that's preventing it is pointed out in your log ;)

Code: [Select]
apparmor="DENIED\" operation=\"open\" parent=1 profile=\"/usr/sbin/mysqld\" name=\"/tmp/logzilla_import.txt\" pid=23567 comm=\"mysqld\" requested_mask=\"r\" denied_mask=\"r\" fsuid=102 ouid=0       3751981041      2010

The problem is apparmor - try disabling it.


WORKS! It was Apparmor, i didn't see that entry in log, incredible...

Only a question more, i had to relaunch manually sphinxd for searching, from now will it update indexes automatically?

THANKS!


Still a problem.

System: SUSE Enterprise Server 11 SP1 (64-bit)
MySQL version: 5.0.67
PHP version: 5.2.6
Apparmor: Disable
Logzilla: Php-Syslog-NG 2.9.9o [ cdukes ]


cat /var/log/logzilla/syslog_dump.log | /srv/www/htdocs/logzilla/scripts/db_insert.pl -d8 -v

Error: Error inserting record mail   30   squid   1315908770.249    174 192.168.1.68 TCP_REFRESH_HIT/200 7619 GET http://platform.twitter.com/widgets.js vitoon.sripa DEFAULT_PARENT/192.168.1.1 application/javascript

Total processing time was 0 wallclock secs ( 0.00 usr  0.00 sys +  0.02 cusr  0.01 csys =  0.03 CPU) seconds
Waiting for child on PID 7517 to exit...


INCOMING MESSAGE:
mail   30   squid   1315908770.274    339 192.168.1.68 TCP_MISS/200 4041 GET http://d1.openx.org/afr.php? user.a DEFAULT_PARENT/192.168.1.1 text/html

INVALID MESSAGE FORMAT:
mail   30   squid   1315908770.274    339 192.168.1.68 TCP_MISS/200 4041 GET http://d1.openx.org/afr.php? user.a DEFAULT_PARENT/192.168.1.1 text/html

Error inserting record mail   30   squid   1315908770.274    339 192.168.1.68 TCP_MISS/200 4041 GET http://d1.openx.org/afr.php? vitoon.sripa DEFAULT_PARENT/192.168.1.1 text/html

Total processing time was 0 wallclock secs ( 0.00 usr  0.00 sys +  0.03 cusr  0.00 csys =  0.03 CPU) seconds

------------------------------------------

On Php-syslog-ng webbase

Hostname match - empty host
Program match - empty host

But, On MySQL Database have data log.

And, When I click "Tail" button. Host is show (mail is host)


What's wrong? Hosts Programs not inserting
« Last Edit: September 13, 2011, 05:35:47 am by sles »

Offline cdukes

  • LogZilla
  • Administrator
  • Hero Member
  • *****
  • Posts: 951
    • View Profile
    • LogZilla
Re: logzilla_import.txt' not found (Errcode: 13)
« Reply #17 on: September 13, 2011, 07:42:42 am »


Still a problem.

System: SUSE Enterprise Server 11 SP1 (64-bit)
MySQL version: 5.0.67
PHP version: 5.2.6
Apparmor: Disable
Logzilla: Php-Syslog-NG 2.9.9o [ cdukes ]

Your version of LogZilla is end of life and end of support.
Please upgrade to a more stable version such as 3.2.311.

The problem is Suse and security. Google "mysql error 13" :)
Your Network is Your Business.  Be Proactive.  Go LogZilla.
Clayton Dukes
CTO, LogZilla, LLC
http://www.logzilla.pro

Offline sles

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: logzilla_import.txt' not found (Errcode: 13)
« Reply #18 on: September 13, 2011, 08:53:38 am »


Still a problem.

System: SUSE Enterprise Server 11 SP1 (64-bit)
MySQL version: 5.0.67
PHP version: 5.2.6
Apparmor: Disable
Logzilla: Php-Syslog-NG 2.9.9o [ cdukes ]

Your version of LogZilla is end of life and end of support.
Please upgrade to a more stable version such as 3.2.311.

The problem is Suse and security. Google "mysql error 13" :)

one question?

Evaluation License - FREE For 30 Days

After 30 days, to test what will not or can not login? Or

I can not upgrade to lasted version.


Thank you,

Offline cdukes

  • LogZilla
  • Administrator
  • Hero Member
  • *****
  • Posts: 951
    • View Profile
    • LogZilla
Re: logzilla_import.txt' not found (Errcode: 13)
« Reply #19 on: September 13, 2011, 11:45:41 am »


one question?

Evaluation License - FREE For 30 Days

After 30 days, to test what will not or can not login? Or


After 30 days, only the web UI would be locked. You can then convert to any other license type (including the free version) to unlock the UI. If a license expires, all data would continue to log, only the UI is locked when licenses expire.

Quote
I can not upgrade to lasted version.

Why not?
Your Network is Your Business.  Be Proactive.  Go LogZilla.
Clayton Dukes
CTO, LogZilla, LLC
http://www.logzilla.pro