[EMAIL PROTECTED] etc1]# cp -r CellServDB.local CellServDB.dist SuidCells.l ocal SuidCells.dist /usr/vice/etc/ cp: overwrite `/usr/vice/etc/CellServDB.local'? y cp: overwrite `/usr/vice/etc/CellServDB.dist'? y cp: overwrite `/usr/vice/etc/SuidCells.local'? y [EMAIL PROTECTED] etc1]# /etc/init.d/openafs-client start Updating CellServDB: Updating SuidCells: Starting openafs-client: afsd: All AFS daemons started. afsd: Can't mount AFS on /afs(22)
On 2/2/07, Srikanth Bhaskar <[EMAIL PROTECTED]> wrote:
Thank you for the pointer Marcus. I am able to go ahead till cache initialization. I rebooted the PC. as openafs-client is in init.d, it initialises by default. When I try to do a klog,I get this error: [EMAIL PROTECTED] ~]# /etc/init.d/openafs-client status afsd (pid 2714) is running... [EMAIL PROTECTED] ~]# cd /afs [EMAIL PROTECTED] afs]# ls [EMAIL PROTECTED] afs]# /usr/bin/klog admin klog: cell name not found Can't get local cell name! [EMAIL PROTECTED] afs]# the cell name does not appear in /afs, hence, I believ it is not picking the CellServDB. [EMAIL PROTECTED] vice]# /etc/init.d/openafs-client stop Stopping openafs-client: cannot stop openafs-client: not runningFAILED] [EMAIL PROTECTED] vice]# /etc/init.d/openafs-client start Updating CellServDB: cat: /usr/vice/etc/CellServDB.local: No such file or direct ory cat: /usr/vice/etc/CellServDB.dist: No such file or directory Updating SuidCells: cat: /usr/vice/etc/SuidCells.local: No such file or director y cat: /usr/vice/etc/SuidCells.dist: No such file or directory Starting openafs-client: afsd: All AFS daemons started. afsd: Can't mount AFS on /afs(22) [EMAIL PROTECTED] vice]# On 2/2/07, Marcus Watts <[EMAIL PROTECTED]> wrote: > > "Srikanth Bhaskar" <[EMAIL PROTECTED] > replied: > > > > On 2/2/07, Srikanth Bhaskar <[EMAIL PROTECTED]> wrote: > > > > > > [EMAIL PROTECTED] bin]# cd /usr/bin/ > > > [ [EMAIL PROTECTED] bin]# ./bos setcellname > bri6506-5-fc3-1.ca.com > > > afs1.ca.co > > > m -noauth > > > [EMAIL PROTECTED] bin]# ./bos listhosts bri6506-5-fc3-1.ca.com-noauth > > > Cell name is afs1.ca.com > > > Host 1 is bri6506-5-fc3-1.ca.com > > > [EMAIL PROTECTED] bin]# ./bos listhosts bri6506-5-fc3-1.ca.com-noauth > > > Cell name is afs1.ca.com > > > Host 1 is bri6506-5-fc3-1.ca.com > > > [EMAIL PROTECTED] bin]# ./bos create bri6506-5-fc3-1.ca.comkaserver > > > simple > > > /usr/afs/bin/kaserver -cell afs1.ca.com -noauth > > > bos: could not find entry (can't find cell 'afs1.ca.com ' in cell > database) > > > [EMAIL PROTECTED] bin]# ps -ef | grep bosserver > > > root 5099 1 0 11:46 ? 00:00:00 > /usr/afs/bin/bosserver > > > -noauth > > > root 5111 4910 0 12:00 pts/1 00:00:00 grep bosserver > > > [EMAIL PROTECTED] bin]# > > > > > Client side utilities generally look at > FHS transarc > /etc/openafs /usr/vice/etc > while server side binaries look at: > /etc/openafs/server /usr/afs/etc > Since "bos listhosts" worked, you must have the server side > files right. Since "bos create" failed, you probably have missing > or incomplete client side files. Since judging by the prompts > you're actually running this on the server, an easy fix is: > ln -s /usr/afs/etc /usr/vice/etc > which will ensure your client & server binaries see the same > configuration. > > You could also leave off "-cell afs1.ca.com" - if you're using > "-noauth" (or "-localauth") with bos, the cell name is not > necessary and can be allowed to default to whatever. > This is why your "bos listhosts" commands immediately preceeding > work. > > -Marcus Watts > -- Regards, Srikanth Bhaskar Hyderabad +91 9866649917 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ They may forget wat you said, but they will never forget how you made them feel..
-- Regards, Srikanth Bhaskar Hyderabad +91 9866649917 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ They may forget wat you said, but they will never forget how you made them feel..
