Advertisement
Guest User

Plesk repair log

a guest
Feb 17th, 2024
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 7.92 KB | None | 0 0
  1. Usage: plesk repair ASPECT [OPTION]
  2.  
  3. Run Plesk check and repair tool.
  4. Provide aspect 'all' to check and repair all aspects in the interactive mode.
  5.  
  6. Available aspects: all, mail, web, dns, ftp, fs, db, mysql, installation, sysusers.
  7.  
  8. Available options:
  9.   -y - Try to repair all found issues.
  10.   -n - Do not repair anything, check only.
  11.   -v - Display more detailed output (verbose mode).
  12.   -h - Display more detailed help on the selected aspect.
  13. root@ubuntu:/var/log/plesk/install# plesk repair -n
  14. Unknown command: -n
  15.  
  16. exit status 1
  17. root@ubuntu:/var/log/plesk/install# plesk repair all -n
  18.  
  19. Checking the Plesk database using the native database server tools .. [OK]
  20.  
  21. Checking the structure of the Plesk database ........................ [OK]
  22.  
  23. Checking the consistency of the Plesk database
  24.  
  25.   Inconsistency in the table 'smb_roleGeneralPermissions' for the
  26.   column roleId: No rows in the table 'smb_roles' with id = 1 (17
  27.   broken references) ................................................ [WARNING]
  28.   To see more details, run the command in the verbose mode: plesk repair db -verbose
  29.  
  30.   Inconsistency in the table 'smb_users' for the column roleId: No
  31.   rows in the table 'smb_roles' with id = 1 ......................... [ERROR]
  32.  
  33.   Inconsistency in the table 'smb_users' for the column ownerId: No
  34.   rows in the table 'clients' with id = ............................. [ERROR]
  35.  
  36. Checking system users ............................................... [OK]
  37.  
  38. Checking Linux system files ......................................... [OK]
  39.  
  40. Checking virtual hosts' file system ................................. [OK]
  41. ^[[A
  42. Checking Plesk version .............................................. [OK]
  43.  
  44. Checking Apache configuration ....................................... [OK]
  45.  
  46. Checking for custom configuration templates ......................... [OK]
  47.  
  48. Checking associations between domains and IP addresses .............. [OK]
  49.  
  50. Checking for corrupted reference between IP collections and
  51. IPaddresses ......................................................... [OK]
  52.  
  53. Checking for links between APS applications and subscriptions ....... [OK]
  54.  
  55. Checking for nginx ULIMIT value ..................................... [OK]
  56.  
  57. Checking for extra configurations in database not owned by any object
  58. ................................................................... [OK]
  59.  
  60. Checking the status of the required Apache modules
  61.  
  62.  There is a disabled required Apache module: proxy ................. [ERROR]
  63.  
  64.  There is a disabled required Apache module: proxy_fcgi ............ [ERROR]
  65.  
  66. Checking the configuration of Apache modules ........................ [OK]
  67.  
  68. Checking web server configuration. Please wait ...................... [OK]
  69.  
  70. Checking the usage of PHP handlers .................................. [OK]
  71.  
  72. Checking for obsolete PHP-FPM configuration files ................... [OK]
  73.  
  74. Repairing the mail server configuration ............................. [OK]
  75.  
  76. Checking the DNS configuration file ................................. [OK]
  77.  
  78. Checking the user DNS configuration file ............................ [OK]
  79.  
  80. Restoring DNS server configuration .................................. [OK]
  81.  
  82. Checking MySQL database servers ..................................... [OK]
  83.  
  84. Repair databases on available servers ............................... [OK]
  85.  
  86. Repair database users on available servers .......................... [OK]
  87.  
  88. Error messages: 4; Warnings: 1; Errors resolved: 0
  89.  
  90.  
  91.  
  92. exit status 1
  93. root@ubuntu:/var/log/plesk/install# plesk repair all
  94.  
  95.  Reconfigure the Plesk installation? [Y/n] Y
  96.  
  97. Reconfiguring the Plesk installation
  98.    Reconfiguring the Plesk installation ............................ [OK]
  99.  
  100. Checking the Plesk database using the native database server tools .. [OK]
  101.  
  102. Checking the structure of the Plesk database ........................ [OK]
  103.  
  104. Checking the consistency of the Plesk database
  105.  
  106.  Inconsistency in the table 'smb_roleGeneralPermissions' for the
  107.  column roleId: No rows in the table 'smb_roles' with id = 1 (17
  108.  broken references) ................................................ [WARNING]
  109.  To see more details, run the command in the verbose mode: plesk repair db -verbose
  110.  Remove unnecessary rows from the table 'smb_roleGeneralPermissions'? [Y/n] Y
  111.    Creating a database dump ........................................ [OK]
  112.    A dump of the database was created before an attempt to repair the database: /var/lib/psa/dumps/mysql.preresolve.20240216-154532.dump.gz
  113.    Removing unnecessary rows ....................................... [FIXED]
  114.  
  115.  Inconsistency in the table 'smb_users' for the column roleId: No
  116.  rows in the table 'smb_roles' with id = 1 ......................... [ERROR]
  117.  
  118.  Inconsistency in the table 'smb_users' for the column ownerId: No
  119.  rows in the table 'clients' with id = ............................. [ERROR]
  120.  Assign users admin to the customer admin? [Y/n] Y
  121.    Assigning users admin to the customer admin ..................... [FAILED]
  122.    - Dependent row(s) 'smb_roles.id = 1' isn't found for
  123.       'smb_users.roleId = 1'.
  124.  
  125. Checking system users ............................................... [OK]
  126.  
  127. Checking Linux system files ......................................... [OK]
  128.  
  129. Checking virtual hosts' file system ................................. [OK]
  130.  
  131. Checking Plesk version .............................................. [OK]
  132.  
  133. Checking Apache configuration ....................................... [OK]
  134.  
  135. Checking for custom configuration templates ......................... [OK]
  136.  
  137. Checking associations between domains and IP addresses .............. [OK]
  138.  
  139. Checking for corrupted reference between IP collections and
  140. IPaddresses ......................................................... [OK]
  141.  
  142. Checking for links between APS applications and subscriptions ....... [OK]
  143.  
  144. Checking for nginx ULIMIT value ..................................... [OK]
  145.  
  146. Checking for extra configurations in database not owned by any object
  147. ................................................................... [OK]
  148.  
  149. Checking the status of the required Apache modules .................. [OK]
  150.  
  151. Checking the configuration of Apache modules ........................ [OK]
  152.  
  153. Checking web server configuration
  154.  
  155.  Reinstall SSL/TLS certificates and set the default certificate for all IP addresses? [Y/n] Y
  156.    Reinstalling SSL/TLS certificates ............................... [OK]
  157.    Applying the default SSL/TLS certificate to all IP addresses .... [OK]
  158.  
  159.  Repair web server configuration for all domains? [Y/n] Y
  160.    Repairing web server configuration for all domains. This aspect
  161.    can be used with individual domains ("plesk repair web
  162.    example.com"), and on the server level ("plesk repair web") ..... [OK]
  163.  
  164.  Repair server-wide configuration parameters for web servers? [Y/n] Y
  165.    Repairing server-wide configuration parameters for web servers .. [OK]
  166.  
  167. Checking the usage of PHP handlers .................................. [OK]
  168.  
  169. Checking for obsolete PHP-FPM configuration files ................... [OK]
  170.  
  171. Repairing the mail server configuration
  172.  
  173.  Reconfigure all domains and mailboxes? [Y/n] Y
  174.    Reconfiguring all domains and mailboxes ......................... [OK]
  175.  
  176. Checking the DNS configuration file ................................. [OK]
  177.  
  178. Checking the user DNS configuration file
  179.  
  180.  Restore the user DNS configuration file from the template? [Y/n] y
  181.    Restoring the user DNS configuration file ....................... [FIXED]
  182.  
  183. Restoring DNS server configuration
  184.  
  185.  Synchronize DNS zones with the DNS server? [Y/n] y
  186.    Synchronizing DNS zones with the DNS server ..................... [OK]
  187.  
  188. Checking MySQL database servers ..................................... [OK]
  189.  
  190. Repair databases on available servers ............................... [OK]
  191.  
  192. Repair database users on available servers .......................... [OK]
  193.  
  194. Error messages: 2; Warnings: 1; Errors resolved: 2
  195.  
  196.  
  197.  
  198. exit status 1
  199.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement