phanter wrote:
> Oh man .... Copy and paste without thinking..
> Never thought of that. Yes the user is set correctly.
> this is the final output..
>
> >
Code:
--------------------
> > /var/lib/dpkg/info# /usr/sbin/squeezeboxserver --user squeezeboxserver
--group nogroup --debug
> Async::HTTP: Unable to load IO::Socket::SSL, will try connecting to SSL
servers in non-SSL mode
> [17-11-06 20:07:04.7325] main::init (387) Starting Logitech Media Server
(v7.9.1, 1509357021, Mon Oct 30 10:54:02 UTC 2017) perl 5.020002 -
x86_64-linux-gnu-thread-multi
> [17-11-06 20:07:05.1518] Slim::Utils::SQLiteHelper::postConnect (374)
Optimizing DB because of missing or empty sqlite_stat1 table
> [17-11-06 20:07:05.2775] Slim::Schema::forceCommit (2149) Warning: Trying
to commit transactions before DB is initialized!
> [17-11-06 20:07:05.6283] Slim::Utils::SQLiteHelper::postConnect (374)
Optimizing DB because of missing or empty sqlite_stat1 table
> [17-11-06 20:07:05.7695] Slim::Schema::forceCommit (2149) Warning: Trying
to commit transactions before DB is initialized!
> [17-11-06 20:07:06.4962] Slim::Utils::SQLiteHelper::postConnect (374)
Optimizing DB because of missing or empty sqlite_stat1 table
> [17-11-06 20:07:06.6065] Slim::Schema::forceCommit (2149) Warning: Trying
to commit transactions before DB is initialized!
> Can't call method "log" on an undefined value at
/usr/share/squeezeboxserver/CPAN/Log/Log4perl/Appender.pm line 189.
> Can't call method "log" on an undefined value at
/usr/share/squeezeboxserver/CPAN/Log/Log4perl/Appender.pm line 189.
>
--------------------
> >
Apologies for the typo, but now you're getting closer. AFAIK the LMS
package doesn't contain any log files, it just creates a directory for
LMS to use for its logs once it is running.
Code:
--------------------
root@omv-vm:~# dpkg -c logitechmediaserver_7.9.1~1509357021_amd64.deb | grep
var
drwxr-xr-x root/root 0 2017-10-30 10:54 ./var/
drwxr-xr-x root/root 0 2017-10-30 10:54 ./var/log/
drwxr-xr-x root/root 0 2017-10-30 10:54 ./var/log/squeezeboxserver/
drwxr-xr-x root/root 0 2017-10-30 10:54 ./var/lib/
drwxr-xr-x root/root 0 2017-10-30 10:54 ./var/lib/squeezeboxserver/
drwxr-xr-x root/root 0 2017-10-30 10:54
./var/lib/squeezeboxserver/prefs/
drwxr-xr-x root/root 0 2017-10-30 10:54
./var/lib/squeezeboxserver/cache/
drwxr-xr-x root/root 0 2017-10-30 10:54
./var/lib/squeezeboxserver/Plugins/
-rw-r--r-- root/root 464 2017-10-30 10:53
./usr/share/squeezeboxserver/HTML/EN/html/vars.js
lrwxrwxrwx root/root 0 2017-10-30 10:57
./usr/share/squeezeboxserver/Plugins -> /var/lib/squeezeboxserver/Plugins
--------------------
The install should have created it (/var/log/squeezeboxserver/) with the
correct squeezboxserver:nogroup permissions. Perhaps you've looked
already, but as DJanGo says, LMS needs to write its log files in that
directory as soon as it starts. This should all happen without user
intervention, I would have thought /var/log/squeezeboxserver was the
key directory to check for owner & perms.
------------------------------------------------------------------------
Krisbee's Profile: http://forums.slimdevices.com/member.php?userid=59080
View this thread: http://forums.slimdevices.com/showthread.php?t=108217
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix