Running Service without root account
Problem Description: I've just installed a fresh copy of Subsonic on an Ubuntu server and it's running fine. The only issue is that I'm getting the "Warning! The Subsonic process is running as the root user." message.
I set up the server using these excellent instructions:
http://linuxg.net/how-to-install-subson ... -10-12-04/
The only problem I encountered in the process was that I had to manually create a "/tmp/subsonic" in order to change the ownership of the directory.
My etc/deefault/subsonic config file has only two lines in it:
So, any clues why the service appears to be ignoring the user I set for it, and defaulting to root?
Troubleshooting Steps: Err. None really, other than repeatedly checking to confirm that the account exists and the variable is spelled right. Oh, and I tried restarting the service without sudo to see if that was where it picked up the root access, but the command requires root to run.
Subsonic Version: (4.9 (build 3819) – January 23, 2014)
Server Version: (jetty-6.1.x, java 1.7.0_51, Linux (40.6 MB / 64.5 MB))
Hardware Platform: (Ubuntu 13.10)
Log Entries:
I set up the server using these excellent instructions:
http://linuxg.net/how-to-install-subson ... -10-12-04/
The only problem I encountered in the process was that I had to manually create a "/tmp/subsonic" in order to change the ownership of the directory.
My etc/deefault/subsonic config file has only two lines in it:
- Code: Select all
SUBSONIC_ARGS="--max-memory=120"
SUBSONIC_USER=subsonic
So, any clues why the service appears to be ignoring the user I set for it, and defaulting to root?
Troubleshooting Steps: Err. None really, other than repeatedly checking to confirm that the account exists and the variable is spelled right. Oh, and I tried restarting the service without sudo to see if that was where it picked up the root access, but the command requires root to run.
Subsonic Version: (4.9 (build 3819) – January 23, 2014)
Server Version: (jetty-6.1.x, java 1.7.0_51, Linux (40.6 MB / 64.5 MB))
Hardware Platform: (Ubuntu 13.10)
Log Entries:
- Code: Select all
[1/25/14 3:00:22 PM EST] INFO DaoHelper Checking database schema.
[1/25/14 3:00:22 PM EST] INFO DaoHelper Done checking database schema.
[1/25/14 3:00:23 PM EST] INFO VersionService Resolved local Subsonic version to: 4.9
[1/25/14 3:00:24 PM EST] INFO MediaScannerService Automatic media library scanning scheduled to run every 1 day(s), starting at Sun Jan 26 03:00:00 EST 2014
[1/25/14 3:00:25 PM EST] INFO UPnPService Starting UPnP service...
[1/25/14 3:00:25 PM EST] INFO PodcastService Automatic Podcast update scheduled to run every 24 hour(s), starting at Sat Jan 25 15:05:25 EST 2014
[1/25/14 3:00:26 PM EST] INFO UPnPService Enabling UPnP/DLNA media server
[1/25/14 3:00:26 PM EST] INFO UPnPService Starting UPnP service - Done!
[1/25/14 3:00:35 PM EST] WARN NetworkService No UPnP router found.
[1/25/14 3:00:43 PM EST] INFO VersionService Resolved latest Subsonic final version to: 4.9
[1/25/14 3:00:43 PM EST] INFO VersionService Resolved latest Subsonic beta version to: 4.9.beta4