I think the package is not correct , seems I have to go back to the manuall installation and find the missing package
On Monday, November 16, 2015 at 6:48:49 PM UTC+1, Edward wrote: > > rpm -qa |grep ossec > ossec-hids-2.8.1-1.1 > > > ossec seems to be installed and it has created this directory: > /var/lib/ossec > > I tried to get the status > /etc/init.d/ossec-hids status > /var/lib/ossec/bin/ossec-control not installed > > > The directory /var/lib/ossec doesn't contain the much, the ossec-control > is also missing, > seems the package is complete > > /var/lib/ossec/bin # ls -lh > total 0 > > > > > > On Monday, November 16, 2015 at 6:42:01 PM UTC+1, Eero Volotinen wrote: >> >> well, package name does not contain 'x86_64.rpm' >> >> rpm -q ossec-hids should be enought. or rpm -qa |grep ossec to find out >> package name. >> >> Eero >> >> 2015-11-16 19:36 GMT+02:00 Edward <ecanm...@gmail.com>: >> >>> thx Eero, >>> >>> I did realize that and did get the correct package: >>> rpm -Uhv ossec-hids-2.8.1-1.1.x86_64.rpm >>> warning: ossec-hids-2.8.1-1.1.x86_64.rpm: Header V3 DSA signature: >>> NOKEY, key ID ee454f98 >>> Preparing... ########################################### >>> [100%] >>> package ossec-hids-2.8.1-1.1.x86_64 is already installed >>> >>> >>> but when i search for rpm i get: >>> >>> rpm -q ossec-hids-2.8.1-1.1.x86_64.rpm >>> package ossec-hids-2.8.1-1.1.x86_64.rpm is not installed >>> >>> I checked the directories and /var/ossec has not being created >>> >>> it doesn't look like it has been installed >>> >>> >>> >>> On Monday, November 16, 2015 at 6:29:26 PM UTC+1, Eero Volotinen wrote: >>>> >>>> You installed wrong package. src.rpm is source package. >>>> >>>> you need to install correct package: >>>> >>>> >>>> http://download.opensuse.org/repositories/server:/monitoring/SLE_11_SP3/i586/ossec-hids-2.8.1-1.1.i586.rpm >>>> >>>> is for 32bit architecture >>>> and >>>> http://download.opensuse.org/repositories/server:/monitoring/SLE_11_SP3/x86_64/ossec-hids-2.8.1-1.1.x86_64.rpm >>>> >>>> for 64bit architecture. >>>> >>>> please install the correct version.. >>>> >>>> -- >>>> Eero >>>> >>>> 2015-11-16 19:09 GMT+02:00 Edward <ecanm...@gmail.com>: >>>> >>>>> nevermind, the package has not been installed and probably its not for >>>>> sles11sp1: >>>>> >>>>> rpm -q ossec-hids-2.8.1-1.1.src.rpm >>>>> package ossec-hids-2.8.1-1.1.src.rpm is not installed >>>>> >>>>> >>>>> >>>>> >>>>> On Monday, November 16, 2015 at 6:03:27 PM UTC+1, Edward wrote: >>>>>> >>>>>> Thx for the link, I have already seen that one, but this version is >>>>>> unstable and also for sles 11 sp3 , I have sp1 >>>>>> anyway, I did the install the rpm package... >>>>>> >>>>>> rpm -Uhv ossec-hids-2.8.1-1.1.src.rpm >>>>>> warning: ossec-hids-2.8.1-1.1.src.rpm: Header V3 DSA signature: >>>>>> NOKEY, key ID ee454f98 >>>>>> 1:ossec-hids >>>>>> ########################################### [100%] >>>>>> >>>>>> >>>>>> so it has been installed it, but I don't see the installation... >>>>>> don't see the ossec directory being installed >>>>>> package doesnt seem to be working >>>>>> >>>>>> >>>>>> >>>>>> On Monday, November 16, 2015 at 5:42:00 PM UTC+1, Eero Volotinen >>>>>> wrote: >>>>>>> >>>>>>> Well, i am not so familiar with suse package manager. >>>>>>> >>>>>>> http://software.opensuse.org/package/ossec-hids >>>>>>> >>>>>>> Maybe that repo providers needed packages? >>>>>>> >>>>>>> Eero >>>>>>> 16.11.2015 6.38 ip. "Edward" <ecanm...@gmail.com> kirjoitti: >>>>>>> >>>>>>>> I see what you mean, I already searched for "as" before sending my >>>>>>>> post. >>>>>>>> There is no "as" package. Probably it is named something else? I >>>>>>>> really do think I am missing a package because I had also issues >>>>>>>> sometime >>>>>>>> ago with other servers and >>>>>>>> at the end it was installing the correct packages. It seems the >>>>>>>> ossec software from the official website is not made for Sles and >>>>>>>> thats why >>>>>>>> I have all these issue's. >>>>>>>> what is also annoying is that there is nothing in /var/log/messages >>>>>>>> , is there some debug function as to why the installer is not working? >>>>>>>> >>>>>>>> >>>>>>>> On Monday, November 16, 2015 at 5:26:56 PM UTC+1, Eero Volotinen >>>>>>>> wrote: >>>>>>>>> >>>>>>>>> Well, using package manager? It depends on distribution. Usually >>>>>>>>> you can use package manager search functionality to find out name of >>>>>>>>> package. >>>>>>>>> >>>>>>>>> Eero >>>>>>>>> 16.11.2015 6.23 ip. "Edward" <ecanm...@gmail.com> kirjoitti: >>>>>>>>> >>>>>>>>>> and how do I install this assembler ? >>>>>>>>>> >>>>>>>>>> On Monday, November 16, 2015 at 5:00:30 PM UTC+1, Eero Volotinen >>>>>>>>>> wrote: >>>>>>>>>>> >>>>>>>>>>> I think assembler 'as' is missing. >>>>>>>>>>> 16.11.2015 4.41 ip. "Edward" <ecanm...@gmail.com> kirjoitti: >>>>>>>>>>> >>>>>>>>>>>> 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 ossec-list+...@googlegroups.com. >>>>>>>>>>>> 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 ossec-list+...@googlegroups.com. >>>>>>>>>> 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 ossec-list+...@googlegroups.com. >>>>>>>> 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 ossec-list+...@googlegroups.com. >>>>> 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 ossec-list+...@googlegroups.com. >>> 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 ossec-list+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.