[OpenAFS] VOS: Always problems!!!
Hartmut Reuter
reuter@rzg.mpg.de
Thu, 18 Mar 2004 14:15:50 +0100
Looks like your vlserver isn't running (port 7003)
Hartmut
Sensei wrote:
> I'm building the cell... without success. I corrected the dns mismatch,
> deleted every configuration file and run these commmands.
>
> On kadmin:
>
> addprinc -randkey afs
> addprinc -randkey afs/host.name
> ktadd -k /etc/krb5.keytab afs
> ktadd -k /etc/krb5.keytab afs/host.name
> ktadd -e des-cbc-crc:afs3 -k /etc/krb5.keytab afs
> ktadd -e des-cbc-crc:afs3 -k /etc/krb5.keytab afs/host.name
>
> ??? OK
>
> ./bosserver -noauth &
> [1] 1360
> [1]+ Done ./bosserver -noauth
>
> === OK
>
> ./bos listhosts host.name -noauth
> bos: failed to get cell name (do not know that information)
>
> === OK
>
> ./bos create -server host.name -instance ptserver -type simple -cmd
> /usr/afs/bin/ptserver -cell plm.cell
>
> === OK
>
> bos adduser servername admin -cell plm.cell -noauth
>
> === OK
>
> ./bos listhosts host.name -noauth
> Cell name is plm.cell
> Host 1 is host.name
>
> === OK
>
> ./bos listkeys servername -cell plm.cell -noauth
> All done.
>
> === OK
>
> ./pts createuser -name admin -cell plm.cell -noauth
> User admin has id 1
>
> === OK
>
> ./pts adduser admin system:administrators -cell plm.cell -noauth
>
> === OK
>
> ./pts membership admin -cell plm.cell -noauth
> Groups admin (id: 1) is a member of:
> system:administrators
>
> === OK
>
> ./bos restart host.name -all -cell plm.cell -noauth
>
> === OK
>
> ./bos create -server host.name -instance fs -type fs -cmd
> /usr/afs/bin/fileserver -cmd /usr/afs/bin/volserver -cmd
> /usr/afs/bin/salvager -cell plm.cell -noauth
>
> === OK
>
> <<<<<<<< after a while:
>
> FSYNC_clientInit temporary failure (will retry): Connection refused
> File server has restarted at Thu Mar 18 12:31:36 2004
>
> ??? OK
>
> ./bos status host.name fs -long -noauth
> Instance fs, (type is fs) currently running normally.
> Auxiliary status is: file server running.
> Process last started at Thu Mar 18 12:30:04 2004 (2 proc starts)
> Command 1 is '/usr/afs/bin/fileserver'
> Command 2 is '/usr/afs/bin/volserver'
> Command 3 is '/usr/afs/bin/salvager'
>
> === OK
>
> ./vos create -server host.name -partition /vicepa -name root.afs -cell
> plm.cell -noauth
>
> Could not get an Id for volume root.afs
> Possible communication failure
> Error in vos create command.
> Possible communication failure.
>
>
> What am I missing??????? What communications?
>
> I see with ps auxw bosserver, ptserver, fileserver (sooooo many
> instances) all sleeping.
>
> With nmap -sU host.name (run on host.name) I see these ports:
> 123/udp open ntp
> 7000/udp open afs3-fileserver
> 7002/udp open afs3-prserver
> 7005/udp open afs3-volserver
> 7007/udp open afs3-bos
>
> Why!?!? I need to build this cell and I don't know which communications
> fails!
>
--
-----------------------------------------------------------------
Hartmut Reuter e-mail reuter@rzg.mpg.de
phone +49-89-3299-1328
RZG (Rechenzentrum Garching) fax +49-89-3299-1301
Computing Center of the Max-Planck-Gesellschaft (MPG) and the
Institut fuer Plasmaphysik (IPP)
-----------------------------------------------------------------