urgido

Well-Known Member
Jul 19, 2005
129
10
168
cPanel Access Level
Root Administrator
Hi there.
Here is the output after trying to create a subdomain

Hubo un problema al crear el subdominio:

[A warning occurred while processing this directive.] Cpanel::Exception::Database::Error/(XID py3vte) The system received an error from the “SQLite” database “/var/cpanel/bandwidth/twunmual.sqlite”: SQLITE_CORRUPT (database disk image is malformed) at /usr/local/cpanel/Cpanel/Exception/CORE.pm line 336. Cpanel::Exception::create("Database::Error", ARRAY(0x3803480)) called at /usr/local/cpanel/Cpanel/Exception.pm line 61 Cpanel::Exception::__ANON__(__CPANEL_HIDDEN__, ARRAY(0x3803480)) called at /usr/local/cpanel/Cpanel/DBI.pm line 200 Cpanel::DBI::_create_exception(Cpanel::DBI::SQLite::db=HASH(0x3803048), "DBD::SQLite::db selectrow_array failed: database disk image i"..., undef) called at /usr/local/cpanel/Cpanel/DBI.pm line 188 Cpanel::DBI::_error_handler("DBD::SQLite::db selectrow_array failed: database disk image i"..., Cpanel::DBI::SQLite::db=HASH(0x3803048), undef) called at /usr/local/cpanel/Cpanel/BandwidthDB/Base.pm line 150 Cpanel::BandwidthDB::Base::_get_schema_version(Cpanel::BandwidthDB::Write=HASH(0x35b4c30)) called at /usr/local/cpanel/Cpanel/BandwidthDB/Read.pm line 84 Cpanel::BandwidthDB::Read::_check_for_outdated_schema(Cpanel::BandwidthDB::Write=HASH(0x35b4c30)) called at /usr/local/cpanel/Cpanel/BandwidthDB/Read.pm line 73 Cpanel::BandwidthDB::Read::new("Cpanel::BandwidthDB::Write", "twunmual") called at /usr/local/cpanel/Cpanel/BandwidthDB/Write.pm line 59 Cpanel::BandwidthDB::Write::new("Cpanel::BandwidthDB::Write", "twunmual") called at /usr/local/cpanel/Cpanel/BandwidthDB.pm line 199 Cpanel::BandwidthDB::__ANON__() called at /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib/Try/Tiny.pm line 99 eval {...} called at /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib/Try/Tiny.pm line 90 Try::Tiny::try(CODE(0x3773fa0), Try::Tiny::Catch=REF(0x3773df0)) called at /usr/local/cpanel/Cpanel/BandwidthDB.pm line 212 Cpanel::BandwidthDB::_try_to_create_instance("Cpanel::BandwidthDB::Write", "twunmual") called at /usr/local/cpanel/Cpanel/BandwidthDB.pm line 223 Cpanel::BandwidthDB::__ANON__() called at /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib/Try/Tiny.pm line 99 eval {...} called at /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib/Try/Tiny.pm line 90 Try::Tiny::try(CODE(0x347a288), Try::Tiny::Catch=REF(0x33b8cf8)) called at /usr/local/cpanel/Cpanel/BandwidthDB.pm line 236 Cpanel::BandwidthDB::_try_to_create_instance_with_schema_update("Cpanel::BandwidthDB::Write", "twunmual") called at /usr/local/cpanel/Cpanel/BandwidthDB.pm line 183 Cpanel::BandwidthDB::_instantiate_for_root(__CPANEL_HIDDEN__, __CPANEL_HIDDEN__) called at /usr/local/cpanel/Cpanel/BandwidthDB.pm line 104 Cpanel::BandwidthDB::get_writer("twunmual") called at /usr/local/cpanel/Cpanel/Sub.pm line 371 Cpanel::Sub::_create_subdomain(__CPANEL_HIDDEN__, 0, __CPANEL_HIDDEN__, 0, __CPANEL_HIDDEN__, __CPANEL_HIDDEN__, __CPANEL_HIDDEN__, __CPANEL_HIDDEN__, ...) called at /usr/local/cpanel/Cpanel/Sub.pm line 72 Cpanel::Sub::addsubdomain(__CPANEL_HIDDEN__, 0, __CPANEL_HIDDEN__, 0, __CPANEL_HIDDEN__, __CPANEL_HIDDEN__, __CPANEL_HIDDEN__, __CPANEL_HIDDEN__, ...) called at bin/admin/Cpanel/domain.pl line 183 bin::admin::Cpanel::domain::__ANON__() called at /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib/Try/Tiny.pm line 95 eval {...} called at /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib/Try/Tiny.pm line 90 Try::Tiny::try(CODE(0x2e0d5c0), Try::Tiny::Catch=REF(0x1242510)) called at bin/admin/Cpanel/domain.pl line 196 bin::admin::Cpanel::domain::script("bin::admin::Cpanel::domain") called at bin/admin/Cpanel/domain.pl line 41
Thanks,
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,273
1,281
313
Houston
Hi @urgido

We have the following script that I'd like to see if you can run:
Code:
/scripts/perform_sqlite_auto_rebuild_db_maintenance
Which performs maintenance on some SQLite db's including the bandwidth SQLite database.

Thanks!