Re: [OpenAFS] Debian install problem: ptserver won't start

2005-04-20 Thread Scott Fritzinger
Lars (and others who have responded),
I was using Debian stable, which was, as mentioned, using the 1.2.3 
release. I removed all of 1.2.3 and tried the Debian testing branch 
(which uses 1.3.18). I ran into a problem with bosserver not finding the 
"" cell when it is being shut down. afs-newcell had problems 
because of this it seems.

So, I removed it all, added the openafs.org reposity to my sources lists 
and installed 1.2.13, which appears to have worked with exception of the 
kernel modules. I'm currently running 2.6.7 and the 
openafs-modules-source won't compile because of the changes to 
sys_call_table apparently in the new kernel.

I am moving back down to 2.4.27 (something I've been meaning to do for a 
while. Can you tell this is the experimental server? :-) and will try 
again. I'll write in to give a status update when 2.4.27 is installed 
and the modules are loaded.

Thanks to everyone for replying and providing feedback.
-Scott
Sergio Gelato wrote:
* Lars Schimmer [2005-04-20 10:10:08 +0200]:
Scott Fritzinger schrieb:
| All,
|
| I'm having a "bang your head against a wall" problem when installing
| OpenAFS on Debian from the Debian repository.
First - which one? I strongly suggest the experimental sources and version
1.3.81 of OpenAFS.

Very good question. In particular, Debian stable ("woody", 3.0r5) still 
ships with OpenAFS 1.2.3 packages which you most definitely should not use. 
Get the 1.2.13 packages from openafs.org if you're using woody.


And to your problem - if the server is multihomed, try the netrestrict 
file, in
which all IPs are listed that OpenAFS shouldn't listen to. More info on the
www.openafs.org website documentation. In Debian that file should rest in
/etc/openafs/server-local/NetRestrict.

Or in /var/lib/openafs, depending on which build of the .deb's you are using.
I agree that NetRestrict can be desirable for a multihomed server, but I don't
think it's the main issue here. Things ought to work, if a little less
efficiently, without any explicit NetRestrict configuration.
___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info
___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


Re: [OpenAFS] Debian install problem: ptserver won't start

2005-04-20 Thread Sergio Gelato
* Lars Schimmer [2005-04-20 10:10:08 +0200]:
> Scott Fritzinger schrieb:
> | All,
> |
> | I'm having a "bang your head against a wall" problem when installing
> | OpenAFS on Debian from the Debian repository.
> 
> First - which one? I strongly suggest the experimental sources and version
> 1.3.81 of OpenAFS.

Very good question. In particular, Debian stable ("woody", 3.0r5) still 
ships with OpenAFS 1.2.3 packages which you most definitely should not use. 
Get the 1.2.13 packages from openafs.org if you're using woody.

> And to your problem - if the server is multihomed, try the netrestrict 
> file, in
> which all IPs are listed that OpenAFS shouldn't listen to. More info on the
> www.openafs.org website documentation. In Debian that file should rest in
> /etc/openafs/server-local/NetRestrict.

Or in /var/lib/openafs, depending on which build of the .deb's you are using.
I agree that NetRestrict can be desirable for a multihomed server, but I don't
think it's the main issue here. Things ought to work, if a little less
efficiently, without any explicit NetRestrict configuration.
___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


Re: [OpenAFS] Debian install problem: ptserver won't start

2005-04-20 Thread Lars Schimmer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Scott Fritzinger schrieb:
| All,
|
| I'm having a "bang your head against a wall" problem when installing
| OpenAFS on Debian from the Debian repository.
First - which one? I strongly suggest the experimental sources and version
1.3.81 of OpenAFS.
And to your problem - if the server is multihomed, try the netrestrict file, in
which all IPs are listed that OpenAFS shouldn't listen to. More info on the
www.openafs.org website documentation. In Debian that file should rest in
/etc/openafs/server-local/NetRestrict.
| Thank you for any help in advance!
|
| -Scott
Cya
Lars
- --
- -
Technische Universität Braunschweig, Institut für Computergraphik
Tel.: +49 531 391-2109E-Mail: [EMAIL PROTECTED]
PGP-Key-ID: 0xB87A0E03
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCZg5gVguzrLh6DgMRAutLAJ0cIAogT9qZpYd7ki51eA8YRY6uGACgxwns
PF4uTh8f/fWGkhnHfMxERbI=
=Hn2R
-END PGP SIGNATURE-
___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


