Hi all, see my following
and pls advice me

skt@debian:~$ su
Password:
debian:/home/skt# mkdir /usr/local/repository
debian:/home/skt# svnadmin create /usr/local/repository
debian:/home/skt# touch /etc/init.d/svnserve
debian:/home/skt# chmod 777 /etc/init.d/svnserve
debian:/home/skt# vi /etc/init.d/svnserve

I write this script within svnserve file
------------------------------------------
#! /bin/sh
PATH=/sbin:/bin:/usr/sbin:/usr/bin
DAEMON=/usr/bin/svnserve
NAME=svnserve
DESC="SVN Repository Server Daemon"
test -x $DAEMON || exit 0
OPTIONS="-d -r /cvs/usr/local/repository"
# Get lsb functions
#. /lib/lsb/init-functions
. /etc/default/rcS
start() {
echo "Starting $DESC... "
# echo "Starting $DESC: "
if ! start-stop-daemon --start --quiet --oknodo --exec $DAEMON -- $OPTIONS
>/dev/null 2>&1; then
status=$?
echo $status
return $status
fi
log_end_msg 0
return 0
}
case "$1" in
start)
start
;;
stop)
echo "Stopping $DESC: "
start-stop-daemon --stop --quiet --oknodo --exec $DAEMON
echo $?
;;
restart|force-reload)
$0 stop
sleep 1
start
#echo "$NAME."
;;
*)
N=/etc/init.d/$NAME
echo "Usage: $N {start|stop|restart|force-reload}" >&2
exit 1
;;
esac
exit 0
------------------------------------------

debian:/home/skt# chmod 755 /etc/init.d/svnserve
debian:/home/skt# update-rc.d svnserve defaults
Adding system startup for /etc/init.d/svnserve ...
/etc/rc0.d/K20svnserve -> ../init.d/svnserve
/etc/rc1.d/K20svnserve -> ../init.d/svnserve
/etc/rc6.d/K20svnserve -> ../init.d/svnserve
/etc/rc2.d/S20svnserve -> ../init.d/svnserve
/etc/rc3.d/S20svnserve -> ../init.d/svnserve
/etc/rc4.d/S20svnserve -> ../init.d/svnserve
/etc/rc5.d/S20svnserve -> ../init.d/svnserve


debian:/home/skt# /etc/init.d/svnserve start
Starting SVN Repository Server Daemon...
0

debian:/home/skt# a2enmod dav
Module dav installed; run /etc/init.d/apache2 force-reload to enable.

debian:/home/skt# a2enmod dav_svn
This module is already enabled!

debian:/home/skt# htpasswd -c /etc/apache2/dav_svn.passwd kyitoe
New password:
Re-type new password:
Adding password for user kyitoe

debian:/home/skt# htpasswd /etc/apache2/dav_svn.passwd wintoe
New password:
Re-type new password:
Adding password for user wintoe

debian:/home/skt# vi /etc/apache2/mods-available/dav_svn.conf

write the following script

<Location /usr/local/repository>
DAV svn
SVNPath /var/svn/usr/local/repository
AuthType Basic
AuthName "Subversion Repository"
AuthUserFile /etc/apache2/dav_svn.passwd
Require kyitoe
Require wintoe
</location>


debian:/home/skt# /etc/init.d/apache2 restart
Forcing reload of web server (apache2)...apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
.


debian:/home/skt# svn co http://localhost/usr/local/repository
Authentication realm: <http://localhost:80> Subversion Repository
Password for 'root':
Authentication realm: <http://localhost:80> Subversion Repository
Username: kyitoe
Password for 'kyitoe':
Authentication realm: <http://localhost:80> Subversion Repository
Username: wintoe
Password for 'wintoe':
svn: PROPFIND request failed on '/usr/local/repository'
svn: PROPFIND of '/usr/local/repository': authorization failed (cPanel)
debian:/home/skt#


Now I face the problem “apache restart” and “check out”