• 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

plesk on redhat 6 boot errors

MatteoSI

New Pleskian
Hi all,

System updated today:
---
cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.1 (Santiago)

Linux host.domain.com 2.6.32-131.17.1.el6.x86_64 #1 SMP Thu Sep 29 10:24:25 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux
---

On this new upgraded system now i installed "parallels_installer_v3.10.0_build110701.11_os_RedHat_el6_x86_64".

- Some troubles with redhat library version of xmlrpc-c and xmlrpc-c-client solved with a rollback to the precedent version.
- Some troubles with selinux and iptables both disabled.
- Some boot errors:

----------------
[...]
Starting automount: [ OK ]
Starting SWsoft control panels server...[ OK ]
Starting sshd: [ OK ]
Starting xinetd: [ OK ]
Starting Courier-IMAP server:
Starting imapd [ OK ]
Starting imap-ssl [ OK ]
Starting pop3 [ OK ]
Starting pop3-ssl [ OK ]

Starting postfix: [ OK ]
Unable to connect to Plesk Database: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
System error 2: No such file or directory
Unable to connect to mysql database

System error 25: Inappropriate ioctl for device
Starting psa-spamassassin service: [FAILED]
Starting abrt daemon: [ OK ]
Starting psa... done
Starting xinetd service... done
Starting named service... done
Starting mysqld service... done
Starting postgresql service... done
Starting psa-spamassassin service... done
Plesk: Starting Mail Server... already started
Starting mail handlers tmpfs storage
Starting psa... done
Starting drwebd service... done
Starting PP HM notification daemon: [ OK ]
Starting sw-collectd: [ OK ]
Starting crond: [ OK ]
Starting atd: [ OK ]
Starting Red Hat Network Daemon: [ OK ]
Starting rhsmcertd 240[ OK ]

Red Hat Enterprise Linux Server release 6.1 (Santiago)
Kernel 2.6.32-131.17.1.el6.x86_64 on an x86_64
----------------
The postgresql strartup problem solved with "service postgresql initdb".
I do not understand "psa-spamassassin" Failed/OK and the mysql problem, the file "/var/lib/mysql/mysql.sock" exist and i can connect to the db.

Before putting into production this machine i would like to understand and eventually solve these problems.

Thanks

Matteo
 
Read /var/log/mysqld.log at least for finding problem with mysql server starting.
 
Unable to connect to Plesk Database: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
System error 2: No such file or directory
Unable to connect to mysql database

There is really serious problem with MySQL server and it should be investigated and fixed. Contact Parallels Support Team if you can't do it by yourself.
 
Did you check and repair your MySQL server? MySQL server is third-party software. It doesn't work on your server and you should fix MySQL but not Plesk.
 
What does

/etc/init.d/mysqld status

Return?

Sounds like your mysqld may not be running.

Thank for your reply

---
# /etc/init.d/mysqld status
mysqld (pid 1668) is running...
---

The problem is the boot error, mysql is up and running and i can connect to it!
 
I have a fresh Centos 6.2 box with plesk 10.4.4 installed and have the same error on boot - What can i do?
The problem is the boot error, mysql is up and running and i can connect to it!

Bringing up loopback interface: [ OK ]
Bringing up interface eth0: [ OK ]
Starting auditd: [ OK ]
Starting portreserve: [ OK ]
Starting system logger: [ OK ]
Mounting other filesystems: [ OK ]
Retrigger failed udev events[ OK ]
Starting SWsoft control panels server...[ OK ]
Starting APF:[ OK ]
Starting sshd: [ OK ]
Starting xinetd: [ OK ]
Starting Courier-IMAP server:
Starting imapd [ OK ]
Starting imap-ssl [ OK ]
Starting pop3 [ OK ]
Starting pop3-ssl [ OK ]

Starting postfix: [ OK ]
Starting psa-pc-remote: [ OK ]
Unable to connect to Plesk Database: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
System error 2: No such file or directory
Unable to connect to mysql database

System error 25: Inappropriate ioctl for device
Starting psa-spamassassin service: [FAILED]
Starting psa... done
Starting xinetd service... done
Starting named service... done
Starting mysqld service... done
Starting psa-spamassassin service... done
Plesk: Starting Mail Server... already started
** IN_UDP DROP ** IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:04:75:d6:cb:d2:08:00 SRC=192.168.20.9 DST=192.168.20.255 LEN=177 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=631 DPT=631 LEN=157
Starting psa... done
Starting drwebd service... not installed
Starting crond: [ OK ]

