Solved Upgrading FreeBSD from 10.2 to 10.3

barrandrea

Member


Messages: 22

I've upgraded FreeBSD from 10.2 to 10.3 release, but after the first reboot required by the system, if I run freebsd-update install the system stuck on
Code:
Installing updates...

If I use ctrl+t I can see the process go from running to nanosleep state nearly after 80% of the process and can't proceed.

Code:
Installing updates...
load: 0.15  cmd: sh 26058 [running] 2.51r 0.25u 1.61s 17% 3044k
load: 0.21  cmd: sh 26058 [running] 3.76r 0.38u 2.72s 25% 3044k
load: 0.46  cmd: sh 26313 [running] 8.35r 1.08u 7.25s 85% 3112k
load: 0.46  cmd: sh 26313 [running] 8.74r 1.12u 7.60s 80% 3112k
load: 0.46  cmd: install 26345 [nanslp] 0.21r 0.00u 0.00s 22% 7588k
load: 0.46  cmd: install 26345 [nanslp] 0.98r 0.00u 0.00s 18% 7588k
load: 0.46  cmd: install 26345 [nanslp] 1.31r 0.00u 0.00s 18% 7588k

How can I solve the problem or troubleshoot it?
 

SirDice

Administrator
Staff member
Administrator
Moderator

Reaction score: 11,970
Messages: 38,420

Are you able to open a second console (or a remote connection)? From there have a look with ps(1), try to use truss(1) ( truss -p <pid of running process>) to see what it's doing.
 
OP
barrandrea

barrandrea

Member


Messages: 22

Are you able to open a second console (or a remote connection)? From there have a look with ps(1), try to use truss(1) ( truss -p <pid of running process>) to see what it's doing.
Thanks to truss I've found the problem! I don't know why but it check the ldap configuration file, after moved it in my home the installation finish and all seems work.

Thanks again for the big hint ;)
 
Last edited by a moderator:
Top