• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Creating a db from command line

IulianT

New Pleskian
Hello

I get the following error when i try to create a db on a domain that is not the primary on the subscription:

[root@plesk mysql]# /usr/local/psa/bin/database --create goinpro -domain go-in.pro -print-id -server localhost -type mysql
Unable to create database: This object can be created only in a webspace.
 
[root@plesk safebin]# /usr/local/psa/bin/domain -i go-in.pro

General
=============================
Domain name: go-in.pro
Provider's contact name: Bogdan Tenea (gameszone)
Domain status: OK
Creation date: June 13, 2012
Expiration date: Unlimited
Domain administrator: Off
Disk space limit: Unlimited
Size: 1.07 MB
Total size of backup files in local repository:0 B
Traffic limit: Unlimited
Traffic: 0 B/Month

Hosting
=============================
Hosting type: Physical hosting
IP address: 85.204.61.125
FTP Login: halflife
FTP Password: ************
SSH access to the server shell under the subscription's system user:/bin/false
Hard disk quota: Unlimited (not supported)
Disk space used by httpdocs: 16.0 KB
Disk space used by Log files and statistical reports:996 KB
Disk space used by Configuration files: 0 B
Disk space used by Chrooted environment:0 B
Traffic: 0 B/Month
SSL support: On
Certificate:
FrontPage support: Off
FrontPage over SSL support: Off
Apache ASP support: Off
SSI support: Off
PHP support: On
CGI support: On
Perl support: On
Python support: On
FastCGI support (required for Ruby on Rails):On
Miva support: Off
ColdFusion support: Off
Custom error documents: Off
Web statistics: AWStats

Web Users
=============================
Total : 0
Apache ASP support: 0
SSI support: 0
PHP support: 0
CGI support: 0
Perl support: 0
Python support: 0
FastCGI support (required for Ruby on Rails):0
Total size: 4.00 KB

Mail Accounts
=============================
Mail service: On
Total : 1
Access to Panel: 1
Mailboxes: 1
Mail forwarders: 0
Mail groups: 0
Auto-replies: 0
Total size: 64.0 KB
Traffic: 0 B/Month

Mailing Lists
=============================
Mailing list service: Off
Total : 0
Total size: 0 B

Databases
=============================
Total : 0
Total size: 8.00 KB

Java Applications
=============================
Tomcat Java service: Off
Total : 0
Total size: 0 B

Web Applications
=============================
Total : 0


Logrotation info
==============================

Log rotation condition: 5120KB (by size)
Maximum number of log files: 0
Compress log files: true
Send processed log files to e-mail:


--WWW-Root--: /var/www/vhosts/halflife.ro/go-in.pro


Subscription Information
==============================
The domain is not subscribed to a service plan.


SUCCESS: Gathering information for 'go-in.pro' completed.
 
I think that problem in
--WWW-Root--: /var/www/vhosts/halflife.ro/go-in.pro

Is go-in.pro subdomain or what of halflife.ro?
Do you really have halflife.ro domain?
 
go-in.pro is a domain attach to the halflife.ro subscription, a domain that in turn. If i try to create the db on halflife.ro it works. It think it should also work on domains that main domains on a subscription.
 
Back
Top