The 'Raspberry Pi' thread

Discussion in 'Other CPUs and chipsets' started by HyRax1, May 8, 2011.

  1. millsy

    millsy Member

    Joined:
    Mar 31, 2007
    Messages:
    12,778
    Location:
    Brisbane
    Iirc the newest versions of raspbian install a different version of java and you need to install an earlier one.

    Anyway googling for java / raspbian issues should help there.
     
  2. elvis

    elvis Old school old fool

    Joined:
    Jun 27, 2001
    Messages:
    37,892
    Location:
    Brisbane
  3. 303-Acid

    303-Acid Member

    Joined:
    Jun 29, 2001
    Messages:
    2,625
    Location:
    Beaumaris, Vic
    Not sure on Mongo, Unifi was updated to latest, I ended up having issues which I since found out was the SD card filling up - was only an 8GB. I since moved to docker on Synology as it's always on and to have one less device. I still have it so will fire up and have a look.

    In the guide I linked to it mentions that...
     
  4. millsy

    millsy Member

    Joined:
    Mar 31, 2007
    Messages:
    12,778
    Location:
    Brisbane
    Ah cool, didn't read the guide sorry, was just stopping by!
     
  5. CQGLHyperion

    CQGLHyperion Member

    Joined:
    Feb 3, 2003
    Messages:
    1,493
    Location:
    North Rockhampton
  6. CQGLHyperion

    CQGLHyperion Member

    Joined:
    Feb 3, 2003
    Messages:
    1,493
    Location:
    North Rockhampton
    Starting Ubiquiti UniFi Controller: unifierror: unexpectedly disconnected from boot status daemon

    So got a little furthur....

    Now this:
    root@Hyper-Pi:/home/pi# systemctl status unifi.service –full
    ● unifi.service - unifi
    Loaded: loaded (/lib/systemd/system/unifi.service; enabled; vendor preset: enabled)
    Active: active (running) since Tue 2019-10-08 21:05:51 AEST; 14s ago
    Process: 5146 ExecStop=/usr/lib/unifi/bin/unifi.init stop (code=exited, status=0/SUCCESS)
    Process: 5175 ExecStart=/usr/lib/unifi/bin/unifi.init start (code=exited, status=0/SUCCESS)
    Main PID: 5201 (jsvc)
    Tasks: 12 (limit: 4915)
    CGroup: /system.slice/unifi.service
    ├─5201 unifi -cwd /usr/lib/unifi -home /usr/lib/jvm/jdk-8-oracle-arm32-vfp-hflt/jre/ -cp /usr/share/java/commons-daemon.jar:/usr/lib/unifi/lib/ace.jar -pidfile /var/run/unifi.pid -procname unifi -outfile SYSLOG -errfile SYSLOG
    ├─5202 unifi -cwd /usr/lib/unifi -home /usr/lib/jvm/jdk-8-oracle-arm32-vfp-hflt/jre/ -cp /usr/share/java/commons-daemon.jar:/usr/lib/unifi/lib/ace.jar -pidfile /var/run/unifi.pid -procname unifi -outfile SYSLOG -errfile SYSLOG
    └─5203 unifi -cwd /usr/lib/unifi -home /usr/lib/jvm/jdk-8-oracle-arm32-vfp-hflt/jre/ -cp /usr/share/java/commons-daemon.jar:/usr/lib/unifi/lib/ace.jar -pidfile /var/run/unifi.pid -procname unifi -outfile SYSLOG -errfile SYSLOG

    Oct 08 21:04:46 Hyper-Pi systemd[1]: Starting unifi...
    Oct 08 21:05:51 Hyper-Pi unifi.init[5175]: Starting Ubiquiti UniFi Controller: unifi failed!
    Oct 08 21:05:51 Hyper-Pi systemd[1]: Started unifi.
    Unit \xe2\x80\x93full.service could not be found.


    and the unifi log:

     
    Last edited: Oct 8, 2019
  7. GumbyNoTalent

    GumbyNoTalent Member

    Joined:
    Jan 8, 2003
    Messages:
    7,729
    Location:
    Briz Vegas
    Check /usr/lib/unifi/logs/ for /usr/lib/unifi/logs/hs_err_{PID}.log where {PID} is a 4 digit number, look for the datetime stamp for the correct one, in the contents should be more info as to why.

    Even though systemd believes it is writing to SYSLOG.
     
  8. Quadbox

    Quadbox Member

    Joined:
    Jun 27, 2001
    Messages:
    6,246
    Location:
    Brisbane
    God that shits me. There shouldnt be any circumstances at all for a program to be routinely writing transitory data to anywhere under /usr/lib
     
    elvis likes this.
  9. GumbyNoTalent

    GumbyNoTalent Member

    Joined:
    Jan 8, 2003
    Messages:
    7,729
    Location:
    Briz Vegas
    Totally agree, but according to the post by CQGLHyperion its all there in the command execution statement, the fact it is a Java based solution says it all, they probably have a team of Windows devs writing for Linux.
     
  10. elvis

    elvis Old school old fool

    Joined:
    Jun 27, 2001
    Messages:
    37,892
    Location:
    Brisbane
    Remember when /usr was mounted read only on big UNIX boxes for security reasons? Good times.
     
    GumbyNoTalent and Quadbox like this.
  11. Quadbox

    Quadbox Member

    Joined:
    Jun 27, 2001
    Messages:
    6,246
    Location:
    Brisbane
    Not to drag a rant across sub forums, but remind me, why was it we all had to drop support for seperate /usr partitions in linux again? Lennart? Is that you?
     
    GumbyNoTalent and elvis like this.

Share This Page

Advertisement: