PacketFence
Bug Tracking System

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001506PacketFenceconfigurationpublic2012-08-07 17:532012-10-22 13:04
ReporterOndaje 
Assigned Tofdurand 
PrioritynormalSeveritytrivialReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version3.5.0 
Target Version3.6.0Fixed in Version3.6.0 
Summary0001506: Packetfence's configurator port should be configurable (and changed from 3000 to 1444)
DescriptionAfter installing PacketFence onto a debian box that already had Ntop installed, I am unable to access the PacketFence web configurator, hence unable to use PacketFence.

Ntop uses port 3000 just like Catalyst's development server default port.
TagsNo tags attached.
fixed in git revision5083b422602f08e103dcb152db1d5f845525a5f5
fixed in mtn revision
Attached Files

- Relationships

-  Notes
(0002914)
fdurand (administrator)
2012-08-07 18:24

To change the default port 3000 to 3001, in the pfappserver init script change _start function like that:

_start() {
  iptables -I INPUT -p tcp --dport 3001 -j ACCEPT
  start-stop-daemon --start --port 3001 --quiet --pidfile $PIDFILE -m --chdir $APPDIR \
    ${USER:+"--chuid"} $USER ${GROUP:+"--group"} $GROUP --background \
    --startas $APPDIR/script/${UNIXNAME}_server.pl
(0002915)
Ondaje (reporter)
2012-08-07 18:55

Hmm. When i run service pfappserver restart, it fails to start. Any way to view the error?
(0002917)
obilodeau (reporter)
2012-08-08 08:51

Updated title, description and triaged.
(0002920)
fdurand (administrator)
2012-08-08 09:22

Sorry for the mistake

_start() {
  iptables -I INPUT -p tcp --dport 3001 -j ACCEPT
  start-stop-daemon --start --quiet --pidfile $PIDFILE -m --chdir $APPDIR \
    ${USER:+"--chuid"} $USER ${GROUP:+"--group"} $GROUP --background \
    --startas $APPDIR/script/${UNIXNAME}_server.pl -- -p 3001
(0002922)
Ondaje (reporter)
2012-08-08 11:30

That fixed it! Thanks!
(0003177)
fgaudreault (viewer)
2012-10-19 13:50

Target for 3.6.0.
(0003218)
fgaudreault (viewer)
2012-10-22 13:04

Fixed in commit 5083b422602f08e103dcb152db1d5f845525a5f5

- Issue History
Date Modified Username Field Change
2012-08-07 17:53 Ondaje New Issue
2012-08-07 18:24 fdurand Note Added: 0002914
2012-08-07 18:55 Ondaje Note Added: 0002915
2012-08-08 08:50 obilodeau Status new => assigned
2012-08-08 08:50 obilodeau Assigned To => fdurand
2012-08-08 08:51 obilodeau Note Added: 0002917
2012-08-08 08:51 obilodeau Severity minor => trivial
2012-08-08 08:51 obilodeau Target Version => +1
2012-08-08 08:51 obilodeau Summary Packetfence's configurator does not start if NTOP is installed. => Packetfence's configurator port should be configurable (and changed from 3000 to 1444)
2012-08-08 08:51 obilodeau Description Updated
2012-08-08 09:22 fdurand Note Added: 0002920
2012-08-08 11:30 Ondaje Note Added: 0002922
2012-10-19 13:50 fgaudreault Target Version general => 3.6.0
2012-10-19 13:50 fgaudreault Note Added: 0003177
2012-10-22 13:04 fgaudreault git revision => 5083b422602f08e103dcb152db1d5f845525a5f5
2012-10-22 13:04 fgaudreault Note Added: 0003218
2012-10-22 13:04 fgaudreault Status assigned => resolved
2012-10-22 13:04 fgaudreault Resolution open => fixed
2012-10-22 13:04 fgaudreault Fixed in Version => 3.6.0


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker