Author Topic: daily mail not running  (Read 2075 times)

chief

  • Posts: 37
    • View Profile
daily mail not running
« 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?

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
daily mail not running
« Reply #1 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 and tell us the file permissions, knowledge of which will allow me to offer further advice:
Code: [Select]
<?php
echo 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
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting

chief

  • Posts: 37
    • View Profile
daily mail not running
« Reply #2 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

chief

  • Posts: 37
    • View Profile
daily mail not running
« Reply #3 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.

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
daily mail not running
« Reply #4 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 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?

Regards
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting