PINE64

So I have a PINE64 board running debian that I would love to get Repetier Server running on.  Thus far I have tried the armHF build and the amd64 build.  The board is a 64bit ARM cpu. 

LibC ldd (Debian GLIBC 2.19-18+deb8u4) 2.19

Both installation attempts I have modified the Architechure to match.  Both installs unpack, "install"  and attempt to start the service.  Both failing with no logs being generated.

Systemctrl reports the following

systemctl status RepetierServer.service
● RepetierServer.service - LSB: Init script for Repetier-Server
   Loaded: loaded (/etc/init.d/RepetierServer)
   Active: failed (Result: exit-code) since Sun 2016-05-15 17:25:56 UTC; 12min ago

Not sure where to go from here.  No logs are generated in /var/lib/Repetier-Server.  

I understand this is not a "supported board" but any thoughts would be appreciated.  Would be more then happy to be a beta tester for this platform :D if we can get it running.

Comments

  • If any version runs then armhf or armel. Both are compiled as 32 bit arm, but on Pi 3 which is also 64 bit (also with 32 bit os) it is no problem.So my guesses are missing 32 bit libraries or something unknown.

    So 1. install armhf and then try







    pi@raspberrypi:~ $ ldd /usr/local/Repetier-Server/bin/RepetierServer

    linux-vdso.so.1 (0x7efef000)

    /usr/lib/arm-linux-gnueabihf/libarmmem.so (0x76f4d000)

    librt.so.1 => /lib/arm-linux-gnueabihf/librt.so.1 (0x76f22000)

    libpthread.so.0 => /lib/arm-linux-gnueabihf/libpthread.so.0 (0x76efa000)

    libdl.so.2 => /lib/arm-linux-gnueabihf/libdl.so.2 (0x76ee7000)

    libstdc++.so.6 => /usr/lib/arm-linux-gnueabihf/libstdc++.so.6 (0x76e0b000)

    libm.so.6 => /lib/arm-linux-gnueabihf/libm.so.6 (0x76d90000)
    libgcc_s.so.1 => /lib/arm-linux-gnueabihf/libgcc_s.so.1 (0x76d62000)

    libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0x76c21000)
    /lib/ld-linux-armhf.so.3 (0x54b21000)

    should show if any libraries are missing. If all is fullfilled try 






    /usr/local/Repetier-Server/bin/RepetierServer

    and see for error messages on console.



  • edited May 2016
    Ok started fresh this is what I get..
    pine64user@debianpine64:~/Downloads$ sudo dpkg -i repserver.deb
    Selecting previously unselected package repetier-server.
    (Reading database ... 120733 files and directories currently installed.)
    Preparing to unpack repserver.deb ...
    Unpacking repetier-server (0.75.1) ...
    Setting up repetier-server (0.75.1) ...
    Install Repetier-Server
    You may see warnings about groups. These can be ignored.
    The user `repetierserver' is already a member of `tty'.
    adduser: The group `intserial' does not exist.
    adduser: The group `ugpio' does not exist.
    Synchronizing state for RepetierServer.service with sysvinit using update-rc.d...
    Executing /usr/sbin/update-rc.d RepetierServer defaults
    Executing /usr/sbin/update-rc.d RepetierServer enable
    [....] Starting RepetierServer (via systemctl): RepetierServer.serviceJob for RepetierServer.service failed. See 'systemctl status RepetierServer.service' and 'journalctl -xn' for details.
     failed!
    dpkg: error processing package repetier-server (--install):
     subprocess installed post-installation script returned error exit status 1
    Processing triggers for systemd (215-17+deb8u4) ...
    Errors were encountered while processing:
     repetier-server

    pine64user@debianpine64:~/Downloads$ systemctl status RepetierServer.service
    RepetierServer.service - LSB: Init script for Repetier-Server
       Loaded: loaded (/etc/init.d/RepetierServer)
       Active: failed (Result: exit-code) since Mon 2016-05-16 23:29:38 UTC; 7min ago

    pine64user@debianpine64:~/Downloads$ journalctl -xn
    No journal files were found.

  • Ok, but what the commands return I mentioned in my post?
  • Thought I had posted that sorry...

    pine64user@debianpine64:~$ ldd /usr/local/Repetier-Server/bin/RepetierServer
            not a dynamic executable

    pine64user@debianpine64:~$ /usr/local/Repetier-Server/bin/RepetierServer
    -bash: /usr/local/Repetier-Server/bin/RepetierServer: No such file or directory

    pine64user@debianpine64:~$ cd /usr/local/Repetier-Server/bin
    pine64user@debianpine64:/usr/local/Repetier-Server/bin$ ls
    RepetierInstaller  RepetierRenderer  RepetierServer  rootcert.pem

  • That is bad. Assuming RepetierServer has x flag set your os does not detect it as executable. 

    Did you use the arhmhf version?
    As you said the computer is 64 bit arm so having wrong cpu type might mark them also not executable since already ldd did not like it.
  • So I found a guide for runing 32 bit on 64 bit system for ubuntu thought I would try a couple things....
    sudo dpkg --add-architecture armhf
    sudo dpkg --add-architecture armel

    Run the install again, took much longer this time but still no go but it did install without having to mess with the control file this time
  • But does ldd or linux detect files now as executable? Maybe it is just a missing library now that the architecture is supported.
  • No it still does not detect as executable, tried installing binutils-arm-linux-gnueabihf as well but I suspect it is only in 64 bit I couldnt find packages in the armel or armhf libraries.  Maybe I should try wine or and the windows version

  • I'd rather try kvm with 32 bit arm os. At least if that is possible.
  • I got it running!!!!!!

    Started fresh with a new image for the Pine64, this paticular image was recommended by users running another 32bit server.  Tried their workarounds which didn't work then I did this and everything came together..

    sudo apt-get install libc6:armhf libncurses5:armhf libstdc++6:armhf  

    As those finished installing Repetier Server fired up, still couldnt access via http so I rebooted and vioala.

    Now bring on the slicing :D  QuadCore with a 1gb memory should chew through anything I throw at it with ease
  • djinn5150 said:
    Started fresh with a new image for the Pine64, this paticular image was recommended by users running another 32bit server.  Tried their workarounds which didn't work then I did this and everything came together..
    Which image did you use? I am right here right now.


  • I did get RepetierHost to work once I added arm64 not just armhf and armel.


  • Just for those not knowing - we have a debian arm 64 bit build since 0.80. 
Sign In or Register to comment.