[OpenAFS] AFS error
Simone Sestini
simone.sestini@plugit.net
Mon, 09 Dec 2002 12:33:45 +0100
--=====================_1644407693==.ALT
Content-Type: text/plain; charset="us-ascii"; format=flowed
Hi folks..
I was creating a new AFS server.
When i was doing "Configuring the Top Levels of the AFS Filespace" i shoudl
lunch some commands like:
/usr/bin/fs setacl /afs system:anyuser rl
/usr/sbin/vos create afs-1.plugit.net /vicepa root.cell
/usr/bin/fs mkmount /afs/afs-1.plugit.net root.cell
/usr/bin/fs setacl /afs/afs-1.plugit.net system:anyuser rl
and so on....
When i lunch the first i receive that error..
[root@afs-1 /]# /usr/bin/fs setacl /afs system:anyuser rl
fs: You don't have the required access rights on '/afs'
How can i FIX ?
Here some infos of my server.
[root@afs-1 /]# ps axf
PID TTY STAT TIME COMMAND
1 ? S 0:04 init [3]
2 ? SW 0:00 [keventd]
845 ? SW 0:00 \_ [afs_rxlistener]
846 ? SW 0:00 \_ [afs_callback]
853 ? SW 0:00 \_ [afs_rxevent]
854 ? SW 0:00 \_ [afsd]
855 ? SW 0:00 \_ [afs_checkserver]
856 ? SW 0:00 \_ [afs_background]
857 ? SW 0:00 \_ [afs_background]
858 ? SW 0:00 \_ [afs_background]
860 ? SW 0:00 \_ [afs_background]
861 ? SW 0:00 \_ [afs_background]
863 ? SW 0:00 \_ [afs_cachetrim]
3 ? SW 0:00 [kapmd]
4 ? SWN 0:00 [ksoftirqd_CPU0]
5 ? SW 0:00 [kswapd]
6 ? SW 0:00 [bdflush]
7 ? SW 0:00 [kupdated]
8 ? SW 0:00 [mdrecoveryd]
14 ? SW 0:00 [scsi_eh_0]
17 ? SW 0:00 [kjournald]
113 ? SW 0:00 [kreiserfsd]
152 ? SW 0:00 [knodemgrd]
398 ? S 0:00 syslogd -m 0
402 ? S 0:00 klogd -x
419 ? S 0:00 portmap
438 ? S 0:00 rpc.statd
518 ? S 0:00 /usr/sbin/apmd -p 10 -w 5 -W -P
/etc/sysconfig/apm-scripts/apmscript
556 ? S 0:00 /usr/sbin/sshd
713 ? S 0:00 \_ /usr/sbin/sshd
715 pts/0 S 0:00 \_ -bash
870 pts/0 R 0:00 \_ ps axf
570 ? S 0:00 xinetd -stayalive -reuse -pidfile
/var/run/xinetd.pid
650 ? S 0:00 sendmail: accepting connections
660 ? S 0:00 sendmail: Queue runner@01:00:00 for
/var/spool/clientmqueue
674 ? S 0:00 crond
696 ? S 0:00 /usr/sbin/atd
705 tty1 S 0:00 /sbin/mingetty tty1
706 tty2 S 0:00 /sbin/mingetty tty2
707 tty3 S 0:00 /sbin/mingetty tty3
708 tty4 S 0:00 /sbin/mingetty tty4
709 tty5 S 0:00 /sbin/mingetty tty5
710 tty6 S 0:00 /sbin/mingetty tty6
800 ? S 0:00 /usr/afs/bin/bosserver -noauth
802 ? S 0:00 \_ /usr/afs/bin/kaserver
803 ? S 0:00 \_ /usr/afs/bin/buserver
805 ? S 0:00 \_ /usr/afs/bin/ptserver
806 ? S 0:00 \_ /usr/afs/bin/vlserver
807 ? S< 0:00 \_ /usr/afs/bin/fileserver
808 ? S 0:00 \_ /usr/afs/bin/volserver
809 ? S 0:00 \_ /usr/afs/bin/upserver -crypt /usr/afs/etc
-clear /usr/afs/bin
[root@afs-1 /]# lsmod
Module Size Used by Tainted: PF
libafs-2.4.18-17.8.0-athlon 478352 2
autofs 13348 0 (autoclean) (unused)
tg3 46696 1
iptable_filter 2412 0 (autoclean) (unused)
ip_tables 14840 1 [iptable_filter]
ohci1394 20076 0 (unused)
ieee1394 46988 0 [ohci1394]
reiserfs 199664 1 (autoclean)
ext3 70400 1
jbd 52212 1 [ext3]
3w-xxxx 33216 4
sd_mod 13552 8
scsi_mod 107144 2 [3w-xxxx sd_mod]
[root@afs-1 /]# df
Filesystem blocchi di 1K Usati Disponib. Uso% Montato su
/dev/sda2 20161204 702052 18435012 4% /
none 256976 0 256976 0% /dev/shm
/dev/sda5 60476036 5192 57398816 1% /usr/vice/cache
/dev/sda6 563189544 32852 563156692 1% /vicepa
AFS 9000000 0 9000000 0% /afs
[root@afs-1 /]# fs checkservers
All servers are running.
[root@afs-1 /]#
Please help :)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Simone Sestini [ SS971-RIPE ]
Plug IT s.p.a. - Technical Office
Via Galileo Ferraris 216
52100 Arezzo
Titles:
System and Network Administrator
Data Transmission Manager
Fax +39 199 440088
E-mail simone.sestini@plugit.net
Web http://www.plugit.it
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
--=====================_1644407693==.ALT
Content-Type: text/html; charset="us-ascii"
<html>
<body>
Hi folks..<br><br>
I was creating a new AFS server.<br><br>
When i was doing "<a name="hdrwq80"></a>Configuring the Top Levels
of the AFS <a name="hdrwq80"></a>Filespace" i shoudl lunch some
commands like:<br><br>
/usr/bin/fs setacl /afs system:anyuser rl<br><br>
/usr/sbin/vos create afs-1.plugit.net /vicepa root.cell <br>
/usr/bin/fs mkmount /afs/afs-1.plugit.net root.cell<br>
/usr/bin/fs setacl /afs/afs-1.plugit.net system:anyuser
rl<br><br>
and so on....<br><br>
When i lunch the first i receive that error..<br><br>
[root@afs-1 /]# /usr/bin/fs setacl /afs system:anyuser rl<br>
fs: You don't have the required access rights on '/afs'<br><br>
How can i FIX ?<br><br>
Here some infos of my server.<br><br>
[root@afs-1 /]# ps axf<br>
PID TTY STAT TIME
COMMAND<br>
1 ?
S 0:04 init [3] <br>
2 ?
SW 0:00 [keventd]<br>
845 ?
SW 0:00 \_ [afs_rxlistener]<br>
846 ?
SW 0:00 \_ [afs_callback]<br>
853 ?
SW 0:00 \_ [afs_rxevent]<br>
854 ?
SW 0:00 \_ [afsd]<br>
855 ?
SW 0:00 \_ [afs_checkserver]<br>
856 ?
SW 0:00 \_ [afs_background]<br>
857 ?
SW 0:00 \_ [afs_background]<br>
858 ?
SW 0:00 \_ [afs_background]<br>
860 ?
SW 0:00 \_ [afs_background]<br>
861 ?
SW 0:00 \_ [afs_background]<br>
863 ?
SW 0:00 \_ [afs_cachetrim]<br>
3 ?
SW 0:00 [kapmd]<br>
4 ?
SWN 0:00 [ksoftirqd_CPU0]<br>
5 ?
SW 0:00 [kswapd]<br>
6 ?
SW 0:00 [bdflush]<br>
7 ?
SW 0:00 [kupdated]<br>
8 ?
SW 0:00 [mdrecoveryd]<br>
14 ?
SW 0:00 [scsi_eh_0]<br>
17 ?
SW 0:00 [kjournald]<br>
113 ?
SW 0:00 [kreiserfsd]<br>
152 ?
SW 0:00 [knodemgrd]<br>
398 ?
S 0:00 syslogd -m 0<br>
402 ?
S 0:00 klogd -x<br>
419 ?
S 0:00 portmap<br>
438 ?
S 0:00 rpc.statd<br>
518 ?
S 0:00 /usr/sbin/apmd -p 10 -w 5 -W -P
/etc/sysconfig/apm-scripts/apmscript<br>
556 ?
S 0:00 /usr/sbin/sshd<br>
713 ?
S 0:00 \_ /usr/sbin/sshd<br>
715 pts/0 S
0:00 \_ -bash<br>
870 pts/0 R
0:00 \_ ps
axf<br>
570 ?
S 0:00 xinetd -stayalive -reuse -pidfile
/var/run/xinetd.pid<br>
650 ?
S 0:00 sendmail: accepting
connections<br>
660 ?
S 0:00 sendmail: Queue runner@01:00:00 for
/var/spool/clientmqueue<br>
674 ?
S 0:00 crond<br>
696 ?
S 0:00 /usr/sbin/atd<br>
705 tty1 S
0:00 /sbin/mingetty tty1<br>
706 tty2 S
0:00 /sbin/mingetty tty2<br>
707 tty3 S
0:00 /sbin/mingetty tty3<br>
708 tty4 S
0:00 /sbin/mingetty tty4<br>
709 tty5 S
0:00 /sbin/mingetty tty5<br>
710 tty6 S
0:00 /sbin/mingetty tty6<br>
800 ?
S 0:00 /usr/afs/bin/bosserver -noauth<br>
802 ?
S 0:00 \_ /usr/afs/bin/kaserver<br>
803 ?
S 0:00 \_ /usr/afs/bin/buserver<br>
805 ?
S 0:00 \_ /usr/afs/bin/ptserver<br>
806 ?
S 0:00 \_ /usr/afs/bin/vlserver<br>
807 ?
S< 0:00 \_ /usr/afs/bin/fileserver<br>
808 ?
S 0:00 \_
/usr/afs/bin/volserver<br>
809 ?
S 0:00 \_ /usr/afs/bin/upserver
-crypt /usr/afs/etc -clear /usr/afs/bin<br><br>
<br>
[root@afs-1 /]# lsmod<br>
Module
Size Used by Tainted: PF <br>
libafs-2.4.18-17.8.0-athlon 478352 2 <br>
autofs
13348 0 (autoclean) (unused)<br>
tg3
46696 1 <br>
iptable_filter
2412 0 (autoclean) (unused)<br>
ip_tables
14840 1 [iptable_filter]<br>
ohci1394
20076 0 (unused)<br>
ieee1394
46988 0 [ohci1394]<br>
reiserfs
199664 1 (autoclean)<br>
ext3
70400 1 <br>
jbd
52212 1 [ext3]<br>
3w-xxxx
33216 4 <br>
sd_mod
13552 8 <br>
scsi_mod
107144 2 [3w-xxxx sd_mod]<br><br>
[root@afs-1 /]# df<br>
Filesystem blocchi
di 1K Usati Disponib. Uso% Montato su<br>
/dev/sda2
20161204 702052 18435012 4% /<br>
none
256976
0 256976 0% /dev/shm<br>
/dev/sda5
60476036 5192 57398816 1%
/usr/vice/cache<br>
/dev/sda6
563189544 32852 563156692 1%
/vicepa<br>
AFS
9000000 0
9000000 0% /afs<br><br>
[root@afs-1 /]# fs checkservers<br>
All servers are running.<br>
[root@afs-1 /]# <br><br>
<br>
Please help :)<br><br>
<br>
<x-sigsep><p></x-sigsep>
<font face="Verdana">::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::<br><br>
</font><font face="Verdana" color="#FF0000"><b>Simone Sestini
</font><font face="Verdana" size=2 color="#FF0000">[ SS971-RIPE
]<br><br>
</b></font>Plug IT s.p.a. - Technical Office<br>
Via Galileo Ferraris 216<br>
52100 Arezzo<br><br>
<tt><font face="Courier New, Courier" color="#0000FF">Titles:<br>
System and Network Administrator<br>
Data Transmission Manager<br><br>
</font></tt><font color="#0000FF">Fax<x-tab> </x-tab><x-tab> </x-tab>+39
199 440088<br>
E-mail<x-tab> </x-tab><x-tab> </x-tab>simone.sestini@plugit.net<br>
Web<x-tab> </x-tab><x-tab> </x-tab><a href="http://www.plugit.it/" eudora="autourl">http://www.plugit.it</a><br><br>
</font><font face="Verdana"><u>::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
<br>
</font></u></body>
</html>
--=====================_1644407693==.ALT--