Re: [OpenAFS] Debian install problem: ptserver won't start

2005-04-19 Thread Russ Allbery
Scott Fritzinger <[EMAIL PROTECTED]> writes:

> Now, that would have been good of me to include in the original email :-)

> Here are the contents of /var/log/openafs/PtLog:
>   ptserver: running unauthenticated
>   54689) Couldn't get server list

That smells like it can't find your CellServDB or like there's something
wrong with it.  Your local server CellServDB should be in the
/etc/openafs/server directory.

Since you're using the Debian packages, you may want to try using
afs-newcell rather than running the scripts by hand.  It tries to set up a
sane initial server configuration for you.

-- 
Russ Allbery ([EMAIL PROTECTED]) 
___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


Re: [OpenAFS] Debian install problem: ptserver won't start

2005-04-19 Thread Scott Fritzinger
Russ,
Now, that would have been good of me to include in the original email :-)
Here are the contents of /var/log/openafs/PtLog:
ptserver: running unauthenticated
54689) Couldn't get server list
I searched on that error message before, but couldn't see any other 
reports of this.

-Scott
Russ Allbery wrote:
Scott Fritzinger <[EMAIL PROTECTED]> writes:

This is where the error is. pts will hang, and come back with:
pts: server or network not responding ; unable to create user admin

Checking BosLog reveals:
Tue Apr 19 17:22:27 2005: Server directory access is okay
Tue Apr 19 17:22:58 2005: ptserver exited with code 2
Tue Apr 19 17:22:58 2005: ptserver exited with code 2
Tue Apr 19 17:22:58 2005: ptserver exited with code 2
Tue Apr 19 17:22:58 2005: ptserver exited with code 2
Tue Apr 19 17:22:58 2005: ptserver exited with code 2
Tue Apr 19 17:22:58 2005: ptserver exited with code 2
Tue Apr 19 17:22:58 2005: ptserver exited with code 2
Tue Apr 19 17:22:58 2005: ptserver exited with code 2
Tue Apr 19 17:22:58 2005: ptserver exited with code 2
Tue Apr 19 17:22:58 2005: ptserver exited with code 2
Tue Apr 19 17:22:58 2005: ptserver exited with code 2
Tue Apr 19 17:22:58 2005: ptserver exited with code 2
Tue Apr 19 17:22:58 2005: BNODE 'ptserver' repeatedly failed to start,
perhaps missing executable.
Tue Apr 19 17:22:58 2005: ptserver exited with code 2
Tue Apr 19 17:22:58 2005: BNODE 'ptserver' repeatedly failed to start,
perhaps missing executable.

Does PtLog say anything?
___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


Re: [OpenAFS] Debian install problem: ptserver won't start

2005-04-19 Thread Russ Allbery
Scott Fritzinger <[EMAIL PROTECTED]> writes:

> This is where the error is. pts will hang, and come back with:
>> pts: server or network not responding ; unable to create user admin

> Checking BosLog reveals:
> Tue Apr 19 17:22:27 2005: Server directory access is okay
> Tue Apr 19 17:22:58 2005: ptserver exited with code 2
> Tue Apr 19 17:22:58 2005: ptserver exited with code 2
> Tue Apr 19 17:22:58 2005: ptserver exited with code 2
> Tue Apr 19 17:22:58 2005: ptserver exited with code 2
> Tue Apr 19 17:22:58 2005: ptserver exited with code 2
> Tue Apr 19 17:22:58 2005: ptserver exited with code 2
> Tue Apr 19 17:22:58 2005: ptserver exited with code 2
> Tue Apr 19 17:22:58 2005: ptserver exited with code 2
> Tue Apr 19 17:22:58 2005: ptserver exited with code 2
> Tue Apr 19 17:22:58 2005: ptserver exited with code 2
> Tue Apr 19 17:22:58 2005: ptserver exited with code 2
> Tue Apr 19 17:22:58 2005: ptserver exited with code 2
> Tue Apr 19 17:22:58 2005: BNODE 'ptserver' repeatedly failed to start,
> perhaps missing executable.
> Tue Apr 19 17:22:58 2005: ptserver exited with code 2
> Tue Apr 19 17:22:58 2005: BNODE 'ptserver' repeatedly failed to start,
> perhaps missing executable.

Does PtLog say anything?

-- 
Russ Allbery ([EMAIL PROTECTED]) 
___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


