Dear All,
Thank you all for your help - I finally managed to make the migration from a Windows server to an Ubuntu one. Everything is running fine and the SQL database is good.
The only problem I am left with is no emails are going out. This is especially problematic for self-registration. The smtp settings are exactly the same as the Windows server, but nothing is going.
Are there some permissions that I have to change on the Ubuntu server?
Any help would be greatly appreciated.
Thanks in advance,
Mike
First do this:
then this:
you should have an answer like this:
This will show you if you have the service running (note the line that says "
If it's no opened:
If it's says that is already installed then do:
Also check that you have cron configured, you should have a line in the cron like this (note: configure cron as root):
There's some documentation in moodle about cron, you should read it.
I hope this helps.
sudo apt-get install nmap
then this:
nmap localhost
you should have an answer like this:
Starting Nmap 4.53 ( http://insecure.org ) at 2009-01-30 11:06 CET
Interesting ports on localhost (127.0.0.1):
Not shown: 1706 closed ports
PORT STATE SERVICE
22/tcp open ssh
25/tcp open smtp
80/tcp open http
587/tcp open submission
3306/tcp open mysql
8009/tcp open ajp13
8080/tcp open http-proxy
8443/tcp open https-alt
Nmap done: 1 IP address (1 host up) scanned in 0.238 seconds
This will show you if you have the service running (note the line that says "
25/tcp open smtp
".If it's no opened:
sudo apt-get install sendmail
If it's says that is already installed then do:
sudo dpkg-reconfigure sendmail
Also check that you have cron configured, you should have a line in the cron like this (note: configure cron as root):
*/5 * * * * php /var/www/moodle/admin/cron.php >>/var/log/moodle.log
There's some documentation in moodle about cron, you should read it.
I hope this helps.
Thanks so much!
Hi Mark
Good to hear you got it working.
Good to hear you got it working.