Jeff,

 It looks like you have systemd installed on ubuntu14 -- at least this is what 
I can infer from the package you've tried to install omd-1.20.trusty.amd64.deb. 
Systemd is not officially distributed with ubuntu14 that comes with upstart. 
Please, make sure to stay with the init system that comes with your distro 
version. 


FWIW, Just tried to reproduce on the ubuntu trusty and everything works 
smoothly.

root@simone-VirtualBox-1:/home/simone# sudo apt-get install  ntopng
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
  pfring-dkms
Use 'apt-get autoremove' to remove it.
The following NEW packages will be installed:
  ntopng
0 upgraded, 1 newly installed, 0 to remove and 68 not upgraded.
Need to get 0 B/5,627 kB of archives.
After this operation, 26.0 MB of additional disk space will be used.
Selecting previously unselected package ntopng.
(Reading database ... 277914 files and directories currently installed.)
Preparing to unpack .../ntopng_3.2.180106-3979_amd64.deb ...
Unpacking ntopng (3.2.180106-3979) ...
Processing triggers for ureadahead (0.100.0-16) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Setting up ntopng (3.2.180106-3979) ...
Rebuilding ld cache...
(Re)Starting ntopng...
 * Stopping ntopng                                                              
                                                                                
                                                                                
                                 * Starting ntopng                              
                                                                                
                                                                                
                                                         [ OK ]
Processing triggers for libc-bin (2.19-0ubuntu6.13) ...
root@simone-VirtualBox-1:/home/simone# ps aux | grep ntopng
nobody    6802  6.3  5.4 1278436 112008 ?      Sl   10:19   0:01 
/usr/bin/ntopng /etc/ntopng/ntopng.conf
root      6980  0.0  0.1  15980  2072 pts/4    S+   10:19   0:00 grep 
--color=auto ntopng
root@simone-VirtualBox-1:/home/simone# sudo apt-get install --reinstall ntopng
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
  pfring-dkms
Use 'apt-get autoremove' to remove it.
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 68 not upgraded.
Need to get 0 B/5,627 kB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 278444 files and directories currently installed.)
Preparing to unpack .../ntopng_3.2.180106-3979_amd64.deb ...
Unpacking ntopng (3.2.180106-3979) over (3.2.180106-3979) ...
Processing triggers for ureadahead (0.100.0-16) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Setting up ntopng (3.2.180106-3979) ...
Rebuilding ld cache...
(Re)Starting ntopng...
 * Stopping ntopng                                                              
                                                                                
                                                                                
                         [ OK ]
 * Starting ntopng                                                              
                                                                                
                                                                                
                         [ OK ]
Processing triggers for libc-bin (2.19-0ubuntu6.13) ...
root@simone-VirtualBox-1:/home/simone# ps aux | grep ntopng
nobody    7242 11.4  5.3 1278436 109860 ?      Sl   10:19   0:00 
/usr/bin/ntopng /etc/ntopng/ntopng.conf
root      7360  0.0  0.1  15980  2196 pts/4    S+   10:19   0:00 grep 
--color=auto ntopng
root@simone-VirtualBox-1:/home/simone# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 14.04.5 LTS
Release:        14.04
Codename:       trusty



Simone


> On 8 Jan 2018, at 20:26, Kotch, Jeff <[email protected]> wrote:
> 
> I was trying to install omd alongside a working ntopng instance on the same 
> server and ran into the error below
>  
> user@jknetmon:~$ sudo dpkg -i omd-1.20.trusty.amd64.deb
> 
> 
> 
> Do you want to continue? [Y/n] y
> 
> (Reading database ... 193748 files and directories currently installed.)
> 
> Removing omd-1.20 (0.trusty) ...
> 
> Setting up ntopng (3.2.180104-3976) ...
> 
> Rebuilding ld cache...
> 
> (Re)Starting ntopng...
> 
> Synchronizing state of ntopng.service with SysV init with 
> /lib/systemd/systemd-sysv-install...
> 
> Executing /lib/systemd/systemd-sysv-install enable ntopng
> 
> Failed to execute operation: File exists
> 
> dpkg: error processing package ntopng (--configure):
> 
> subprocess installed post-installation script returned error exit status 1
> 
> Processing triggers for libc-bin (2.23-0ubuntu9) ...
> 
> Errors were encountered while processing:
> 
> ntopng
> 
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> 

_______________________________________________
Ntop-misc mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-misc

Reply via email to