• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved Cannot login after failed update

chrizoo

New Pleskian
Hi,

I have a problem after update -

OS: ubuntu-he-14.04-x86_64
Plesk: Onyx 17.5.3

"
Internal error:
Unable to execute usermng: get_device: Cannot chdir to /var/www/vhosts usermng: ERROR: system call statfs: No such file or directory System error 2: No such file or directory
Message Unable to execute usermng: get_device: Cannot chdir to /var/www/vhosts usermng: ERROR: system call statfs: No such file or directory System error 2: No such file or directory
File Os.php
Line 131
Type PleskUtilException
"

/var/www/vhosts is present on the file system ...

what i found in forum: error

please help - thanks
 
Hi thanks for this - i forget to mention that i did that too

thats a snippet of my psa.conf:

# Directory for config files
PRODUCT_ETC_D /opt/psa/etc

# Directory for service utilities
PLESK_LIBEXEC_DIR /usr/lib/plesk-9.0

# Virtual hosts directory
HTTPD_VHOSTS_D /var/www/vhosts

# Apache configuration files directory
HTTPD_CONF_D /etc/apache2

# Apache include files directory
HTTPD_INCLUDE_D /etc/apache2/conf-enabled
 
When i try Plesk Repair Utilitys:

plesk repair system fs
[2017-11-30 11:19:30] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/us
ermng' '--isquotable-quiet'] with exit code [255]
Unable to execute usermng: get_device: Cannot chdir to /var/www/vhosts

usermng: ERROR: system call statfs: No such file or directory

System error 2: No such file or directory


exit status 1
 
Do you have /var/www/vhosts located on some kind of mounted device?
 
df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/ploop18312p1 209333532 37684128 163123496 19% /
none 3145728 4 3145724 1% /dev
none 4 0 4 0% /sys/fs/cgroup
none 629148 648 628500 1% /run
none 5120 20 5100 1% /run/lock
none 3145728 0 3145728 0% /run/shm
none 102400 0 102400 0% /run/user


cat /etc/fstab
proc /proc proc defaults 0 0
none /dev/pts devpts rw,gid=5,mode=620 0 0
none /run/shm tmpfs defaults 0 0
 
# stat /var/www/vhosts

