Looks like permissions aren't set properly. These are just guesses, I don't use wui (and that this relates to wui is also a guess). Is there a /tmp directory (either the system's /tmp or a /tmp inside of an apache chroot)? Can the web server process write to it? Maybe you could add a line to print the contents of $out_file before trying to open it (too lazy to really figure out what it is right now). That might help you figure out what location the web server is trying to write to.
On Tue, Mar 9, 2010 at 10:37 AM, Rudy Kazootie <rudy...@gmail.com> wrote: > Hi all. Forgive me if this has been answered before, but I've searched my > inbox and can't find it. > > Recently upgraded to server version 2.3. Still have the same problem when I > try to do a search. This is what it returns: > > > Warning: fopen(outsearch.txt) [function.fopen]: failed to open stream: > Permission denied in /var/www/ossec-wui/lib/os_lib_alerts.php on line 39 > Total alerts found: 133 > Nothing returned (or search expired). > > Help?