|
Ubuntu server 22.04 LTS minimserver will not start automatically
|
|
25-05-2023, 17:36
Post: #1
|
|||
|
|||
|
Ubuntu server 22.04 LTS minimserver will not start automatically
Furthermore, it requires "sudo" to do so at all, manually or I get errors.
When I try "minimserver/bin/startc" I get this error: jason@musicserver:~$ cd /home jason@musicserver:/home$ minimserver/bin/startc Error locking configuration lock file /home/minimserver/data/minimserver.config.lock jason@musicserver:/home$ and when I try "minimserver/bin/startd" I get this error: jason@musicserver:~$ cd /home jason@musicserver:/home$ minimserver/bin/startd touch: cannot touch '/home/minimserver/data/minimserver.start': Permission denied minimserver/bin/startd: 193: cannot create /home/minimserver/data/minimserver.pid: Permission denied minimserver/bin/startd: 172: cannot create /home/minimserver/data/minimserver.pid: Permission denied minimserver/bin/startd: 167: cannot create /home/minimserver/data/minimserver-out.log: Permission denied MinimServer 2.2 update 240, Copyright © 2012-2023 Simon Nash. All rights reserved. starting MinimServer[musicserver] MinimServer[musicserver] is running Startup complete - press enter to shutdown: stopping MinimServer[musicserver] MinimServer[musicserver] is stopped ohnet.debug setting is '' starting MinimServer[musicserver] MinimServer[musicserver] is running ending MinimServer stopping MinimServer[musicserver] MinimServer[musicserver] is stopped jason@musicserver:/home$ If I use "sudo" it works fine, but does not auto start on next reboot. This is my java information: jason@musicserver:/$ java -version openjdk version "11.0.19" 2023-04-18 OpenJDK Runtime Environment (build 11.0.19+7-post-Ubuntu-0ubuntu122.04.1) OpenJDK 64-Bit Server VM (build 11.0.19+7-post-Ubuntu-0ubuntu122.04.1, mixed mode, sharing) jason@musicserver:/$ |
|||
|
25-05-2023, 17:57
Post: #2
|
|||
|
|||
|
RE: Ubuntu server 22.04 LTS minimserver will not start automatically
Permission problems like this are usually caused by using the root user to do the MinimServer installation. You need to be logged in as a regular user when you do the installation, as described in point 4 of this section.
To fix this, do the following: 1) Uninstall MinimServer by running sudo /home/minimserver/bin/uninstall 2) Check that the /home/minimserver folder and all its subfolders have been removed 3) When logged in as a regular user, reinstall MinimServer in the home directory of this regular user by following the steps in the section linked above It is possible that you might still get some permission errors because of files left over from the previous installation. If you do, please post details here. |
|||
|
25-05-2023, 18:07
Post: #3
|
|||
|
|||
RE: Ubuntu server 22.04 LTS minimserver will not start automatically
(25-05-2023 17:57)simoncn Wrote: Permission problems like this are usually caused by using the root user to do the MinimServer installation. You need to be logged in as a regular user when you do the installation, as described in point 4 of this section. Thanks for the reply. Is the fact that I am doing all of this via SSH and am signed in as a user with admin rights causing the problem? |
|||
|
25-05-2023, 18:14
Post: #4
|
|||
|
|||
|
RE: Ubuntu server 22.04 LTS minimserver will not start automatically
I can't even unzip the file without sudo.
|
|||
|
25-05-2023, 21:25
Post: #5
|
|||
|
|||
|
RE: Ubuntu server 22.04 LTS minimserver will not start automatically
It is fine to use ssh for this and it should be fine if the logged in user is a member of the administrators group.
If you need sudo to unpack the file, it sounds like you are trying to unpack the file to a disk location that requires root privilege to write files. What is your current directory when you run the tar xf command? What permissions does this directory have? What error message do you get when you run tar xf without sudo? |
|||
|
26-05-2023, 05:11
(This post was last modified: 26-05-2023 05:13 by AudioDoctor.)
Post: #6
|
|||
|
|||
|
RE: Ubuntu server 22.04 LTS minimserver will not start automatically
I am installing it in my home folder because I can't "cd" into the folder "jason" inside the Home folder where my Music Folder resides.
It looks like this: /home/jason/Music. but I get an error saying that there is No such file or directory. The "ls" command does list it as being there. jason@musicserver:/home$ ls -S jason edit: Before my disk failure, I had this set up and working perfectly. I don't know what is different this time. |
|||
|
26-05-2023, 07:37
Post: #7
|
|||
|
|||
|
RE: Ubuntu server 22.04 LTS minimserver will not start automatically
Please run the following commands and post the output here:
Code: ls -al / |
|||
|
26-05-2023, 22:32
Post: #8
|
|||
|
|||
|
RE: Ubuntu server 22.04 LTS minimserver will not start automatically
la -al /
jason@musicserver:~$ ls -al / total 4194380 drwxr-xr-x 19 root root 4096 May 24 17:26 . drwxr-xr-x 19 root root 4096 May 24 17:26 .. lrwxrwxrwx 1 root root 7 Feb 17 11:19 bin -> usr/bin drwxr-xr-x 4 root root 4096 May 24 17:49 boot drwxr-xr-x 20 root root 4240 May 26 09:43 dev drwxr-xr-x 123 root root 4096 May 26 09:45 etc drwxr-xr-x 7 root root 4096 May 25 23:33 home lrwxrwxrwx 1 root root 7 Feb 17 11:19 lib -> usr/lib lrwxrwxrwx 1 root root 9 Feb 17 11:19 lib32 -> usr/lib32 lrwxrwxrwx 1 root root 9 Feb 17 11:19 lib64 -> usr/lib64 lrwxrwxrwx 1 root root 10 Feb 17 11:19 libx32 -> usr/libx32 drwx------ 2 root root 16384 May 24 17:20 lost+found drwxr-xr-x 2 root root 4096 Feb 17 11:19 media drwxr-xr-x 2 root root 4096 Feb 17 11:19 mnt drwxr-xr-x 2 root root 4096 Feb 17 11:19 opt dr-xr-xr-x 252 root root 0 May 26 09:43 proc drwx------ 5 root root 4096 May 26 09:48 root drwxr-xr-x 36 root root 1060 May 26 09:44 run lrwxrwxrwx 1 root root 8 Feb 17 11:19 sbin -> usr/sbin drwxr-xr-x 8 root root 4096 May 24 17:53 snap drwxr-xr-x 2 root root 4096 Feb 17 11:19 srv -rw------- 1 root root 4294967296 May 24 17:21 swap.img dr-xr-xr-x 13 root root 0 May 26 09:43 sys drwxrwxrwt 17 root root 4096 May 26 16:31 tmp drwxr-xr-x 14 root root 4096 Feb 17 11:19 usr drwxr-xr-x 13 root root 4096 Feb 17 11:23 var jason@musicserver:~$ |
|||
|
26-05-2023, 22:33
Post: #9
|
|||
|
|||
|
RE: Ubuntu server 22.04 LTS minimserver will not start automatically
la -al /home
jason@musicserver:~$ ls -al /home total 3388 drwxr-xr-x 7 root root 4096 May 25 23:33 . drwxr-xr-x 19 root root 4096 May 24 17:26 .. -rw------- 1 jason jason 2589 May 25 23:14 .bash_history -rw-r--r-- 1 jason jason 220 Jan 6 2022 .bash_logout -rw-r--r-- 1 jason jason 3771 Jan 6 2022 .bashrc drwx------ 2 jason jason 4096 May 24 17:27 .cache drwx------ 3 jason jason 4096 May 24 17:45 .config drwxrwx--- 6 jason jason 4096 May 26 09:47 jason drwxr-xr-x 9 root root 4096 May 25 23:34 minimserver -rw-r--r-- 1 jason jason 3416742 May 25 12:10 MinimServer-2.2-linux-intel.tar.gz -rw-r--r-- 1 jason jason 807 Jan 6 2022 .profile drwx------ 2 jason jason 4096 May 24 17:27 .ssh -rw-r--r-- 1 jason jason 0 May 24 17:47 .sudo_as_admin_successful -rw-r--r-- 1 jason jason 165 May 24 18:01 .wget-hsts jason@musicserver:~$ |
|||
|
26-05-2023, 22:34
Post: #10
|
|||
|
|||
|
RE: Ubuntu server 22.04 LTS minimserver will not start automatically
la -al /home/jason
jason@musicserver:~$ ls -al /home/jason total 40 drwxrwx--- 6 jason jason 4096 May 26 09:47 . drwxr-xr-x 7 root root 4096 May 25 23:33 .. -rw------- 1 jason jason 796 May 26 09:49 .bash_history drwx------ 2 jason jason 4096 May 25 23:18 .cache drwx------ 3 jason jason 4096 May 24 17:45 .config drwxrwxr-x+ 168 root root 12288 May 25 19:08 Music drwx------ 2 jason jason 4096 May 25 23:18 .ssh -rw-r--r-- 1 jason jason 0 May 25 23:33 .sudo_as_admin_successful -rw-r--r-- 1 jason jason 165 May 26 09:47 .wget-hsts jason@musicserver:~$ |
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread:

Search
Member List
Calendar
Help