[OpenAFS] Debian install problem: ptserver won't start

2005-04-19 Thread Scott Fritzinger
All,
I'm having a "bang your head against a wall" problem when installing
OpenAFS on Debian from the Debian repository.
I am installing it on a box with FQDN of 'server.domain.com' (changed,
of course). This box is a multi-homed machine; each ip address resolves
to the appropriate FQDN (more info on that at the bottom of this email)
First, I made sure that my hosts file is correct to avoid the loopback
device problem:
192.168.0.101   server.domain.com   server
The hostname is set to 'server'. Pinging 'server' results in a ping to
'server.domain.com (192.168.0.101)'
I am following the install instructions at
http://www.scode.org/afs/openafs-install.txt , step-by-step.
$ apt-get install krb5-admin-server krb5-doc krb5-kdc
- 'DOMAIN.COM' is the default realm.
- 'nopreauth' is the krb4 compatibility setting.
- 'server.domain.com' is the krb server
$ krb5_newrealm
- I type in the master key
$ kadmin.local -q "addprinc -randkey afs"
- Principal "[EMAIL PROTECTED]" is created
$ kadmin.local -q "ktadd -e des-cbc-crc:afs3 afs"
- kvno = 3, written to the keytab
$ apt-get install openafs-krb5 openafs-fileserver openafs-dbserver
- 'domain.com' is the cell name
- 5 is the AFS cache size
- don't auto-generate /afs contents
- 'server' is the DB server
- don't run client now or at boot
$ /etc/init.d/openafs-fileserver
(added: need to stop the bosserver run after installation)
$ asetkey add 3 /etc/krb5.keytab afs
$ bosserver -noauth &
- Verified that bosserver is running in process list
$ bos listhosts server -noauth
- Output:
Cell name is domain.com
bos: failed to get cell host 0 (could not find entry)
- The 2nd line worries me. Is that a problem?
$ bos create -server server -instance ptserver -type simple \
  -cmd /usr/lib/openafs/ptserver -cell domain.com -noauth
$ kadmin.local -q "addprinc admin"
- Output:
Principal "[EMAIL PROTECTED]" created
$ bos adduser server admin -cell domain.com -noauth
$ bos listkeys server -cell domain.com -noauth
- Output:
key 3 has cksum 893926614
Keys last changed on Tue Apr 19 17:18:45 2005.
All done.
$ pts createuser -name admin -cell domain.com -noauth
This is where the error is. pts will hang, and come back with:
pts: server or network not responding ; unable to create user admin
Checking BosLog reveals:
Tue Apr 19 17:22:27 2005: Server directory access is okay
Tue Apr 19 17:22:58 2005: ptserver exited with code 2
Tue Apr 19 17:22:58 2005: ptserver exited with code 2
Tue Apr 19 17:22:58 2005: ptserver exited with code 2
Tue Apr 19 17:22:58 2005: ptserver exited with code 2
Tue Apr 19 17:22:58 2005: ptserver exited with code 2
Tue Apr 19 17:22:58 2005: ptserver exited with code 2
Tue Apr 19 17:22:58 2005: ptserver exited with code 2
Tue Apr 19 17:22:58 2005: ptserver exited with code 2
Tue Apr 19 17:22:58 2005: ptserver exited with code 2
Tue Apr 19 17:22:58 2005: ptserver exited with code 2
Tue Apr 19 17:22:58 2005: ptserver exited with code 2
Tue Apr 19 17:22:58 2005: ptserver exited with code 2
Tue Apr 19 17:22:58 2005: BNODE 'ptserver' repeatedly failed to start,
perhaps missing executable.
Tue Apr 19 17:22:58 2005: ptserver exited with code 2
Tue Apr 19 17:22:58 2005: BNODE 'ptserver' repeatedly failed to start,
perhaps missing executable.
So, ptserver couldn't be run at all. In the guide I'm following, he
mentioned to make sure that 'hostname' matches the server that was used
during installation. It does match (hostname returns 'server'). He then
mentions that is will try to resolve it; ping will resolve it, and using
nslookup resolves it as well. As mentioned at the beginning, this is a
multi-homed machine, but DNS is set up appropriately:
$ nslookup server
[snip]
Name: server.domain.com
Address: 192.168.0.101
Any ideas? I just can't get ptserver to run and am unsure as to what
'code 2' means.
Thank you for any help in advance!
-Scott
___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info