I'm getting an error log emailed to me. Today of course the attached error log was titled "ERRORS_localhost-257325623.log" which I've looked at pretty closely and did a CTRL-F for words like "error" or "fail" … It doesn't seem to have 'any' errors but then why am I still getting this error log sent to me? Can I safely assume that all is well and that the script is simply choking on some "unknown"?
And I'm 'really' inexperienced at this scripting stuff; so the only think that looks a little odd to me is all of those "//" all throughout the log file … Is that normal ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Ok so here goes step one in correcting myself:
I found a line in the config file "BACKUPDIR=" and took that last "/" off the back of the line.
Now the error file that I am being emailed is a little smaller but it is still happening. Here is the error file I was emailed just a few minutes ago after running the script again.
Ok I got some help on this and it was a newbie error ; me being the newbie.
I executed the script on the server using "bash -x" and for some reason (which I do not yet know) this caused the script to do something that in turn generated a ERRORS_localhost-xxxxxxxx.log that was emailed to me each time.
Executing the script using "./autobackupmysql" fixed it.
Hope this helps future readers.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm getting an error log emailed to me. Today of course the attached error log was titled "ERRORS_localhost-257325623.log" which I've looked at pretty closely and did a CTRL-F for words like "error" or "fail" … It doesn't seem to have 'any' errors but then why am I still getting this error log sent to me? Can I safely assume that all is well and that the script is simply choking on some "unknown"?
Here is the error log that I'm getting:
Any direction in this is appreciated.
And I'm 'really' inexperienced at this scripting stuff; so the only think that looks a little odd to me is all of those "//" all throughout the log file … Is that normal ?
Ok so here goes step one in correcting myself:
I found a line in the config file "BACKUPDIR=" and took that last "/" off the back of the line.
Now the error file that I am being emailed is a little smaller but it is still happening. Here is the error file I was emailed just a few minutes ago after running the script again.
Ok I got some help on this and it was a newbie error ; me being the newbie.
I executed the script on the server using "bash -x" and for some reason (which I do not yet know) this caused the script to do something that in turn generated a ERRORS_localhost-xxxxxxxx.log that was emailed to me each time.
Executing the script using "./autobackupmysql" fixed it.
Hope this helps future readers.
err ; I mean "./AutoMySQLBackup" fixed it :-)