I hope this helps someone. I couldn't get the afs-newcell script to work worth a damn for me. I had to comment out the line were it overwrites the cellservdb file, but it would still fail and I couldn't figure out why.
But I was able to get it working to the point were I can run the afs-newvol script. I am using package 1.3.81-3sarge1, in Debian Sarge, obviously. I tried to document to the best of my ability on how I got it running. Keep in mind that I am no expert. This is only the second time setting up a openafs server. Most of this is lifted from the OpenAFS's website quickstart documentation. Double check the commands and read the documentation and such before following this stuff. Be sure to install the openafs-client with 'no' on start now and at bootup time. Maybe it would be nice to include this in the /usr/share/doc/ stuff with the package if it seems like a good idea. # This is the steps I took to get OpenAFS server functional without # using the afs-newcell script # this is just ment for documentation.. it's a not a real script # first I had a functional kerberos 5 server. # then I setup a admin (afsadm) and a service key. # krbadm is my kerberos admin. kadmin -p krbadm kadmin: addprinc afsadm kadmin: addprinc -randkey afs kadmin: ktadd -k /tmp/deleteme.keytab -e des-cbc-crc:v4 afs kadmin: quit #stop the server /etc/init.d/openafs-fileserver stop #set correct permissions #not sure about this 100% chmod 755 /etc/openafs/server/ chmod 700 /etc/openafs/server-local/ #copy files to setup cellname and server cp /etc/openafs/CellServDB /etc/openafs/server/ cp /etc/openafs/CellServDB /etc/openafs/server-local/ cp /etc/openafs/ThisCell /etc/openafs/server/ cp /etc/openafs/ThisCell /etc/openafs/server-local/ bosserver -noauth bos setcellname <AFS server name> <AFS cellname> -noauth #verify information bos listhosts <AFS server name> -noauth #start database server proccesses. bos create <AFS server name> buserver simple /usr/lib/openafs/buserver \ -cell <AFS cellname> -noauth bos create <AFS server name> ptserver simple /usr/lib/openafs/ptserver \ -cell <AFS cellname> -noauth bos create <AFS server name> vlserver simple /usr/lib/openafs/vlserver \ -cell <AFS cellname> -noauth #verify bos status <AFS server name> -noauth #add key klist -k /tmp/deleteme.keytab asetkey add 4 /tmp/deleteme.keytab afs #add user bos adduser <AFS server name> afsadm admin -cell <AFS cellname> -noauth pts createuser -name afsadm -cell <AFS cellname> -noauth pts adduser afsadm system:administrators -cell <AFS cellname> -noauth #verify pts membership afsadm -cell <AFS cellname> -noauth #restart database services bos restart <AFS server name> -all -cell <AFS cellname> -noauth # start fileserver services bos create <AFS server name> fs fs /usr/afs/bin/fileserver \ /usr/afs/bin/volserver /usr/afs/bin/salvager \ -cell <AFS cellname> -noauth # verify bos status <AFS server name> fs -long -noauth # initialize initial volume. # Only for when you make the first AFS server in the cell. vos create <AFS server name> a root.afs -cell <AFS cellname> -noauth /etc/init.d/openafs-fileserver restart /etc/init.d/openafs-client force-start # now it's time to run the afs-rootvol script run afs-rootvol -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]