security onion installation problem

1,106 views
Skip to first unread message

Giedrius Ramas

unread,
Feb 17, 2014, 6:26:55 AM2/17/14
to securit...@googlegroups.com
I have tried to install new clean SO install (http://code.google.com/p/security-onion/wiki/Installation) and got the following errors :
 
 
dpkg: dependency problems prevent configuration of securityonion-all:
 securityonion-all depends on securityonion-server; however:
  Package securityonion-server is not configured yet.
dpkg: error processing securityonion-all (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          Processing triggers for dictionaries-common ...
 
 
dpkg: dependency problems prevent configuration of securityonion-server:
 securityonion-server depends on securityonion-passenger-conf; however:
  Package securityonion-passenger-conf is not configured yet.
dpkg: error processing securityonion-server (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          Setting up securityonion-libtime-hires-perl (1.9725-1ubuntu1securityonion1) ...

Doug Burks

unread,
Feb 17, 2014, 6:31:45 AM2/17/14
to securit...@googlegroups.com
Hi Giedrius,

Which version of Ubuntu are you installing on?

Could this be related?
https://groups.google.com/d/topic/security-onion/nGbHL17DklA/discussion
> --
> You received this message because you are subscribed to the Google Groups
> "security-onion" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to security-onio...@googlegroups.com.
> To post to this group, send email to securit...@googlegroups.com.
> Visit this group at http://groups.google.com/group/security-onion.
> For more options, visit https://groups.google.com/groups/opt_out.



--
Doug Burks

Giedrius Ramas

unread,
Feb 17, 2014, 6:42:24 AM2/17/14
to securit...@googlegroups.com
Hi Doug  I am ussing ubuntu 12.04 lts server install.

Doug Burks

unread,
Feb 17, 2014, 6:45:41 AM2/17/14
to securit...@googlegroups.com
Are you using 12.04.4? If so, it has a newer kernel that is not
supported by PF_RING and you'll need to downgrade your kernel as
described in the link I sent in my previous email.

On Mon, Feb 17, 2014 at 6:42 AM, Giedrius Ramas

Giedrius Ramas

unread,
Feb 17, 2014, 7:20:18 AM2/17/14
to securit...@googlegroups.com
Here you go the details of the machine I am trying to install security onion in.  
 
 uname -r
3.8.0-29-generic
 
cat /etc/issue
Ubuntu 12.04.3 LTS \n \l
 
The error I get :
 
Enabling module passenger.
To activate the new configuration, you need to run:
  service apache2 restart
Enabling site snorby.
To activate the new configuration, you need to run:
  service apache2 reload
apache2: Could not open configuration file /etc/apache2/apache2.conf: No such file or directory
Action 'restart' failed.
The Apache error log may have more information.
dpkg: error processing securityonion-passenger-conf (--configure):
 subprocess installed post-installation script returned error exit status 1
 
 
 ( cheked apache2.conf file exsistence:
ll /etc/apache2/apache2.conf
-rw-r--r-- 1 root root 8346 Feb  7  2012 /etc/apache2/apache2.conf )
 
 
dpkg: dependency problems prevent configuration of securityonion-server:
 securityonion-server depends on securityonion-passenger-conf; however:
  Package securityonion-passenger-conf is not configured yet.
dpkg: error processing securityonion-server (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          Setting up securityonion-libtime-hires-perl (1.9725-1ubuntu1securityonion1) ...
 
 
dpkg: dependency problems prevent configuration of securityonion-all:
 securityonion-all depends on securityonion-server; however:
  Package securityonion-server is not configured yet.
dpkg: error processing securityonion-all (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          Processing triggers for dictionaries-common ...
 
 
Errors were encountered while processing:
 securityonion-passenger-conf
 securityonion-server
 securityonion-all
E: Sub-process /usr/bin/dpkg returned an error code (1)

Doug Burks

unread,
Feb 17, 2014, 12:06:36 PM2/17/14
to securit...@googlegroups.com
I was able to duplicate this by *not* installing Ubuntu updates before
installing the Security Onion packages. In this scenario,
securityonion-passenger-conf tries to install before Apache is fully
installed, thus the error. Assuming there were no errors, you should
be able to resolve the error by simply re-running the following
command:
sudo apt-get -y install securityonion-all

To avoid this in the future, please remember to install all Ubuntu
updates and reboot before installing the Security Onion packages as
described on the Installation page.


On Mon, Feb 17, 2014 at 7:20 AM, Giedrius Ramas

Giedrius Ramas

unread,
Feb 18, 2014, 8:41:19 AM2/18/14
to securit...@googlegroups.com
Hi Doug,
 
A month ago  followed the installation instruction : update && upgrade && reboot, done snapshot. On last Friday reverted back the snapshot and tried to install SO which was followed by the errors I described earlier.
 
Today I have done update && upgrade && reboot once again and everything worked fine.
 
P.S. probably you should bold a step 6 in the documentation
 
 

Doug Burks

unread,
Feb 18, 2014, 8:48:17 AM2/18/14
to securit...@googlegroups.com
On Tue, Feb 18, 2014 at 8:41 AM, Giedrius Ramas
<giedriu...@gmail.com> wrote:
> Hi Doug,
>
> A month ago followed the installation instruction : update && upgrade &&
> reboot, done snapshot. On last Friday reverted back the snapshot and tried
> to install SO which was followed by the errors I described earlier.
>
> Today I have done update && upgrade && reboot once again and everything
> worked fine.

I'm glad it's working for you now!

> P.S. probably you should bold a step 6 in the documentation

If I bolded every step that folks accidentally missed, the whole thing
would be bold! :)
Reply all
Reply to author
Forward
0 new messages