PacketFence
Bug Tracking System

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001097PacketFenceerror-handlingpublic2010-10-21 16:082015-02-13 15:26
Reporterobilodeau 
Assigned Toobilodeau 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionopen 
PlatformOSOS Version
Product Version1.9.0 
Target VersionFixed in Version 
Summary0001097: prevent thread from dying when connecting to MySQL
Descriptiondatabase code doesn't trap die on connection

Oct 21 16:01:15 pfsetvlan(25) FATAL: unable to connect to database: Can't connect to local MySQL server 
through socket '/var/lib/mysql/mysql.sock' (2) at /usr/local/pf/lib/pf/traplog.pm line 87
 (pf::db::db_connect)
thread failed to start: unable to connect to database: Can't connect to local MySQL server through socket 
'/var/lib/mysql/mysql.sock' (2) at /usr/local/pf/lib/pf/traplog.pm line 87 (0000001)
    (W threads)(S) The entry point function of threads->create() failed for some reason.


Properly handling this case would allow us to restart mysql without restarting PacketFence.
TagsNo tags attached.
fixed in git revision
fixed in mtn revision
Attached Files

- Relationships

-  Notes
(0001729)
obilodeau (reporter)
2010-10-21 16:09

implement in try { ... } catch { ... } since we already pulled Try::Tiny earlier
(0003734)
lmunro (administrator)
2015-02-13 15:26

Old issues.
Most are not relevant to PF 4 and up.

Let's reopen the ones that matter when we move to github.

- Issue History
Date Modified Username Field Change
2010-10-21 16:08 obilodeau New Issue
2010-10-21 16:08 obilodeau Status new => assigned
2010-10-21 16:08 obilodeau Assigned To => obilodeau
2010-10-21 16:09 obilodeau Note Added: 0001729
2010-11-19 14:24 obilodeau Target Version 1.9.2 => 2.0.0
2011-01-18 09:47 obilodeau Target Version 2.0.0 => 2.0.1
2011-01-26 15:30 obilodeau Target Version 2.0.1 => 2.0.2
2011-03-03 15:19 obilodeau Target Version 2.0.2 => +1
2015-02-13 15:26 lmunro Note Added: 0003734
2015-02-13 15:26 lmunro Status assigned => closed


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker