[OpenAFS] "error reading cell database Can't get local cell name!"

yves schutz schutz@in2p3.fr
Fri, 29 Mar 2002 13:52:22 +0100


--------------060101080704090104070108
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Well that does not do the job. The origin of problem the problem is here :
stat64("/usr/local/etc/openafs/CellServDB", 0xbfffcd60) = -1 ENOENT (No 
such file or directory) 
So why when doing klog in a user account it searches these files in 
/usr/local/etc/openafs/ and not in /usr/vice/etc as it does when logged 
as root ?

Yves


Tino Schwarze wrote:

>On Thu, Mar 28, 2002 at 08:26:54PM -0500, Derrick J Brashear wrote:
>
>>>I have installed an afs client (1.2.3) from rpm. Everything works fine 
>>>(afs start ; klog ) as long as I am logged as root.
>>>When I am logged as an ordinary user klog gives me the following message .
>>> "error reading cell database Can't get local cell name!"
>>>Any clue what has to be done .... thanks ..... Yves
>>>
>>chmod 755 /usr/afs/etc
>>
>AFAIK /usr/afs is only server stuff...
>
>Better use
>chmod 755 /usr/vice/etc
>chmod 755 /usr/vice/etc/CellServDB
>chmod 755 /usr/vice/etc/ThisCell
>
>Bye, Tino.
>

-- 
Yves SCHUTZ  (IN2P3 - CNRS) collaboration TAPS/WA98/PHENIX/ALICE   
SUBATECH                                                          
Ecole des Mines de Nantes Telephone: (+33/0) 2 51 85 84 71         
4, rue Alfred Kastler     Fax      : (+33/0) 2 51 85 84 79        
F-44070 Nantes cedex 03   e-mail   : yves.schutz@subatech.in2p3.fr



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

<html>
<head>
</head>
<body>
Well that does not do the job. The origin of problem the problem is here
:<br>
stat64("/usr/local/etc/openafs/CellServDB", 0xbfffcd60) = -1 ENOENT (No such
file or directory)&nbsp; <br>
So why when doing klog in a user account it searches these files in /usr/local/etc/openafs/
and not in /usr/vice/etc as it does when logged as root ?<br>
<br>
Yves<br>
<br>
<br>
Tino Schwarze wrote:<br>
<blockquote type="cite" cite="mid:20020329120110.A19115@informatik.tu-chemnitz.de">
  <pre wrap="">On Thu, Mar 28, 2002 at 08:26:54PM -0500, Derrick J Brashear wrote:<br><br></pre>
  <blockquote type="cite">
    <blockquote type="cite">
      <pre wrap="">I have installed an afs client (1.2.3) from rpm. Everything works fine <br>(afs start ; klog ) as long as I am logged as root.<br>When I am logged as an ordinary user klog gives me the following message .<br> "error reading cell database Can't get local cell name!"<br>Any clue what has to be done .... thanks ..... Yves<br></pre>
      </blockquote>
      <pre wrap="">chmod 755 /usr/afs/etc<br></pre>
      </blockquote>
      <pre wrap=""><!---->AFAIK /usr/afs is only server stuff...<br><br>Better use<br>chmod 755 /usr/vice/etc<br>chmod 755 /usr/vice/etc/CellServDB<br>chmod 755 /usr/vice/etc/ThisCell<br><br>Bye, Tino.<br><br></pre>
      </blockquote>
      <br>
      <pre class="moz-signature" cols="$mailwrapcol">-- 
Yves SCHUTZ  (IN2P3 - CNRS) collaboration TAPS/WA98/PHENIX/ALICE   
SUBATECH                                                          
Ecole des Mines de Nantes Telephone: (+33/0) 2 51 85 84 71         
4, rue Alfred Kastler     Fax      : (+33/0) 2 51 85 84 79        
F-44070 Nantes cedex 03   e-mail   : <a class="moz-txt-link-abbreviated" href="mailto:yves.schutz@subatech.in2p3.fr">yves.schutz@subatech.in2p3.fr</a>
</pre>
      <br>
      </body>
      </html>

--------------060101080704090104070108--