CentOS release 6.2 (Final)
 
Last edited by a moderator:
After a yum update it works ;-)

I have a fresh Centos 6.2 box with plesk 10.4.4 installed and have the same error on boot - What can i do?
The problem is the boot error, mysql is up and running and i can connect to it!
 
You could paste a copy of your /var/log/yum.log I am guessing it's a mysql update. It will be at the end on the date they were updated.

Cheers,
David
 
Here is the /var/log/yum.log from yesterday. I Have installed atomicorp asl too.

Best regards
Wolfgang




Mar 08 15:03:53 Installed: libXrender-0.9.5-1.el6.x86_64
Mar 08 15:03:53 Installed: 2:libogg-1.1.4-2.1.el6.x86_64
Mar 08 15:03:54 Installed: libXext-1.1-3.el6.x86_64
Mar 08 15:03:55 Installed: prelink-0.4.6-3.el6.x86_64
Mar 08 15:04:00 Installed: gradm-2.2.2-5.el6.art.x86_64
Mar 08 15:04:00 Installed: libXv-1.0.5-1.el6.x86_64
Mar 08 15:04:00 Installed: 1:libvorbis-1.2.3-4.el6_2.1.x86_64
Mar 08 15:04:00 Installed: 1:libtheora-1.1.0-2.el6.x86_64
Mar 08 15:04:00 Installed: libXft-2.1.13-4.1.el6.x86_64
Mar 08 15:04:01 Installed: perl-Proc-ProcessTable-0.44-8.el6.art.x86_64
Mar 08 15:04:01 Installed: unhide-20110113-1.el6.art.x86_64
Mar 08 15:04:02 Installed: paxtest-0.9.9-1.el6.art.x86_64
Mar 08 15:04:02 Installed: liboil-0.3.16-4.1.el6.x86_64
Mar 08 15:04:03 Installed: cdparanoia-libs-10.2-5.1.el6.x86_64
Mar 08 15:04:03 Installed: 1:pkgconfig-0.23-9.1.el6.x86_64
Mar 08 15:04:03 Installed: gstreamer-tools-0.10.29-1.el6.x86_64
Mar 08 15:04:04 Installed: gstreamer-0.10.29-1.el6.x86_64
Mar 08 15:04:04 Installed: xml-common-0.6.3-32.el6.noarch
Mar 08 15:04:07 Installed: iso-codes-3.16-2.el6.noarch
Mar 08 15:04:07 Installed: skdet-1.0-1.el6.art.x86_64
Mar 08 15:04:07 Installed: rkhunter-1.3.8-3.el6.art.noarch
Mar 08 15:04:08 Installed: inotify-tools-3.13-2.el6.art.x86_64
Mar 08 15:04:09 Installed: ossec-hids-2.6-7.el6.art.x86_64
Mar 08 15:04:10 Installed: libgudev1-147-2.40.el6.x86_64
Mar 08 15:04:10 Installed: gc-7.1-10.el6.x86_64
Mar 08 15:04:10 Installed: alsa-lib-1.0.22-3.el6.x86_64
Mar 08 15:04:11 Installed: chkrootkit-0.49-2.el6.art.x86_64
Mar 08 15:04:15 Installed: clamav-db-0.97.3-1505.el6.art.x86_64
Mar 08 15:04:19 Installed: clamav-0.97.3-1505.el6.art.x86_64
Mar 08 15:04:21 Installed: clamd-0.97.3-1505.el6.art.x86_64
Mar 08 15:04:21 Installed: asl-stream-client-1.0-4.el6.art.x86_64
Mar 08 15:04:21 Installed: perl-Unix-Syslog-1.1-7.el6.art.x86_64
Mar 08 15:04:21 Installed: libvisual-0.4.0-9.1.el6.x86_64
Mar 08 15:04:22 Installed: libthai-0.1.12-3.el6.x86_64
Mar 08 15:04:22 Installed: pixman-0.18.4-1.el6_0.1.x86_64
Mar 08 15:04:22 Installed: cairo-1.8.8-3.1.el6.x86_64
Mar 08 15:04:23 Installed: pango-1.28.1-3.el6_0.5.1.centos.x86_64
Mar 08 15:04:23 Installed: gstreamer-plugins-base-0.10.29-1.el6.x86_64
Mar 08 15:04:25 Installed: bigloo-libs-3.3a-2.5.el6.art.x86_64
Mar 08 15:04:27 Installed: roadsend-php-libs-2.9.8-10.2.el6.art.x86_64
Mar 08 15:04:28 Installed: 1:asl-3.0.20-2.el6.art.x86_64
Mar 08 15:04:32 Installed: psmon-1.39-5.el6.art.noarch
Mar 08 15:04:33 Installed: mod_sed-1.0.2-3.el6.art.x86_64
Mar 08 15:04:34 Installed: mod_security-2.6.3-1.el6.art.x86_64
Mar 08 15:04:34 Installed: mod_evasive-1.10.1-4.el6.art.x86_64
Mar 08 15:05:06 Updated: 1:kernel-firmware-2.6.32.57-14.art.x86_64
Mar 08 15:08:19 Installed: 1:kernel-2.6.32.57-14.art.x86_64
Mar 08 15:09:17 Installed: asl-php-common-5.2.17-1.el6.art.x86_64
Mar 08 15:09:20 Installed: tortixd-2.2.22-2.el6.art.x86_64
Mar 08 15:09:20 Installed: 1:tortixd-mod_ssl-2.2.22-2.el6.art.x86_64
Mar 08 15:09:20 Installed: asl-php-pdo-5.2.17-1.el6.art.x86_64
Mar 08 15:09:20 Installed: asl-php-mysql-5.2.17-1.el6.art.x86_64
Mar 08 15:09:21 Installed: asl-php-cli-5.2.17-1.el6.art.x86_64
Mar 08 15:09:22 Installed: asl-php-5.2.17-1.el6.art.x86_64
Mar 08 15:04:23 Installed: pango-1.28.1-3.el6_0.5.1.centos.x86_64
Mar 08 15:04:23 Installed: gstreamer-plugins-base-0.10.29-1.el6.x86_64
Mar 08 15:04:25 Installed: bigloo-libs-3.3a-2.5.el6.art.x86_64
Mar 08 15:04:27 Installed: roadsend-php-libs-2.9.8-10.2.el6.art.x86_64
Mar 08 15:04:28 Installed: 1:asl-3.0.20-2.el6.art.x86_64
Mar 08 15:04:32 Installed: psmon-1.39-5.el6.art.noarch
Mar 08 15:04:33 Installed: mod_sed-1.0.2-3.el6.art.x86_64
Mar 08 15:04:34 Installed: mod_security-2.6.3-1.el6.art.x86_64
Mar 08 15:04:34 Installed: mod_evasive-1.10.1-4.el6.art.x86_64
Mar 08 15:05:06 Updated: 1:kernel-firmware-2.6.32.57-14.art.x86_64
Mar 08 15:08:19 Installed: 1:kernel-2.6.32.57-14.art.x86_64
Mar 08 15:09:17 Installed: asl-php-common-5.2.17-1.el6.art.x86_64
Mar 08 15:09:20 Installed: tortixd-2.2.22-2.el6.art.x86_64
Mar 08 15:09:20 Installed: 1:tortixd-mod_ssl-2.2.22-2.el6.art.x86_64
Mar 08 15:09:20 Installed: asl-php-pdo-5.2.17-1.el6.art.x86_64
Mar 08 15:09:20 Installed: asl-php-mysql-5.2.17-1.el6.art.x86_64
Mar 08 15:09:21 Installed: asl-php-cli-5.2.17-1.el6.art.x86_64
Mar 08 15:09:22 Installed: asl-php-5.2.17-1.el6.art.x86_64
Mar 08 15:09:23 Installed: t1lib-5.1.2-6.el6_2.1.x86_64
Mar 08 15:09:23 Installed: asl-php-gd-5.2.17-1.el6.art.x86_64
Mar 08 15:09:25 Installed: 1:asl-web-3.0.20-2.el6.art.x86_64
Mar 08 15:13:06 Installed: perl-DBD-SQLite-1.27-3.el6.x86_64
Mar 08 15:13:07 Installed: ossec-hids-server-2.6-7.el6.art.x86_64
Mar 08 15:15:25 Updated: psa-proftpd-1.3.4a-1.el6.art.x86_64
Mar 08 15:23:03 Updated: php-common-5.3.3-3.el6_2.6.x86_64
Mar 08 15:23:08 Updated: openssl-1.0.0-20.el6_2.2.x86_64
Mar 08 15:23:09 Updated: gmp-4.3.1-7.el6_2.2.x86_64
Mar 08 15:23:11 Updated: php-cli-5.3.3-3.el6_2.6.x86_64
Mar 08 15:23:12 Updated: php-pdo-5.3.3-3.el6_2.6.x86_64
Mar 08 15:23:32 Updated: selinux-policy-3.7.19-126.el6_2.10.noarch
Mar 08 15:23:33 Updated: module-init-tools-3.9-19.el6_2.x86_64
Mar 08 15:23:42 Updated: initscripts-9.03.27-1.el6.centos.1.x86_64
Mar 08 15:25:24 Updated: selinux-policy-targeted-3.7.19-126.el6_2.10.noarch
Mar 08 15:25:34 Updated: php-mysql-5.3.3-3.el6_2.6.x86_64
Mar 08 15:25:39 Updated: php-5.3.3-3.el6_2.6.x86_64
Mar 08 15:25:40 Updated: php-imap-5.3.3-3.el6_2.6.x86_64
Mar 08 15:25:43 Updated: php-gd-5.3.3-3.el6_2.6.x86_64
Mar 08 15:25:45 Updated: php-xml-5.3.3-3.el6_2.6.x86_64
Mar 08 15:25:47 Updated: php-mbstring-5.3.3-3.el6_2.6.x86_64
Mar 08 15:25:48 Updated: 1:perl-Digest-SHA-5.47-119.el6_1.1.x86_64
Mar 08 15:25:54 Updated: libicu-4.2.1-9.1.el6_2.x86_64
Mar 08 15:25:56 Updated: 1:perl-Error-0.17015-4.el6.noarch
Mar 08 15:26:15 Updated: tzdata-2011n-2.el6.noarch
 
