Trying to run a server for NAS. Need MySQL, NFS, no GUI. Running into issues with all distros. Ubuntu distros struggle with NFS. Cant install without disabling IPv6 which affects the performance. Both debian distros struggle with either MySQL or MariaDB. Cant get them to install. I like the hardware maybe minus lack of nand or booting from SATA without SD card but the distros are giving me a headache. For point of comparison I had a similar setup running on Raspberry Pi, BeagleBone and Cubie Board 2. Anyone got it to work?
I have the debian image for UDOO quad-core running with MySQL, first installation of the package failled. After searching for a solution i found the following. At first checking pinging of localhost, 127.0.0.1 and the own ip address of the UDOO. If not working, modify /etc/network/interfaces and enable loopback interface. Otherwise the installation of mysql-server will fail. Code: # interfaces(5) file used by ifup(8) and ifdown(8) auto lo iface lo inet loopback # auto eth0 # iface eth0 inet dhcp
I actually can ping localhost, ip and 127.0.0.1 fine. My apt-get install mysql-server fails on starting mysqld
Does it give a specific error? That would be fairly helpful. You may also try: Code: service mysql stop service mysql start OR: Code: /etc/init.d/mysql stop /etc/init.d/mysql start (Service isn't always recognized, some distributions recognize it, some don't. I don't have a working Udoo to test if it's recognized or not.) If the stop gives you an error like: Code: mysql: unrecognized service Then there was an error on install. If it gives something like: Code: [fail] Starting MySQL database server: mysqld .. Then the service cannot start for some reason. If it says something like: Code: [ ok ] Starting MySQL database server: mysqld .. Then the install was good and it just couldn't auto-start the service for some reason. (Things like that happen.) Apt-get install's aren't always reliable. There are many factors that determine their success/failure. Thanks, EBrown
Actually I decided to start fresh. I took udoo_quad_debian_wheezy_armhf_v1.0beta.zip -- Stripped X11 Code: apt-get remove --purge x11-common apt-get autoremove -- Set locales Code: apt-get install locales dpkg-reconfigure locales dpkg-reconfigure tzdata -- Check if there were no other auto dependencies for mysql Code: dpkg -S etc/mysql -- Uncommented loopback as speed130 suggested Code: nano /etc/network/interfaces cat /etc/network/interfaces # interfaces(5) file used by ifup(8) and ifdown(8) auto lo iface lo inet loopback # auto eth0 # iface eth0 inet dhcp -- Installed MySQL Code: apt-get install mysql-server -- Installed NFS Code: apt-get install nfs-kernel-server rcpbind nfs-common -- Set NFS exports Code: nano /etc/exports
I am still struggling with NFS on debian, cant access the shares even through IPv4 Code: /etc/init.d/nfs-kernel-server restart [ ok ] Stopping NFS kernel daemon: mountd nfsd. [ ok ] Unexporting directories for NFS kernel daemon.... [ ok ] Exporting directories for NFS kernel daemon.... [....] Starting NFS kernel daemon: nfsdrpc.nfsd: address family inet6 not supported by protocol TCP mountdrpc.mountd: svc_tli_create: could not open connection for udp6 rpc.mountd: svc_tli_create: could not open connection for tcp6 rpc.mountd: svc_tli_create: could not open connection for udp6 rpc.mountd: svc_tli_create: could not open connection for tcp6 . ok