Not much we can really do about this. A package you're getting from the Debian repos (not OpenNMS's) is behaving badly. Might try opening a bug with Debian, or ask the maintainer of that package...

It looks like the main snort package is bombing because it's not configured. You could try configuring snort and then try again...

On Nov 3, 2008, at 9:42 AM, "Enrique Amigó" <[EMAIL PROTECTED]> wrote:

i have installed opennms 1.5.93 on an ubuntu server, and i want to upgrade to 1.6, i followed the guide http://www.opennms.org/documentation/installguide.html#upgrading

and this happened

[EMAIL PROTECTED]:~/Desktop/opennms-1.5.93-1/source/target/opennms-1.5.93/ bin$ sudo apt-get update
Hit http://debian.opennms.org stable Release.gpg
Hit http://security.ubuntu.com hardy-security Release.gpg
Ign http://security.ubuntu.com hardy-security/main Translation-en_US
Hit http://ar.archive.ubuntu.com hardy Release.gpg
Ign http://ar.archive.ubuntu.com hardy/main Translation-en_US
Ign http://security.ubuntu.com hardy-security/restricted Translation- en_US Ign http://security.ubuntu.com hardy-security/universe Translation- en_US Ign http://security.ubuntu.com hardy-security/multiverse Translation- en_US
Hit http://security.ubuntu.com hardy-security Release
Ign http://ar.archive.ubuntu.com hardy/restricted Translation-en_US
Ign http://ar.archive.ubuntu.com hardy/universe Translation-en_US
Ign http://ar.archive.ubuntu.com hardy/multiverse Translation-en_US
Hit http://ar.archive.ubuntu.com hardy-updates Release.gpg
Ign http://ar.archive.ubuntu.com hardy-updates/main Translation-en_US
Ign http://ar.archive.ubuntu.com hardy-updates/restricted Translation-en_US Ign http://ar.archive.ubuntu.com hardy-updates/universe Translation- en_US
Ign http://debian.opennms.org stable/main Translation-en_US
Ign http://ar.archive.ubuntu.com hardy-updates/multiverse Translation-en_US
Hit http://ar.archive.ubuntu.com hardy Release
Hit http://security.ubuntu.com hardy-security/main Packages
Hit http://ar.archive.ubuntu.com hardy-updates Release
Hit http://debian.opennms.org stable Release
Hit http://security.ubuntu.com hardy-security/restricted Packages
Hit http://security.ubuntu.com hardy-security/main Sources
Hit http://security.ubuntu.com hardy-security/restricted Sources
Hit http://ar.archive.ubuntu.com hardy/main Packages
Hit http://ar.archive.ubuntu.com hardy/restricted Packages
Hit http://ar.archive.ubuntu.com hardy/main Sources
Hit http://security.ubuntu.com hardy-security/universe Packages
Hit http://security.ubuntu.com hardy-security/universe Sources
Hit http://security.ubuntu.com hardy-security/multiverse Packages
Hit http://security.ubuntu.com hardy-security/multiverse Sources
Hit http://ar.archive.ubuntu.com hardy/restricted Sources
Hit http://ar.archive.ubuntu.com hardy/universe Packages
Hit http://ar.archive.ubuntu.com hardy/universe Sources
Hit http://ar.archive.ubuntu.com hardy/multiverse Packages
Hit http://ar.archive.ubuntu.com hardy/multiverse Sources
Hit http://ar.archive.ubuntu.com hardy-updates/main Packages
Hit http://ar.archive.ubuntu.com hardy-updates/restricted Packages
Hit http://ar.archive.ubuntu.com hardy-updates/main Sources
Hit http://debian.opennms.org stable/main Packages
Hit http://ar.archive.ubuntu.com hardy-updates/restricted Sources
Hit http://ar.archive.ubuntu.com hardy-updates/universe Packages
Hit http://ar.archive.ubuntu.com hardy-updates/universe Sources
Hit http://ar.archive.ubuntu.com hardy-updates/multiverse Packages
Hit http://ar.archive.ubuntu.com hardy-updates/multiverse Sources
Hit http://debian.opennms.org stable/main Sources
Reading package lists... Done
[EMAIL PROTECTED]:~/Desktop/opennms-1.5.93-1/source/target/opennms-1.5.93/ bin$ sudo ./opennms stop
Stopping OpenNMS: stopped
[EMAIL PROTECTED]:~/Desktop/opennms-1.5.93-1/source/target/opennms-1.5.93/ bin$ sudo apt-get -u install opennms
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  linux-headers-2.6.24-16 linux-headers-2.6.24-16-generic
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
exim4 exim4-base exim4-config exim4-daemon-light iplike-pgsql83 jicmp libdbd-pg-perl libdbi-perl libgetopt-mixed-perl liblockfile1 libnet-daemon-perl libopennms-java libopennmsdeps-java libpg-java libplrpc-perl mailx metamail opennms-common opennms-db opennms-server opennms-webapp-jetty
Suggested packages:
exim4-doc-html exim4-doc-info eximon4 libmail-spf-query-perl dbishell postgresql libcompress-zlib-perl opennms-doc jrrd postgresql-client-8.2
Recommended packages:
  sharutils libnet-snmp-perl