stat /var/www/vhosts
File: '/var/www/vhosts'
Size: 4096 Blocks: 8 IO Block: 4096 directory
Device: 4780b681h/1199617665d Inode: 507172 Links: 25
Access: (0755/drwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2017-11-30 11:53:46.150346308 +0100
Modify: 2017-05-26 12:59:33.703564649 +0200
Change: 2017-05-26 12:59:33.703564649 +0200
Birth: -
 
Try to fix it with

# plesk installer --select-release-current --reinstall-patch --upgrade-installed-components
# plesk repair installation
 
W: Duplicate sources.list entry http://autoinstall.plesk.com/ubuntu/PMM_0.1.10/ t
rusty/all amd64 Packages (/var/lib/apt/lists/autoinstall.plesk.com_ubuntu_PMM%5f0
.1.10_dists_trusty_all_binary-amd64_Packages)
tp://autoinstall.plesk.com trusty/all Translation-en
Ign Index of / trusty/all Translation-en
Ign Index of / trusty/all Translation-en
Fetched 5744 kB in 4s (1357 kB/s)
Reading package lists...
W: Duplicate sources.list entry http://autoinstall.plesk.com/ubuntu/PMM_0.1.10/ t
rusty/all amd64 Packages (/var/lib/apt/lists/autoinstall.plesk.com_ubuntu_PMM%5f0
.1.10_dists_trusty_all_binary-amd64_Packages)
W: You may want to run apt-get update to correct these problems

after apt-get update no error

plesk repair installation

[2017-11-30 12:12:04] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/usermng' '--isquotable-quiet'] with exit code [255]

Error occured while sending feedback. HTTP code returned: 502


Reconfiguring the Plesk installation



Started bootstrapper repair procedure. This may take a while.

Certain actions may be skipped if not applicable.


cat: write error: Broken pipe


**** Product repair started.


===> Checking for previous installation ... not found.

Started bootstrapper repair procedure. This may take a while.

Certain actions may be skipped if not applicable.



ERROR while trying to detect MySQL service name

Check the error reason(see log file: /var/log/plesk/install/plesk_17.5.3_repair.log), fix and try again


***** problem report *****

ERROR while trying to detect MySQL service name

Check the error reason(see log file: /var/log/plesk/install/plesk_17.5.3_repair.log), fix and try again


exit status 1
 
here is a more complete output after: plesk installer --select-release-current --reinstall-patch --upgrade-installed-components

plesk installer --select-release-current --reinstall-patch --upgrade-installed-components

...

Reading package lists...

W: Duplicate sources.list entry http://autoinstall.plesk.com/ubuntu/PMM_0.1.10/ trusty/all amd64 Packages (/var/lib/apt/lists/autoinstall.plesk.com_ubuntu_PMM%5f0.1.10_dists_trusty_all_binary-amd64_Packages)

W: You may want to run apt-get update to correct these problems

[2017-11-30 12:14:14] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/usermng' '--isquotable-quiet'] with exit code [255]

Unable to execute usermng: get_device: Cannot chdir to /var/www/vhosts


usermng: ERROR: system call statfs: No such file or directory


System error 2: No such file or directory



Detecting installed product components.

OK

Synchronizing the Debian APT package index files...

Ign Index of / trusty InRelease

Hit Index of / trusty InRelease

Hit Index of / all InRelease

Hit Index of / trusty-security InRelease

Hit Index of / trusty InRelease

Hit Index of / trusty InRelease

Hit Index of / trusty-updates InRelease

Hit Index of / trusty InRelease

Hit Index of / trusty InRelease

Hit Index of / trusty Release.gpg

Get:1 Index of / trusty InRelease [5642 B]

Hit Index of / trusty/all amd64 Packages

Hit Index of / trusty/extras amd64 Packages

Hit Index of / trusty-security/main amd64 Packages

Hit Index of / trusty/all i386 Packages

Hit Index of / trusty/extras i386 Packages

Hit Index of / trusty-security/restricted amd64 Packages

Hit Atomicorp trusty InRelease

Hit Index of / all/all amd64 Packages

Hit Index of / trusty-security/universe amd64 Packages

Hit Index of / all/all i386 Packages

Hit Index of / trusty-security/multiverse amd64 Packages

Hit Index of / trusty-security/main i386 Packages

Hit Index of / trusty-security/restricted i386 Packages

Hit Atomicorp trusty/main amd64 Packages

Hit Index of / trusty/all amd64 Packages

Hit Index of / trusty-security/universe i386 Packages

Hit Index of / trusty/all amd64 Packages

Hit Index of / trusty-security/multiverse i386 Packages

Hit Index of / trusty/all i386 Packages

Hit Index of / trusty-security/main Translation-en

Hit Atomicorp trusty/main i386 Packages

Hit Index of / trusty-security/multiverse Translation-en

Hit Index of / trusty/all amd64 Packages

Hit Index of / trusty/all i386 Packages

Hit Index of / trusty-security/restricted Translation-en

Hit Index of / trusty/all amd64 Packages

Hit Index of / trusty-security/universe Translation-en

Hit Index of / trusty/all i386 Packages

Get:2 Index of / trusty/all amd64 Packages [813 B]

Hit Index of / trusty-updates/main amd64 Packages

Get:3 Index of / trusty/all i386 Packages [811 B]

Hit Index of / trusty-updates/restricted amd64 Packages

Hit Index of / trusty-updates/universe amd64 Packages

Hit Index of / trusty-updates/multiverse amd64 Packages

Hit Index of / trusty-updates/main i386 Packages

Hit Index of / trusty-updates/restricted i386 Packages

Hit Index of / trusty-updates/universe i386 Packages

Hit Index of / trusty-updates/multiverse i386 Packages

Hit Index of / trusty-updates/main Translation-en

Hit Index of / trusty-updates/multiverse Translation-en

Hit Index of / trusty-updates/restricted Translation-en

Hit Index of / trusty-updates/universe Translation-en

Hit Index of / trusty Release

Hit Index of / trusty/main amd64 Packages

Hit Index of / trusty/restricted amd64 Packages

Ign Atomicorp trusty/main Translation-en

Hit Index of / trusty/multiverse amd64 Packages

Hit Index of / trusty/universe amd64 Packages

Ign Index of / all/all Translation-en

Ign Index of / trusty/all Translation-en

Hit Index of / trusty/main i386 Packages

Hit Index of / trusty/restricted i386 Packages

Hit Index of / trusty/multiverse i386 Packages

Hit Index of / trusty/universe i386 Packages

Hit Index of / trusty/main Translation-en

Hit Index of / trusty/multiverse Translation-en

Hit Index of / trusty/restricted Translation-en

Hit Index of / trusty/universe Translation-en

Fetched 7266 B in 2s (2518 B/s)

Reading package lists...

Retrieving information about the installed license key...

Launching component and product checkers...

Downloading file PSA_17.5.3/examiners/disk_space_check.sh: 0%

Downloading file PSA_17.5.3/examiners/disk_space_check.sh: 100% was finished.

Downloading file PSA_17.5.3/examiners/panel_preupgrade_checker.php: 0%

Downloading file PSA_17.5.3/examiners/panel_preupgrade_checker.php: 100% was finished.

Downloading file PSA_17.5.3/examiners/php_launcher.sh: 0%

Downloading file PSA_17.5.3/examiners/php_launcher.sh: 100% was finished.

Checking whether the package dependencies are resolved.

Installing packages


**** Product prep-install started.


===> Checking for previous installation ... not found.

Create user 'psaadm' and group 'psaadm'

Checking for the group 'psaadm'...

Group 'psaadm' already exists


Checking for the user 'psaadm'...

User 'psaadm' already exists


Create group swkey-data

Checking for the group 'swkey-data'...

Group 'swkey-data' already exists


Checking for the group 'swkey-data'...

Trying to add supplementary group 'swkey-data' for user 'psaadm'... already there

Create Mail accounts

Checking for the group 'popuser'...

Group 'popuser' already exists


Checking for the user 'popuser'...

User 'popuser' already exists


Checking for the user 'mhandlers-user'...

User 'mhandlers-user' already exists


Trying to got legacy variables... done

config updated

===> Updated /etc/psa/psa.conf

Trying to save legacy variables... done


ERROR while trying to detect MySQL service name

Check the error reason(see log file: /var/log/plesk/install/plesk_17.5.3_installation.log), fix and try again


***** problem report *****

ERROR while trying to detect MySQL service name

Check the error reason(see log file: /var/log/plesk/install/plesk_17.5.3_installation.log), fix and try again


ERROR: An error occurred during performing of installation PREP actions (see log for details). Installation was rolled back.

Warning! Not all packages were installed.

Please check if your system services are operable.

Please resolve this issue and try to install the packages again.

If you cannot resolve the issue on your own, contact product technical support for assistance.

exit status 1
 
I can only recommend creating a request to support team to do the in-depth investigation to find the reason and to fix it. Please create a ticket to support at Plesk Help Center
 
Hi,

A friend did it with an backup and rsync - now i can login in plesk.
But after trying to install the update - same error again.

After Talking with Plesk Support they found duplicate entries in the sources.list file as well as Windows line breaks in the file /etc/psa/psa.conf

Now it everything works again.

thanks,
 
Back
Top