내 beaglebone의 MySQL을 시작할 수 없습니다.
다음 단계를 수행 한 후 내 문제를 해결합니다.
eMMC의 내용을 추출하여 다시 사용하고 싶습니다.
온보드 eMMC에서 microSD 카드로 이미지를 쓰려면 /opt/scripts/tools/eMMC/beaglebone-black-make-microSD-flasher-from-eMMC.sh를 사용했습니다.
내 microSD 카드 (최대 16GB)
(이 링크 http://elinux.org/BeagleBone_Black_Extracting_eMMC_contents#Sources 다음)
내가이 오류 그 후beaglebone black에서 eMMC의 내용을 microSD로 추출한 후 MySQL을 시작할 수없는 이유는 무엇입니까?
rsync: recv_generator: mkdir "/tmp/rootfs/var/www" failed: No space left on device (28)
*** Skipping any contents from this failed directory ***
sent 11164596708 bytes received 13752725 bytes 1434501.05 bytes/sec
total size is 13493412445 speedup is 1.21
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1070) [sender=3.0.9]
writing to [/dev/mmcblk0] failed...
-----------------------------
umount: /dev/mmcblk0p1: not mounted
있어, beagblebone의 모든 빛이 birght입니다.
MySQL은이 오류와 함께 시작합니다
Starting mysql (via systemctl): mysql.serviceJob failed. See system journal and 'systemctl status' for details.
failed!
그것이 디스크 공간처럼 보입니까 문제인가?
[email protected]:~# df -h
Filesystem Size Used Avail Use% Mounted on
rootfs 3.5G 2.4G 941M 72%/
udev 10M 0 10M 0% /dev
tmpfs 100M 736K 99M 1% /run
/dev/disk/by-uuid/e807980f-6d9d-4efb-a42b-d888af80ba37 3.5G 2.4G 941M 72%/
tmpfs 249M 0 249M 0% /dev/shm
tmpfs 249M 0 249M 0% /sys/fs/cgroup
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 100M 0 100M 0% /run/user
/dev/mmcblk0p1 96M 73M 24M 76% /boot/uboot
톰캣 서버가 정상적으로 시작됩니다.
UPDATE가 : 사용하는 경우
이 로그 인 systemd-journalctl -a 명령 :
Jan 03 06:49:17 beaglebone mysqld[9443]: 170103 6:49:17 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in
Jan 03 06:49:17 beaglebone mysqld[9443]: /usr/sbin/mysqld: Error on realpath() on '/var/lib/mysql-files' (Error 2)
내 문제는 무엇인가 ?