Forum configuration under red hat Linux

Forum configuration under red hat Linux

Shaan p發表於
Number of replies: 8

Hai All,

               Can any one please tell me about the steps that have to be followed in configuring for forums . I'm using moodle-1.4.4 and http server2.0.53 and php-5.0.3 .

評比平均分數: -
In reply to Shaan p

Re: Forum configuration under red hat Linux

Shaan p發表於

I'm not getting any mails from the forum . Any one pls help in this regard .

Thanks in Advance !

In reply to Shaan p

Re: Forum configuration under red hat Linux

Jan Dierckx發表於
  1. The forum module only sends mail after the editing period (30 ' by default) has expired. Are you sure that is the case?
  2. The mails are sent when the page http://yourserver/moodle/admin/cron.php is called.
    For starters, you can call it manually: just type in the URL in your browser. Now check if emails have been sent. If not, then you might copy the messages that are displayed by the cron script here.
  3. If emails have been sent, then all that's left to be done is configure a cron job which visits this page automatically, say every 5 minutes. A more thorough explananation about this is in the Moodle installation document. If you run into problems during this third setup, it might be good to copy the exact command you entered after issueing crontab -e
In reply to Shaan p

Re: Forum configuration under red hat Linux

Bill Burgos發表於
Hi Shaan,

A couple of things you might want to check:

  1. Is the cron job set and working? You can check this by going to the admin page. It will tell if the cron job has been set or not.
  2. Have you kept the settings for smtp as blank in the Administration » Configuration » Variables » smtphosts:
This default works in most installations.

Most problems arise from two points:
  1. not setting the crontab entry properly
  2. not being able to set the 'wget' command as hosting services are prohibiting use of 'wget' because of abuses from their clients.
You may want to look at this explanation:

http://moodle.org/doc/index.php?file=install.html#cron

for further information.

Hope this helps.

Bill
In reply to Bill Burgos

Re: Forum configuration under red hat Linux

Shaan p發表於

I had done all the steps specified above . but no change. still not getting any mails from the forum . any thing else that is left out ? Please reply asap .

Thanks in Advance !

In reply to Shaan p

Re: Forum configuration under red hat Linux

Jan Dierckx發表於
 Some of the steps Bill and I provided were just to gather more information. It can be useful if you copy that information here so someone can have a look at it...
  • Can you copy the message the cron script displays here?
  • What exactly did you write in crontab -e ?
  • What does the admin page display about the cronjob being set or not ?
  • Does your hosting provider allow use of wget?
  • Which setting did you enter for smtp?
  • etc ...

In reply to Jan Dierckx

Re: Forum configuration under red hat Linux

Shaan p發表於
message the cron script
Server Time: Wed,  6 Apr 2005 11:55:16 +051800
Starting activity modules
Processing module function assignment_cron ...done.
Processing module function chat_cron ...done.
Processing module function forum_cron ...done.
Processing module function journal_cron ...done.
Processing module function workshop_cron ...done.
Finished activity modules
Running clean-up tasks...
Running backups if required...
    Checking backup status...INACTIVE
Backup tasks finished.
Cron script completed correctly
Execution took 0.491525 seconds
Setting up cron
[root@moodle root]# wget -q -o /dev/null http://172.24.1.117/moodle/admin/cron.php
Setting crontab
[root@moodle root]# crontab -e
Under vi
*/6 * * * * wget -q -o/dev/null http://172.24.1.117/moodle/admin/cron.php
after :wq save and exit , editor displays 
[root@moodle root]# crontab: installing new crontab
[root@moodle root]#

In reply to Shaan p

Re: Forum configuration under red hat Linux

Shaan p發表於
  • What does the admin page display about the cronjob being set or not ?

         I cannot find any thing related to cronjob status in admin page.  http://172.24.1.117/moodle/admin/ or should i search in some other location ?

         how to check whether my host provider supports wget ?

  •  Which setting did you enter for smtp?

         I have left the smtp setting to blank .

i get the following message from cron.php

Server Time: Wed,  6 Apr 2005 15:18:22 +051800


Starting activity modules
Processing module function assignment_cron ...done.
Processing module function chat_cron ...done.
Processing module function forum_cron ...

Success
Processing post 23.... mailed to 5 users.
done.
Processing module function journal_cron ...done.
Processing module function workshop_cron ...done.
Finished activity modules
Running backups if required...
    Checking backup status...INACTIVE
Backup tasks finished.
Cron script completed correctly
Execution took 1.806452 seconds .

but still i didn't receive any mails . I have set only 1 minute as edit time !!

Please help in this regards !

Thanks