• The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Major Plesk problem

Q

qiqme

Guest
Hey,

I'm really stuck now :(

Code:
ERROR: Unable to connect to database: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) 
0: /usr/local/psa/admin/auto_prepend/auth.php3:81 psaerror(string "Unable to connect to database: 
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)")

- I can't login with SSH as root (account is gone or corrupted)

- i have a bin/bash ssh account but no way i can change files or whatever. No rights or permission denied.

- Plesk is down

Have tried below but does not werk
Code:
- bash2-2.05b$ su root 
Password: 
su: /bin/bash bin:x:1:1:bin:/bin:/sbin/nologin: No such file or directory
Below some more stuff that did not work

Code:
-bash2-2.05b$ cd psa 
-bash2: cd: psa: Permission denied 
-bash2-2.05b$ mysql -uadmin -p`cat /etc/psa/.psa.shadow` 
cat: /etc/psa/.psa.shadow: Permission denied 
Enter password: 
ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) 
-bash2-2.05b$ su admin 
su: user admin does not exist

Can't do anything :(

I think my passwd file is corrupted
Code:
root:x:0:0:root:/root:/bin/bash bin:x:1:1:bin:/bin:/sbin/nologin
daemon:x:2:2:daemon:/sbin:/sbin/nologin adm:x:3:4:adm:/var/adm:/sbin/nologin
lp:x:4:7:lp:/var/spool/lpd:/sbin/nologin sync:x:5:0:sync:/sbin:/bin/sync
shutdown:x:6:0:shutdown:/sbin:/sbin/shutdown
halt:x:7:0:halt:/sbin:/sbin/halt
mail:x:8:12:mail:/var/spool/mail:/sbin/nologin news:x:9:13:news:/etc/news: 
etc etc
And it should be
Code:
root:x:0:0:root:/root:/bin/bash
bin:x:1:1:bin:/bin:/sbin/nologin
daemon:x:2:2:daemon:/sbin:/sbin/nologin
adm:x:3:4:adm:/var/adm:/sbin/nologin
lp:x:4:7:lp:/var/spool/lpd:/sbin/nologin
sync:x:5:0:sync:/sbin:/bin/sync
shutdown:x:6:0:shutdown:/sbin:/sbin/shutdown
halt:x:7:0:halt:/sbin:/sbin/halt
mail:x:8:12:mail:/var/spool/mail:/sbin/nologin
news:x:9:13:news:/etc/news:
uucp:x:10:14:uucp:/var/spool/uucp:/sbin/nologin
operator:x:11:0:operator:/root:/sbin/nologin
games:x:12:100:games:/usr/games:/sbin/nologin
gopher:x:13:30:gopher:/var/gopher:/sbin/nologin
etc etc

Please help me
 
Back
Top