Back up restoration warnings
Hello,
Whenever I restore a backup from WHM > Backup Restoration, I receie the following warning :
Skipped: The "MailRouting" restore module failed because of an error: Bad address length for Socket::inet_ntop on AF_INET6; got 4, should be 16 at /usr/local/cpanel/Cpanel/Ips.pm line 49.
Starting "RESTORE" for "Account" "account_name".
Restore File: /backup/2017-11-21/accounts/account_name.tar.gz
Restore Reseller Privs: yes
Restricted mode: no
Express mode: no
Target "/backup/2017-11-21/accounts" on host "server.insight-lb.com" has 149.6 GB free and requires at least 2.94 GB free, which includes space for temporary files.
The "Account" restore module has the following areas disabled by request: "all"
ArchiveManager
Preparing archive for restoration "
Calculating disk space needed "
Done.
Target "/backup/2017-11-21/accounts/cpanelpkgrestore.TMP.work.XTI6bOGf/unsafe_to_read_archive" on host "server.insight-lb.com" has 149.6 GB free and requires at least 2.94 GB free, which includes space for temporary files.
This archive"s payload appears to be in the archive"s "account_name" directory.
ArchiveManager
The system successfully prepared the archive for restoration.
PreRestoreActions
Temporarily lifting quota for existing user to ensure that all data is transferred.
PreRestoreActions
Account
Account
The "Account" restore module has been skipped because it was disabled by request.
CpUser
Restoring cPanel user file.
Updating Caches "
CpUser
CpUser data restored
Package
Package
The package exists on the system.
FeatureList
FeatureList
Feature list exists.
IPAddress
IPAddress
Homedir
Restoring Homedir"
Homedir
Homedir restored
Domains
Retrieving and sanitizing main userdata "
Parsing domain databases "
"Subdomains"
"ParkedDomains"
"AddonDomains"
Restoring Domains "
Domains
Domains restored
OldHomedirs
Linking old home directories
The system will restore the old home directory link "/home2/account_name" "
Done.
OldHomedirs
Roundcube
The system will create a temporary database named "cptmpdb_account_name_bQaIYL0" to import the Roundcube data.
Restoring the database "roundcube" as "cptmpdb_account_name_bQaIYL0" "
The system has created a new database named "cptmpdb_account_name_bQaIYL0".
Granting "account_name" access to "cptmpdb_account_name_bQaIYL0" with temporary password "
Spawning restoration subprocess for "cptmpdb_account_name_bQaIYL0" "
Connecting to MySQL server as "account_name" in order to restore "cptmpdb_account_name_bQaIYL0" "
Releasing objects in preparation for database restore for "cptmpdb_account_name_bQaIYL0" "
Cleaning up in preparation for database restore for "cptmpdb_account_name_bQaIYL0" "
Restoring database data for "cptmpdb_account_name_bQaIYL0" "
The database restoration subprocess for "cptmpdb_account_name_bQaIYL0" is running "
The database restoration subprocess for "cptmpdb_account_name_bQaIYL0" has opened the SQL archive.
The database restoration subprocess for "cptmpdb_account_name_bQaIYL0" has closed the SQL archive.
The database restoration subprocess for "cptmpdb_account_name_bQaIYL0" has ended.
The system has restored the contents of the database "cptmpdb_account_name_bQaIYL0".
Merging grants from the temporary database named "cptmpdb_account_name_bQaIYL0" into Roundcube "
Merging data from the temporary database named "cptmpdb_account_name_bQaIYL0" into Roundcube.
Resolving Roundcube uids.
Dropping the temporary database named "cptmpdb_account_name_bQaIYL0".
Roundcube
Mysql
Preparing MySQL restore "
Databases will be overwritten on conflict.
Restoring MySQL databases
Restoring the database "database_name" as "database_name" "
The system will overwrite account_name"s existing database "database_name".
[2017-11-21 10:17:35 +0200] info [transfer_session] Dropping MySQL database "database_name" for user "account_name" "
The system has created a new database named "database_name".
Granting "account_name" access to "database_name" with temporary password "
Spawning restoration subprocess for "database_name" "
Connecting to MySQL server as "account_name" in order to restore "database_name" "
Releasing objects in preparation for database restore for "database_name" "
Cleaning up in preparation for database restore for "database_name" "
Restoring database data for "database_name" "
The database restoration subprocess for "database_name" is running "
The database restoration subprocess for "database_name" has opened the SQL archive.
The database restoration subprocess for "database_name" has closed the SQL archive.
The database restoration subprocess for "database_name" has ended.
The system has restored the contents of the database "database_name".
Restoring MySQL database mappings
Restoring MySQL privileges
Database users will be overwritten on conflict.
Restoring MySQL grants
[2017-11-21 10:17:36 +0200] info [transfer_session] Changing password for MySQL virtual user database_name as system user account_name...
[2017-11-21 10:17:36 +0200] info [transfer_session] Creating MySQL virtual user database_name for user account_name
[2017-11-21 10:17:36 +0200] info [transfer_session] Changing password for MySQL virtual user woodandg_operate as system user account_name...
[2017-11-21 10:17:36 +0200] info [transfer_session] Creating MySQL virtual user woodandg_operate for user account_name
Restoring MySQL access hosts
Storing MySQL Grants
Mysql
Logs
Logs
Mail
Restoring Mail files
Resetting Quotas to sane values
Mail
DKIM
DKIM
DKIM restored
Password
Restoring password "
Password for "account_name" has been changed.
Password
Counter
Restoring Counter Data
Counter
PublicHtmlSymlinks
PublicHtmlSymlinks
SSL
This certificate was already installed on this host. The system made no changes.
SSL
VhostIncludes
Restoring custom virtualhost templates"
VhostIncludes
Postgres
Preparing PostgreSQL restore "
This system does not have PostgreSQL.
Postgres
Reseller
Restoring reseller packages and features (if any)
Restoring reseller privileges (if any)
Reseller
PublicContact
PublicContact
Horde
Restoring Horde (if any)
Updating the horde configuration.
Running database checks for 1 account(s) " Starting update of 1 user in parallel " ------------------------------------------------------------------------ Summary: Ran database checks on 1 account(s). There were 0 accounts with failures during this process (see above): n/a There were 1 accounts successfully processed: account_name There were 0 accounts that did not need any work done: n/a
Horde
FileProtect
FileProtect
CustomLocale
CustomLocale
OK
userdata
Restoring userdata"
Restoring userdata for "domain.com" "
userdata
Integration
Integration
DigestShadow
DigestShadow
WebDiskHomedir
WebDiskHomedir
Shell
Restoring shell
The user"s shell is already set to "/usr/local/cpanel/bin/noshell".
Shell
NobodyFiles
NobodyFiles
Unsuspend
Unsuspending .htaccess files for domains domain.com.
Unsuspend
Cron
Restoring crontab
Cron
Ftp
Restoring ftp password file
Resyncing FTP Passwords
1
Ftp
AutoSSL
AutoSSL
BackupConfig
Restoring backup config "
Updated backup config for "account_name".
Restoring legacy backup config "
Updated legacy backup config for "account_name".
BackupConfig
Mailman
Restoring Mailman lists
Mailman
Mailman Restored
MailFix
Fixing mail permissions
Converting to maildir if needed
Rescanning mailboxes for full text search (FTS) if needed
Rescanning mailboxes for full text search indexing for 'account_name'......5 rescanned... Done
MailFix
Tomcat
Tomcat
Htaccess
Htaccess
EasyApache4 was repaired in .htaccess files.
Subaccount
Subaccount
Ran Subaccount database checks
ZoneFile
Restoring DNS zones
Fetching existing zones.
Restoring zone: "domain.com".
Cluster Zone Updates: "domain.com"
ZoneFile
SPF
Updating SPF Records
SPF
MailRouting
Update mail routing
MailRouting
Bad address length for Socket::inet_ntop on AF_INET6; got 4, should be 16 at /usr/local/cpanel/Cpanel/Ips.pm line 49.
ProxySubdomains
Update Proxy subdomains for "account_name".
domain.com [domain.com, 132.148.68.109, no changes needed]
ProxySubdomains
PostRestoreActions
Updating Caches "
Updating Nameserver IP Address Report
Syncing contact information
Refreshing vhosts and restarting apache
PostRestoreActions
Quota
Restoring quota
Quota
APITokens
APITokens
AuthnLinks
AuthnLinks
BandwidthData
Restoring Bandwidth Data
Importing legacy RRD data "
BandwidthData
Success.-
Bad address length for Socket::inet_ntop on AF_INET6; got 4, should be 16
Hello, This looks like the same issue discussed at: Remote User Account Transfer Error: Bad address length for Socket Thank you.0 -
Ok, I called Godaddy support, they told me the VPS servers at Godaddy don't support IPv6, because it's virtuozzo. I was using this feature for a year without any problem, I don't know what happened now. Could the support agent missing some knowledge ? 0 -
This is the final response from Godaddy : I'm sorry to relay this news. While IPv6 is an important product feature, due to the low demand I previously mentioned it is not something we currently support in these environments. However, this is under consideration on our future VPS offerings and will be prioritized on the development roadmap. Keep an eye out for further announcements. 0 -
Hello, This is more noticeable in cPanel version 68 because various parts of the product will fail to work properly (whereas the may have worked in cPanel version 66). We're introducing an upgrade blocker as part of internal case CPANEL-17054 to prevent servers using non-IPv6 enabled servers from upgrading to cPanel version 68, however this won't help existing servers that have already upgraded to the newer version. In cases where your provider is unable to accommodate IPv6-enabled kernels, you may want to see if they can setup a new VPS running a LTS version of cPanel (e.g. cPanel version 62) so you can then migrate your accounts to it. Thank you. 0 -
Its not easy to migrate to another server, I don't have free days for this. If I wait few weeks, are you going to release new update including a fix ? 0 -
Hello, Unfortunately, this isn't something we can fix as the product has been developed for IPv6-enabled kernels only. You can find it listed on our system requirements page at: Installation Guide - System Requirements - Version 68 Documentation - cPanel Documentation IPv6 kernel support cPanel & WHM and cPanel DNSONLY require that your kernel includes the ipv6 module, or includes that functionality directly within the kernel. [LIST] - If your kernel does not include it in the ipv6 module, the AF_INET6 address family must also be available.
- Most distributed kernels include this support by default. However, some users of custom kernels may experience problems. Warning: If your kernel does not include the appropriate IPv6 support, the installation will fail.
Thank you.0 -
you suggest i migrate to another VPS server (2 days of work) and keep an old cPanel at version 62 ? this is the best solution ? 0 -
Is it alright to ignore the error ? is this problem preventing the restore procedure to complete successfully ? what is the negative return of this problem ? thanks 0 -
Is it alright to ignore the error ? is this problem preventing the restore procedure to complete successfully ? what is the negative return of this problem ? thanks
Hello, The error message you referenced shouldn't prevent the restore from succeeding, but note that you may also face similiar error messages with functions such as creating accounts, transferring accounts, or editing DNS zones. You are essentially using cPanel on an environment it's not intended for or tested with, so there's a chance you will face additional errors with other features as well. Thank you.0
Please sign in to leave a comment.
Comments
10 comments