hello Eero,
here is the command to find what is the missing package :
I run this on a working machine:
rpm -qf $(which as)
binutils-2.20.0-0.7.9
and yes, binutils wasnt installed on the machines with compiling errors.
On Wednesday, November 18, 2015 at 7:30:15 PM UTC+1, Edward wrote:
>
> in
Path of as binary, not /var/ossec
Eero
ke 18. marraskuuta 2015 klo 19.39 Edward kirjoitti:
> 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
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.
>
> --
well, I extracted it from src.rpm spec file.
--
Eero
2015-11-18 18:39 GMT+02:00 Edward :
> 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
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
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 :
> I did install this package and still the same issue
>
>
> might be the compiler
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:
>
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
in case someone else has the same issue, here is how to compile it:
cd ossec-*/src
# make setagent
# make all
# make build
echo "USER_BINARYINSTALL=\"y\"" >> ossec-hids*/etc/preloaded-vars.conf
On Wednesday, November 18, 2015 at 7:23:53 PM UTC+1, Edward wrote:
>
> Hello Eero,
>
> I solved
Hello Eero,
I solved the issue.
What I did was to to compile the ossec package on a working system and then
copy it to other servers where i could just install it without an issue !!!
Thx anyway
On Wednesday, November 18, 2015 at 6:41:06 PM UTC+1, Eero Volotinen wrote:
>
> Path of as binary,
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
I think assembler 'as' is missing.
16.11.2015 4.41 ip. "Edward" 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
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" kirjoitti:
> I see what you mean, I already searched for "as" before sending my post.
>
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
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" kirjoitti:
>
>> I am trying to install ossec agent (2.8.1) on sles 11 sp1 and when
>> running
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" kirjoitti:
> and how do I install this assembler ?
>
> On Monday, November 16, 2015 at 5:00:30
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
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
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
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
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 :
> thx Eero,
>
> I did realize that and did get the correct package:
> rpm -Uhv
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
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
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:
24 matches
Mail list logo