Hello,

I have a start up script as part of a server image that runs the first time a 
new instance of the server is started.

It performs the following:

        # start the monetdb server
        /usr/bin/merovingian
        # create and start the db
        monetdb create mydb
        monetdb start mydb
        # create tables
        mclient -lsql --time --database=mydb < /db/schemas.sql

However the mclient fails to execute the schemas. The consoles shows the 
following:

  successfully created database 'mydb'
  database 'bhtg' does not allow connections

However, if I execute the same exact commands from a bash shell once the system 
is booted, then it works fine and the mclient executes the .sql script and 
creates the tables as expected.

What could then be causing the error about not allowing connections?  The 
startup script is running with this:
# chkconfig: 345 15 95

So I think the network is fully initialized and operational by the time this 
runs.

Any advice please? Thank you.


      


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Monetdb-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-developers

Reply via email to