rpm -qf /var/ossec file /var/ossec is not owned by any package
On Wednesday, November 18, 2015 at 6:34:44 PM UTC+1, Eero Volotinen wrote: > > what is output of which as on server that ossec works? > > what is output of rpm -qf `which as` or rpm -qf /path/to/as on server that > it works. > > -- > Eero > > > > 2015-11-18 19:15 GMT+02:00 Edward <[email protected] <javascript:>>: > >> I did install this package and still the same issue.... >> >> >> might be the compiler is missing critical components >> I am getting lost in this issue.... >> >> On Wednesday, November 18, 2015 at 6:04:17 PM UTC+1, Eero Volotinen wrote: >>> >>> Well, >>> >>> you need to install c++ develoment tools. >>> >>> see url: >>> http://serverfault.com/questions/437680/equivalent-development-build-tools-for-suse-professional-11 >>> >>> I think package name is 'Basis-Devel' >>> >>> and zypper install --type pattern Basis-Devel >>> >>> should install needed files to compile ossec.. >>> >>> Note that I have not used sles for years, so command might work or not.. >>> >>> -- >>> Eero >>> >>> >>> >>> 2015-11-18 18:39 GMT+02:00 Edward <[email protected]>: >>> >>>> Hello Eero, >>>> >>>> Thank you for the effort and sorry for the late reply. >>>> How did you manage to get the requirements? >>>> I checked this against another server with the same sles11 sp1 and not >>>> all were found, but ossec is installed on this one and working. >>>> This is getting real frustrating, I need to know what exactly is going >>>> wrong. >>>> anyhelp would be much appreciated >>>> >>>> >>>> >>>> On Monday, November 16, 2015 at 8:52:15 PM UTC+1, Eero Volotinen wrote: >>>>> >>>>> Well, I extracted buildrequirements from source packages and they look >>>>> like this: >>>>> >>>>> *BuildReq*uires: coreutils >>>>> >>>>> *BuildReq*uires: zlib-devel-static >>>>> >>>>> *BuildReq*uires: zlib-devel >>>>> >>>>> *BuildReq*uires: glibc-devel >>>>> >>>>> *BuildReq*uires: openssl-devel >>>>> >>>>> *BuildReq*uires: mysql-devel >>>>> >>>>> *BuildReq*uires: postgresql-devel >>>>> >>>>> *BuildReq*uires: update-alternatives >>>>> >>>>> *BuildReq*uires: apache2-devel >>>>> >>>>> *BuildReq*uires: systemd >>>>> >>>>> So, you should install them and after that you should be able to >>>>> compile ossec from sources. >>>>> >>>>> -- >>>>> Eero >>>>> >>>>> 2015-11-16 16:33 GMT+02:00 Edward <[email protected]>: >>>>> >>>>>> I am trying to install ossec agent (2.8.1) on sles 11 sp1 and when >>>>>> running the ./install.sh I get this error: >>>>>> >>>>>> cc: error trying to exec 'as': execvp: No such file or directory >>>>>> >>>>>> I did install make and gcc-c++ , but I have the feeling I am missing >>>>>> packages >>>>>> in /var/log/messages I dont see any logs regarding ossec >>>>>> >>>>>> here is the complete error: >>>>>> >>>>>> 5- Installing the system >>>>>> - Running the Makefile >>>>>> cc: error trying to exec 'as': execvp: No such file or directory >>>>>> ./Makeall: line 128: ./isbigendian: No such file or directory >>>>>> INFO: Little endian set. >>>>>> >>>>>> *** Making zlib (by Jean-loup Gailly and Mark Adler) *** >>>>>> make[1]: Entering directory `/tmp/ossec-hids-2.8.1/src/external' >>>>>> cd zlib-1.2.8/; ./configure; make libz.a; >>>>>> Checking for gcc... >>>>>> Compiler error reporting is too harsh for ./configure (perhaps remove >>>>>> -Werror). >>>>>> ** ./configure aborting. >>>>>> make[2]: Entering directory >>>>>> `/tmp/ossec-hids-2.8.1/src/external/zlib-1.2.8' >>>>>> make[2]: *** No rule to make target `libz.a'. Stop. >>>>>> make[2]: Leaving directory >>>>>> `/tmp/ossec-hids-2.8.1/src/external/zlib-1.2.8' >>>>>> make[1]: *** [libz.a] Error 2 >>>>>> make[1]: Leaving directory `/tmp/ossec-hids-2.8.1/src/external' >>>>>> >>>>>> Error Making zlib >>>>>> make: *** [all] Error 1 >>>>>> >>>>>> Error 0x5. >>>>>> Building error. Unable to finish the installation. >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> >>>>>> --- >>>>>> You received this message because you are subscribed to the Google >>>>>> Groups "ossec-list" group. >>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>> send an email to [email protected]. >>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>> >>>>> >>>>> -- >>>> >>>> --- >>>> You received this message because you are subscribed to the Google >>>> Groups "ossec-list" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to [email protected]. >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> -- >> >> --- >> You received this message because you are subscribed to the Google Groups >> "ossec-list" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > > -- --- You received this message because you are subscribed to the Google Groups "ossec-list" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
