AqualinkD icon indicating copy to clipboard operation
AqualinkD copied to clipboard

Aqualinkd.service failed because the service did not take the steps required by its unit configuration

Open dadoadk opened this issue 6 months ago • 10 comments

Intro: I followed the steps in the Wiki to install

  1. required dependencies,
  2. cloned the repo,
  3. without make I'm doing an install of the AqualinkD by running sudo ~/software/AqualinkD/release/install.sh

then I get some messages:

Arch is arm64, Using 64bit AqualinkD
Please enabled cron.d support, if not AqualinkD Scheduler will not work. ...
Created symlink etc/systemd/system/multi-user.target.wants/aqualinkd.service -> /etc/systemd/system/aqualinkd.service

at this point I edit the cron file: sudo nano /etc/default/cron and enable the -l option

now I can run the install: sudo ~/software/AqualinkD/release/install.sh

and there are some messages about AqualinkD config exists, did not copy new config... and at last a message: Starting daemon aqualinkd

to get a better status I run the command: sudo aqualinkd -d -c /etc/aqualinkd.conf

which leads me to the issue I'm having:

Notice: NetService:Starting network services thread
Error: RS Serial: Unable to open port: /dev/ttyUSB0, error 2
Error: AqualinkD: Error Aqualink setting serial port: /dev/ttyUSB0
Notice: NetService: Starting web server on port 80

to confirm, I run the command systemctl status aqualinkd.service I see Active: failed (Result: exit-code)

my questions:

  1. should the web server be running at this point?
  2. since I don't have anything plugged into the USB0, is the software expecting something to be plugged in?
  3. when I open my browser on localhost:80, or 192.168.xx.xx:80 should there be a page already running?

I've read the Wiki document several times, and some expectations are that the AqualinkD service should be running before I get to plug it into my pool unit outside my house, but I'm maybe missing a point here. Please help me understand if I'm missing something.

dadoadk avatar Aug 19 '24 21:08 dadoadk