Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Usage: plesk repair ASPECT [OPTION]
- Run Plesk check and repair tool.
- Provide aspect 'all' to check and repair all aspects in the interactive mode.
- Available aspects: all, mail, web, dns, ftp, fs, db, mysql, installation, sysusers.
- Available options:
- -y - Try to repair all found issues.
- -n - Do not repair anything, check only.
- -v - Display more detailed output (verbose mode).
- -h - Display more detailed help on the selected aspect.
- root@ubuntu:/var/log/plesk/install# plesk repair -n
- Unknown command: -n
- exit status 1
- root@ubuntu:/var/log/plesk/install# plesk repair all -n
- Checking the Plesk database using the native database server tools .. [OK]
- Checking the structure of the Plesk database ........................ [OK]
- Checking the consistency of the Plesk database
- Inconsistency in the table 'smb_roleGeneralPermissions' for the
- column roleId: No rows in the table 'smb_roles' with id = 1 (17
- broken references) ................................................ [WARNING]
- To see more details, run the command in the verbose mode: plesk repair db -verbose
- Inconsistency in the table 'smb_users' for the column roleId: No
- rows in the table 'smb_roles' with id = 1 ......................... [ERROR]
- Inconsistency in the table 'smb_users' for the column ownerId: No
- rows in the table 'clients' with id = ............................. [ERROR]
- Checking system users ............................................... [OK]
- Checking Linux system files ......................................... [OK]
- Checking virtual hosts' file system ................................. [OK]
- ^[[A
- Checking Plesk version .............................................. [OK]
- Checking Apache configuration ....................................... [OK]
- Checking for custom configuration templates ......................... [OK]
- Checking associations between domains and IP addresses .............. [OK]
- Checking for corrupted reference between IP collections and
- IPaddresses ......................................................... [OK]
- Checking for links between APS applications and subscriptions ....... [OK]
- Checking for nginx ULIMIT value ..................................... [OK]
- Checking for extra configurations in database not owned by any object
- ................................................................... [OK]
- Checking the status of the required Apache modules
- There is a disabled required Apache module: proxy ................. [ERROR]
- There is a disabled required Apache module: proxy_fcgi ............ [ERROR]
- Checking the configuration of Apache modules ........................ [OK]
- Checking web server configuration. Please wait ...................... [OK]
- Checking the usage of PHP handlers .................................. [OK]
- Checking for obsolete PHP-FPM configuration files ................... [OK]
- Repairing the mail server configuration ............................. [OK]
- Checking the DNS configuration file ................................. [OK]
- Checking the user DNS configuration file ............................ [OK]
- Restoring DNS server configuration .................................. [OK]
- Checking MySQL database servers ..................................... [OK]
- Repair databases on available servers ............................... [OK]
- Repair database users on available servers .......................... [OK]
- Error messages: 4; Warnings: 1; Errors resolved: 0
- exit status 1
- root@ubuntu:/var/log/plesk/install# plesk repair all
- Reconfigure the Plesk installation? [Y/n] Y
- Reconfiguring the Plesk installation
- Reconfiguring the Plesk installation ............................ [OK]
- Checking the Plesk database using the native database server tools .. [OK]
- Checking the structure of the Plesk database ........................ [OK]
- Checking the consistency of the Plesk database
- Inconsistency in the table 'smb_roleGeneralPermissions' for the
- column roleId: No rows in the table 'smb_roles' with id = 1 (17
- broken references) ................................................ [WARNING]
- To see more details, run the command in the verbose mode: plesk repair db -verbose
- Remove unnecessary rows from the table 'smb_roleGeneralPermissions'? [Y/n] Y
- Creating a database dump ........................................ [OK]
- A dump of the database was created before an attempt to repair the database: /var/lib/psa/dumps/mysql.preresolve.20240216-154532.dump.gz
- Removing unnecessary rows ....................................... [FIXED]
- Inconsistency in the table 'smb_users' for the column roleId: No
- rows in the table 'smb_roles' with id = 1 ......................... [ERROR]
- Inconsistency in the table 'smb_users' for the column ownerId: No
- rows in the table 'clients' with id = ............................. [ERROR]
- Assign users admin to the customer admin? [Y/n] Y
- Assigning users admin to the customer admin ..................... [FAILED]
- - Dependent row(s) 'smb_roles.id = 1' isn't found for
- 'smb_users.roleId = 1'.
- Checking system users ............................................... [OK]
- Checking Linux system files ......................................... [OK]
- Checking virtual hosts' file system ................................. [OK]
- Checking Plesk version .............................................. [OK]
- Checking Apache configuration ....................................... [OK]
- Checking for custom configuration templates ......................... [OK]
- Checking associations between domains and IP addresses .............. [OK]
- Checking for corrupted reference between IP collections and
- IPaddresses ......................................................... [OK]
- Checking for links between APS applications and subscriptions ....... [OK]
- Checking for nginx ULIMIT value ..................................... [OK]
- Checking for extra configurations in database not owned by any object
- ................................................................... [OK]
- Checking the status of the required Apache modules .................. [OK]
- Checking the configuration of Apache modules ........................ [OK]
- Checking web server configuration
- Reinstall SSL/TLS certificates and set the default certificate for all IP addresses? [Y/n] Y
- Reinstalling SSL/TLS certificates ............................... [OK]
- Applying the default SSL/TLS certificate to all IP addresses .... [OK]
- Repair web server configuration for all domains? [Y/n] Y
- Repairing web server configuration for all domains. This aspect
- can be used with individual domains ("plesk repair web
- example.com"), and on the server level ("plesk repair web") ..... [OK]
- Repair server-wide configuration parameters for web servers? [Y/n] Y
- Repairing server-wide configuration parameters for web servers .. [OK]
- Checking the usage of PHP handlers .................................. [OK]
- Checking for obsolete PHP-FPM configuration files ................... [OK]
- Repairing the mail server configuration
- Reconfigure all domains and mailboxes? [Y/n] Y
- Reconfiguring all domains and mailboxes ......................... [OK]
- Checking the DNS configuration file ................................. [OK]
- Checking the user DNS configuration file
- Restore the user DNS configuration file from the template? [Y/n] y
- Restoring the user DNS configuration file ....................... [FIXED]
- Restoring DNS server configuration
- Synchronize DNS zones with the DNS server? [Y/n] y
- Synchronizing DNS zones with the DNS server ..................... [OK]
- Checking MySQL database servers ..................................... [OK]
- Repair databases on available servers ............................... [OK]
- Repair database users on available servers .......................... [OK]
- Error messages: 2; Warnings: 1; Errors resolved: 2
- exit status 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement