ListMailPRO Email Marketing Software Forums

ListMailPRO Email Marketing Software Forums => General Help & How-To => Topic started by: chief on September 05, 2007, 12:02:47 pm

Title: daily mail not running
Post by: chief on September 05, 2007, 12:02:47 pm
I have 2 installs of LMP. one is running perfectly, the other one is not executing the dailymail routine.
I have checked both dailymail config screens and they are exactly alike.

What could be the problem?

How would I troubleshoot the install that is NOT executing dailymail as it should?
Title: daily mail not running
Post by: DW on September 06, 2007, 03:26:40 am
Copy this code into a .PHP file (ie. wgettest.php) and run it on your server by browsing to it.  This should locate the 'wget' file and other common alternatives (http://listmailpro.com/forum/index.php?topic=957.msg4257#msg4257) and tell us the file permissions, knowledge of which will allow me to offer further advice:
Code: [Select]
<?phpecho shell_exec('ls -al /usr/bin/wget*').'<br>';echo shell_exec('ls -al /usr/bin/curl').'<br>';echo shell_exec('ls -al /usr/bin/GET').'<br>';echo shell_exec('ls -al /usr/bin/lynx').'<br>';echo shell_exec('ls -al /usr/bin/fetch').'<br>';?>

Regards
Title: daily mail not running
Post by: chief on September 06, 2007, 08:33:36 am
-rwxr-xr-x 1 root root 184727 Oct 9 2002 /usr/bin/wget
-rwxr-xr-x 1 root root 184635 Dec 22 2004 /usr/bin/curl
-r-xr-xr-x 1 root root 14363 Nov 5 2001 /usr/bin/GET
-rwxr-xr-x 1 root root 1128636 Jul 31 2001 /usr/bin/lynx
Title: daily mail not running
Post by: chief on September 06, 2007, 08:50:43 am
BTW I ran this on another install of LMP that is on another host and got EXACTLY the same results - whatever that means - and that LMP is working correctly.
Title: daily mail not running
Post by: DW on September 06, 2007, 09:52:35 pm
-rwxr-xr-x 1 root root 184727 Oct 9 2002 /usr/bin/wget
-rwxr-xr-x 1 root root 184635 Dec 22 2004 /usr/bin/curl
-rwxr-xr-x 1 root root 14363 Nov 5 2001 /usr/bin/GET
-rwxr-xr-x 1 root root 1128636 Jul 31 2001 /usr/bin/lynx

Via the permissions (http://en.wikipedia.org/wiki/Chmod) in bold it appears all of the utilities are available/executable for all users on the server.   That's good, and just leaves the easy stuff:

1. Are your sure the password set in your cron task matches the Dailymail Password on the ListMail Configuration page?

2. Are you sure the URL in your cron task is correct?

3. Are you sure the timing and command-line looks like the documentation (http://listmailpro.com/help/dailymail_cron.html)?

Regards