"Korte, Michael Johannes" <michael.ko...@zeiss.com> writes:
> Warnung: Failed to start '/var/subversion/repos17/sbox/hooks/post-commit' hook > > It seems that the hook script can not be executed, when it is started > via apache server, if it has execute permission and owner www-data. > > Is there any possibility to specify that apache can execute a script? I believe the "Failed to start" message means that Apache is failing to fork a child process and is not getting as far as attempting to run the hook script. One possibility is this memory problem: http://mail-archives.apache.org/mod_mbox/subversion-dev/201211.mbox/%3c87bof1nqcn....@ntlworld.com%3E in which case the solution is to allocate some swap or reduce the cache size. Run "strace -f -p <NNN>" on the apache process and look for the clone() and execve() calls. That will confirm whether or not apache is forking and attempting to run the hook. -- Philip Martin | Subversion Committer WANdisco // *Non-Stop Data*