Author Topic: Zentyal Component Error  (Read 2445 times)

jbahillo

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1444
  • Karma: +77/-2
    • View Profile
Re: Zentyal Component Error
« Reply #15 on: May 09, 2014, 12:54:35 pm »
Hello, then you have saucy installed.

Now do this

wget https://launchpadlibrarian.net/173654102/fix-saucy-suricata_1.4.3-1.diff
patch /etc/init.d/suricata < fix-saucy-suricata_1.4.3-1.diff



Once done suricata should not complain when doing a service suricata restart
« Last Edit: May 09, 2014, 12:59:07 pm by jbahillo »

linustorl

  • Zen Apprentice
  • *
  • Posts: 14
  • Karma: +0/-0
    • View Profile
Re: Zentyal Component Error
« Reply #16 on: May 09, 2014, 01:05:01 pm »
Hello, then you have saucy installed.

Now do this

wget https://launchpadlibrarian.net/173654102/fix-saucy-suricata_1.4.3-1.diff
patch /etc/init.d/suricata < fix-saucy-suricata_1.4.3-1.diff



Once done suricata should not complain when doing a service suricata restart

When executing patch foo.txt < fix-saucy-suricata_1.4.3-1.diff it returned an error "cannot reopen foo.txt :  no such file or directory"

jbahillo

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1444
  • Karma: +77/-2
    • View Profile
Re: Zentyal Component Error
« Reply #17 on: May 09, 2014, 01:06:50 pm »
Hello:

As yhou may have realized, I have corrected it afterwards:

wget https://launchpadlibrarian.net/173654102/fix-saucy-suricata_1.4.3-1.diff
patch /etc/init.d/suricata < fix-saucy-suricata_1.4.3-1.diff


linustorl

  • Zen Apprentice
  • *
  • Posts: 14
  • Karma: +0/-0
    • View Profile
Re: Zentyal Component Error
« Reply #18 on: May 09, 2014, 01:14:47 pm »
Hello:

As yhou may have realized, I have corrected it afterwards:

wget https://launchpadlibrarian.net/173654102/fix-saucy-suricata_1.4.3-1.diff
patch /etc/init.d/suricata < fix-saucy-suricata_1.4.3-1.diff

This is the error I got


jbahillo

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1444
  • Karma: +77/-2
    • View Profile
Re: Zentyal Component Error
« Reply #19 on: May 09, 2014, 01:34:28 pm »
Do it this way then:

Open /etc/init.d/suricata

Look for line saying:
Code: [Select]
if [ ! -e /proc/net/netfilter/nf_queue ]; then
Change it for
Code: [Select]
if [ ! -e /proc/net/netfilter/nfnetlink_queue ]; then

BR

linustorl

  • Zen Apprentice
  • *
  • Posts: 14
  • Karma: +0/-0
    • View Profile
Re: Zentyal Component Error
« Reply #20 on: May 09, 2014, 02:09:20 pm »
Do it this way then:

Open /etc/init.d/suricata

Look for line saying:
Code: [Select]
if [ ! -e /proc/net/netfilter/nf_queue ]; then
Change it for
Code: [Select]
if [ ! -e /proc/net/netfilter/nfnetlink_queue ]; then

BR

Code in suricata is equal to your second code, still the same

jbahillo

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1444
  • Karma: +77/-2
    • View Profile
Re: Zentyal Component Error
« Reply #21 on: May 09, 2014, 04:12:56 pm »
What's the output of:

lsmod | grep nfnetlink_queue

?


BR

linustorl

  • Zen Apprentice
  • *
  • Posts: 14
  • Karma: +0/-0
    • View Profile
Re: Zentyal Component Error
« Reply #22 on: May 10, 2014, 12:55:39 am »
What's the output of:

lsmod | grep nfnetlink_queue

?


BR

Nothing

jbahillo

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1444
  • Karma: +77/-2
    • View Profile
Re: Zentyal Component Error
« Reply #23 on: May 10, 2014, 01:07:25 am »
You need to loadnfnetlink_queue kernel module


Code: [Select]
modprobe nfnetlink_queue
And you'll probably will be done

linustorl

  • Zen Apprentice
  • *
  • Posts: 14
  • Karma: +0/-0
    • View Profile
Re: Zentyal Component Error
« Reply #24 on: May 10, 2014, 03:21:38 pm »
You need to loadnfnetlink_queue kernel module


Code: [Select]
modprobe nfnetlink_queue
And you'll probably will be done

Tried the mod probe, and I can start the suricata service but still error in the zentyal

jbahillo

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1444
  • Karma: +77/-2
    • View Profile
Re: Zentyal Component Error
« Reply #25 on: May 10, 2014, 03:58:16 pm »
OK, once solved the suricata one, let's go for the rest:

what's the output of
Code: [Select]
apt-get install -f -s?

and of

apt-get install php5-common=5.5.3+dfsg-1ubuntu2.3 apache2-mpm-prefork apache2=2.4.6-2ubuntu2.2 libapache2-mod-ldap-userdir libapache2-mod-php5=5.5.3+dfsg-1ubuntu2.3 -s

linustorl

  • Zen Apprentice
  • *
  • Posts: 14
  • Karma: +0/-0
    • View Profile
Re: Zentyal Component Error
« Reply #26 on: May 10, 2014, 05:40:16 pm »
OK, once solved the suricata one, let's go for the rest:

what's the output of
Code: [Select]
apt-get install -f -s?

and of

apt-get install php5-common=5.5.3+dfsg-1ubuntu2.3 apache2-mpm-prefork apache2=2.4.6-2ubuntu2.2 libapache2-mod-ldap-userdir libapache2-mod-php5=5.5.3+dfsg-1ubuntu2.3 -s

Hi jballiho,

Thanks for patience and your guide, zentyal is up and running now, problem solved.