I recently rebooted our server (Solaris) and now I get "ERROR 1017: Can't find file: './path/to/table_name.frm'" from MySQL. I suppose maybe I should have shut down MySQL before rebooting the server. However, I didn't know this before. I can see all the .frm, .MYD, and .MYI files...
Thanks.
I was opening the file for input and output. But it always got stuck at the point where I was using syswrite. I was able to get it working using the temp file technique suggested by JimJx. I originally planned to do it this way, but my concern was the effects of multiple people...
I am building a script that takes form input and writes it to a file in a specified packed format. Input from a second form need to update the record created from the first form. I am having trouble replacing the record with the new values.
When the second form is submitted I search for the...
I wrote a simple perl script to run as a cron job at midnight that copies the web acess log file to another directory and stamps the filename with the date. I did this to prevent the log file from becoming too large and unmanageable. The script also deletes the log file and then creates a new...
I am beginning to configure a new web server. Sendmail is installed. I have written a few scripts in perl and php to send mail from html forms. They work, however it takes a long time for the script to run due to the part where it uses sendmail to send the email. I decided to test it by...
Yes, there is a file in the directory name cr.20012404.log.
I created it by copying the access_log file. And I know it's there because when I type 'more cr.20012404.log' it returns the contents of the file. Yet it still doesn't show up when I try to get a file listing. However, when I copy...
There are only 3 files in the directory. And I'm logged in as admin with the same permissions as root on a Solaris 7 box.
# id
uid=0(root) gid=1(other)
# ls -l
total 230
-rw-r--r-- 1 root other 28569 Apr 25 09:01 access_log
-rwxr-xr-x 1 root other 391 Apr 24 18:42...
I'm sure the file name is not prefixed with a '.'
Even when I simply change the name of the access_log file or copy it with the new name, it still doesn't show up. Strange.
m
I am building a simple script to archive the web access log on my server. I decided to simply name the files with the date (ex. 20010424.log) However, whenever I give the file this name in this format, it doesn't show up in the file listing. But it's there. I'm curious as to why I can't see...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.