Changes between Version 35 and Version 36 of Download/SCDB


Ignore:
Timestamp:
Nov 15, 2006, 6:49:45 PM (19 years ago)
Author:
/C=FR/O=CNRS/OU=UMR8607/CN=Michel Jouvin/emailAddress=jouvin@…
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Download/SCDB

    v35 v36  
    196196=== Installation of hook script and server script ===
    197197
    198 The hook script, `post-commit`, is provided as part of SCDB, in the `src/hooks` directory. It must be installed on your Subversion server, in the `hook` directory of the repository, and given executable permission for Apache user.
     198The hook script, `post-commit`, is provided as part of SCDB, in the `src/hooks` directory. It must be installed on your Subversion server, in the `hook` directory of the repository, and given executable permission for Apache user. In addition, this script must be edited and variables at the beginning of the script must be checked against local configuration. In particular, `NOTIFY` variable must be defined to a valid email address where to report errors during `post-commit` script.
    199199
    200200The other script, `build-tag.pl`, also provided as part of SCDB, in the `src/hooks` directory, must be installed (root executable) in `/root/quattor/scripts` on the Quattor server.
     
    261261}}}
    262262
     263
     264== Troubleshooting Initial Installation ==
     265
     266=== Deployment doesn't work ===
     267
     268If the profiles can be compiled successfully but noting happens when using `ant deploy`, it is necessary to check the hook script configuration and connexion between the Subversion server and the Quattor server. Normally, an error during `post-commit` hook script results in a mail sent to the address contained in hook script NOTIFY variable (be sure to have it edited to a valid address on your site). 
     269
     270In case there is no error reported by `ant` and no mail sent with the error, main things to check are :
     271
     272 * Check that Apache user has executable rights on hook script `post-commit`.
     273 * Check NOTIFY variable in hook script : should be a valid email address where to report errors.
     274 * Login as Apache user on the subversion server and check that you can successfully ssh into the Quattor server as root without password. If necessary, fixed ssh keys configuration.
     275 * Try to execute the command triggered by hook script via ssh. For this you need to indentify the last tag for templates. For example :
     276{{{
     277svn ls http://svn.example.org/Quattor/templates/tags
     278ssh -l root quattor_server /root/quattor/scripts/build-tag.pl template_tag
     279}}}