View previous topic :: View next topic |
Author |
Message |
InsaneHamster Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 02 May 2003 Posts: 435
|
Posted: Thu Mar 02, 2006 2:44 am Post subject: setting up syslog |
|
|
but im using the php syslogng '
and i have all of it working but it states that
'Query failed: syslog.users doesnt exist'
when in my database it does i can log in using those names n such and it pipes the messages ?
where should i go for help or a faq on this portage included web based syslog application ?
or may u reccomend others. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
think4urs11 Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/8534934054bad29b51e5fa.jpg)
Joined: 25 Jun 2003 Posts: 6659 Location: above the cloud
|
Posted: Thu Mar 02, 2006 7:20 am Post subject: |
|
|
You did follow http://gentoo-wiki.com/HOWTO_setup_PHP-Syslog-NG for installation/configuration? _________________ Nothing is secure / Security is always a trade-off with usability / Do not assume anything / Trust no-one, nothing / Paranoia is your friend / Think for yourself |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
InsaneHamster Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 02 May 2003 Posts: 435
|
Posted: Thu Mar 02, 2006 1:29 pm Post subject: |
|
|
yes i did unfortunatly the install guide and the ebuild have changed so now there all mixed up as wich install i should follow
so far it just says syslog.users problem once i try and log in |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
lesourbe l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/76587934349f17e9f8519e.jpg)
Joined: 24 Nov 2005 Posts: 710 Location: Champagne !
|
Posted: Thu Mar 02, 2006 3:34 pm Post subject: |
|
|
well if you know php, you could insert into the code a few echo commands in order to find out what's wrong...
I ve been using PHP-Syslog-ng, I went through the same tutorial, t'was on a debian box though. It all went well ...
The message says there's no table users in database syslog, did you check for it ? _________________ Is that a banhammer ?
LeSourbe, Member of EPowerforce. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
InsaneHamster Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 02 May 2003 Posts: 435
|
Posted: Fri Mar 03, 2006 4:16 pm Post subject: |
|
|
lesourbe wrote: | well if you know php, you could insert into the code a few echo commands in order to find out what's wrong...
I ve been using PHP-Syslog-ng, I went through the same tutorial, t'was on a debian box though. It all went well ...
The message says there's no table users in database syslog, did you check for it ? |
i did look for it but as an amature i didnt know what exactly to look for i seen it had syslog there however |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
lesourbe l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/76587934349f17e9f8519e.jpg)
Joined: 24 Nov 2005 Posts: 710 Location: Champagne !
|
Posted: Sat Mar 04, 2006 6:45 pm Post subject: |
|
|
It should be a mysql database.
for easy administration you could use phpmyadmin
Code: | emerge -av phpmyadmin |
_________________ Is that a banhammer ?
LeSourbe, Member of EPowerforce. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
InsaneHamster Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 02 May 2003 Posts: 435
|
Posted: Sat Mar 04, 2006 7:07 pm Post subject: hmm |
|
|
well i follow the directions everything seems fine even my database
but now when i try to log in it states
'username and password combination does not exist
when infact i know for Fact they do. as i changed not only the password in mysql using the phpmyadmin but also using the specified injection script for mysql.
if i take off authentication in the phpsyslog-ng script it logs me right in and works like a charm
so i have to figure out now why and what is causing authentication not to work while everything else is confingured ?
maybe this access controll list is causing it but dont know how to add to it or where it is . its just a guess. (in the config.php file)
its definatly authentication i added and enabled the SSL and mod_auth_ldap in apache2 but it didnt change or do anything |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|