I wish I had checked here earlier because this cost me most of the day as well. 
 Thank you.


-----Original Message-----
From: Mirko Corosu via PacketFence-users 
[mailto:[email protected]] 
Sent: Tuesday, June 27, 2017 9:57 AM
To: Ludovic Zammit <[email protected]>; [email protected]
Cc: Mirko Corosu <[email protected]>
Subject: Re: [PacketFence-users] httpd.admin segfault error 14 in 
libnss_files-2.17.so

Hi,

Now it works!

Thank you

Mirko

On 27/06/2017 15:19, Ludovic Zammit wrote:
> Hello,
> 
> Try that:
> 
> https://github.com/inverse-inc/packetfence/issues/2435
> 
> Thanks,
> 
> Ludovic Zammit
> [email protected] <mailto:[email protected]>  ::  +1.514.447.4918 
> (x145) ::www.inverse.ca Inverse inc. :: Leaders behind SOGo 
> (http://www.sogo.nu) and PacketFence (http://packetfence.org)
> 
> 
> 
> 
>> On Jun 27, 2017, at 8:28 AM, Mirko Corosu via PacketFence-users 
>> <[email protected]> wrote:
>>
>> Hi all,
>>
>> I'm new to PF and I'm trying to install it on a CentOS 7 VM (RAM 8GB,
>> 2 virtual cpu).
>>
>> [root@infnwebgw ~]# uname -a
>> Linux infnwebgw 3.10.0-514.el7.x86_64 #1 SMP Tue Nov 22 16:42:41 UTC
>> 2016 x86_64 x86_64 x86_64 GNU/Linux
>> [root@infnwebgw ~]# cat /etc/redhat-release CentOS Linux release 
>> 7.3.1611 (Core)
>>
>>
>> The httpd.admin service refuses to start, it complains about a 
>> segfault in libnss_files-2.17.so
>>
>> [root@infnwebgw ~]# /usr/local/pf/bin/pfcmd service httpd.admin start
>> service|command
>> Job for packetfence-httpd.admin.service failed because the control 
>> process exited with error code. See "systemctl status 
>> packetfence-httpd.admin.service" and "journalctl -xe" for details.
>> httpd.admin|not started
>>
>> Here is the journactl output of a starting attempt:
>>
>> -- Unit packetfence-httpd.admin.service has begun starting up.
>> giu 26 15:14:34 infnwebgw pfcmd[5917]: service|command giu 26 
>> 15:14:34 infnwebgw packetfence[5917]: INFO pfcmd.pl(5917):
>> generating /usr/local/pf/var/conf/ssl-certificates.conf
>> (pf::services::manager::httpd::g
>> giu 26 15:14:34 infnwebgw packetfence[5917]: INFO pfcmd.pl(5917): 
>> generating /usr/local/pf/var/conf/captive-portal-common
>> (pf::services::manager::httpd::g
>> giu 26 15:14:34 infnwebgw pfcmd[5917]: httpd.admin|config generated 
>> giu 26 15:14:44 infnwebgw httpd[5921]: [Mon Jun 26 15:14:44 2017]
>> pfappserver.pm: Cannot determine desired terminal width, using 
>> default of 80 columns giu 26 15:14:44 infnwebgw admin_catalyst[5921]: 
>> httpd.admin(5921)
>> WARN: [mac:[undef]] Unicode::Encoding plugin is auto-applied, please 
>> remove this from yo giu 26 15:14:44 infnwebgw admin_catalyst[5921]: 
>> httpd.admin(5921)
>> WARN: [mac:[undef]] Deprecated 'static' config key used, please use 
>> the key 'Plugin::Sta giu 26 15:14:44 infnwebgw httpd_admin_err[5923]: 
>> [Mon Jun 26
>> 15:14:44.577304 2017] [ssl:warn] [pid 5921] AH01909: RSA certificate 
>> configured for packetfen giu 26 15:14:45 infnwebgw kernel: 
>> /usr/sbin/httpd[5921]: segfault at
>> 7fb0e7315490 ip 00007fb0e7315490 sp 00007ffdf077df28 error 14 in 
>> libnss_files-2.17.so giu 26 15:14:45 infnwebgw abrt-hook-ccpp[5926]: 
>> Process 5921 (httpd) of user 0 killed by SIGSEGV - dumping core giu 
>> 26 15:14:49 infnwebgw abrt-hook-ccpp[5926]: Failed to create
>> core_backtrace: dwfl_getthread_frames failed: No DWARF information 
>> found giu 26 15:14:49 infnwebgw abrt-hook-ccpp[5926]: /var/spool/abrt 
>> is
>> 1557813580 bytes (more than 1279MiB), deleting 
>> 'ccpp-2017-06-26-15:14:16-5837'
>> giu 26 15:14:49 infnwebgw systemd[1]: packetfence-httpd.admin.service: 
>> main process exited, code=dumped, status=11/SEGV giu 26 15:14:49 
>> infnwebgw kill[5928]: kill: cannot find process ""
>> giu 26 15:14:49 infnwebgw systemd[1]: packetfence-httpd.admin.service: 
>> control process exited, code=exited status=1 giu 26 15:14:49 
>> infnwebgw systemd[1]: Failed to start PacketFence Administration  
>> Apache HTTP Server.
>> -- Subject: Unit packetfence-httpd.admin.service has failed
>>
>> After some debug, I realize that the problem is related to 
>> perl-Net-SSH2-0.63-6.1.x86_64. As a workaround I tried to downgrade 
>> it to perl-Net-SSH2-0.45-5.2.x86_64: now it seems httpd.adim is starting.
>>
>> Has anyone experienced something similar?
>>
>> Thank you in advance
>>
>> Mirko
>>
>>
>>
>> --
>>
>> ---------------------------------------------------------------------
>> -----------
>> Mirko Corosu
>> Network and System Administrator
>> I.N.F.N. Sezione di Genova
>> Via Dodecaneso 33, 16146
>> Genova
>> Tel. +39 010 3536361
>>
>> I problemi più complessi hanno soluzioni semplici, facili da 
>> comprendere e sbagliate.
>> ---------------------------------------------------------------------
>> -----------
>>
>>
>> ---------------------------------------------------------------------
>> --------- Check out the vibrant tech community on one of the world's 
>> most engaging tech sites, Slashdot.org!
>> http://sdm.link/slashdot_____________________________________________
>> __
>> PacketFence-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/packetfence-users
> 

-- 

--------------------------------------------------------------------------------
Mirko Corosu
Network and System Administrator
I.N.F.N. Sezione di Genova
Via Dodecaneso 33, 16146
Genova
Tel. +39 010 3536361

I problemi più complessi hanno soluzioni semplici, facili da comprendere e 
sbagliate.
--------------------------------------------------------------------------------



--------------------------------------------------------------------------------
Privileged, Proprietary and/or Confidential Information may be contained in
this electronic message.  If you are not the intended recipient, you should
not copy it, re-transmit it, use it or disclose its contents, but should
kindly return to the sender immediately and delete your copy from your system.
Gulf Interstate Engineering Company does not accept responsibility for
changes made to this electronic message or its attachments. 

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to