A new Berkeley-db-based SVN repository was created by:
svnadmin create /var/svnroot/repo/common_lib
When trying to access it from http, a error was thrown complaining that the SVN file system can't be read.
Looking at the httpd log /var/log/httpd/error_log:
svn error: Internal error: Berkeley DB error for filesystem while opening environment
Actually this is caused by Linux FS privilidges. Run the following two commands:
find /var/lib/svn/repository -type f -exec chmod 660 {} \;
find /var/lib/svn/repository -type d -exec chmod 2770 {} \;