Home of the Squeezebox™ & Transporter® network music players.
Page 3 of 18 FirstFirst 1234513 ... LastLast
Results 21 to 30 of 173
  1. #21
    Senior Member
    Join Date
    Jan 2012
    Posts
    530
    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?

  2. #22
    Senior 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.

  3. #23
    Senior 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?

  4. #24
    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

  5. #25
    Senior 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>

  6. #26
    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!

  7. #27
    Senior 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

  8. #28
    ok i need to see you userfile
    Code:
    cat /etc/passwd
    no worries no passwords in that file. historical name.

    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.

  9. #29
    Senior 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?

  10. #30
    Looks good so far can you reach it on
    http://synoboxip:10002

    if so everything seems fine

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •