Operating System - HP-UX
1753776 Members
7189 Online
108799 Solutions
New Discussion

Re: Can't install ossec agent

 
denaro
Occasional Contributor

Can't install ossec agent

Hello guys i can't install ossec agent

Start script ./install.sh after installation enter this error

- Installing the system
 - Running the Makefile
Make: line 4: syntax error. Stop.
 
 Error 0x5.
 Building error. Unable to finish the installation.
Before this  I install gcc and enter this command export CC=/usr/local/lib/gcc
2 REPLIES 2
Steven Schweda
Honored Contributor

Re: Can't install ossec agent

> [...] i can't install ossec agent

   Should I know what this is, where you got it, which version of it you
got, or anything else about it?  Should I know on what you're doing this
work?

      uname -a

> Start script ./install.sh after installation enter this error

   What, exactly, does "installation" mean to you?  I can't see this
"./install.sh".

> Make: line 4: syntax error. Stop.

   I can't see this "make" file.

> Before this  I install gcc and enter this command export
> CC=/usr/local/lib/gcc

   Ok.  What about GNU "make"?  I know nothing, but a quick Web search
(for "ossec") led pretty quickly to:

      http://ossec-docs.readthedocs.io/en/latest/development/build/makefile.html

      [...]
      The Makefile uses features of GNU make, and it is a requirement of
      the build process. [...]

   If that OSSEC is your "ossec", then that could explain the failure.

denaro
Occasional Contributor

Re: Can't install ossec agent

./install.sh

  ** Para instalaцїцёo em portuguцLs, escolha [br].
  ** Хі¦ДҐ©Г¦¬ДTґФv+Х©?Х¦-Е-+Хё-, Х¦ЇИ-+Ф-L [cn].
  ** Fur eine deutsche Installation wohlen Sie [de].
  ** н?н¦н¦ н¦нЁн¦н¦оLн-о¬оLн¦о¬нЇ о¬оLн¦ н•н¦н¦нЇнҐн¦н¦н-, н¦о-н¦н¦нґн+оLн¦ [el].
  ** For installation in English, choose [en].
  ** Para instalar en Espaц¦ol , eliga [es].
  ** Pour une installation en franцїais, choisissez [fr]
  ** A Magyar nyelvе¦ telepцґtцLshez vц¦lassza [hu].
  ** Per l'installazione in Italiano, scegli [it].
  ** Ф?гФ°-ХL·Ц¦їЦ-єЦ¬ЁЦ-¦Ц¬TЦ¬+Ц¬LЦ¦?Ц¦+Ц¦?О+¦И¦TФ+·Ц¦?Ц¦іДT-Ц¦•Ц¦LО+¦[jp].
  ** Voor installatie in het Nederlands, kies [nl].
  ** Aby instalowaд+ w jд?zyku Polskim, wybierz [pl].
  ** п¦п¦я¦ пTпҐя¦я-я-я¬п¦я+пTп¦ п©п+ я¬я¦я-п¦пҐп+п¦п¦п¦ пҐп¦ я-я¬я¦я¦п¦п+п+ ,п¦п¦п¦пЄпTя-п¦ [ru].
  ** Za instalaciju na srpskom, izaberi [sr].
  ** Tц+rkцїe kurulum iцїin seцїin [tr].
  (en/br/cn/de/el/es/fr/hu/it/jp/nl/pl/ru/sr/tr) [en]:
en
 OSSEC HIDS v2.9.3 Installation Script - http://www.ossec.net

 You are about to start the installation process of the OSSEC HIDS.
 You must have a C compiler pre-installed in your system.

  - System: HP-UX aftest B.11.31
  - User: root
  - Host: test


  -- Press ENTER to continue or Ctrl-C to abort. --


1- What kind of installation do you want (server, agent, local, hybrid or help)?
agent

  - Agent(client) installation chosen.

2- Setting up the installation environment.

 - Choose where to install the OSSEC HIDS [/var/ossec]:


    - Installation will be made at  /var/ossec .

3- Configuring the OSSEC HIDS.

  3.1- What's the IP Address or hostname of the OSSEC HIDS server?:
192.168.1.3

   - Adding Server IP 192.168.1.3

  3.2- Do you want to run the integrity check daemon? (y/n) [y]:
y

   - Running syscheck (integrity check daemon).

  3.3- Do you want to run the rootkit detection engine? (y/n) [y]:
y

   - Running rootcheck (rootkit detection).

  3.4 - Do you want to enable active response? (y/n) [y]:
n

   - Active response disabled.

  3.5- Setting the configuration to analyze the following logs:
    -- /var/adm/syslog/syslog.log

 - If you want to monitor any other file, just change
   the ossec.conf and add a new localfile entry.
   Any questions about the configuration can be answered
   by visiting us online at http://www.ossec.net .


   --- Press ENTER to continue ---



5- Installing the system
 - Running the Makefile
Make: line 4: syntax error.  Stop.

 Error 0x5.
 Building error. Unable to finish the installation.