Did you register the client on the server using manage_agents? And did you then copy the key to the client and install it using manage_agent?
---------------------------
Jason 'XenoPhage' Frisvold
xeno...@godshell.com
---------------------------
"Any sufficiently advanced magic is indistinguishable from technology."
- Niven's Inverse of Clarke's Third Law
When your work speaks for itself, don’t interrupt.
– Henry J. Kaiser
On 03/18/2011 11:43 PM, Eric Hansen wrote:
> That I did.
Are you running selinux, perchance?
> When your work speaks for itself, don’t interrupt.
> – Henry J. Kaiser
- --
- ---------------------------
Jason 'XenoPhage' Frisvold
xeno...@godshell.com
- ---------------------------
"Any sufficiently advanced magic is indistinguishable from technology."
- - Niven's Inverse of Clarke's Third Law
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/
iEYEARECAAYFAk2HvRsACgkQ8CjzPZyTUTR77gCgmg6Uq8qXva7lF2LnWZyZKAQv
DvEAoJkx7GX+MBehuQIJq/X60y4MYnnn
=zwM6
-----END PGP SIGNATURE-----
When your work speaks for itself, don’t interrupt.
– Henry J. Kaiser
On 03/21/2011 05:29 PM, Eric Hansen wrote:
> Nah, I'm using Arch Linux which doesn't include anything beyond the
> core files needed for Bash and Linux, and I really dislike (to put it
> nicely) SELinux.
You know, if you want help, you're really going to have to have one of
the problems I'm describing so we can fix it.. ;)
Ok.. Let me re-iterate so I understand the problem.. Your server (not
agent) won't bind to port 1514/UDP. Is that correct?
The error you see in the logs : "ERROR: Unable to create merged file:
'/etc/shared/merged.mg'." is on the server, correct? What are the
permissions on the /etc/shared ... wait.. /etc/shared? Did you
relocate the ossec install? That should be /var/ossec/etc/shared ...
Where is OSSEC installed?
What are the permissions on the shared directory (wherever it is) ? It
appears that remoted isn't running, perhaps because of directory
permissions problems. On my install, the shared directory is owned by
ossec.ossec and has permissions of 770 .
- --
- ---------------------------
Jason 'XenoPhage' Frisvold
xeno...@godshell.com
- ---------------------------
"Any sufficiently advanced magic is indistinguishable from technology."
- - Niven's Inverse of Clarke's Third Law
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/
iEYEARECAAYFAk2IuLwACgkQ8CjzPZyTUTRpiQCeOtGypM3UaEKSbWEYNDL4kRCH
OOQAn2GfNN4vn6p90jsLdG4snjmNctzk
=/UMv
-----END PGP SIGNATURE-----
On 03/22/2011 11:10 PM, Eric Hansen wrote:
> Lol, the only thing I'm beginning to wonder is that Arch Linux, for one
> reason or another, isn't liking OSSEC. Correct, the server cannot bind
> to 1514/UDP (the agent has the port open just fine trying to connect to
> the server). My OSSEC is installed in /var/ossec, the default path.
> The shared is located in /var/ossec/etc/shared, and it's ossec:ossec w/
> permission 770.
And the files within the shared directory are root:ossec with 770
permissions?
I'm not sure why Arch wouldn't like OSSEC.. I know arch has some
peculiar (at least to me) ways of doing things, but I thought that was
just my own unfamiliarity with the system. You used install.sh to set
up the server, yes?
- --
- ---------------------------
Jason 'XenoPhage' Frisvold
xeno...@godshell.com
- ---------------------------
"Any sufficiently advanced magic is indistinguishable from technology."
- - Niven's Inverse of Clarke's Third Law
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/
iEYEARECAAYFAk2J9K0ACgkQ8CjzPZyTUTRzCACgmoNCN1NQTH5zquIBw1EIt5DU
TwgAoJK4yVyYlfsVkPTPg/CMZhfSpzi5
=Y23S
-----END PGP SIGNATURE-----
jeff
On 03/23/2011 10:54 AM, Eric Hansen wrote:
> Yeaup; 770 with root:ossec, and I used install.sh to install OSSEC. I
> know I also can't install Safe Squid either on Arch Linux (it won't
> generate a full serial key), so I'm wondering if it just might be a lost
> cause. I can continue looking into it as well, but I'm not sure what
> else to do.
I may have to install arch just to figure this out... I wish I had an
answer for you. Anyone else running Arch?
iEYEARECAAYFAk2LiAUACgkQ8CjzPZyTUTT0twCdEP0gqGW6ifXoZT0oXAkUtqHi
nRMAniD3byV+9t22R/bMDZnx4nOIGl/k
=GR7r
-----END PGP SIGNATURE-----