PacketFence
Bug Tracking System

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001643PacketFenceconfigurationpublic2013-05-20 03:132015-02-18 10:59
Reporteradamashley 
Assigned To 
PrioritynormalSeverityblockReproducibilityalways
StatusclosedResolutionopen 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0001643: Configurator can not configure Network Interfaces on Ubuntu 12.04.2 LTS
DescriptionInstalled packetfence as per Ubuntu install instructions on 12.04.2, only SSH installed before apt-get install packetfence which attempted to install 4.0.1.

Load up configurator, select inline enforcement. See in attached screenshot all interfaces are Off, interfaces are configured for management and inline.

Clicking the toggle button for each interface gives the error "Interface eth0 has not been enabled. Should check server side logs for details". Server side logs includes this error message and nothing more.

Clicking continue gives the error message "Invalid gateway. Doesn't belong to any running and configured interface"

Log files provide no additional information, all interfaces are configured as manual in /etc/network/interfaces and are currently up and working correctly.

root@proxy01:/usr/local/pf# ifconfig
eth0 Link encap:Ethernet HWaddr 00:50:56:b0:89:eb
          inet addr:10.253.11.10 Bcast:10.253.11.255 Mask:255.255.255.0
          inet6 addr: fe80::250:56ff:feb0:89eb/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:135635 errors:0 dropped:0 overruns:0 frame:0
          TX packets:47142 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:155619543 (155.6 MB) TX bytes:8873996 (8.8 MB)

eth1 Link encap:Ethernet HWaddr 00:50:56:b0:71:81
          inet addr:10.253.112.10 Bcast:10.253.127.255 Mask:255.255.240.0
          inet6 addr: fe80::250:56ff:feb0:7181/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:33928 errors:0 dropped:0 overruns:0 frame:0
          TX packets:28269 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:3388083 (3.3 MB) TX bytes:25562726 (25.5 MB)

eth2 Link encap:Ethernet HWaddr 00:50:56:b0:8a:10
          inet addr:10.253.14.10 Bcast:10.253.14.255 Mask:255.255.255.0
          inet6 addr: fe80::250:56ff:feb0:8a10/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:300 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10108 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:19926 (19.9 KB) TX bytes:860993 (860.9 KB)

lo Link encap:Local Loopback
          inet addr:127.0.0.1 Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING MTU:16436 Metric:1
          RX packets:1032 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1032 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:7602361 (7.6 MB) TX bytes:7602361 (7.6 MB)


