Hi All,
I just installed CS on a fresh EC2 server and wanted to share a few hints.
The procedure in ChatScript-Amazon-Server manual work well.
I didn’t compile from CS src, thus I didn’t have to install “Development Tools”. Same for Curl.
I didn’t install Apache PHP etc. It’s easier for me to have some PHP on another server.
1/ Instead of copying CS with winSCP, you may download it directly:
wget https://netix.dl.sourceforge.net/project/chatscript/ChatScript-6.91.zip
unzip ChatScript-6.91.zip
2/ Cron:
crontab LINUX/jobs.cron
didn’t work well.
file jobs.cron
says:
jobs.cron: ASCII text, with CRLF line terminators
see http://www.sudosu.in/2012/08/crontab-failure-emails-binsh-1.html
Thus this is what I did:
strings /var/spool/cron/ec2-user > /var/spool/cron/ec2-user.tmp
mv /var/spool/cron/ec2-user.tmp /var/spool/cron/ec2-user
file /var/spool/cron/ec2-user
and cron works perfectly now.