cannot access db with mserver5
![](https://secure.gravatar.com/avatar/c9d8a3ef5140b3d9f975c5292eb13cf8.jpg?s=120&d=mm&r=g)
Hello, I have been using monetdb starting my db farm with monetdbd and it has always worked fine. I have tried to start manually mserver5 with the command mserver5 --set embedded_py=true --dbpath=/path/to/db --daemon=yes —set mapi_open=true The process starts correctly, but when I try to launch mclient it says InvalidCredentialsException:checkCredentials:invalid credentials for user ‘monetdb’, what can I do? I want to start the database with mserver5 because I need remote access (—set mapi_open=true), is there a way to enable this flag using monetdbd? Thanks, Stefano
![](https://secure.gravatar.com/avatar/799bde019f01f7316101c5cd5953cf3f.jpg?s=120&d=mm&r=g)
One trick is to rename mserver5 to mserver5.bin and create a script named mserver5 which starts mserver5.bin and adds the extra command line parameters. Problem being it gets applied to all servers. From: users-list [mailto:users-list-bounces+david.b.anderson=citi.com@monetdb.org] On Behalf Of Stefano Fioravanzo Sent: Tuesday, August 30, 2016 10:26 AM To: Communication channel for MonetDB users Subject: cannot access db with mserver5 Hello, I have been using monetdb starting my db farm with monetdbd and it has always worked fine. I have tried to start manually mserver5 with the command mserver5 --set embedded_py=true --dbpath=/path/to/db --daemon=yes —set mapi_open=true The process starts correctly, but when I try to launch mclient it says InvalidCredentialsException:checkCredentials:invalid credentials for user ‘monetdb’, what can I do? I want to start the database with mserver5 because I need remote access (—set mapi_open=true), is there a way to enable this flag using monetdbd? Thanks, Stefano
![](https://secure.gravatar.com/avatar/2823c2edcccdce550f6a52db4a200bbc.jpg?s=120&d=mm&r=g)
Check the merovingian log how the server is started. Copy the command and add the extra options. In particular, there are options about the vault key that you're currently missing. On 08/30/2016 04:25 PM, Stefano Fioravanzo wrote:
Hello,
I have been using monetdb starting my db farm with monetdbd and it has always worked fine. I have tried to start manually mserver5 with the command *mserver5 --set embedded_py=true --dbpath=/path/to/db --daemon=yes —set mapi_open=true* The process starts correctly, but when I try to launch mclient it says* InvalidCredentialsException:checkCredentials:invalid credentials for user ‘monetdb’*, what can I do? * * I want to start the database with mserver5 because I need remote access (—set mapi_open=true),*is there a way to enable this flag using monetdbd*?
Thanks,
Stefano
_______________________________________________ users-list mailing list users-list@monetdb.org https://www.monetdb.org/mailman/listinfo/users-list
-- Sjoerd Mullender
![](https://secure.gravatar.com/avatar/c9d8a3ef5140b3d9f975c5292eb13cf8.jpg?s=120&d=mm&r=g)
Thank you it worked! Is there a way to set the mapi_open property to true using monetdb? Stefano
On 30 Aug 2016, at 23:49, Sjoerd Mullender
wrote: Check the merovingian log how the server is started. Copy the command and add the extra options. In particular, there are options about the vault key that you're currently missing.
On 08/30/2016 04:25 PM, Stefano Fioravanzo wrote:
Hello,
I have been using monetdb starting my db farm with monetdbd and it has always worked fine. I have tried to start manually mserver5 with the command *mserver5 --set embedded_py=true --dbpath=/path/to/db --daemon=yes —set mapi_open=true* The process starts correctly, but when I try to launch mclient it says* InvalidCredentialsException:checkCredentials:invalid credentials for user ‘monetdb’*, what can I do? * * I want to start the database with mserver5 because I need remote access (—set mapi_open=true),*is there a way to enable this flag using monetdbd*?
Thanks,
Stefano
_______________________________________________ users-list mailing list users-list@monetdb.org https://www.monetdb.org/mailman/listinfo/users-list
-- Sjoerd Mullender
_______________________________________________ users-list mailing list users-list@monetdb.org https://www.monetdb.org/mailman/listinfo/users-list
participants (3)
-
Anderson, David B
-
Sjoerd Mullender
-
Stefano Fioravanzo