Ok, I made the change in the script but when I run the ./mmserver.sh start command, I still get:
Synology> ./mmserver.sh start
-ash: ./mmserver.sh: not found
Any ideas?
Results 21 to 30 of 173
Thread: MusicIP on x86 Synology
-
2012-07-16, 04:12 #21Senior Member
- Join Date
- Jan 2012
- Posts
- 530
-
2012-07-16, 04:50 #22Senior Member
- Join Date
- Jan 2012
- Posts
- 530
Also, it seems like MIP is working but when I go to http://192.168.1.110:10002/ , I get a page cannot be displayed. So the headless server isn't running.
-
2012-07-16, 09:25 #23Senior Member
- Join Date
- Jan 2012
- Posts
- 530
Could this have something to do with the user I created? When I create a user on the GUI, it forces me to create a password as well. Could that have something to do with why it's not working for me?
-
2012-07-16, 11:15 #24Member
- Join Date
- Jul 2012
- Posts
- 39
Very strange....
I don't think this can have something to do with you created user. At that point we aren't that far.
can you tell me the output of these three commands
Code:cd /usr/local/etc/rc.d pwd ls -la
-
2012-07-16, 12:00 #25Senior Member
- Join Date
- Jan 2012
- Posts
- 530
Ok, here you go:
Synology> cd /usr/local/etc/rc.d
Synology> pwd
/usr/local/etc/rc.d
Synology> ls -la
drwxr-xr-x 2 root root 4096 Jul 16 07:07 .
drwxr-xr-x 4 root root 4096 Jul 14 08:32 ..
-rwxr-xr-x 1 root root 704 Jul 16 12:22 mmserver.sh
Synology>
-
2012-07-16, 12:09 #26Member
- Join Date
- Jul 2012
- Posts
- 39
Ok fileformat problem.
It's in dos mode and we need unix mode... so we will need vi
[code]
cd /usr/local/etc/rc.d
vi mmserver.sh
[code]
Now you need to push exactly this keys
:set fileformat=unix
:x
That should help. (each end of line is a return)
if you run into any troubles in vi
press 2 times ESC
then
:q!
-
2012-07-16, 12:48 #27Senior Member
- Join Date
- Jan 2012
- Posts
- 530
Ok that worked but a new problem:
su: can't run /sbin/nologin: No such file or directory
Running MusicMagicServer
-
2012-07-16, 13:12 #28Member
- Join Date
- Jul 2012
- Posts
- 39
ok i need to see you userfile
no worries no passwords in that file. historical name.Code:cat /etc/passwd
then Delete the user you created in the GUI.
I will then give you the line to insert into /etc/passwd
The problem is that your user has the shell "/sbin/nologin" defined. so he can't login and so he can't execute anything....
we could also make it more simple and let MusicIP run with the standard admin user. He isn't root so he can already break less... :-)
for that you need to change in mmserver.sh the line with USER to
USER=admin
Your choice.
-
2012-07-16, 13:24 #29Senior Member
- Join Date
- Jan 2012
- Posts
- 530
OK, it works!
I did exactly what you did (in the CLI) to create another user called sugarcube and used that instead and now it works! My only worry is that the user I created does not show up in the Synology GUI. Is that normal?
Here's what it looks like now:
./mmserver.sh start
Running MusicMagicServer
Synology> nohup: appending output to /root/nohup.out
But it looks like it stuck there...like it's constantly appending to some log file. Is that normal?
-
2012-07-16, 13:27 #30Member
- Join Date
- Jul 2012
- Posts
- 39
Looks good so far can you reach it on
http://synoboxip:10002
if so everything seems fine

Reply With Quote