Additional Informationtail -f /usr/local/pf/log/* while above testing was performed.

==> logs/packetfence.log <==
May 20 15:04:01 httpd.admin(0) ERROR: Failed to open /usr/local/pf/conf/pf.conf: No such file or directory at /usr/local/pf/lib/pf/config/cached.pm line 627.
 (pfappserver::__ANON__)
May 20 15:04:01 httpd.admin(0) ERROR: Use of uninitialized value in string eq at /usr/local/pf/html/pfappserver/lib/pfappserver/Controller/Root.pm line 40.
 (pfappserver::__ANON__)

==> logs/catalyst.log <==
May 20 15:04:01 httpd.admin(0) INFO: *** Request 1 (0.002/s) [3290] [Mon May 20 15:04:01 2013] *** (Catalyst::__ANON__)
May 20 15:04:01 httpd.admin(0) INFO: Request took 0.016254s (61.523/s)
.------------------------------------------------------------+-----------.
| Action | Time |
+------------------------------------------------------------+-----------+
| /index | 0.003994s |
| /end | 0.000466s |
'------------------------------------------------------------+-----------'

 (Catalyst::finalize)

==> logs/admin_access_log <==
10.251.10.168 - - [20/May/2013:15:04:01 +0800] "GET / HTTP/1.1" 302 317 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.63 Safari/537.31"

==> logs/packetfence.log <==
May 20 15:04:01 httpd.admin(0) ERROR: Failed to open /usr/local/pf/conf/pf.conf: No such file or directory at /usr/local/pf/lib/pf/config/cached.pm line 627.
 (pfappserver::__ANON__)

==> logs/catalyst.log <==
May 20 15:04:01 httpd.admin(0) INFO: *** Request 2 (0.004/s) [3290] [Mon May 20 15:04:01 2013] *** (Catalyst::__ANON__)
May 20 15:04:01 httpd.admin(0) INFO: Request took 0.004595s (217.628/s)
.------------------------------------------------------------+-----------.
| Action | Time |
+------------------------------------------------------------+-----------+
| /configurator/begin | 0.000171s |
| /configurator/index | 0.000398s |
| /end | 0.000182s |
'------------------------------------------------------------+-----------'

 (Catalyst::finalize)

==> logs/admin_access_log <==
10.251.10.168 - - [20/May/2013:15:04:01 +0800] "GET /configurator HTTP/1.1" 302 329 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.63 Safari/537.31"

==> logs/packetfence.log <==
May 20 15:04:01 httpd.admin(0) ERROR: Failed to open /usr/local/pf/conf/pf.conf: No such file or directory at /usr/local/pf/lib/pf/config/cached.pm line 627.
 (pfappserver::__ANON__)

==> logs/catalyst.log <==
May 20 15:04:01 httpd.admin(0) INFO: *** Request 3 (0.006/s) [3290] [Mon May 20 15:04:01 2013] *** (Catalyst::__ANON__)
May 20 15:04:01 httpd.admin(0) INFO: Request took 0.023892s (41.855/s)
.------------------------------------------------------------+-----------.
| Action | Time |
+------------------------------------------------------------+-----------+
| /configurator/begin | 0.000110s |
| /configurator/object | 0.000644s |
| /configurator/enforcement | 0.003520s |
| /end | 0.013110s |
| -> pfappserver::View::Configurator->process | 0.012240s |
'------------------------------------------------------------+-----------'

 (Catalyst::finalize)

==> logs/admin_access_log <==
10.251.10.168 - - [20/May/2013:15:04:01 +0800] "GET /configurator/enforcement HTTP/1.1" 200 6776 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.63 Safari/537.31"
10.251.10.168 - - [20/May/2013:15:04:01 +0800] "GET /static/css/bootstrap.css HTTP/1.1" 200 144465 "https://10.253.11.10:1443/configurator/enforcement" [^] "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.63 Safari/537.31"
10.251.10.168 - - [20/May/2013:15:04:01 +0800] "GET /static/configurator/enforcement.js HTTP/1.1" 200 938 "https://10.253.11.10:1443/configurator/enforcement" [^] "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.63 Safari/537.31"
10.251.10.168 - - [20/May/2013:15:04:01 +0800] "GET /static/configurator/common.js HTTP/1.1" 200 287 "https://10.253.11.10:1443/configurator/enforcement" [^] "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.63 Safari/537.31"
10.251.10.168 - - [20/May/2013:15:04:01 +0800] "GET /static/app/application.js HTTP/1.1" 200 6684 "https://10.253.11.10:1443/configurator/enforcement" [^] "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.63 Safari/537.31"
10.251.10.168 - - [20/May/2013:15:04:01 +0800] "GET /static/app/packetfence.white.png HTTP/1.1" 200 4906 "https://10.253.11.10:1443/configurator/enforcement" [^] "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.63 Safari/537.31"
10.251.10.168 - - [20/May/2013:15:04:01 +0800] "GET /static/configurator/enforcement-inline.png HTTP/1.1" 200 4041 "https://10.253.11.10:1443/configurator/enforcement" [^] "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.63 Safari/537.31"
10.251.10.168 - - [20/May/2013:15:04:01 +0800] "GET /static/js/bootstrap.js HTTP/1.1" 200 61752 "https://10.253.11.10:1443/configurator/enforcement" [^] "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.63 Safari/537.31"
10.251.10.168 - - [20/May/2013:15:04:01 +0800] "GET /static/configurator/enforcement-vlan.png HTTP/1.1" 200 4260 "https://10.253.11.10:1443/configurator/enforcement" [^] "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.63 Safari/537.31"
10.251.10.168 - - [20/May/2013:15:04:01 +0800] "GET /static/app/application.css HTTP/1.1" 200 1930 "https://10.253.11.10:1443/configurator/enforcement" [^] "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.63 Safari/537.31"
10.251.10.168 - - [20/May/2013:15:04:01 +0800] "GET /static/configurator/common.css HTTP/1.1" 200 972 "https://10.253.11.10:1443/configurator/enforcement" [^] "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.63 Safari/537.31"
10.251.10.168 - - [20/May/2013:15:04:01 +0800] "GET /static/css/bootstrap-responsive.css HTTP/1.1" 200 22108 "https://10.253.11.10:1443/configurator/enforcement" [^] "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.63 Safari/537.31"
10.251.10.168 - - [20/May/2013:15:04:01 +0800] "GET /static/app/jquery.js HTTP/1.1" 200 247823 "https://10.253.11.10:1443/configurator/enforcement" [^] "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.63 Safari/537.31"
10.251.10.168 - - [20/May/2013:15:04:01 +0800] "GET /static/font/fontawesome-webfont.woff HTTP/1.1" 200 41752 "https://10.253.11.10:1443/configurator/enforcement" [^] "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.63 Safari/537.31"

==> logs/packetfence.log <==
May 20 15:04:03 httpd.admin(0) ERROR: Failed to open /usr/local/pf/conf/pf.conf: No such file or directory at /usr/local/pf/lib/pf/config/cached.pm line 627.
 (pfappserver::__ANON__)
May 20 15:04:03 httpd.admin(0) ERROR: Use of uninitialized value in string eq at /usr/local/pf/html/pfappserver/lib/pfappserver/Controller/Root.pm line 40.
 (pfappserver::__ANON__)

==> logs/catalyst.log <==
May 20 15:04:03 httpd.admin(0) INFO: *** Request 10 (0.018/s) [3046] [Mon May 20 15:04:03 2013] *** (Catalyst::__ANON__)
May 20 15:04:03 httpd.admin(0) INFO: Request took 0.010379s (96.348/s)
.------------------------------------------------------------+-----------.
| Action | Time |
+------------------------------------------------------------+-----------+
| /index | 0.002953s |
| /end | 0.000284s |
'------------------------------------------------------------+-----------'

 (Catalyst::finalize)

==> logs/admin_access_log <==
10.251.10.168 - - [20/May/2013:15:04:03 +0800] "GET / HTTP/1.1" 302 317 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.63 Safari/537.31"

==> logs/packetfence.log <==
May 20 15:04:03 httpd.admin(0) ERROR: Failed to open /usr/local/pf/conf/pf.conf: No such file or directory at /usr/local/pf/lib/pf/config/cached.pm line 627.
 (pfappserver::__ANON__)

==> logs/catalyst.log <==
May 20 15:04:03 httpd.admin(0) INFO: *** Request 11 (0.020/s) [3046] [Mon May 20 15:04:03 2013] *** (Catalyst::__ANON__)
May 20 15:04:03 httpd.admin(0) INFO: Request took 0.005776s (173.130/s)
.------------------------------------------------------------+-----------.
| Action | Time |
+------------------------------------------------------------+-----------+
| /configurator/begin | 0.000148s |
| /configurator/index | 0.000335s |
| /end | 0.000260s |
'------------------------------------------------------------+-----------'

 (Catalyst::finalize)

==> logs/admin_access_log <==
10.251.10.168 - - [20/May/2013:15:04:03 +0800] "GET /configurator HTTP/1.1" 302 329 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.63 Safari/537.31"

==> logs/packetfence.log <==
May 20 15:04:03 httpd.admin(0) ERROR: Failed to open /usr/local/pf/conf/pf.conf: No such file or directory at /usr/local/pf/lib/pf/config/cached.pm line 627.
 (pfappserver::__ANON__)

==> logs/catalyst.log <==
May 20 15:04:03 httpd.admin(0) INFO: *** Request 12 (0.022/s) [3046] [Mon May 20 15:04:03 2013] *** (Catalyst::__ANON__)
May 20 15:04:03 httpd.admin(0) INFO: Request took 0.021000s (47.619/s)
.------------------------------------------------------------+-----------.
| Action | Time |
+------------------------------------------------------------+-----------+
| /configurator/begin | 0.000141s |
| /configurator/object | 0.000328s |
| /configurator/enforcement | 0.001956s |
| /end | 0.011304s |
| -> pfappserver::View::Configurator->process | 0.010620s |
'------------------------------------------------------------+-----------'

 (Catalyst::finalize)

==> logs/admin_access_log <==
10.251.10.168 - - [20/May/2013:15:04:03 +0800] "GET /configurator/enforcement HTTP/1.1" 200 6776 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.63 Safari/537.31"

==> logs/packetfence.log <==
May 20 15:04:07 httpd.admin(0) ERROR: Failed to open /usr/local/pf/conf/pf.conf: No such file or directory at /usr/local/pf/lib/pf/config/cached.pm line 627.
 (pfappserver::__ANON__)

==> logs/catalyst.log <==
May 20 15:04:07 httpd.admin(0) INFO: *** Request 13 (0.024/s) [3046] [Mon May 20 15:04:07 2013] *** (Catalyst::__ANON__)
May 20 15:04:07 httpd.admin(0) INFO: Request took 0.012698s (78.753/s)
.------------------------------------------------------------+-----------.
| Action | Time |
+------------------------------------------------------------+-----------+
| /configurator/begin | 0.000170s |
| /configurator/object | 0.000367s |
| /configurator/enforcement | 0.002019s |
| /end | 0.001479s |
| -> pfappserver::View::JSON->process | 0.000751s |
'------------------------------------------------------------+-----------'

 (Catalyst::finalize)

==> logs/admin_access_log <==
10.251.10.168 - - [20/May/2013:15:04:07 +0800] "POST /configurator/enforcement HTTP/1.1" 200 2 "https://10.253.11.10:1443/configurator/enforcement" [^] "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.63 Safari/537.31"

==> logs/packetfence.log <==
May 20 15:04:07 httpd.admin(0) ERROR: Failed to open /usr/local/pf/conf/pf.conf: No such file or directory at /usr/local/pf/lib/pf/config/cached.pm line 627.
 (pfappserver::__ANON__)
May 20 15:04:07 httpd.admin(0) WARN: "10.253.11.0" does not exists (pfappserver::Base::Model::Config::read)
May 20 15:04:07 httpd.admin(0) WARN: "10.253.11.0" does not exists (pfappserver::Base::Model::Config::read)
May 20 15:04:07 httpd.admin(0) WARN: "interface eth0" does not exists (pfappserver::Base::Model::Config::read)
May 20 15:04:07 httpd.admin(0) WARN: "10.253.112.0" does not exists (pfappserver::Base::Model::Config::read)
May 20 15:04:07 httpd.admin(0) WARN: "10.253.112.0" does not exists (pfappserver::Base::Model::Config::read)
May 20 15:04:07 httpd.admin(0) WARN: "interface eth1" does not exists (pfappserver::Base::Model::Config::read)
May 20 15:04:07 httpd.admin(0) WARN: "10.253.14.0" does not exists (pfappserver::Base::Model::Config::read)
May 20 15:04:07 httpd.admin(0) WARN: "10.253.14.0" does not exists (pfappserver::Base::Model::Config::read)
May 20 15:04:07 httpd.admin(0) WARN: "interface eth2" does not exists (pfappserver::Base::Model::Config::read)

==> logs/catalyst.log <==
May 20 15:04:07 httpd.admin(0) INFO: *** Request 14 (0.026/s) [3046] [Mon May 20 15:04:07 2013] *** (Catalyst::__ANON__)
May 20 15:04:07 httpd.admin(0) INFO: Request took 0.115574s (8.652/s)
.------------------------------------------------------------+-----------.
| Action | Time |
+------------------------------------------------------------+-----------+
| /configurator/begin | 0.000158s |
| /configurator/object | 0.002082s |
| /configurator/networks | 0.081196s |
| /end | 0.021394s |
| -> pfappserver::View::Configurator->process | 0.020164s |
'------------------------------------------------------------+-----------'

 (Catalyst::finalize)

==> logs/admin_access_log <==
10.251.10.168 - - [20/May/2013:15:04:07 +0800] "GET /configurator/networks HTTP/1.1" 200 8787 "https://10.253.11.10:1443/configurator/enforcement" [^] "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.63 Safari/537.31"
10.251.10.168 - - [20/May/2013:15:04:07 +0800] "GET /static/css/bootstrapSwitch.css HTTP/1.1" 200 7297 "https://10.253.11.10:1443/configurator/networks" [^] "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.63 Safari/537.31"
10.251.10.168 - - [20/May/2013:15:04:07 +0800] "GET /static/configurator/networks.js HTTP/1.1" 200 1003 "https://10.253.11.10:1443/configurator/networks" [^] "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.63 Safari/537.31"
10.251.10.168 - - [20/May/2013:15:04:07 +0800] "GET /static/app/chosen.jquery.min.js HTTP/1.1" 200 23754 "https://10.253.11.10:1443/configurator/networks" [^] "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.63 Safari/537.31"
10.251.10.168 - - [20/May/2013:15:04:07 +0800] "GET /static/js/bootstrapSwitch.js HTTP/1.1" 200 7239 "https://10.253.11.10:1443/configurator/networks" [^] "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.63 Safari/537.31"
10.251.10.168 - - [20/May/2013:15:04:07 +0800] "GET /static/js/interface.js HTTP/1.1" 200 7263 "https://10.253.11.10:1443/configurator/networks" [^] "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.63 Safari/537.31"

==> logs/packetfence.log <==
May 20 15:05:17 httpd.admin(0) ERROR: Failed to open /usr/local/pf/conf/pf.conf: No such file or directory at /usr/local/pf/lib/pf/config/cached.pm line 627.
 (pfappserver::__ANON__)
May 20 15:05:17 httpd.admin(0) WARN: "10.253.11.0" does not exists (pfappserver::Base::Model::Config::read)
May 20 15:05:17 httpd.admin(0) WARN: "10.253.11.0" does not exists (pfappserver::Base::Model::Config::read)
May 20 15:05:17 httpd.admin(0) WARN: "interface eth0" does not exists (pfappserver::Base::Model::Config::read)
May 20 15:05:17 httpd.admin(0) WARN: "10.253.11.0" does not exists (pfappserver::Base::Model::Config::read)
May 20 15:05:17 httpd.admin(0) WARN: "10.253.11.0" does not exists (pfappserver::Base::Model::Config::read)
May 20 15:05:17 httpd.admin(0) WARN: "interface eth0" does not exists (pfappserver::Base::Model::Config::read)
May 20 15:05:17 httpd.admin(0) WARN: "10.253.112.0" does not exists (pfappserver::Base::Model::Config::read)
May 20 15:05:17 httpd.admin(0) WARN: "10.253.112.0" does not exists (pfappserver::Base::Model::Config::read)
May 20 15:05:17 httpd.admin(0) WARN: "interface eth1" does not exists (pfappserver::Base::Model::Config::read)
May 20 15:05:17 httpd.admin(0) WARN: "10.253.14.0" does not exists (pfappserver::Base::Model::Config::read)
May 20 15:05:17 httpd.admin(0) WARN: "10.253.14.0" does not exists (pfappserver::Base::Model::Config::read)
May 20 15:05:17 httpd.admin(0) WARN: "interface eth2" does not exists (pfappserver::Base::Model::Config::read)

==> logs/catalyst.log <==
May 20 15:05:17 httpd.admin(0) INFO: *** Request 1 (0.002/s) [3340] [Mon May 20 15:05:17 2013] *** (Catalyst::__ANON__)
May 20 15:05:17 httpd.admin(0) INFO: Request took 0.362782s (2.756/s)
.------------------------------------------------------------+-----------.
| Action | Time |
+------------------------------------------------------------+-----------+
| /interface/begin | 0.003894s |
| /interface/object | 0.022035s |
| /interface/view | 0.307935s |
| /end | 0.015420s |
| -> pfappserver::View::HTML->process | 0.014103s |
'------------------------------------------------------------+-----------'

 (Catalyst::finalize)

==> logs/admin_access_log <==
10.251.10.168 - - [20/May/2013:15:05:17 +0800] "GET /interface/eth0/view HTTP/1.1" 200 1621 "https://10.253.11.10:1443/configurator/networks" [^] "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.63 Safari/537.31"

==> logs/packetfence.log <==
May 20 15:05:21 httpd.admin(0) ERROR: Failed to open /usr/local/pf/conf/pf.conf: No such file or directory at /usr/local/pf/lib/pf/config/cached.pm line 627.
 (pfappserver::__ANON__)
May 20 15:05:22 httpd.admin(0) INFO: "interface eth0" successfully created (pfappserver::Base::Model::Config::create)
May 20 15:05:22 httpd.admin(0) WARN: "10.253.11.0" does not exists (pfappserver::Base::Model::Config::remove)
May 20 15:05:22 httpd.admin(0) INFO: "10.253.11.0" does not exists (pfappserver::Base::Model::Config::remove)
May 20 15:05:22 httpd.admin(0) INFO: Configuration file successfully saved (pfappserver::Base::Model::Config::rewriteConfig)
May 20 15:05:22 httpd.admin(0) INFO: Configuration file successfully saved (pfappserver::Base::Model::Config::rewriteConfig)

==> logs/catalyst.log <==
May 20 15:05:21 httpd.admin(0) INFO: *** Request 2 (0.003/s) [3340] [Mon May 20 15:05:21 2013] *** (Catalyst::__ANON__)
May 20 15:05:22 httpd.admin(0) INFO: Request took 0.166676s (6.000/s)
.------------------------------------------------------------+-----------.
| Action | Time |
+------------------------------------------------------------+-----------+
| /interface/begin | 0.002049s |
| /interface/object | 0.030180s |
| /interface/update | 0.119893s |
| /end | 0.002828s |
| -> pfappserver::View::JSON->process | 0.001435s |
'------------------------------------------------------------+-----------'

 (Catalyst::finalize)

==> logs/admin_access_log <==
10.251.10.168 - - [20/May/2013:15:05:21 +0800] "POST /interface/eth0/update HTTP/1.1" 200 51 "https://10.253.11.10:1443/configurator/networks" [^] "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.63 Safari/537.31"

==> logs/packetfence.log <==
May 20 15:05:22 httpd.admin(0) WARN: "10.253.11.0" does not exists (pfappserver::Base::Model::Config::read)
May 20 15:05:22 httpd.admin(0) WARN: "10.253.11.0" does not exists (pfappserver::Base::Model::Config::read)
May 20 15:05:22 httpd.admin(0) WARN: "10.253.112.0" does not exists (pfappserver::Base::Model::Config::read)
May 20 15:05:22 httpd.admin(0) WARN: "10.253.112.0" does not exists (pfappserver::Base::Model::Config::read)
May 20 15:05:22 httpd.admin(0) WARN: "interface eth1" does not exists (pfappserver::Base::Model::Config::read)
May 20 15:05:22 httpd.admin(0) WARN: "10.253.14.0" does not exists (pfappserver::Base::Model::Config::read)
May 20 15:05:22 httpd.admin(0) WARN: "10.253.14.0" does not exists (pfappserver::Base::Model::Config::read)
May 20 15:05:22 httpd.admin(0) WARN: "interface eth2" does not exists (pfappserver::Base::Model::Config::read)

==> logs/catalyst.log <==
May 20 15:05:22 httpd.admin(0) INFO: *** Request 3 (0.005/s) [3340] [Mon May 20 15:05:22 2013] *** (Catalyst::__ANON__)
May 20 15:05:22 httpd.admin(0) INFO: Request took 0.089289s (11.200/s)
.------------------------------------------------------------+-----------.
| Action | Time |
+------------------------------------------------------------+-----------+
| /interface/begin | 0.002119s |
| /interface/list | 0.063754s |
| /end | 0.013385s |
| -> pfappserver::View::HTML->process | 0.011975s |
'------------------------------------------------------------+-----------'

 (Catalyst::finalize)

==> logs/admin_access_log <==
10.251.10.168 - - [20/May/2013:15:05:22 +0800] "GET /interface/list HTTP/1.1" 200 2348 "https://10.253.11.10:1443/configurator/networks" [^] "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.63 Safari/537.31"

==> logs/packetfence.log <==
May 20 15:05:24 httpd.admin(0) WARN: "10.253.112.0" does not exists (pfappserver::Base::Model::Config::read)
May 20 15:05:24 httpd.admin(0) WARN: "10.253.112.0" does not exists (pfappserver::Base::Model::Config::read)
May 20 15:05:24 httpd.admin(0) WARN: "interface eth1" does not exists (pfappserver::Base::Model::Config::read)
May 20 15:05:24 httpd.admin(0) WARN: "10.253.11.0" does not exists (pfappserver::Base::Model::Config::read)
May 20 15:05:24 httpd.admin(0) WARN: "10.253.11.0" does not exists (pfappserver::Base::Model::Config::read)
May 20 15:05:24 httpd.admin(0) WARN: "10.253.112.0" does not exists (pfappserver::Base::Model::Config::read)
May 20 15:05:24 httpd.admin(0) WARN: "10.253.112.0" does not exists (pfappserver::Base::Model::Config::read)
May 20 15:05:24 httpd.admin(0) WARN: "interface eth1" does not exists (pfappserver::Base::Model::Config::read)
May 20 15:05:24 httpd.admin(0) WARN: "10.253.14.0" does not exists (pfappserver::Base::Model::Config::read)
May 20 15:05:24 httpd.admin(0) WARN: "10.253.14.0" does not exists (pfappserver::Base::Model::Config::read)
May 20 15:05:24 httpd.admin(0) WARN: "interface eth2" does not exists (pfappserver::Base::Model::Config::read)

==> logs/catalyst.log <==
May 20 15:05:24 httpd.admin(0) INFO: *** Request 4 (0.006/s) [3340] [Mon May 20 15:05:24 2013] *** (Catalyst::__ANON__)
May 20 15:05:24 httpd.admin(0) INFO: Request took 0.155087s (6.448/s)
.------------------------------------------------------------+-----------.
| Action | Time |
+------------------------------------------------------------+-----------+
| /interface/begin | 0.002152s |
| /interface/object | 0.029642s |
| /interface/view | 0.108919s |
| /end | 0.005201s |
| -> pfappserver::View::HTML->process | 0.004342s |
'------------------------------------------------------------+-----------'

 (Catalyst::finalize)

==> logs/admin_access_log <==
10.251.10.168 - - [20/May/2013:15:05:24 +0800] "GET /interface/eth1/view HTTP/1.1" 200 1563 "https://10.253.11.10:1443/configurator/networks" [^] "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.63 Safari/537.31"

==> logs/packetfence.log <==
May 20 15:05:31 httpd.admin(0) INFO: "interface eth1" successfully created (pfappserver::Base::Model::Config::create)
May 20 15:05:31 httpd.admin(0) WARN: "10.253.112.0" does not exists (pfappserver::Base::Model::Config::read)
May 20 15:05:31 httpd.admin(0) INFO: "10.253.112.0" successfully created (pfappserver::Base::Model::Config::create)
May 20 15:05:31 httpd.admin(0) INFO: Configuration file successfully saved (pfappserver::Base::Model::Config::rewriteConfig)
May 20 15:05:31 httpd.admin(0) INFO: Configuration file successfully saved (pfappserver::Base::Model::Config::rewriteConfig)

==> logs/catalyst.log <==
May 20 15:05:31 httpd.admin(0) INFO: *** Request 5 (0.008/s) [3340] [Mon May 20 15:05:31 2013] *** (Catalyst::__ANON__)
May 20 15:05:31 httpd.admin(0) INFO: Request took 0.170323s (5.871/s)
.------------------------------------------------------------+-----------.
| Action | Time |
+------------------------------------------------------------+-----------+
| /interface/begin | 0.002888s |
| /interface/object | 0.030838s |
| /interface/update | 0.121882s |
| /end | 0.002374s |
| -> pfappserver::View::JSON->process | 0.001096s |
'------------------------------------------------------------+-----------'

 (Catalyst::finalize)

==> logs/admin_access_log <==
10.251.10.168 - - [20/May/2013:15:05:31 +0800] "POST /interface/eth1/update HTTP/1.1" 200 51 "https://10.253.11.10:1443/configurator/networks" [^] "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.63 Safari/537.31"

==> logs/packetfence.log <==
May 20 15:05:31 httpd.admin(0) WARN: "10.253.11.0" does not exists (pfappserver::Base::Model::Config::read)
May 20 15:05:31 httpd.admin(0) WARN: "10.253.11.0" does not exists (pfappserver::Base::Model::Config::read)
May 20 15:05:31 httpd.admin(0) WARN: "10.253.14.0" does not exists (pfappserver::Base::Model::Config::read)
May 20 15:05:31 httpd.admin(0) WARN: "10.253.14.0" does not exists (pfappserver::Base::Model::Config::read)
May 20 15:05:31 httpd.admin(0) WARN: "interface eth2" does not exists (pfappserver::Base::Model::Config::read)

==> logs/catalyst.log <==
May 20 15:05:31 httpd.admin(0) INFO: *** Request 6 (0.009/s) [3340] [Mon May 20 15:05:31 2013] *** (Catalyst::__ANON__)
May 20 15:05:31 httpd.admin(0) INFO: Request took 0.083839s (11.928/s)
.------------------------------------------------------------+-----------.
| Action | Time |
+------------------------------------------------------------+-----------+
| /interface/begin | 0.001980s |
| /interface/list | 0.061154s |
| /end | 0.011047s |
| -> pfappserver::View::HTML->process | 0.009734s |
'------------------------------------------------------------+-----------'

 (Catalyst::finalize)

==> logs/admin_access_log <==
10.251.10.168 - - [20/May/2013:15:05:31 +0800] "GET /interface/list HTTP/1.1" 200 2348 "https://10.253.11.10:1443/configurator/networks" [^] "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.63 Safari/537.31"

==> logs/packetfence.log <==
May 20 15:05:41 httpd.admin(0) ERROR: Interface eth0 has not been enabled. Should check server side logs for details | Is the interface correctly plugged in? (pfappserver::Model::Interface::up)

==> logs/catalyst.log <==
May 20 15:05:41 httpd.admin(0) INFO: *** Request 7 (0.011/s) [3340] [Mon May 20 15:05:41 2013] *** (Catalyst::__ANON__)
May 20 15:05:41 httpd.admin(0) INFO: Request took 0.200151s (4.996/s)
.------------------------------------------------------------+-----------.
| Action | Time |
+------------------------------------------------------------+-----------+
| /interface/begin | 0.002117s |
| /interface/object | 0.029121s |
| /interface/up | 0.154945s |
| /end | 0.002540s |
| -> pfappserver::View::JSON->process | 0.001153s |
'------------------------------------------------------------+-----------'

 (Catalyst::finalize)

==> logs/admin_access_log <==
10.251.10.168 - - [20/May/2013:15:05:41 +0800] "GET /interface/eth0/up HTTP/1.1" 500 140 "https://10.253.11.10:1443/configurator/networks" [^] "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.63 Safari/537.31"

==> logs/packetfence.log <==
May 20 15:05:45 httpd.admin(0) ERROR: Interface eth1 has not been enabled. Should check server side logs for details | Is the interface correctly plugged in? (pfappserver::Model::Interface::up)

==> logs/catalyst.log <==
May 20 15:05:45 httpd.admin(0) INFO: *** Request 1 (0.002/s) [3338] [Mon May 20 15:05:45 2013] *** (Catalyst::__ANON__)
May 20 15:05:45 httpd.admin(0) INFO: Request took 0.175817s (5.688/s)
.------------------------------------------------------------+-----------.
| Action | Time |
+------------------------------------------------------------+-----------+
| /interface/begin | 0.005793s |
| /interface/object | 0.030301s |
| /interface/up | 0.121792s |
| /end | 0.002339s |
| -> pfappserver::View::JSON->process | 0.001162s |
'------------------------------------------------------------+-----------'

 (Catalyst::finalize)

==> logs/admin_access_log <==
10.251.10.168 - - [20/May/2013:15:05:44 +0800] "GET /interface/eth1/up HTTP/1.1" 500 140 "https://10.253.11.10:1443/configurator/networks" [^] "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.63 Safari/537.31"

==> logs/packetfence.log <==
May 20 15:05:48 httpd.admin(0) WARN: "10.253.11.0" does not exists (pfappserver::Base::Model::Config::read)
May 20 15:05:48 httpd.admin(0) WARN: "10.253.11.0" does not exists (pfappserver::Base::Model::Config::read)
May 20 15:05:48 httpd.admin(0) WARN: "10.253.14.0" does not exists (pfappserver::Base::Model::Config::read)
May 20 15:05:48 httpd.admin(0) WARN: "10.253.14.0" does not exists (pfappserver::Base::Model::Config::read)
May 20 15:05:48 httpd.admin(0) WARN: "interface eth2" does not exists (pfappserver::Base::Model::Config::read)
May 20 15:05:48 httpd.admin(0) ERROR: Invalid gateway. Doesn't belong to any running and configured interface (pfappserver::Model::Config::System::write_network_persistent)

==> logs/catalyst.log <==
May 20 15:05:48 httpd.admin(0) INFO: *** Request 4 (0.006/s) [3289] [Mon May 20 15:05:48 2013] *** (Catalyst::__ANON__)
May 20 15:05:48 httpd.admin(0) INFO: Request took 0.081337s (12.295/s)
.------------------------------------------------------------+-----------.
| Action | Time |
+------------------------------------------------------------+-----------+
| /configurator/begin | 0.000201s |
| /configurator/object | 0.002817s |
| /configurator/networks | 0.063900s |
| /end | 0.002622s |
| -> pfappserver::View::JSON->process | 0.001270s |
'------------------------------------------------------------+-----------'

 (Catalyst::finalize)

==> logs/admin_access_log <==
10.251.10.168 - - [20/May/2013:15:05:48 +0800] "POST /configurator/networks HTTP/1.1" 500 88 "https://10.253.11.10:1443/configurator/networks" [^] "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.63 Safari/537.31"

TagsNo tags attached.
fixed in git revision
fixed in mtn revision
Attached Filespng file icon packetfence.networks.png [^] (73,396 bytes) 2013-05-20 03:13

- Relationships

-  Notes
(0003305)
giner (reporter)
2013-05-24 02:23

Same to me. I can't go further than Network configuration on Ubuntu 12.04.2. System is up to date.
(0003309)
erSitzt (reporter)
2013-05-31 04:28

Am i right and you are using VMware to Host those machines ?

Packetfence is using the command "ip -4 link" to determine the link status, but this seems to fail on ubuntu virtual machines.

Here is my output of that command :

root@srv-packetfence:/# ip -4 link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
5: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UNKNOWN qlen 1000
    link/ether 00:50:56:a5:2c:0a brd ff:ff:ff:ff:ff:ff
6: eth0.10@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP
    link/ether 00:50:56:a5:2c:0a brd ff:ff:ff:ff:ff:ff
7: eth0.30@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP
    link/ether 00:50:56:a5:2c:0a brd ff:ff:ff:ff:ff:ff
root@srv-packetfence:/#


As you can see eth0 has a state of UNKNOWN which i think causes the configurator to fail.
(0003310)
erSitzt (reporter)
2013-05-31 06:49

This is definitely a problem with the vmxnet3 driver.
I've applied the changes suggested in this thread : http://permalink.gmane.org/gmane.linux.network/257295 [^] an now it works as expected.

Ticket should be closed as this is not a packetfence problem but vmware
(0003311)
colvinb (reporter)
2013-06-03 02:40

Some more information to apply a temporary workaround until you decide to apply the latest patches to vmware.

type in at the command prompt:
service network restart

or

"If you edit the VM (while running) and uncheck the 'connected' status of the NIC, then save. Then re-open and check the 'connected' state of the NIC... This will toggle it in the OS, and you should see network connectivity on the adapter right away."

More information available at:

http://kb.vmware.com/kb/1031521 [^]

SMP Linux guests with VMXnet3 network devices configured with a virtual distributed switch may boot with a link down status (1031521)
Symptoms

When Linux guests are running on ESX/ESXi 4.1, with a virtual distributed switch (vDS) configured for network connections, and a VMXnet3 network adapter is configured on the guest, you may experience these symptoms:

    Linux guests may report a link down status when powered on
    You see the error:

    DHCPv4 eth0 - Timed Out.
    dhcp: DHCP Configuration failed.

    The interface may come up if you run the service network restart command, but this command does not always resolve the issue

Resolution

This issue occurs if IPv6 is enabled when using vmxnet3 in an SMP Linux GuestOS.

This issue is resolved in the patch release for ESX/ESXi 4.1. For more information, see:

    ESX 4.1 – VMware ESX 4.1 Patch ESX410-201104401-SG: Updates VMkernel, VMX, CIM (1035097)G
    ESXi 4.1 – VMware ESXi 4.1 Patch ESXi410-201104402-BG: Updates VMware Tools (1035109)

To workaround this issue, when you do not want to apply the patch, try one of these options:

    Disable IPv6 in the Linux guest. For more information, see:
        Disabling IPv6 for Linux distributions (1013234)
        http://wiki.centos.org/FAQ/CentOS5 [^]

    Configure the Linux guest to use E1000 or VMXNET2 virtual network adapter. For more information, see:
        Choosing a network adapter for your virtual machine (1001805)
        Manually configuring a virtual machine to use the e1000 network adapter driver (1003020)

    Configure the Linux guest with one virtual CPU.
(0003942)
lmunro (administrator)
2015-02-18 10:59

Obsolete bug tracker entries.
PF 4 introduced changes that either make these irrelevant or impossible to reproduce.

New issues are moving to github issues.

- Issue History
Date Modified Username Field Change
2013-05-20 03:13 adamashley New Issue
2013-05-20 03:13 adamashley File Added: packetfence.networks.png
2013-05-24 02:23 giner Note Added: 0003305
2013-05-31 04:28 erSitzt Note Added: 0003309
2013-05-31 06:49 erSitzt Note Added: 0003310
2013-06-03 02:40 colvinb Note Added: 0003311
2015-02-18 10:59 lmunro Note Added: 0003942
2015-02-18 10:59 lmunro Status new => closed


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker