WordPress database error: [Disk full (/tmp/#sql-temptable-1-25959b-28f5.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")]
SHOW FULL COLUMNS FROM `markjacobsen_options`

{"id":724,"date":"2014-08-29T06:49:00","date_gmt":"2014-08-29T10:49:00","guid":{"rendered":"http:\/\/visit.markjacobsen.net\/?p=724"},"modified":"2014-08-29T06:53:50","modified_gmt":"2014-08-29T10:53:50","slug":"unix-file-directory-file-exists","status":"publish","type":"post","link":"https:\/\/markjacobsen.net\/2014\/08\/unix-file-directory-file-exists\/","title":{"rendered":"UNIX: No such file or directory but the file exists"},"content":{"rendered":"

Ever have a script that is executing another script and get an error that looks like this?…<\/p>\n

\/path\/stub.ksh[2]: \/path\/XX\/script.ksh: not found [No such file or directory]<\/code><\/pre>\n

Then you make sure that the file does in fact exist, and that you can read it?<\/p>\n

So why does it say there’s “No such file or directory”?<\/b><\/p>\n

Might want to check if the file has Windows line breaks. Easiest way to do that is run the following…<\/p>\n

cat -v \/path\/XX\/script.ksh<\/code><\/pre>\n

… and you’ll probably see that your lines end with ^M characters. If so, you have Window’s line breaks and you might want to look into not introducing them in the first place (save in Unix format), or check out the dos2unix command.<\/p>\nPlease remember to subscribe to the newsletter<\/a> to stay up to date!<\/i>\n\nYou or someone you know looking to buy or sell?<\/i>\n<\/a>\nDisclaimer: Thoughts and opinions are my own, and do not reflect the views of any employer, family member, friend, or anyone else. Some links may be affiliate links, but I don't link to anything I don't use myself. You would think this should be self evident these days, but apparently not...<\/small><\/i>","protected":false},"excerpt":{"rendered":"

Ever have a script that is executing another script and get an error that looks like this?… \/path\/stub.ksh[2]: \/path\/XX\/script.ksh: not found [No such file or directory] Then you make sure that the file does in fact exist, and that you can read it? So why does it say there’s “No such file or directory”? Might … Continue reading UNIX: No such file or directory but the file exists<\/span> →<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"footnotes":"","_jetpack_memberships_contains_paid_content":false,"jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false},"version":2}},"categories":[12],"tags":[21],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p2UXeD-bG","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"jetpack_likes_enabled":false,"_links":{"self":[{"href":"https:\/\/markjacobsen.net\/wp-json\/wp\/v2\/posts\/724"}],"collection":[{"href":"https:\/\/markjacobsen.net\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/markjacobsen.net\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/markjacobsen.net\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/markjacobsen.net\/wp-json\/wp\/v2\/comments?post=724"}],"version-history":[{"count":2,"href":"https:\/\/markjacobsen.net\/wp-json\/wp\/v2\/posts\/724\/revisions"}],"predecessor-version":[{"id":726,"href":"https:\/\/markjacobsen.net\/wp-json\/wp\/v2\/posts\/724\/revisions\/726"}],"wp:attachment":[{"href":"https:\/\/markjacobsen.net\/wp-json\/wp\/v2\/media?parent=724"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/markjacobsen.net\/wp-json\/wp\/v2\/categories?post=724"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/markjacobsen.net\/wp-json\/wp\/v2\/tags?post=724"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}