(Illustration by Gaich Muramatsu)
I exported codaconf path on venus box and made change below on vice-setup and everything went o.k. with no errors when I did a vice-setup on scm, created root volume and a vice setup which seemed to have mounted root volume. Now when I want to create another replicating volume I get errors similar to before, this is output of command with and without sh +x I cant understand why its not working, am I suppossed to define new volume name first in db somewhere prior to creatvol_rep command ? see below:- [root_at_mezzo1 0]# createvol_rep codaroot2 E0000104 V_BindToServer: binding to host mezzo1 VolDumpVRDB failed with Unknown RPC2 return code 200 Failed to dump the current VRDB into /vice/db/VRList.new [root_at_mezzo1 0]# sh -x createvol_rep codaroot2 E0000104 + PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6 /bin:/root/bin:/usr/local/sbin + export PATH + prefix=/usr/local + vicedir= ++ codaconfedit server.conf + . /usr/local/etc/coda/server.conf ++ numservers=1 ++ vicedir=/vice ++ rvm_log=/vice/logpart ++ rvm_data=/vice/datapart ++ rvm_data_length=46137344 ++ rvmtruncate=5 ++ trace=100 + '[' x/vice = x ']' + '[' '!' -f /vice/hostname -o '!' -f /vice/db/scm ']' ++ cat /vice/hostname ++ cat /vice/db/scm + '[' mezzo1 '!=' mezzo1 ']' + '[' 2 -lt 2 -o 2 -gt 4 ']' + SERVERS= + NSERVERS=0 + MAXSERVERS=8 + VOLNAME=codaroot2 + VSGADDR=E0000104 + PARTITION= + '[' '!' -f /vice/db/VRList -a -f /vice/vol/VRList ']' + touch /vice/db/VRList + '[' '!' -f /vice/vol/BigVolumeList ']' ++ awk ' $1 ~ /^[WRB]codaroot2$/ {print $1}' /vice/vol/BigVolumeList + '[' xcodaroot2 = x ']' ++ awk ' $1 ~ /^[WRB]codaroot2\.[0-7]$/ {print $1}' /vice/vol/BigVolumeList + '[' xcodaroot2 = x ']' ++ cat /vice/db/scm + volutil -h mezzo1 dumpvrdb /vice/db/VRList.new V_BindToServer: binding to host mezzo1 VolDumpVRDB failed with Unknown RPC2 return code 200 + '[' 255 -ne 0 ']' + echo 'Failed to dump the current VRDB into /vice/db/VRList.new' Failed to dump the current VRDB into /vice/db/VRList.new + exit 1 Thanks. ----- Original Message ----- From: "Jan Harkes" <jaharkes_at_cs.cmu.edu> To: <codalist_at_coda.cs.cmu.edu> Sent: Tuesday, March 05, 2002 4:51 PM Subject: Re: creating rep_volumes without success > On Tue, Mar 05, 2002 at 03:59:14PM -0000, Mohamed Alwakeel wrote: > > while vice server running but that generated strange error messaga:- > > /usr/local/sbin/createvol_rep: ELF: command not found > > I already know where this one comes from, > > somewhere at the top of createvol_rep make the following change, > > - . codaconfedit server.conf > + . `codaconfedit server.conf` > > > V_BindToServer: binding to host mezzo1 > > VolDumpVRDB failed with Unknown RPC2 return code 200 > > Failed to dump the current VRDB into /vice/db/VRList.new > > I'm guessing that considering you have this problem, the same problem > happened during setup both vice-setup and vice-setup-rvm contain similar > problems, at least $conf needs to be replaced with server.conf in > several places. You actualy caught those and missed this? > > > Buy the way I had hostname DNS problems when I first started up vice so put > > alias to mezzo1 as mezzo1.domain.con in hosts file on client and server > > machines and that worked o.k. on client and server box. > > Is mezzo1.domain.con(sic) by any chance aliased to 127.0.0.1? Are there > any 0's in parts of your ip-addresses (eg. 10.0.0.1). > > Jan > >Received on 2002-03-07 10:44:18