I rebooted my Odroid C1 yesterday and discovered Apache and MariaDB were not running.
After much futzing around, I discovered that in the case of Apache, it was not creating a "/run/httpd/httpd.pid" file. And for mariadb, it couldn't create a "/run/mysqld/mysqld.sock" file. In each case the respective folders were not there much less the pid or socket files.
Once I created a "/run/httpd" folder and gave ownership as "http:http", "sudo systemctl start httpd" successfully started the server.
Same for mariadb: "mkdir /run/mysqld;chown mysql:mysql /run/mysqld" then "sudo systemctl start mysqld" sucessfully started that server.
Permissions on /run look like this:
$this->bbcode_second_pass_code('', 'drwxr-xr-x 14 root root 420 Jan 12 10:22 run')
The only other data point to share is when I run:
$this->bbcode_second_pass_code('', '%:sudo journalctl -xe')
I get quite a few instances of this error message. I think I read elsewhere this is not uncommon for the Odroid:
$this->bbcode_second_pass_code('', 'Jan 12 10:14:29 odroid kernel: mmc_blk_reset 939 reset error md->reset_done:1 and type:1
Jan 12 10:14:29 odroid kernel: end_request: I/O error, dev mmcblk0, sector 15448056')
Anybody else run into this problem lately?