Server crash when create a new user....
Three day ago, I create a new user and the server stop responding, I must hard reboot, when reboot it's all crash, all users are vanished, named.conf and others files are corrupted......
I try again and again the server crash....
I try again, change only from Automatically Detect Configuration (recommended) more " to Local Mail Exchange and the user is ok..
But now I'am afraid to create a new user and today I find the /etc/localdomains file corrupted....
Some ideas?
Amedeo Fragai
S.C.A. S.r.l.
-
But now I'am afraid to create a new user and today I find the /etc/localdomains file corrupted....
Hello :) It seems like a possible issue with your filesystem or hard drive, rather than with the cPanel software. Please review /var/log/messages, /var/log/dmesg, and /usr/local/cpanel/logs/error_log if creating a new account results in the server failing to respond and look for any specific error messages. Thank you.0 -
I found only this in /usr/local/cpanel/logs/error_log [2015-10-11 00:25:34 +0200] info [gather-update-logs] Failed to send data to cPanel [2015-10-11 00:26:27 +0200] info [rebuildhttpdconf] User 'scaservizicom' data set has no 'main_domain' key. [2015-10-11 00:26:27 +0200] info [rebuildhttpdconf] Missing owner for domain wsca01.scasrl.net, force lookup to root The system failed to load and to parse the file "/var/cpanel/databases/scaservizicom.json" because of an error: malformed JSON string, neither tag, array, object, number, string or atom, at character offset 0 (before "\x{0}\x{0}\x{0}\x{0}...") at /usr/local/cpanel/Cpanel/JSON.pm line 82. at /usr/local/cpanel/Cpanel/Transaction/File/BaseReader.pm line 58. Cpanel::Transaction::File::BaseReader::catch {...} ("malformed JSON string, neither tag, array, object, number, st"...) called at /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/Try/Tiny.pm line 104 Try::Tiny::try(CODE(0x3788290), Try::Tiny::Catch=REF(0x3742200)) called at /usr/local/cpanel/Cpanel/Transaction/File/BaseReader.pm line 59 Cpanel::Transaction::File::BaseReader::_init_data_with_catch(Cpanel::Transaction::File::JSON=HASH(0x378ad70), "path", "/var/cpanel/databases/scaservizicom.json", "permissions", 416, "ownership", ARRAY(0x3787f78)) called at /usr/local/cpanel/Cpanel/Transaction/File/Base.pm line 125 Cpanel::Transaction::File::Base::new("Cpanel::Transaction::File::JSON", "path", "/var/cpanel/databases/scaservizicom.json", "permissions", 416, "ownership", ARRAY(0x3787f78)) called at /usr/local/cpanel/Cpanel/DB/Map.pm line 159 Cpanel::DB::Map::_open_transaction(Cpanel::DB::Map=HASH(0x3787d80)) called at /usr/local/cpanel/Cpanel/DB/Map.pm line 173 Cpanel::DB::Map::_initialize_data(Cpanel::DB::Map=HASH(0x3787d80)) called at /usr/local/cpanel/Cpanel/DB/Map.pm line 115 Cpanel::DB::Map::new("Cpanel::DB::Map", HASH(0x3787cc0)) called at /usr/local/cpanel/Cpanel/DB.pm line 48 Cpanel::DB::get_map(HASH(0x3787eb8)) called at /usr/local/cpanel/Cpanel/DBAdmin.pm line 210 Cpanel::DBAdmin::_get_map(Cpanel::Mysql=HASH(0x3741ed0)) called at /usr/local/cpanel/Cpanel/Mysql.pm line 1212 Cpanel::Mysql::listdbs(Cpanel::Mysql=HASH(0x3741ed0)) called at bin/admin/Cpanel/cpmysql.pl line 3670 -
I think that was filesystem, but it's all ok, make distk test, memtest ecc.. and nothing... 0 -
Ok, happend now too, I launch the command /scripts/check_cpanel_rpms --fix I have open three shells with some logs Primary shell for fix munin error /scripts/check_cpanel_rpms --fix [2015-10-14 01:45:13 +0200] [2015-10-14 01:45:13 +0200] Problems were detected with cPanel-provided files which are RPM controlled. [2015-10-14 01:45:13 +0200] If you did not make these changes intentionally, you can correct them by running: [2015-10-14 01:45:13 +0200] [2015-10-14 01:45:13 +0200] > /usr/local/cpanel/scripts/check_cpanel_rpms --fix [2015-10-14 01:45:13 +0200] [2015-10-14 01:45:13 +0200] The following files were found to be altered from their original RPM: [2015-10-14 01:45:13 +0200] cpanel-perl-514-munin,1.4.7,1.cp1150 [2015-10-14 01:45:13 +0200] [2015-10-14 01:45:13 +0200] Removing 1 broken rpms: cpanel-perl-514-munin-1.4.7-1.cp1150.x86_64 [2015-10-14 01:45:15 +0200] Downloading http://httpupdate.cpanel.net/RPM/11.50/cloudlinux/7/x86_64/rpm.sha512 [2015-10-14 01:45:15 +0200] Successfully verified signature for cpanel (key types: release). [2015-10-14 01:45:15 +0200] Downloading http://httpupdate.cpanel.net/RPM/11.50/cloudlinux/7/x86_64/cpanel-perl-514-munin-1.4.7-1.cp1150.x86_64.rpm [2015-10-14 01:45:16 +0200] Disabling service monitoring. [2015-10-14 01:45:17 +0200] Hooks system enabled. [2015-10-14 01:45:17 +0200] Checking for and running RPM::Versions 'pre' hooks for any RPMs about to be installed [2015-10-14 01:45:17 +0200] All required 'pre' hooks have been run [2015-10-14 01:45:18 +0200] No RPMS need to be uninstalled [2015-10-14 01:45:18 +0200] Installing new rpms: cpanel-perl-514-munin-1.4.7-1.cp1150.x86_64.rpm [2015-10-14 01:45:18 +0200] Preparing packages... [2015-10-14 01:45:18 +0200] - checking munin user and group [2015-10-14 01:45:19 +0200] User 'munin' already exists. ( permissions, owner and quota reset ) [2015-10-14 01:45:19 +0200] groupadd: group 'munin' already exists [2015-10-14 01:45:19 +0200] useradd: user 'munin' already exists [2015-10-14 01:45:19 +0200] cpanel-perl-514-munin-1.4.7-1.cp1150.x86_64 [2015-10-14 01:45:19 +0200] InnoDB access granted ok. [2015-10-14 01:45:22 +0200] Updating CageFS [2015-10-14 01:45:22 +0200] cagefs-skeleton has been updated recently, if you want to force the update, please run: [2015-10-14 01:45:22 +0200] "cagefsctl --force-update" [2015-10-14 01:45:22 +0200] Done [2015-10-14 01:45:22 +0200] Restarting munin-node (via systemctl): [ OK ] [2015-10-14 01:45:22 +0200] Restarting apache (gracefully)....
Second shell exim mainlog:2015-10-14 01:45:01 cwd=/home/munin 9 args: /usr/sbin/sendmail -FCronDaemon -i -odi -oem -oi -t -f munin 2015-10-14 01:45:01 1Zm9Fd-0005qh-VW <= munin@wsca01.scasrl.net U=munin P=local S=901 T="Cron /usr/local/cpanel/3rdparty/perl/514/bin/munin-cron" for munin 2015-10-14 01:45:02 cwd=/var/spool/exim 4 args: /usr/sbin/exim -odi -Mc 1Zm9Fd-0005qh-VW 2015-10-14 01:45:02 1Zm9Fd-0005qh-VW => admin@scasrl.it (root@wsca01.scasrl.net) R=lookuphost T=remote_smtp H=mx2.scasrl.it [151.13.119.7] X=TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256 C="250 2.0.0 Ok: queued as 888A64D20318" 2015-10-14 01:45:02 1Zm9Fd-0005qh-VW Completed 2015-10-14 01:45:13 SMTP connection from [127.0.0.1]:40045 (TCP/IP connection count = 1) 2015-10-14 01:45:13 SMTP connection from localhost [127.0.0.1]:40045 closed by QUIT
Third shell messages log:Oct 14 01:45:01 wsca01 systemd: Starting Session 279 of user root. Oct 14 01:45:01 wsca01 systemd: Started Session 279 of user root. Oct 14 01:45:01 wsca01 systemd: Starting Session 283 of user root. Oct 14 01:45:01 wsca01 systemd: Started Session 283 of user root. Oct 14 01:45:01 wsca01 systemd: Created slice user-993.slice. Oct 14 01:45:01 wsca01 systemd: Starting Session 280 of user munin. Oct 14 01:45:01 wsca01 systemd: Started Session 280 of user munin. Oct 14 01:45:01 wsca01 systemd: Starting Session 282 of user root. Oct 14 01:45:01 wsca01 systemd: Started Session 282 of user root. Oct 14 01:45:01 wsca01 systemd: Starting Session 281 of user root. Oct 14 01:45:01 wsca01 systemd: Started Session 281 of user root. Oct 14 01:45:01 wsca01 systemd: Starting Session 278 of user root. Oct 14 01:45:01 wsca01 systemd: Started Session 278 of user root. Oct 14 01:45:01 wsca01 pam_lve[22452]: (root) CMD (bash /usr/sbin/kill_php_script) Oct 14 01:45:01 wsca01 pam_lve[22453]: (root) CMD (/usr/sbin/processpaneluserspackages) Oct 14 01:45:01 wsca01 pam_lve[22455]: (munin) CMD (/usr/local/cpanel/3rdparty/perl/514/bin/munin-cron) Oct 14 01:45:01 wsca01 pam_lve[22457]: (root) CMD (/usr/bin/cl-quota -YC) Oct 14 01:45:01 wsca01 pam_lve[22456]: (root) CMD (/usr/local/cpanel/scripts/cpremotetaskadmin > /dev/null 2>&1) Oct 14 01:45:01 wsca01 pam_lve[22454]: (root) CMD (/usr/local/cpanel/bin/dcpumon >/dev/null 2>&1) Oct 14 01:45:06 wsca01 kernel: Firewall: *TCP_IN Blocked* IN=eth0 OUT= MAC=00:25:90:25:ec:f2:00:22:91:08:1c:00:08:00 SRC=42.225.69.95 DST=178.32.139.97 LEN=60 TOS=0x00 PREC=0x00 TTL=48 ID=62749 DF PROTO=TCP SPT=7181 DPT=23 WINDOW=5808 RES=0x00 SYN URGP=0 Oct 14 01:45:09 wsca01 kernel: Firewall: *TCP_IN Blocked* IN=eth0 OUT= MAC=00:25:90:25:ec:f2:00:22:91:08:1c:00:08:00 SRC=42.225.69.95 DST=178.32.139.97 LEN=60 TOS=0x00 PREC=0x00 TTL=48 ID=62750 DF PROTO=TCP SPT=7181 DPT=23 WINDOW=5808 RES=0x00 SYN URGP=0 Oct 14 01:45:12 wsca01 pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127.0.0.1 Oct 14 01:45:12 wsca01 pure-ftpd: (?@127.0.0.1) [INFO] __cpanel__service__auth__ftpd__VeEzC_d4ExMydlyfACl4tSGjZUvSLDaiFi1JC3ETQKakpWC9kzuRqpfpu7MAZCAh is now logged in Oct 14 01:45:12 wsca01 pure-ftpd: (__cpanel__service__auth__ftpd__VeEzC_d4ExMydlyfACl4tSGjZUvSLDaiFi1JC3ETQKakpWC9kzuRqpfpu7MAZCAh@127.0.0.1) [INFO] Logout. Oct 14 01:45:16 wsca01 systemd: Stopping tailwatchd... Oct 14 01:45:16 wsca01 systemd: Stopped tailwatchd. Oct 14 01:45:16 wsca01 systemd: Starting tailwatchd... Oct 14 01:45:17 wsca01 tailwatchd: [Wed Oct 14 01:45:17 2015] Starting /usr/local/cpanel/libexec/tailwatch/tailwatchd daemon Oct 14 01:45:17 wsca01 tailwatchd: Log is at /usr/local/cpanel/logs/tailwatchd_log Oct 14 01:45:17 wsca01 systemd: Started tailwatchd. Oct 14 01:45:19 wsca01 systemd: Reloading. Oct 14 01:45:19 wsca01 systemd: [/etc/systemd/system/clamd.service:6] Unknown lvalue 'PidFile' in section 'Service' Oct 14 01:45:19 wsca01 systemd: [/etc/systemd/system/clamd.service:9] Unknown lvalue 'ConditionPathExists' in section 'Service' Oct 14 01:45:19 wsca01 systemd: [/usr/lib/systemd/system/db_governor.service:11] Executable path is not absolute, ignoring: ulimit -c unlimited >/dev/null 2>&1 Oct 14 01:45:19 wsca01 systemd: [/usr/lib/systemd/system/lvm2-lvmetad.socket:9] Unknown lvalue 'RemoveOnStop' in section 'Socket' Oct 14 01:45:19 wsca01 systemd: [/usr/lib/systemd/system/dm-event.socket:10] Unknown lvalue 'RemoveOnStop' in section 'Socket' Oct 14 01:45:19 wsca01 systemd: db_governor.service: Supervising process 1626 which is not our child. We'll most likely not notice when it exits. Oct 14 01:45:19 wsca01 systemd: Reloading. Oct 14 01:45:19 wsca01 systemd: [/etc/systemd/system/clamd.service:6] Unknown lvalue 'PidFile' in section 'Service' Oct 14 01:45:19 wsca01 systemd: [/etc/systemd/system/clamd.service:9] Unknown lvalue 'ConditionPathExists' in section 'Service' Oct 14 01:45:19 wsca01 systemd: [/usr/lib/systemd/system/db_governor.service:11] Executable path is not absolute, ignoring: ulimit -c unlimited >/dev/null 2>&1 Oct 14 01:45:19 wsca01 systemd: [/usr/lib/systemd/system/lvm2-lvmetad.socket:9] Unknown lvalue 'RemoveOnStop' in section 'Socket' Oct 14 01:45:19 wsca01 systemd: [/usr/lib/systemd/system/dm-event.socket:10] Unknown lvalue 'RemoveOnStop' in section 'Socket' Oct 14 01:45:19 wsca01 systemd: db_governor.service: Supervising process 1626 which is not our child. We'll most likely not notice when it exits. Oct 14 01:45:22 wsca01 systemd: Starting Munin... Oct 14 01:45:22 wsca01 systemd: PID file /var/run/munin/munin-node.pid not readable (yet?) after start. Oct 14 01:45:22 wsca01 systemd: Started Munin. Oct 14 01:45:23 wsca01 su: (to munin) root on none
This is all, the server shutdown and don't restart... What can I do?0 -
Restart the server this is the parto of messages when crash, the special character are NULL: Oct 14 01:43:29 wsca01 kernel: Firewall: *TCP_IN Blocked* IN=eth0 OUT= MAC=00:25:90:25:ec:f2:00:22:91:08:1c:00:08:00 SRC=222.186.61.7 DST=151.80.126.59 LEN=40 TOS=0x00 PREC=0x00 TTL=105 ID=256 PROTO=TCP SPT=6000 DPT=1433 WINDOW=16384 RES=0x00 SYN URGP=0 Oct 14 01:44:53 wsca01 kernel: Firewall: *TCP_IN Blocked* IN=eth0 OUT= MAC=00:25:90:25:ec:f2:00:22:91:08:1c:00:08:00 SRC=123.130.235.78 DST=178.32.139.97 LEN=60 TOS=0x00 PREC=0x00 TTL=49 ID=42782 DF PROTO=TCP SPT=15684 DPT=23 WINDOW=5808 RES=0x00 SYN URGP=0 """"""""""""""""""""""""""""""""""""""""""" Oct 14 02:47:16 wsca01 rsyslogd: [origin software="rsyslogd" swVersion="7.4.7" x-pid="518" x-info="http://www.rsyslog.com"> start Oct 14 02:47:03 wsca01 journal: Runtime journal is using 8.0M (max 4.0G, leaving 4.0G of free 47.1G, current limit 4.0G).0 -
None of the output you provided indicates why your system reboots after those actions. Could you open a support ticket using the link in my signature so we can take a closer look? You can post the ticket number here so we can update this thread with the outcome. Thank you. 0 -
None of the output you provided indicates why your system reboots after those actions. Could you open a support ticket using the link in my signature so we can take a closer look? You can post the ticket number here so we can update this thread with the outcome. Thank you.
Do you know what the resolution was to this? We're seeing a similar issue on a server we manage right now.0 -
Do you know what the resolution was to this? We're seeing a similar issue on a server we manage right now.
Could you verify which error message appears in /usr/local/cpanel/logs/error_log when creating a new account? Thank you.0
Please sign in to leave a comment.
Comments
8 comments