The following NEW packages will be installed:
exim4 exim4-base exim4-config exim4-daemon-light iplike-pgsql83 jicmp libdbd-pg-perl libdbi-perl libgetopt-mixed-perl liblockfile1 libnet-daemon-perl libopennms-java libopennmsdeps-java libpg-java libplrpc-perl mailx metamail opennms opennms-common opennms-db opennms-server opennms- webapp-jetty
0 upgraded, 22 newly installed, 0 to remove and 49 not upgraded.
1 not fully installed or removed.
Need to get 84.4MB of archives.
After this operation, 133MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://ar.archive.ubuntu.com hardy/main exim4-config 4.69-2 [310kB]
Get:2 http://debian.opennms.org stable/main jicmp 1.0.8-1 [31.4kB]
Get:3 http://debian.opennms.org stable/main libopennms-java 1.6.0-1 [4864kB] Get:4 http://ar.archive.ubuntu.com hardy/main exim4-base 4.69-2 [984kB] Get:5 http://ar.archive.ubuntu.com hardy/main exim4-daemon-light 4.69-2 [442kB]
Get:6 http://ar.archive.ubuntu.com hardy/main exim4 4.69-2 [6354B]
Get:7 http://ar.archive.ubuntu.com hardy/main libnet-daemon-perl 0.38-1.1 [45.9kB] Get:8 http://ar.archive.ubuntu.com hardy/main libplrpc-perl 0.2017-1.1 [35.0kB] Get:9 http://ar.archive.ubuntu.com hardy/main libdbi-perl 1.601-1 [773kB] Get:10 http://ar.archive.ubuntu.com hardy/universe libdbd-pg-perl 1.49-5 [132kB] Get:11 http://ar.archive.ubuntu.com hardy/universe libgetopt-mixed- perl 1.008-10 [19.3kB] Get:12 http://ar.archive.ubuntu.com hardy/main liblockfile1 1.06.2 [15.6kB] Get:13 http://ar.archive.ubuntu.com hardy/main libpg-java 8.2-504-1 [314kB] Get:14 http://ar.archive.ubuntu.com hardy/main mailx 1:8.1.2-0.20071017 cvs-2 [164kB] Get:15 http://ar.archive.ubuntu.com hardy/universe metamail 2.7-53 [164kB] Get:16 http://debian.opennms.org stable/main libopennmsdeps-java 1.6.0-1 [43.3MB] Get:17 http://debian.opennms.org stable/main iplike-pgsql83 1.0.8-1 [7720B] Get:18 http://debian.opennms.org stable/main opennms-db 1.6.0-1 [23.8kB] Get:19 http://debian.opennms.org stable/main opennms-common 1.6.0-1 [1080kB] Get:20 http://debian.opennms.org stable/main opennms-server 1.6.0-1 [25.3kB] Get:21 http://debian.opennms.org stable/main opennms-webapp-jetty 1.6.0-1 [31.6MB]
Get:22 http://debian.opennms.org stable/main opennms 1.6.0-1 [24.4kB]
Fetched 84.4MB in 13min29s (104kB/s)
Preconfiguring packages ...
Selecting previously deselected package exim4-config.
(Reading database ... 188467 files and directories currently installed.)
Unpacking exim4-config (from .../exim4-config_4.69-2_all.deb) ...
Selecting previously deselected package exim4-base.
Unpacking exim4-base (from .../exim4-base_4.69-2_amd64.deb) ...
Selecting previously deselected package exim4-daemon-light.
Unpacking exim4-daemon-light (from .../exim4-daemon- light_4.69-2_amd64.deb) ...
Selecting previously deselected package exim4.
Unpacking exim4 (from .../archives/exim4_4.69-2_all.deb) ...
Selecting previously deselected package libnet-daemon-perl.
Unpacking libnet-daemon-perl (from .../libnet-daemon- perl_0.38-1.1_all.deb) ...
Selecting previously deselected package libplrpc-perl.
Unpacking libplrpc-perl (from .../libplrpc- perl_0.2017-1.1_all.deb) ...
Selecting previously deselected package libdbi-perl.
Unpacking libdbi-perl (from .../libdbi-perl_1.601-1_amd64.deb) ...
Selecting previously deselected package libdbd-pg-perl.
Unpacking libdbd-pg-perl (from .../libdbd-pg- perl_1.49-5_amd64.deb) ...
Selecting previously deselected package libgetopt-mixed-perl.
Unpacking libgetopt-mixed-perl (from .../libgetopt-mixed- perl_1.008-10_all.deb) ...
Selecting previously deselected package liblockfile1.
Unpacking liblockfile1 (from .../liblockfile1_1.06.2_amd64.deb) ...
Selecting previously deselected package libpg-java.
Unpacking libpg-java (from .../libpg-java_8.2-504-1_all.deb) ...
Selecting previously deselected package jicmp.
Unpacking jicmp (from .../jicmp_1.0.8-1_amd64.deb) ...
Selecting previously deselected package libopennms-java.
Unpacking libopennms-java (from .../libopennms- java_1.6.0-1_all.deb) ...
Selecting previously deselected package libopennmsdeps-java.
Unpacking libopennmsdeps-java (from .../libopennmsdeps- java_1.6.0-1_all.deb) ...
Selecting previously deselected package mailx.
Unpacking mailx (from .../ mailx_1%3a8.1.2-0.20071017cvs-2_amd64.deb) ...
Selecting previously deselected package metamail.
Unpacking metamail (from .../metamail_2.7-53_amd64.deb) ...
Selecting previously deselected package iplike-pgsql83.
Unpacking iplike-pgsql83 (from .../iplike- pgsql83_1.0.8-1_amd64.deb) ...
Selecting previously deselected package opennms-db.
Unpacking opennms-db (from .../opennms-db_1.6.0-1_all.deb) ...
Selecting previously deselected package opennms-common.
Unpacking opennms-common (from .../opennms-common_1.6.0-1_all.deb) ...
Selecting previously deselected package opennms-server.
Unpacking opennms-server (from .../opennms-server_1.6.0-1_all.deb) ...
Selecting previously deselected package opennms-webapp-jetty.
Unpacking opennms-webapp-jetty (from .../opennms-webapp- jetty_1.6.0-1_all.deb) ...
Selecting previously deselected package opennms.
Unpacking opennms (from .../opennms_1.6.0-1_all.deb) ...
Setting up snort-pgsql (2.7.0-14) ...
* Stopping Network Intrusion Detection System snort * No running snort instance found * Starting Network Intrusion Detection System snort * /etc/snort/db-pending-config file found
 * Snort will not start as its database is not yet configured.
 * Please configure the database as described in
 * /usr/share/doc/snort-{pgsql,mysql}/README-database.Debian
 * and remove /etc/snort/db-pending-config
