[bug-notifications] [ap2_subversion 0004490]: Upgrading to 1.6.11, REV=2010.05.27 breaks webdav folders

Mantis Bug Tracker noreply at opencsw.org
Mon Jul 19 16:40:01 CEST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://www.opencsw.org/mantis/view.php?id=4490 
====================================================================== 
Reported By:                schwindt
Assigned To:                
====================================================================== 
Project:                    ap2_subversion
Issue ID:                   4490
Category:                   regular use
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2010-07-15 21:26 CEST
Last Modified:              2010-07-19 16:40 CEST
====================================================================== 
Summary:                    Upgrading to 1.6.11,REV=2010.05.27 breaks webdav
folders
Description: 
uploads no longer are possible.

The main problem seems to be bdb48, as apr-util still uses bdb47
the DavLockDB is no longer useable/createable and as a result
the uploads fail.
====================================================================== 

---------------------------------------------------------------------- 
 (0008123) schwindt (developer) - 2010-07-19 16:40
 https://www.opencsw.org/mantis/view.php?id=4490#c8123 
---------------------------------------------------------------------- 
I too a virtual machine and gave them a try :

CSWap2svn - dependencie error should depen on apache2 :
## Executing postinstall script.
Can't open /opt/csw/apache2/etc/httpd.conf: No such file or directory.
apxs:Error: /opt/csw/apache2/sbin/httpd not found or not executable

deinstalled and installed apache2 off testing, retried install of ap2svn:

## Executing postinstall script.
apxs:Error: /opt/csw/apache2/sbin/httpd not found or not executable.

apache2 pkg did not hardlink httpd.prefork to httpd

Took a peek at :
ll /opt/csw/apache2/lib/apr-util-1/
total 153
drwxr-xr-x   2 root     bin           10 Jul 19 16:11 .
drwxr-xr-x   4 root     bin           17 Jul 19 16:11 ..
-rwxr-xr-x   1 root     bin        17144 May 16 17:48
apr_dbd_sqlite3-1.so
-rw-r--r--   1 root     bin        13680 May 16 17:48 apr_dbd_sqlite3.a
-rwxr-xr-x   1 root     bin         1019 May 16 17:48 apr_dbd_sqlite3.la
lrwxrwxrwx   1 root     root          20 Jul 19 16:08 apr_dbd_sqlite3.so
-> apr_dbd_sqlite3-1.so
-rwxr-xr-x   1 root     bin        18572 May 16 17:48 apr_ldap-1.so
-rw-r--r--   1 root     bin        18068 May 16 17:48 apr_ldap.a
-rwxr-xr-x   1 root     bin         1128 May 16 17:48 apr_ldap.la
lrwxrwxrwx   1 root     root          13 Jul 19 16:08 apr_ldap.so ->
apr_ldap-1.so

bdb bindings missing -> subversion will not work - but tried it anyway :

cadaver http://gast-1519/uploads
Authentication required for DAV-upload on server `gast-1519':
Username: admin
Password: 
Could not access /uploads/ (not WebDAV-enabled?):
Could not read status line: connection was closed by server
Connection to `gast-1519' closed.

results in : 
tail  error_log
....
[Mon Jul 19 16:23:23 2010] [notice] Apache/2.2.15 (Unix) mod_ssl/2.2.15
OpenSSL/0.9.8n SVN/1.6.12 DAV/2 configured -- resuming normal operations
[Mon Jul 19 16:23:27 2010] [notice] child pid 12232 exit signal
Segmentation fault (11)
[Mon Jul 19 16:23:27 2010] [notice] child pid 12231 exit signal
Segmentation fault (11)

And yes I honored the default config :
 ll -d /opt/csw/apache2/var/DavLock
drwxr-xr-x   2 daemon   daemon         2 Jul 19 16:31
/opt/csw/apache2/var/DavLock

ll -d /opt/csw/apache2/uploads
drwxrwxrwx   2 daemon   daemon         2 Jul 19 16:18
/opt/csw/apache2/uploads

ll -d /opt/csw/apache2/user.passwd
-rw-r--r--   1 root     root          20 Jul 19 16:18
/opt/csw/apache2/user.passwd


truss shows : 
12261:  open("/opt/csw/apache2/user.passwd", O_RDONLY|O_LARGEFILE) = 13
12261:  fcntl(13, F_GETFD, 0x000001B6)                  = 0
12261:  fcntl(13, F_SETFD, 0x00000001)                  = 0
12261:  fstat64(13, 0x08045760)                         = 0
12261:  read(13, " a d m i n : 5 C B t E z".., 4096)    = 20
12261:  close(13)                                       = 0
12261:  brk(0x081E5D20)                                 = 0
12261:  brk(0x081E7D20)                                 = 0
12261:  stat64("/opt/csw/apache2/lib/apr_dbm_db-1.so", 0x08046680) Err#2
ENOENT
12261:  stat64("/opt/csw/apache2/lib/apr-util-1/apr_dbm_db-1.so",
0x08046680) Err#2 ENOENT
12261:  stat64("/opt/csw/apache2/lib/apr-util-1/apr_dbm_db-1.so",
0x08046680) Err#2 ENOENT
12261:      Incurred fault https://www.opencsw.org/mantis/view.php?id=6,
FLTBOUNDS  %pc = 0xFEF6D480
12261:        siginfo: SIGSEGV SEGV_MAPERR addr=0x0000000C
12261:      Received signal https://www.opencsw.org/mantis/view.php?id=11,
SIGSEGV [caught]
12261:        siginfo: SIGSEGV SEGV_MAPERR addr=0x0000000C
12261:  lwp_sigmask(SIG_SETMASK, 0x00000400, 0x00000000) = 0xFFBFFEFF
[0x0000FFFF]
12261:  chdir("/opt/csw/apache2")                       = 0
12261:  sigaction(SIGSEGV, 0x08047110, 0x08047180)      = 0



More information about the bug-notifications mailing list