The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

setupdbmap don't start

Discussion in 'Database Discussions' started by Spyros, Jul 1, 2014.

  1. Spyros

    Spyros Member

    Joined:
    Jul 1, 2014
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Athens, Greece, Greece
    cPanel Access Level:
    Root Administrator
    Hi all,

    We have 2 cloudlinux servers with cpanel bought from Hentzer. we had an automatic proccess to create database via ssh and then mount the with /usr/local/cpanel/bin/setupdbmap. all was ok untill the setupdbmap script stop working, no error message just don't start from ssh.
    the server has CLOUDLINUX 6.5 x86_64 standard – server WHM 11.44.0 (build 19) and mysql 5.5.

    any ideas why script stop working?

    Regards
    Savvanis Spyros
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    The following information from this script should be helpful:

    Prior to cPanel & WHM 11.44 this script also created the mapping files based on database names; e.g., "frank_mydata" would be interpreted as "frank"’s database. Since 11.44 removes any connection between a database's name and its owner's name, all that is left for this script to do is to ensure that the directory for the mapping files exists.

    Since you are creating a database through a script, you may want to utilize our API to create the databases so they are associated with a particular account.

    Thank you.
     
  3. Spyros

    Spyros Member

    Joined:
    Jul 1, 2014
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Athens, Greece, Greece
    cPanel Access Level:
    Root Administrator
    Hi Michael,

    i found the api of cpanel and test it, working great thx a alot :)

     

Share This Page