Package: openafs-dbserver
Version: 1.3.81-3sarge1
Severity: important

The problem I'm experiencing is similar to #325929 and is mentioned at
https://lists.openafs.org/pipermail/openafs-info/2005-May/017787.html.

Basically, the afs-newcell script is not putting the IP address of the
server being configured into the /etc/openafs/server/CellServDB file.
When I modify that file manually, and comment out line 125 of the
afs-newcell script I get much farther along.

  run( "echo \\>$cell >/etc/openafs/server/CellServDB");

Output when afs-newcell puts bad info in the CellServDB file:

  Do you meet these requirements? [y/n] y
  If the fileserver is not running, this may hang for 30 seconds.
  /etc/init.d/openafs-fileserver stop
  Stopping AFS Server: bosserver.
  What administrative principal should be used? js1
  echo \>chbe.bogus >/etc/openafs/server/CellServDB
  /etc/init.d/openafs-fileserver start
  Starting AFS Server: bosserver.
  bos addhost fs1.chbe.bogus fs1.chbe.bogus -localauth ||true
  bos: could not find entry (can't find cell '<default>' in cell database)
  bos adduser fs1.chbe.bogus js1 -localauth
  bos: could not find entry (can't find cell '<default>' in cell database)
  Failed: 256
  bos: could not find entry (can't find cell '<default>' in cell database)

Output when line 125 is commented out:

  Do you meet these requirements? [y/n] y
  If the fileserver is not running, this may hang for 30 seconds.
  /etc/init.d/openafs-fileserver stop
  Stopping AFS Server: bosserver.
  What administrative principal should be used? js1
  /etc/init.d/openafs-fileserver start
  Starting AFS Server: bosserver.
  bos addhost fs1.chbe.bogus fs1.chbe.bogus -localauth ||true
  bos adduser fs1.chbe.bogus js1 -localauth
  pt_util: /var/lib/openafs/db/prdb.DB0: Bad UBIK_MAGIC. Is 0 should be
  354545
  Ubik Version is: 2.0
  Error while creating system:administrators: Entry for id already exists
  pt_util: Ubik Version number changed during execution.
  Old Version = 2.0, new version = 33554432.0
  bos create fs1.chbe.bogus ptserver simple /usr/lib/openafs/ptserver -localauth
  bos create fs1.chbe.bogus vlserver simple /usr/lib/openafs/vlserver -localauth
  bos create fs1.chbe.bogus fs fs -cmd /usr/lib/openafs/fileserver -cmd 
/usr/lib/openafs/volserver -cmd /usr/lib/openafs/salvager -localauth
  Waiting for database elections: done.
  vos create fs1.chbe.bogus a root.afs -localauth
  Volume 536870912 created on partition /vicepa of fs1.chbe.bogus
  echo chbe.bogus >/etc/openafs/ThisCell
  /etc/init.d/openafs-client force-start
  Starting AFS services: afsd: All AFS daemons started.
  afsd: Can't mount AFS on /afs(2)
   afsd.
  *** The AFS client failed to start.
  Please fix whatever problem kept it from running.
  bos shutdown fs1.chbe.bogus -localauth 
  bos delete fs1.chbe.bogus fs -localauth 
  bos delete fs1.chbe.bogus vlserver -localauth
  bos delete fs1.chbe.bogus ptserver -localauth
  rm /var/lib/openafs/db/prdb* 
  bos removeuser fs1.chbe.bogus js1 -localauth
  

-- System Information:
Debian Release: sarge
  APT prefers sarge
Architecture: i386
Kernel: Linux 2.6.8-2-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages openafs-dbserver depends on:
ii  debconf                       1.4.30.13                   Debian 
configuration management system
ii  libc6                         2.3.2.ds1-22                GNU C Library: 
Shared libraries and Timezone data
ii  openafs-client                1.3.81-3sarge1              The AFS 
distributed filesystem- client support
ii  openafs-dbserver              1.3.81-3sarge1              The AFS 
distributed filesystem- database server
ii  perl                          5.8.4-8                     Larry Wall's 
Practical Extraction and Report Language


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to