[OpenAFS] Openafs-1.6.5 client crash when update the OPTIONS in afs config file

huangql huangql@ihep.ac.cn
Wed, 24 Dec 2014 17:46:19 +0800


This is a multi-part message in MIME format.

--=====003_Dragon638764664726_=====
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

Dear all,


I failed to restart afs service after I changed OPTIONS value in /etc/sysconfig/afs file. At this time, I need to reboot the machine to make the new configuration validate.

Openafs version: 1.6.5

Os version: Scientific Linux release 6.5 (Carbon)  2.6.32-431.el6.x86_64 

I got the error message as following:

[root@bws0609 ~]# /etc/init.d/afs restart
Stopping AFS client..... 
Sending all processes using /afs the TERM signal ...       [  OK  ]
Sending all processes using /afs the KILL signal ...       [  OK  ]
Starting AFS client..... 
/etc/init.d/afs: line 230: 26271 Segmentation fault      /usr/vice/etc/afsd ${AFSD_OPTIONS}

/var/log/message 

Dec 24 17:30:25 bws0609 kernel: afs: WARM shutting down of: vcaches... BkG... CB... afs... CTrunc... AFSDB... RxEvent... UnmaskRxkSignals... RxListener...  ALL allocated tables... done
Dec 24 17:30:25 bws0609 kernel: enabling dynamically allocated vcaches
Dec 24 17:30:29 bws0609 kernel: Starting AFS cache scan...
Dec 24 17:30:29 bws0609 kernel: afsd[26271]: segfault at 18 ip 0000003736679753 sp 00007fff5f346fa0 error 4 in libc-2.12.so[3736600000+18a000]


I can do it in openafs-1.4.14 without any errors. 
Does anyone know how to solve this issue?  


Thank you very much in advance.


Cheers,
Qiulan

2014-12-24 



huangql 

--=====003_Dragon638764664726_=====
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 11.00.9600.17496"><LINK rel=stylesheet 
href="BLOCKQUOTE{margin-Top: 0px; margin-Bottom: 0px; margin-Left: 2em}"></HEAD>
<BODY style="FONT-SIZE: 10pt; FONT-FAMILY: verdana; MARGIN: 10px">
<DIV><FONT size=2 face=Verdana>Dear all,</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>I failed to restart afs service after I changed OPTIONS value 
in&nbsp;/etc/sysconfig/afs file. At this time,&nbsp;I&nbsp;need to&nbsp;reboot 
the machine&nbsp;to make the new configuration validate.</DIV>
<DIV>&nbsp;</DIV>
<DIV>
<DIV>Openafs version: 1.6.5</DIV>
<DIV>&nbsp;</DIV>
<DIV>Os version: Scientific&nbsp;Linux&nbsp;release&nbsp;6.5&nbsp;(Carbon)&nbsp; 
2.6.32-431.el6.x86_64 </DIV></DIV>
<DIV>&nbsp;</DIV>
<DIV>I got the error message as following:</DIV>
<DIV>&nbsp;</DIV>
<DIV>
<DIV><FONT 
color=#fc0f00>[root@bws0609&nbsp;~]#&nbsp;/etc/init.d/afs&nbsp;restart</FONT></DIV>
<DIV><FONT color=#fc0f00>Stopping&nbsp;AFS&nbsp;client.....&nbsp;</FONT></DIV>
<DIV><FONT 
color=#fc0f00>Sending&nbsp;all&nbsp;processes&nbsp;using&nbsp;/afs&nbsp;the&nbsp;TERM&nbsp;signal&nbsp;...&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[&nbsp;&nbsp;OK&nbsp;&nbsp;]</FONT></DIV>
<DIV><FONT 
color=#fc0f00>Sending&nbsp;all&nbsp;processes&nbsp;using&nbsp;/afs&nbsp;the&nbsp;KILL&nbsp;signal&nbsp;...&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[&nbsp;&nbsp;OK&nbsp;&nbsp;]</FONT></DIV>
<DIV><FONT color=#fc0f00>Starting&nbsp;AFS&nbsp;client.....&nbsp;</FONT></DIV>
<DIV><FONT 
color=#fc0f00>/etc/init.d/afs:&nbsp;line&nbsp;230:&nbsp;26271&nbsp;Segmentation&nbsp;fault&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/usr/vice/etc/afsd&nbsp;${AFSD_OPTIONS}</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>/var/log/message </DIV>
<DIV>&nbsp;</DIV>
<DIV>
<DIV><FONT 
color=#fc0f00>Dec&nbsp;24&nbsp;17:30:25&nbsp;bws0609&nbsp;kernel:&nbsp;afs:&nbsp;WARM&nbsp;shutting&nbsp;down&nbsp;of:&nbsp;vcaches...&nbsp;BkG...&nbsp;CB...&nbsp;afs...&nbsp;CTrunc...&nbsp;AFSDB...&nbsp;RxEvent...&nbsp;UnmaskRxkSignals...&nbsp;RxListener...&nbsp;&nbsp;ALL&nbsp;allocated&nbsp;tables...&nbsp;done</FONT></DIV>
<DIV><FONT 
color=#fc0f00>Dec&nbsp;24&nbsp;17:30:25&nbsp;bws0609&nbsp;kernel:&nbsp;enabling&nbsp;dynamically&nbsp;allocated&nbsp;vcaches</FONT></DIV>
<DIV><FONT 
color=#fc0f00>Dec&nbsp;24&nbsp;17:30:29&nbsp;bws0609&nbsp;kernel:&nbsp;Starting&nbsp;AFS&nbsp;cache&nbsp;scan...</FONT></DIV>
<DIV><FONT 
color=#fc0f00>Dec&nbsp;24&nbsp;17:30:29&nbsp;bws0609&nbsp;kernel:&nbsp;afsd[26271]:&nbsp;segfault&nbsp;at&nbsp;18&nbsp;ip&nbsp;0000003736679753&nbsp;sp&nbsp;00007fff5f346fa0&nbsp;error&nbsp;4&nbsp;in&nbsp;libc-2.12.so[3736600000+18a000]</FONT></DIV></DIV></DIV>
<DIV><FONT color=#fc0f00></FONT>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>I can do it in openafs-1.4.14 without any errors. </DIV>
<DIV><FONT color=#fc0f00><FONT color=#000000>Does anyone know&nbsp;how to solve 
this&nbsp;issue?</FONT>&nbsp; </FONT></DIV>
<DIV><FONT color=#fc0f00></FONT>&nbsp;</DIV>
<DIV><FONT color=#fc0f00></FONT>&nbsp;</DIV>
<DIV>Thank you very much in advance.</DIV>
<DIV><FONT color=#fc0f00></FONT>&nbsp;</DIV>
<DIV><FONT color=#fc0f00></FONT>&nbsp;</DIV>
<DIV>Cheers,</DIV>
<DIV>Qiulan</DIV>
<DIV><FONT size=2 face=Verdana></FONT>&nbsp;</DIV>
<DIV align=left><FONT color=#c0c0c0 size=2 face=Verdana>2014-12-24 
</FONT></DIV><FONT size=2 face=Verdana>
<HR style="HEIGHT: 2px; WIDTH: 122px" align=left SIZE=2>

<DIV><FONT color=#c0c0c0 size=2 face=Verdana><SPAN>huangql</SPAN> 
</FONT></DIV></FONT></BODY></HTML>

--=====003_Dragon638764664726_=====--