1 2 Previous Next 27 Replies Latest reply on Sep 16, 2014 7:45 AM by OllyGroves_1

    fmsadmin Command Line tool not working on Lion Server

    ToddGeist

      Title

      fmsadmin Command Line tool not working on Lion Server

      Your post

      hello,

      I am aware that FileMaker Server 11 is probably not certified for Lion Server. However I am just trying to confirm if the issue I am having just a problem with my server.

      if I run the command

      fmsadmin -u Admin -p pswd LIST files

      I get this error

      fmsadmin: Permission denied.
      Error: 9
       
      I am absolutely certain that I have the right user name and password. It is just not working.  I already re-installed FileMaker server.
       
      Can anyone confirm that fmsadmin command line tool works on Lion Server?
       
      Thanks
       
      Todd

        • 1. Re: fmsadmin Command Line tool not working on Lion Server
          TSDuck

          Hi Todd Geist1591:

          Thanks for posting.

          FileMaker Server 11 is compatible with Mac OS X Lion.  The command line functionality should work while in the Mac OS X Lion environment as well. 

          Does your username and password work correctly logging into the admin console?

          Have you tried using just fmsadmin -u Admin -p pswd?

          The following steps can be used to reset the username and password used for the admin console.  Be aware using these steps will delete any schedules and non-default settings being used. 

           

          1. In the admin console, stop the database server.

          2. Navigate to /Library/FileMaker Server/Admin/conf

          3. Delete these 4 xml files.

          managerconfig.xml

          server_config.xml

          wpe_workerconfig.xml

          ws_workerconfig.xml

          4. Reboot the FileMaker Server machine.

          5. Open a web browser and go to http://localhost:16000

          You can now specify a new username and password.  Try using the new username and password in the command line.  Let me know if this helps with your issue.

           

          TSDuck

          FileMaker, Inc.

          • 2. Re: fmsadmin Command Line tool not working on Lion Server
            ToddGeist

            Hello,

            Thanks very much for the repsonse. But sadly it didn't help.

            I am very certain of the password. I can log into the FileMaker Admin Console just fine.  I can also use fmsadmin HELP. but anything that requires authentication does not work.

            fmsadmin -u Admin -p pswd LIST files
            fmsadmin: Permission denied.
            Error: 9

            I did however do what you suggested, but it didn't solve the problem.

            You say that FileMaker Server is compatible with Lion, but I am not sure if you meant Lion or Lion Server. I know that Lion Server is just an application rather than a whole different OS, BUT it still could be the issue.

            I am running Lion Server and it is still not working.

             

            Thanks


            Todd

            • 3. Re: fmsadmin Command Line tool not working on Lion Server
              maser

              I just tried this and it worked on my Lion Server running FM 11.0v3 server:

               

              root# fmsadmin -u Admin -p <myPW> LIST files
              filemac:/Server HD/Library/FileMaker Server/Data/Databases/OTT Invoice mailing labels.fp7

               

              (That's the only file I'm hosting on this test database while we determine if we can get by without IWP until October (!) to update our production server...)

               

               

              Did you try "sudo fmsadmin..."?  (I ran as root above...)

              • 4. Re: fmsadmin Command Line tool not working on Lion Server
                dobunzli

                Hello,

                I have the exact same problem on a fresh Lion client 10.7.2 install with latest filemaker pro server 11.0.4.

                If I input in the terminal

                fmsadmin CLOSE

                fmsadmin: really close database(s)? (y, n) y
                fmsadmin: Connection Refused: Server is unavailable.
                fmsadmin: Permission denied.

                 

                If I input the same with login and  password

                fmsadmin -u login -p password STOP SERVER


                fmsadmin: really stop SERVER? (y, n) y
                fmsadmin: Permission denied.
                Error: 9

                The whole server is working very well with the Admin Console GUI so I am sure the login and pass are right.

                Very annoying.

                Thanks for helping us.

                • 5. Re: fmsadmin Command Line tool not working on Lion Server
                  dobunzli

                  Forgot to say that I tried with sudo and that this doesn't change anything.

                  • 6. Re: fmsadmin Command Line tool not working on Lion Server
                    dobunzli

                    Hello Filemaker,

                    Can someone from Filemaker tell us at least what is the "error 9" and "error 10006", as it is not in the documentation.

                    Thanks.

                    • 7. Re: fmsadmin Command Line tool not working on Lion Server
                      TSGal

                      Dominique Bunzli:

                      Thank you for your posts, and I apologize for the late reply.  Special thanks to "PhilModJunk" for notifying me of this post.

                      A similar problem has been reported to our Testing department with FileMaker Server 11 and Mac OS X Lion, but Testing was unable to replicate the problem.  In essence, the Stop command from the Command Line was issued without any error message, but Start would retrurn error 10006 and Restart Server returned error 10007.  Restart with xDBC returned error 10007, and List Files/Clients returned error code 10502.

                      Error 9 is not having the necessary permissions.  Error 10006 is a general Start error.

                      I have logged your posts as a new issue, relating it back to the previous issue.  I will keep you posted as information becomes available to me.

                      TSGal
                      FileMaker, Inc.

                      • 8. Re: fmsadmin Command Line tool not working on Lion Server
                        TSGal

                        Dominique Bunzli:

                        A few testers were unable to replicate the problem.  They were able to close files from the command prompt and able to verify other commands such as send message, open file, list files, list schedules, etc.

                        Tests were run on a Mac Mini, a MacBook Pro, and one virtual machine without any issues.  One tester had a similar issue, but it turned out the machine was improperly installed as many applications other than FileMaker also had issues.  Once the OS was reinstalled along with FileMaker Server, the errors were no longer present.

                        Since more than one customer has reported this issue, Testing is continuing to pursue this, but they need additional help.  They ask that you reinstall Mac OS X 7 and reinstall FileMaker Server 11.0v4 and to try again.  Please continue to keep me updated.

                        TSGal
                        FileMaker, Inc.

                        • 9. Re: fmsadmin Command Line tool not working on Lion Server
                          dobunzli

                          Hello,

                          Thanks for your feedback. Unfortunately I am not able to test this before a few weeks. I eventually will and get back here as soon as I have. Until then, I stay with snow leopard. Thanks.

                          • 10. Re: fmsadmin Command Line tool not working on Lion Server
                            BeatriceBeaubien

                            Hello TSGal,

                            I also can't start FMS 11.0v3 (Windows Server 2008 R2) from the Command Line. The following returns an error of 10006:

                            fmsadmin START SERVER -u <username> -p <password> -y

                            Disconnecting clients, closing files and stopping the server all run fine. Starting Server from the Admin Console is also fine. Any advice would be gratefully received.

                             

                            Best wishes,

                            Beatrice Beaubien

                            • 11. Re: fmsadmin Command Line tool not working on Lion Server
                              TSGal

                              Beatrice Beaubien:

                              Thank you for your post.

                              Your issue is slightly different as you are running under Windows.  I have replied to your similar posting at:

                              Error 10006 when using Start or Restart from the command line

                              TSGal
                              FileMaker, Inc.

                              • 12. Re: fmsadmin Command Line tool not working on Lion Server
                                ToddGeist

                                This problem is back for meYell

                                I have uninstalled and re-stalled 4 times.  The server is certainly working. The admin console works except when I try to start the server sometimes. Then it hangs. But fmsadmin can't connect to the server.

                                Todd

                                 

                                bigboy:~ todd$ fmsadmin -v
                                FileMaker Server 12
                                Copyright(c) 1994-2012 FileMaker, Inc.  All rights reserved.

                                fmsadmin: Version 12.0v1

                                fmsadmin: Connection Refused: Server is unavailable.
                                fmsadmin: Permission denied.
                                Error: 9
                                • 13. Re: fmsadmin Command Line tool not working on Lion Server
                                  james_quiggins

                                        

                                       Todd Geist,

                                       Sorry for the late reply. 

                                        

                                       Although I do not have a definitive answer for you I can suggest that for a troubleshooting step you may want to avoid the use of special characters in your password.

                                        

                                       Please let me know if this resolves your issue so I can attach your post to the previous report with development and testing.

                                        

                                       TSwildcat,

                                       FileMaker Inc

                                  • 14. Re: fmsadmin Command Line tool not working on Lion Server
                                    Vincent_L

                                         I've the exact Same isssue : 

                                         Mac OS 10.8.3

                                         Latest Java 7

                                         FMS 11.0v5

                                         Please note I use Mountain lion server (2.2.1)

                                          

                                         I tried with sudo, and even as root. No change.

                                    1 2 Previous Next