It's quite normal you can't start it after logging in via SSH - a normal user isn't allowed to start a service.
I think the cause of not starting on boot is something else, could you post the output of "systemctl status logitechmediaserver" after boot before issuing the command manually?
Search Criteria
Package Details: logitechmediaserver 8.5.2-1
Package Actions
| Git Clone URL: | https://aur.archlinux.org/logitechmediaserver.git (read-only, click to copy) |
|---|---|
| Package Base: | logitechmediaserver |
| Description: | Slimserver for Logitech Squeezebox players. This server is also called Logitech Media Server. (Release-Version, if you prefer bleeding edge consider using logitechmediaserver-git instead) |
| Upstream URL: | https://github.com/LMS-Community/slimserver |
| Keywords: | logitech slimserver squeezebox |
| Licenses: | GPL, custom |
| Submitter: | vesath |
| Maintainer: | FabioLolix (FabioLolix) |
| Last Packager: | stef.an |
| Votes: | 72 |
| Popularity: | 0.000000 |
| First Submitted: | 2011-11-03 06:54 (UTC) |
| Last Updated: | 2024-07-01 19:06 (UTC) |
Dependencies (10)
- perl (perl-gitAUR)
- perl-io-socket-ssl
- gd (gd-gitAUR) (make)
- nasm (nasm-gitAUR) (make)
- rsync (rsync-gitAUR, rsync-reflinkAUR) (make)
- wget (wget-gitAUR) (make, aarch64)
- yasm (yasm-gitAUR) (make)
- zlib (zlib-gitAUR, zlib-ng-compat-gitAUR, zlib-ng-compat) (make)
- lib32-gcc-libs (lib32-gcc-libs-gitAUR, lib32-gccrs-libs-gitAUR, lib32-gcc-libs-snapshotAUR) (optional, x86_64) – transcoding on 64-bit systems
- lib32-glibc (lib32-glibc-gitAUR, lib32-glibc-eacAUR, lib32-glibc-git-native-pgoAUR) (optional, x86_64) – transcoding on 64-bit systems
Required by (0)
Sources (3)
Latest Comments
« First ‹ Previous 1 .. 8 9 10 11 12 13 14 15 16 17 18 .. 50 Next › Last »
stef.an commented on 2017-02-12 13:02 (UTC)
oleboyredw commented on 2017-02-12 11:20 (UTC)
Installed successfully onto Arch running on my Excito B3 mini-server. Running just great apart for starting with systemd. I enabled the service so it autostarts when I reboot the server but the logitechmediaserver service fails to start.
If I log on through SSH and try systemctl start logitechmediaserver it fails with the same message. If I switch to SU and issue the start commant it works just fine. (This is the message I get: "The name org.freedesktop.PolicyKit1 was not provided by any .service files".
Tried researching on the web but came up with nothing useful, any suggestion where I'm going wrong please?
ulke commented on 2017-02-01 14:11 (UTC)
Thanks stef.an. The system had plenty of memory, and the memory seems ok. I tried downgrading to gcc 6.2.1 and the package was compiled without any problems. So it looks like a gcc bug after all. A bit of googling turned up a few similar problems with gcc 6.3.1 (for example, https://github.com/psycopg/psycopg2/issues/500).
stef.an commented on 2017-02-01 09:25 (UTC)
This is usually caused by running out of memory.
If you're compiling with multiple threads (MAKEFLAGS="-jX", usually in /etc/makepkg.conf) you could try to decrease the number. Alternatively use a (bigger) swap, depending on your architecture and number of threads.
If that doesn't help there's a chance you've got a faulty Memory module.
ulke commented on 2017-02-01 08:38 (UTC)
I get a compilation error:
regexcmp.cpp: In member function ‘UBool icu_46::RegexCompile::doParseActions(int32_t)’:
regexcmp.cpp:1749:1: internal compiler error: Segmentation fault
}
^
I guess this is a bug in gcc?
setone commented on 2017-01-03 06:05 (UTC)
Perfect - it does work as expected, and much appreciated!
stef.an commented on 2016-12-30 19:49 (UTC)
I've renamed the included EV a while ago in the -git version and it seems to work finde as no problems have been reported.
Version "arch6" adopts this (and most updates from upstream), it should work as expected without manual changes.
setone commented on 2016-12-29 22:47 (UTC)
Okay, never mind - I think your workaround is better, i.e. use the installed library module instead of the logitech one.
setone commented on 2016-12-29 19:28 (UTC)
@mervinb: I had the same issue. The upshot looks pretty bad and may explain why I've had so much trouble with my DB (I'm on sqlite). For example: https://ptpb.pw/3SmV
A workaround is to edit /opt/logitechmediaserver/CPAN/EV.pm:
124c124
< our $VERSION = '4.03';
---
> our $VERSION = '4.22';
mervinb commented on 2016-09-11 21:58 (UTC)
I recently updated to the arch5-1 version (x86) and found that rescanning would fail after finding all medid. No text search indexes were created. This comment and workaround from logitechmediaserver-git addressed the issue. Like the poster below, I renamed the EV module on /opt/logitechmediaserver/CPAN to that the module from the latest perl would be used. Thanks Renophaston!
From -git comments:
Renophaston commented on 2016-07-18 20:52
Error: Failed when running main scan: [EV object version 4.22 does not match bootstrap parameter 4.03 at /usr/lib/perl5/core_perl/DynaLoader.pm line 210.
and eventually:
Error: Skipping post-process & Not updating lastRescanTime!
I'm pretty lost re: Perl, but I think it was mixing the EV in /usr/lib/perl5/vendor_perl/ with the EV in /opt/logitechmediaserver-git/CPAN, since those report versions 4.22 and 4.03 respectively. I renamed /opt/logitechmediaserver-git/CPAN/EV.pm and ran a clean scan and so far everything works. I can't see anything in he LMS EV.pm that looks like it needs to be used... but I don't REALLY know what I did. :) I'm on i686.
Pinned Comments
FabioLolix commented on 2024-05-26 08:40 (UTC)
-bin variant uploaded https://aur.archlinux.org/packages/logitechmediaserver-bin