CentOS release 6.2 (Final) last updates

Code:
Loading /var/drweb/bases/drwrisky.vdb - Ok, virus records: 6197
Loading /var/drweb/bases/drwnasty.vdb - Ok, virus records: 28348
Total virus records: 3329102
Key file: /opt/drweb/drweb32.key - Key file was not found! (No such file or directory)
A path to a valid license key file was not specified.
Plesk authorization failed: HTTP request error [7]
Error: Plesk Software not running.
Starting system message bus: [  OK  ]
Starting cups: [  OK  ]
Mounting other filesystems:  [  OK  ]
Retrigger failed udev events[  OK  ]
Starting SWsoft control panels server...[  OK  ]
Starting sshd: [  OK  ]
Starting xinetd: [  OK  ]
psa-vpn: OpenVPN is disabled
Starting Courier-IMAP server:
   Starting imapd [  OK  ]
   Starting imap-ssl [  OK  ]
   Starting pop3 [  OK  ]
   Starting pop3-ssl [  OK  ]

Starting postfix: [  OK  ]
Starting psa-pc-remote: [  OK  ]
Unable to connect to Plesk Database: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
System error 2: No such file or directory
Unable to connect to mysql database

System error 25: Inappropriate ioctl for device
Starting psa-spamassassin service:  [FAILED]
Starting psa...                                                       done
Starting xinetd service...                                            done
Starting named service...                                             done
Starting mysqld service...                                            done
Starting postgresql service...                                        failed
Starting psa-spamassassin service...                                  done
Plesk: Starting Mail Server... already started
Starting psa...                                                       done
Starting drwebd service...                                            done
Starting PP HM notification daemon: [  OK  ]
Starting sw-collectd: [  OK  ]
Starting crond: [  OK  ]
Starting atd: [  OK  ]

Code:
mysql.x86_64           5.5.23-1.el6.remi

I have the same problem, the solution is?
 
Sorry for the late answer...

My Problem was solved after the installation from asl Atomic Secure Linux. The problem was the same on every fresh installed centos 6 box with plesk 10.4.4.
 
Back
Top