invoke-rc.d: initscript snort, action "start" failed.
dpkg: error processing snort-pgsql (--configure):
 subprocess post-installation script returned error exit status 6
Setting up exim4-config (4.69-2) ...
Adding system-user for exim (v4)

Setting up exim4-base (4.69-2) ...

Setting up exim4-daemon-light (4.69-2) ...
* Starting MTA [ OK ]

Setting up exim4 (4.69-2) ...

Setting up libnet-daemon-perl (0.38-1.1) ...
Setting up libplrpc-perl (0.2017-1.1) ...
Setting up libdbi-perl (1.601-1) ...
Setting up libdbd-pg-perl (1.49-5) ...
Setting up libgetopt-mixed-perl (1.008-10) ...
Setting up liblockfile1 (1.06.2) ...
Setting up libpg-java (8.2-504-1) ...
Setting up jicmp (1.0.8-1) ...
Setting up libopennms-java (1.6.0-1) ...
Setting up libopennmsdeps-java (1.6.0-1) ...
Setting up mailx (1:8.1.2-0.20071017cvs-2) ...

Setting up metamail (2.7-53) ...

Setting up iplike-pgsql83 (1.0.8-1) ...

Setting up opennms-db (1.6.0-1) ...
Setting up opennms-common (1.6.0-1) ...
Setting up opennms-server (1.6.0-1) ...

Setting up opennms-webapp-jetty (1.6.0-1) ...
Setting up opennms (1.6.0-1) ...
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
 snort-pgsql
E: Sub-process /usr/bin/dpkg returned an error code (1)


i don'y known what to do now

i f anyone can help me with this issue it would be great

thanks
henry
1.6.0-1) ...

Setting up opennms-webapp-jetty (1.6.0-1) ...
Setting up opennms (1.6.0-1) ...
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
 snort-pgsql
E: Sub-process /usr/bin/dpkg returned an error code (1)


i don'y known what to do now

i f anyone can help me with this issue it would be great

thanks
henry
ry
--- ---------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-devel mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-devel
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-devel mailing list

To *unsubscribe* or change your subscription options, see the bottom of this 
page:
https://lists.sourceforge.net/lists/listinfo/opennms-devel

Reply via email to