https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33371

Andrew Nugged <nug...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nug...@gmail.com

--- Comment #5 from Andrew Nugged <nug...@gmail.com> ---
PROBLEM! On my Ubuntu 20.04 LTS it doesnt comes up after REBOOT (!!!).
So I need manually run "service koha-common start".

AFTER REBOOT:

#> service koha-common status
● koha-common.service - Start required services for each Koha instance
     Loaded: loaded (/etc/init.d/koha-common; enabled; vendor preset: enabled)
     Active: inactive (dead)



I found that on my server koha-common.service lacks for

[Install]
WantedBy=multi-user.target

without this, it dies:

#> systemctl enable koha-common
```
Synchronizing state of koha-common.service with SysV service script with
/lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable koha-common
The unit files have no installation config (WantedBy=, RequiredBy=, Also=,
Alias= settings in the [Install] section, and DefaultInstance= for template
units). This means they are not meant to be enabled using systemctl.
```


and with "Install" block it now ok:

#> systemctl enable koha-common
```
Synchronizing state of koha-common.service with SysV service script with
/lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable koha-common
Created symlink /etc/systemd/system/multi-user.target.wants/koha-common.service
→ /lib/systemd/system/koha-common.service.
```



And on reboot now I have it ALIVE!


#> service koha-common status
● koha-common.service - Start required services for each Koha instance
     Loaded: loaded (/etc/init.d/koha-common; enabled; vendor preset: enabled)
     Active: active (running) since Thu 2023-06-01 05:15:09 EEST; 14s ago

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to