• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved can't change plesk admin password

Finulin

New Pleskian
When i will change the admin password in Plesk-Panel or in the Shell, i became an Error:

copy_file failed: copy_file: System Error: invalid file paths in /usr/local/psa/admin/bin/copy_file: /var/lib/psa/tmp2/tmp/nsfJHYSmL /etc/psa/.psa.shadow
System error 2: No such file or directory

What can i do to set a new admin password?
 
i'm running plesk repair installation (see attachement). What is the APSC DB? In the console he give me the following error:

Trying to start service kavehost... kavehost is not running.
Starting kavehost: [FAILED]

What is kavehost?
 

Attachments

  • plesk_12.5.30_repair.log
    12.9 KB · Views: 1
Hi Finulin,

according to your error:
Code:
Connection to APSC DB is not possible: ODBC error #01000: [unixODBC][Driver Manager]Can't open lib '/usr/lib64/libmyodbc5.so' : file not found
You need to re-install a missing library. Pls. use the corresponding KB - article to solve this issue:


But ( !!! ), as you can see as well in your error - log, Plesk already seemed to repair that, because you could further read:
Code:
WARNING!
Some problems are found during fix credentials for APS controller database(see log file: /var/log/plesk/install/plesk_12.5.30_repair.log)

Continue...

===> Cumulative APS controller upgrade and repair (final stage) has been started.
Upgrade or repair for 'apsc' (stage 'post') is not required
===> Cumulative upgrade and repair of APS controller (final stage) has been completed.
Pls. restart your repair procedure, to see in the next repair - log, that all issues have been solved - if not, pls. continue with the resolution(s) from the mentioned KB - article above and restart afterwards the repair - procedure again. ;)


Trying to start service kavehost... kavehost is not running.
Starting kavehost: [FAILED]

What is kavehost?
"kavehost" is the service "Kaspersky Antivirus". Pls. try to solve your described issue first by un- and re-installing this Plesk package and see as well the corresponding log - file, located at: => "/usr/local/psa/var/log/maillog"



To inform yourself about log - files and configuration files for Plesk and its components, pls. see:




As well, pls. report back, if your INITIAL issue has been solved! ;)
 
I'm solved all issue in the log-file, but i have still the same problem and error-message:

Fehler: Administratorpasswort kann nicht geändert werden: copy_file failed: copy_file: System Error: invalid file paths in /usr/local/psa/admin/bin/copy_file: /var/lib/psa/tmp2/tmp/nsfMp27wD /etc/psa/.psa.shadow
System error 2: No such file or directory

Same error-message in plesk-panel or in console ... :(
 

Attachments

  • plesk_12.5.30_repair.log
    5.5 KB · Views: 3
i have no symbolic link

# grep PRODUCT_ROOT_D /etc/psa/psa.conf
PRODUCT_ROOT_D /usr/local/psa
# ls -lda /usr/local/psa
drwxr-xr-x. 15 root root 4096 22. Feb 11:17 /usr/local/psa
# ls -lda /usr/local
drwxr-xr-x. 15 root root 4096 16. Dez 2013 /usr/local
# ls -lda /usr
drwxr-xr-x. 14 root root 4096 16. Dez 2013 /usr
#
 
i don't understand the error-message. for what he need the file-path /var/lib/psa/tmp2/tmp/nsfJHYSmL ?
 
Make sure that /var/lib/psa/tmp2/tmp/ is not symlink. This path looks suspicious. Check this path in output of

# grep tmp /etc/psa/psa.conf
 
What is output of

# ls -la /var/lib/psa/tmp
# ls -la /var/lib/psa/tmp2
 
# ls -la /var/lib/psa/tmp
(see attachement)
 

Attachments

  • ls_var_lib_psa_tmp.txt
    24.4 KB · Views: 2
# ls -la /var/lib/psa/tmp2
insgesamt 16
drwxr-xr-x. 4 root root 4096 19. Nov 2014 .
drwxr-xr-x. 9 root root 4096 21. Nov 2014 ..
drwxrwxrwt. 5 root root 4096 7. Mär 10:14 tmp
drwxr-xr-x. 5 root root 4096 19. Nov 2014 tmp_bak
 
# ls -la /var/lib/psa/tmp2/tmp
insgesamt 91324
drwxrwxrwt. 5 root root 4096 7. Mär 10:14 .
drwxr-xr-x. 4 root root 4096 19. Nov 2014 ..
drwxr-xr-x. 2 root root 4096 26. Aug 2015 app-data.d
drwxr-s---. 2 psaadm psacln 4096 26. Aug 2015 aps
-rw-r--r--. 1 root root 92559 19. Aug 2015 default_skeleton.tgz
-rw-r--r--. 1 root root 479 26. Aug 2015 ftp.pamd
drwxr-xr-x. 7 psaadm psaadm 4096 26. Jan 2016 modulek9TdGo
-rw-r--r--. 1 root root 0 21. Nov 2014 mu25-notify.flg
-rw-r--r--. 1 root root 0 6. Mär 11:58 nsft2rEXo
-rw-r--r--. 1 root root 4247 26. Aug 2015 plesk-default-key.xml
-rw-------. 1 root root 12442900 8. Sep 17:50 tmp8VxCAb
-rw-------. 1 root root 7901871 27. Jun 2016 tmpbk1Nbc
-rw-------. 1 root root 488843 10. Okt 04:35 tmpDAUJhg
-rw-------. 1 root root 12998464 13. Feb 04:44 tmpDEL6ET
-rw-------. 1 root root 446029 22. Feb 2016 tmpExpIOt
-rw-------. 1 root root 1320572 26. Feb 2016 tmpfnCESM
-rw-------. 1 root root 10925303 26. Jan 2016 tmpGvW3No
-rw-------. 1 root root 488789 12. Sep 03:07 tmpPfjd5h
-rw-------. 1 root root 539950 16. Jan 04:30 tmpPSShNm
-rw-------. 1 root root 486727 29. Aug 2016 tmpqlo4g4
-rw-------. 1 root root 7913958 13. Jul 2016 tmpqqtxu2
-rw-------. 1 root root 485205 13. Jun 2016 tmpRSehnQ
-rw-------. 1 root root 7787385 28. Mär 2016 tmpSfXIoK
-rw-------. 1 root root 7787772 29. Mär 2016 tmptPRi8w
-rw-------. 1 root root 12996756 10. Dez 04:23 tmpUCgdhD
-rw-------. 1 root root 7847155 26. Jan 2016 tmpuKTBkr
-rw-------. 1 root root 488863 17. Okt 04:31 tmpyavTL9
-rw-r--r--. 1 psaadm psaadm 2253 21. Mai 2015 webserver_configuration_issues.log
 
Looks like some kind of customization. There shouldn't be /var/lib/psa/tmp2/ directory and /var/lib/psa/tmp2/tmp/ shouldn't be used.
Try to find where you have specified it and revert this customization back.
 
I had a symlink in /usr/local/psa/tmp -> /var/lib/psa/tmp2/tmp

this was the temp-dir for backups. i set it back and reconfigure /etc/psa/psa.conf (changing DUMP_TMP_D to /var/lib/psa/tmp2/tmp)

Now everything seems to work well. Thanks to all:)
 
Back
Top