Bug #3110

Ntopng doesn't start

Added by Giacomo Sanchietti over 6 years ago. Updated over 6 years ago.

Status:CLOSEDStart date:
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:nethserver-ntopng
Target version:v6.6
Security class: Resolution:
Affected version:v6.6-final NEEDINFO:No

Description

After an upgrade from 6.5 ntopng can't start if /usr/local/bin/ntopng link doesn't exists.

Steps to reproduce:
  • Execute:
    rm -f /usr/local/bin/ntopng
    start ntopng
    
  • ntopng is not started

Expected behavior:
ntopng must start

The problem is present only with ntopng-1.2.2-8637.x86_64 rpm.

Associated revisions

Revision 06b825a1
Added by Giacomo Sanchietti over 6 years ago

init script: fix starting problem. Refs #3110

History

#1 Updated by Giacomo Sanchietti over 6 years ago

  • Status changed from NEW to TRIAGED
  • Target version set to v6.6
  • % Done changed from 0 to 20

#2 Updated by Giacomo Sanchietti over 6 years ago

  • Status changed from TRIAGED to ON_DEV
  • Assignee set to Giacomo Sanchietti
  • % Done changed from 20 to 30

#3 Updated by Giacomo Sanchietti over 6 years ago

  • Status changed from ON_DEV to MODIFIED
  • % Done changed from 30 to 60

#4 Updated by Giacomo Sanchietti over 6 years ago

  • Status changed from MODIFIED to ON_QA
  • Assignee deleted (Giacomo Sanchietti)
  • % Done changed from 60 to 70
Package in nethserver-testing:
  • nethserver-ntopng-1.2.0-1.3.g71ef92f.ns6.noarch.rpm
Test case 1
  • Check the bug is not reproducible
Test case 2
  • Try to enable/disable ntopng from the web interface
  • The behavior must be consistent

#5 Updated by Filippo Carletti over 6 years ago

  • Status changed from ON_QA to VERIFIED
  • % Done changed from 70 to 90
[root@ns65 ~]# rm -f /usr/local/bin/ntopng
[root@ns65 ~]# start ntopng
ntopng stop/pre-start, process 28405
[root@ns65 ~]# ps ax | grep ntop
28409 pts/0    S+     0:00 grep ntop
...
Updated:
  nethserver-ntopng.noarch 0:1.2.0-1.3.g71ef92f.ns6
Complete!
[root@ns65 ~]# start ntopng
start: Job is already running: ntopng
[root@ns65 ~]# ps ax | grep ntop
28440 ?        Ssl    0:00 /usr/bin/ntopng /etc/ntopng/ntopng.conf

#6 Updated by Giacomo Sanchietti over 6 years ago

  • Status changed from VERIFIED to CLOSED
  • % Done changed from 90 to 100
Released in nethserver-updates:
  • nethserver-ntopng-1.2.1-1.ns6.noarch.rpm

Also available in: Atom PDF