This is very strange, which was the first thing I ran.
root@server [/usr/local/sphinx/cron]# which php
/usr/local/bin/php
root@server [/usr/local/sphinx/cron]# head ../etc/vbulletin-sphinx.php
Code:
#!/usr/local/bin/php
<?php
/*
Set $myforumroot to the absolute path to your forum directory.
Example:
$myforumroot = '/home/username/public_html';
*/
$myforumroot = '/home/USERNAME/public_html'; //<-- changed this one
--------------- Added [DATE]1275091134[/DATE] at [TIME]1275091134[/TIME] ---------------
More craziness, if I change it to "/usr/bin/php" - I get the following...
root@server [/usr/local/sphinx/cron]# ./delta_norotate.sh
using config file '/usr/local/sphinx/etc/vbulletin-sphinx.php'...
ERROR: invalid section type 'X-Powered-By' in /usr/local/sphinx/etc/vbulletin-sphinx.php line 1 col 13.
ERROR: invalid section type 'X-Powered-By' in /usr/local/sphinx/etc/vbulletin-sphinx.php line 1 col 1.
FATAL: failed to parse config file '/usr/local/sphinx/etc/vbulletin-sphinx.php'.
Sphinx 0.9.8-id64-release (r1371)
Copyright (c) 2001-2008, Andrew Aksyonoff