[OpenAFS] Installing AFS on a linux box
Derek Atkins
warlord@MIT.EDU
28 Nov 2001 10:47:21 -0500
Mohan,
You should continue to CC openafs-info in your replies. There are
many people there who can help even though they did not answer your
question first time around.. I've forwarded your response back
to the list (see below).
I do believe that RX and/or Ubik specifically ignore loopback, so you
CANNOT use 127.0.0.1 as your address. You _must_ use a "real" IP
Address. You must also give it a 'stable' IP address; if you're using
DHCP and your address is subject to change, then nobody will be able
to find your cell (including your AFS clients).
-derek
"Srinivas, Mohan" <mohan.srinivas@digital.com> writes:
> This message is in MIME format. Since your mail reader does not understand
> this format, some or all of this message may not be legible.
>
> ------_=_NextPart_001_01C177C9.DD619018
> Content-Type: text/plain;
> charset="iso-8859-1"
>
> hello,
>
> thanks for the reply.
> i checked with the command
> # bos status -server <servername> -cell <cellname> -noauth
>
> the output is
>
> Instance kaserver, temporarily disabled, stopped for too many errors,
> current1
> Instance busserver, temporarily disabled, stopped for too many errors,
> current1
> Instance ptserver, temporarily disabled, stopped for too many errors,
> current1
> Instance vlserver, temporarily disabled, stopped for too many errors,
> current1
>
> i started these servers by
>
> # bos create <machinename> kaserver simple /usr/afs/bin/kaserver -cell
> <cellname> -noauth
> # bos create <machinename> busserver simple /usr/afs/bin/busserver -cell
> <cellname> -noauth
> # bos create <machinename> ptserver simple /usr/afs/bin/ptserver -cell
> <cellname> -noauth
> # bos create <machinename> vlserver simple /usr/afs/bin/vlserver -cell
> <cellname> -noauth
>
> after this a file called BosConfig is created and it has entries
> corresponding to this.
>
> In quick beginners guide he is telling that after executing these commands,
> these servers
>
> will be automatically started. But from above output it is clear that those
> were not started.
>
> Now how can i start those? how can i sort it out this problem?
>
>
>
> Is this problem related IP address? As my machine has dhcp IP address? i
> found out
>
> in mailing list, some people are discussing about dhcp and hosts file
> regarding with
>
> this problem.
>
> my /etc/hosts file is like this.
>
> # Do not remove the following line, or various programs
> # that require network functionality will fail.
> 127.0.0.1 srimohans.xko.dec.com srimohans localhost.localdomain localhost
>
> my /usr/afs/logs/BosLog file is like this
> Tue Nov 27 22:26:36 2001: Server directory access is okay
> Tue Nov 27 22:26:36 2001: vlserver exited with code 2
> Tue Nov 27 22:26:36 2001: ptserver exited with code 2
> Tue Nov 27 22:26:36 2001: busserver exited with code 255
> Tue Nov 27 22:26:36 2001: busserver exited with code 255
> Tue Nov 27 22:26:36 2001: ptserver exited with code 2
> Tue Nov 27 22:26:36 2001: kaserver exited with code 2
> Tue Nov 27 22:26:36 2001: kaserver exited with code 2
> Tue Nov 27 22:26:36 2001: busserver exited with code 255
> Tue Nov 27 22:26:36 2001: busserver exited with code 255
> Tue Nov 27 22:26:36 2001: busserver exited with code 255
> Tue Nov 27 22:26:36 2001: busserver exited with code 255
> Tue Nov 27 22:26:36 2001: kaserver exited with code 2
> Tue Nov 27 22:26:36 2001: ptserver exited with code 2
> Tue Nov 27 22:26:36 2001: busserver exited with code 255
> Tue Nov 27 22:26:36 2001: busserver exited with code 255
> Tue Nov 27 22:26:36 2001: busserver exited with code 255
> Tue Nov 27 22:26:36 2001: busserver exited with code 255
> Tue Nov 27 22:26:36 2001: busserver exited with code 255
> Tue Nov 27 22:26:36 2001: busserver exited with code 255
> Tue Nov 27 22:26:36 2001: BNODE 'busserver' repeatedly failed to start,
> perhaps missing executable.
> Tue Nov 27 22:26:37 2001: busserver exited with code 255
> Tue Nov 27 22:26:37 2001: BNODE 'busserver' repeatedly failed to start,
> perhaps missing executable.
> Tue Nov 27 22:26:37 2001: kaserver exited with code 2
> Tue Nov 27 22:26:37 2001: vlserver exited with code 2
> Tue Nov 27 22:26:37 2001: kaserver exited with code 2
> Tue Nov 27 22:26:37 2001: kaserver exited with code 2
> Tue Nov 27 22:26:37 2001: kaserver exited with code 2
> Tue Nov 27 22:26:37 2001: vlserver exited with code 2
> Tue Nov 27 22:26:37 2001: vlserver exited with code 2
> Tue Nov 27 22:26:37 2001: kaserver exited with code 2
> Tue Nov 27 22:26:37 2001: ptserver exited with code 2
> Tue Nov 27 22:26:37 2001: ptserver exited with code 2
> Tue Nov 27 22:26:37 2001: kaserver exited with code 2
> Tue Nov 27 22:26:37 2001: vlserver exited with code 2
> Tue Nov 27 22:26:37 2001: vlserver exited with code 2
> Tue Nov 27 22:26:37 2001: vlserver exited with code 2
> Tue Nov 27 22:26:37 2001: kaserver exited with code 2
> Tue Nov 27 22:26:37 2001: ptserver exited with code 2
> Tue Nov 27 22:26:37 2001: kaserver exited with code 2
> Tue Nov 27 22:26:37 2001: kaserver exited with code 2
> Tue Nov 27 22:26:37 2001: BNODE 'kaserver' repeatedly failed to start,
> perhaps missing executable.
> Tue Nov 27 22:26:37 2001: ptserver exited with code 2
> Tue Nov 27 22:26:37 2001: vlserver exited with code 2
> Tue Nov 27 22:26:37 2001: vlserver exited with code 2
> Tue Nov 27 22:26:37 2001: vlserver exited with code 2
> Tue Nov 27 22:26:37 2001: ptserver exited with code 2
> Tue Nov 27 22:26:37 2001: ptserver exited with code 2
> Tue Nov 27 22:26:37 2001: vlserver exited with code 2
> Tue Nov 27 22:26:37 2001: kaserver exited with code 2
> Tue Nov 27 22:26:37 2001: BNODE 'kaserver' repeatedly failed to start,
> perhaps missing executable.
> Tue Nov 27 22:26:37 2001: vlserver exited with code 2
> Tue Nov 27 22:26:37 2001: BNODE 'vlserver' repeatedly failed to start,
> perhaps missing executable.
> Tue Nov 27 22:26:37 2001: vlserver exited with code 2
> Tue Nov 27 22:26:37 2001: BNODE 'vlserver' repeatedly failed to start,
> perhaps missing executable.
> Tue Nov 27 22:26:37 2001: ptserver exited with code 2
> Tue Nov 27 22:26:37 2001: ptserver exited with code 2
> Tue Nov 27 22:26:37 2001: ptserver exited with code 2
> Tue Nov 27 22:26:37 2001: BNODE 'ptserver' repeatedly failed to start,
> perhaps missing executable.
> Tue Nov 27 22:26:37 2001: ptserver exited with code 2
> Tue Nov 27 22:26:37 2001: BNODE 'ptserver' repeatedly failed to start,
> perhaps missing executable.
>
>
> Please help me to sort out this problem.:-):-)
>
>
>
> thanks once again for the help u did, and thanks in advance,
>
>
>
> Regards,
>
> mohan
>
> -----Original Message-----
> From: Derek Atkins [ <mailto:warlord@MIT.EDU> mailto:warlord@MIT.EDU]
> Sent: Wednesday, November 28, 2001 1:04 AM
> To: Srinivas, Mohan
> Cc: 'openafs-info@openafs.org'
> Subject: Re: [OpenAFS] Installing AFS on a linux box
>
>
> Did you start the kaserver?
>
> -derek
>
> "Srinivas, Mohan" <mohan.srinivas@digital.com> writes:
>
> > Hi friends
> > i am trying to install AFS server and AFS Client on a linux box. I am
> > following the installation guide provided at
> > <
> <http://oss.software.ibm.com/developerworks/opensource/afs/docs/html/QkBegin
> >
> http://oss.software.ibm.com/developerworks/opensource/afs/docs/html/QkBegin
> > /auqbg002.htm>
> > when i am creating admin and afs users using
> > # kas -cell < cellname> -noauth
> > ka> create afs
> > then i am providing password.
> > now i am getting this error message:
> > creating user afs: [___] server or network not responding.
> > This is first machine i am installing AFS and i want to retain both server
> > and client functionality on this machine. (for some time atleast).
> > can anybody help me in this regard. Can anybody tell me why i am getting
> > this error and how
> > can i sort it out?
> > :-):-)
> > Regards,
> > mohan
> >
> > _______________________________________________
> > OpenAFS-info mailing list
> > OpenAFS-info@openafs.org
> > <https://lists.openafs.org/mailman/listinfo/openafs-info>
> https://lists.openafs.org/mailman/listinfo/openafs-info
>
> --
> Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
> Member, MIT Student Information Processing Board (SIPB)
> URL: <http://web.mit.edu/warlord/> http://web.mit.edu/warlord/
> PP-ASEL-IA N1NWH
> warlord@MIT.EDU PGP key available
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> <https://lists.openafs.org/mailman/listinfo/openafs-info>
> https://lists.openafs.org/mailman/listinfo/openafs-info
>
>
>
> ------_=_NextPart_001_01C177C9.DD619018
> Content-Type: text/html;
> charset="iso-8859-1"
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> <HTML><HEAD>
> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
> <TITLE></TITLE>
>
> <META content="MSHTML 5.00.2920.0" name=GENERATOR></HEAD>
> <BODY>
> <P><FONT size=2><FONT size=3>hello,</FONT></FONT></P>
> <P><FONT size=2><FONT size=3>thanks for the reply.<BR>i checked with the
> command<BR></FONT></FONT><FONT color=#0000ff face="Courier New" size=2># bos
> status -server <servername> -cell <cellname> -noauth</FONT></P>
> <P><FONT face="Courier New" size=2>the output is </FONT></P>
> <P><FONT face="Courier New" size=2>Instance kaserver, temporarily disabled,
> stopped for too many errors, current1<BR></FONT><FONT face="Courier New"
> size=2>Instance busserver, temporarily disabled, stopped for too many errors,
> current1<BR></FONT><FONT face="Courier New" size=2>Instance ptserver,
> temporarily disabled, stopped for too many errors, current1<BR></FONT><FONT
> size=2><FONT face="Courier New">Instance vlserver, temporarily disabled, stopped
> for too many errors, current1</FONT></FONT></P>
> <P><FONT size=2><FONT face="Courier New">i started these servers by
> </FONT></FONT></P>
> <P><FONT size=2><FONT color=#0000ff face="Courier New"># bos create
> <machinename> kaserver simple /usr/afs/bin/kaserver -cell <cellname>
> -noauth<BR><FONT face=Arial><FONT size=2><FONT color=#0000ff
> face="Courier New"># bos create <machinename> busserver simple
> /usr/afs/bin/busserver -cell <cellname> -noauth<BR><FONT face=Arial><FONT
> size=2><FONT color=#0000ff face="Courier New"># bos create <machinename>
> ptserver simple /usr/afs/bin/ptserver -cell <cellname> -noauth<BR><FONT
> face=Arial><FONT size=2><FONT color=#0000ff face="Courier New"># bos create
> <machinename> vlserver simple /usr/afs/bin/vlserver -cell <cellname>
> -noauth</FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></P>
> <P><FONT face="Courier New" size=2>after this a file called BosConfig is created
> and it has entries corresponding to this.</FONT></P>
> <P><FONT face="Courier New" size=2>In quick beginners guide he is telling that
> after executing these commands, these servers</FONT></P>
> <P><FONT face="Courier New" size=2>will be automatically started. But from above
> output it is clear that those were not started.</FONT></P>
> <P><FONT face="Courier New" size=2>Now how can i start those? how can i sort it
> out this problem?</FONT></P>
> <P> </P>
> <P><FONT face="Courier New" size=2>Is this problem related IP address? As my
> machine has dhcp IP address? i found out</FONT></P>
> <P><FONT face="Courier New" size=2>in mailing list, some people are discussing
> about dhcp and hosts file regarding with</FONT></P>
> <P><FONT face="Courier New" size=2>this problem.</FONT></P>
> <P><FONT face="Courier New" size=2>my /etc/hosts file is like this.</FONT></P>
> <P><FONT face="Courier New"><FONT size=2><FONT color=#0000ff><FONT size=2><FONT
> color=#0000ff><FONT size=2><FONT color=#0000ff><FONT size=2><FONT
> color=#0000ff># Do not remove the following line, or various programs<BR># that
> require network functionality will
> fail.<BR>127.0.0.1 srimohans.xko.dec.com srimohans
> localhost.localdomain
> localhost</FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></P>
> <P><FONT face="Courier New"><FONT size=2><FONT color=#0000ff><FONT size=2><FONT
> color=#0000ff><FONT size=2><FONT color=#0000ff><FONT size=2><FONT
> color=#0000ff><FONT color=#000000>my /usr/afs/logs/BosLog file is like this
> </FONT><BR>Tue Nov 27 22:26:36 2001: Server directory access is okay<BR>Tue Nov
> 27 22:26:36 2001: vlserver exited with code 2<BR>Tue Nov 27 22:26:36 2001:
> ptserver exited with code 2<BR>Tue Nov 27 22:26:36 2001: busserver exited with
> code 255<BR>Tue Nov 27 22:26:36 2001: busserver exited with code 255<BR>Tue Nov
> 27 22:26:36 2001: ptserver exited with code 2<BR>Tue Nov 27 22:26:36 2001:
> kaserver exited with code 2<BR>Tue Nov 27 22:26:36 2001: kaserver exited with
> code 2<BR>Tue Nov 27 22:26:36 2001: busserver exited with code 255<BR>Tue Nov 27
> 22:26:36 2001: busserver exited with code 255<BR>Tue Nov 27 22:26:36 2001:
> busserver exited with code 255<BR>Tue Nov 27 22:26:36 2001: busserver exited
> with code 255<BR>Tue Nov 27 22:26:36 2001: kaserver exited with code 2<BR>Tue
> Nov 27 22:26:36 2001: ptserver exited with code 2<BR>Tue Nov 27 22:26:36 2001:
> busserver exited with code 255<BR>Tue Nov 27 22:26:36 2001: busserver exited
> with code 255<BR>Tue Nov 27 22:26:36 2001: busserver exited with code 255<BR>Tue
> Nov 27 22:26:36 2001: busserver exited with code 255<BR>Tue Nov 27 22:26:36
> 2001: busserver exited with code 255<BR>Tue Nov 27 22:26:36 2001: busserver
> exited with code 255<BR>Tue Nov 27 22:26:36 2001: BNODE 'busserver' repeatedly
> failed to start, perhaps missing executable.<BR>Tue Nov 27 22:26:37 2001:
> busserver exited with code 255<BR>Tue Nov 27 22:26:37 2001: BNODE 'busserver'
> repeatedly failed to start, perhaps missing executable.<BR>Tue Nov 27 22:26:37
> 2001: kaserver exited with code 2<BR>Tue Nov 27 22:26:37 2001: vlserver exited
> with code 2<BR>Tue Nov 27 22:26:37 2001: kaserver exited with code 2<BR>Tue Nov
> 27 22:26:37 2001: kaserver exited with code 2<BR>Tue Nov 27 22:26:37 2001:
> kaserver exited with code 2<BR>Tue Nov 27 22:26:37 2001: vlserver exited with
> code 2<BR>Tue Nov 27 22:26:37 2001: vlserver exited with code 2<BR>Tue Nov 27
> 22:26:37 2001: kaserver exited with code 2<BR>Tue Nov 27 22:26:37 2001: ptserver
> exited with code 2<BR>Tue Nov 27 22:26:37 2001: ptserver exited with code
> 2<BR>Tue Nov 27 22:26:37 2001: kaserver exited with code 2<BR>Tue Nov 27
> 22:26:37 2001: vlserver exited with code 2<BR>Tue Nov 27 22:26:37 2001: vlserver
> exited with code 2<BR>Tue Nov 27 22:26:37 2001: vlserver exited with code
> 2<BR>Tue Nov 27 22:26:37 2001: kaserver exited with code 2<BR>Tue Nov 27
> 22:26:37 2001: ptserver exited with code 2<BR>Tue Nov 27 22:26:37 2001: kaserver
> exited with code 2<BR>Tue Nov 27 22:26:37 2001: kaserver exited with code
> 2<BR>Tue Nov 27 22:26:37 2001: BNODE 'kaserver' repeatedly failed to start,
> perhaps missing executable.<BR>Tue Nov 27 22:26:37 2001: ptserver exited with
> code 2<BR>Tue Nov 27 22:26:37 2001: vlserver exited with code 2<BR>Tue Nov 27
> 22:26:37 2001: vlserver exited with code 2<BR>Tue Nov 27 22:26:37 2001: vlserver
> exited with code 2<BR>Tue Nov 27 22:26:37 2001: ptserver exited with code
> 2<BR>Tue Nov 27 22:26:37 2001: ptserver exited with code 2<BR>Tue Nov 27
> 22:26:37 2001: vlserver exited with code 2<BR>Tue Nov 27 22:26:37 2001: kaserver
> exited with code 2<BR>Tue Nov 27 22:26:37 2001: BNODE 'kaserver' repeatedly
> failed to start, perhaps missing executable.<BR>Tue Nov 27 22:26:37 2001:
> vlserver exited with code 2<BR>Tue Nov 27 22:26:37 2001: BNODE 'vlserver'
> repeatedly failed to start, perhaps missing executable.<BR>Tue Nov 27 22:26:37
> 2001: vlserver exited with code 2<BR>Tue Nov 27 22:26:37 2001: BNODE 'vlserver'
> repeatedly failed to start, perhaps missing executable.<BR>Tue Nov 27 22:26:37
> 2001: ptserver exited with code 2<BR>Tue Nov 27 22:26:37 2001: ptserver exited
> with code 2<BR>Tue Nov 27 22:26:37 2001: ptserver exited with code 2<BR>Tue Nov
> 27 22:26:37 2001: BNODE 'ptserver' repeatedly failed to start, perhaps missing
> executable.<BR>Tue Nov 27 22:26:37 2001: ptserver exited with code 2<BR>Tue Nov
> 27 22:26:37 2001: BNODE 'ptserver' repeatedly failed to start, perhaps missing
> executable.<BR></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></P>
> <P><FONT face=Arial><FONT size=2><FONT color=#0000ff><FONT size=2><FONT
> color=#0000ff><FONT size=2><FONT color=#0000ff><FONT size=2><FONT
> color=#0000ff>Please help me to sort out this
> problem.:-):-)</FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></P>
> <P><FONT face=Arial><FONT size=2><FONT color=#0000ff><FONT size=2><FONT
> color=#0000ff><FONT size=2><FONT color=#0000ff><FONT size=2><FONT
> color=#0000ff></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT> </P>
> <P><FONT face=Arial><FONT size=2><FONT color=#0000ff><FONT size=2><FONT
> color=#0000ff><FONT size=2><FONT color=#0000ff><FONT size=2><FONT
> color=#0000ff>thanks once again for the help u did, and thanks in
> advance,</FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></P>
> <P><FONT face=Arial><FONT size=2><FONT color=#0000ff><FONT size=2><FONT
> color=#0000ff><FONT size=2><FONT color=#0000ff><FONT size=2><FONT
> color=#0000ff></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT> </P>
> <P><FONT face=Arial><FONT size=2><FONT color=#0000ff><FONT size=2><FONT
> color=#0000ff><FONT size=2><FONT color=#0000ff><FONT size=2><FONT
> color=#0000ff>Regards,
> </FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></P>
> <P><FONT face=Arial><FONT size=2><FONT color=#0000ff><FONT size=2><FONT
> color=#0000ff><FONT size=2><FONT color=#0000ff><FONT size=2><FONT
> color=#0000ff>mohan<BR></FONT></FONT></FONT></FONT></FONT></FONT><BR></FONT></FONT></FONT><FONT
> size=2>-----Original Message-----<BR>From: Derek Atkins [</FONT><A
> href="mailto:warlord@MIT.EDU"><FONT
> size=2>mailto:warlord@MIT.EDU</FONT></A><FONT size=2>]<BR>Sent: Wednesday,
> November 28, 2001 1:04 AM<BR>To: Srinivas, Mohan<BR>Cc:
> 'openafs-info@openafs.org'<BR>Subject: Re: [OpenAFS] Installing AFS on a linux
> box<BR><BR><BR>Did you start the kaserver?<BR><BR>-derek<BR><BR>"Srinivas,
> Mohan" <mohan.srinivas@digital.com> writes:<BR><BR>> Hi friends<BR>>
> i am trying to install AFS server and AFS Client on a linux box. I am<BR>>
> following the installation guide provided at<BR>> <</FONT><A
> href="http://oss.software.ibm.com/developerworks/opensource/afs/docs/html/QkBegin"
> target=_blank><FONT
> size=2>http://oss.software.ibm.com/developerworks/opensource/afs/docs/html/QkBegin</FONT></A><BR><FONT
> size=2>> /auqbg002.htm><BR>> when i am creating admin and afs users
> using<BR>> # kas -cell < cellname> -noauth<BR>> ka> create
> afs<BR>> then i am providing password.<BR>> now i am getting this error
> message:<BR>> creating user afs: [___] server or network not
> responding.<BR>> This is first machine i am installing AFS and i want to
> retain both server<BR>> and client functionality on this machine. (for some
> time atleast).<BR>> can anybody help me in this regard. Can anybody tell me
> why i am getting<BR>> this error and how<BR>> can i sort it out?<BR>>
> :-):-)<BR>> Regards,<BR>> mohan<BR>><BR>>
> _______________________________________________<BR>> OpenAFS-info mailing
> list<BR>> OpenAFS-info@openafs.org<BR>> </FONT><A
> href="https://lists.openafs.org/mailman/listinfo/openafs-info"
> target=_blank><FONT
> size=2>https://lists.openafs.org/mailman/listinfo/openafs-info</FONT></A><BR><BR><FONT
> size=2>--<BR> Derek Atkins, SB '93 MIT EE,
> SM '95 MIT Media Laboratory<BR> Member, MIT
> Student Information Processing Board
> (SIPB)<BR> URL: </FONT><A
> href="http://web.mit.edu/warlord/" target=_blank><FONT
> size=2>http://web.mit.edu/warlord/</FONT></A><FONT size=2>
> PP-ASEL-IA N1NWH<BR>
> warlord@MIT.EDU
> PGP key
> available<BR>_______________________________________________<BR>OpenAFS-info
> mailing list<BR>OpenAFS-info@openafs.org<BR></FONT><A
> href="https://lists.openafs.org/mailman/listinfo/openafs-info"
> target=_blank><FONT
> size=2>https://lists.openafs.org/mailman/listinfo/openafs-info</FONT></A><BR></P></BODY></HTML>
>
> ------_=_NextPart_001_01C177C9.DD619018--
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
warlord@MIT.EDU PGP key available