cat some_file | awk '!_[$1]++'
Monthly Archives: May 2018
Premature end of script headers: index.php
You can try check mysql tables of your old WrodPress website.
grep enable auto color always
export GREP_OPTIONS='--color=always'
error: sys/capability.h: No such file or directory
yum reinstall libcap-devel
The cPanel Store returned an error (X::Item::ActivationFailure) in response to the request “POST ssl/certificate/free”: Generic exception
cPanel free SSL issue
This means server is currently running EasyApache 3, our older Apache and PHP management/configuration system. EasyApache 3 is scheduled for deprecation and will reach its End-of-Life on December 31, 2018. At that time, maintenance and security fixes will no longer be released for this software. As outlined in this blog post, cPanel/WHM updates will also not be possible after WHM 76.
You need upgrade the server to EasyApache 4
dovecot: auth: Error: policy(,::1,<>): Policy server HTTP error: connect(127.0.0.1:579) failed: Connection refused
/scripts/restartsrv_cphulkd
Waiting for “cphulkd” to start ……waiting for “cphulkd” to initialize ………finished.
Service Status
cphulkd (cPhulkd – processor) running as root with PID 2410556 (process table check method)
Startup Log
Starting cPHulkd…
Started.
Starting PID 2410544: cPhulkd – processor – dormant mode – accepting connections
cphulkd started successfully.
Startup Log
Starting cPHulkd…
Started.
Starting PID 2410544: cPhulkd – processor – dormant mode – accepting connections
Error: Package: zabbix-agent-4.0.0-1.1alpha6.el6.x86_64 (zabbix)
Resolving Dependencies
–> Running transaction check
—> Package zabbix-agent.x86_64 0:4.0.0-1.1alpha6.el6 will be installed
–> Processing Dependency: libpcre.so.0()(64bit) for package: zabbix-agent-4.0.0-1.1alpha6.el6.x86_64
–> Finished Dependency Resolution
Error: Package: zabbix-agent-4.0.0-1.1alpha6.el6.x86_64 (zabbix)
Requires: libpcre.so.0()(64bit)
You could try using –skip-broken to work around the problem
You could try running: rpm -Va –nofiles –nodigest
You should check if zabbix-release match your OS version than:
yum remove zabbix*
yum clean all
mv /var/cache/yum /var/cache/yum_old
yum install zabbix-agent
PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: SELECT
vi /etc/my.cnf.d/server.cnf
[mysqld]
max_allowed_packet=16M
smtp ping
smtpping [email protected]
seq=1, connect=7.88 ms, helo=392.94 ms, mailfrom=400.15 ms, rcptto=1147.58 ms, datasent=1273.08 ms, quit=1280.18 ms
seq=2, connect=7.48 ms, helo=136.93 ms, mailfrom=144.02 ms, rcptto=899.96 ms, datasent=949.24 ms, quit=956.61 ms
seq=3, connect=7.40 ms, helo=105.87 ms, mailfrom=113.68 ms, rcptto=1039.24 ms, datasent=1087.62 ms, quit=1095.17 ms
seq=4, connect=7.22 ms, helo=137.98 ms, mailfrom=144.96 ms, rcptto=6179.09 ms, datasent=6226.46 ms, quit=6233.91 ms
seq=5, connect=7.45 ms, helo=105.65 ms, mailfrom=112.99 ms, rcptto=15695.99 ms, datasent=15736.14 ms, quit=15743.66 ms
5 e-mail messages transmitted
connect min/avg/max = 7.22/7.49/7.88 ms
banner min/avg/max = 97.91/168.34/385.71 ms
helo min/avg/max = 105.65/175.87/392.94 ms
mailfrom min/avg/max = 112.99/183.16/400.15 ms
rcptto min/avg/max = 899.96/4992.37/15695.99 ms
data min/avg/max = 907.17/5000.23/15703.51 ms
datasent min/avg/max = 949.24/5054.51/15736.14 ms
quit min/avg/max = 956.61/5061.91/15743.66 ms
track delivery issue
DeliveryReporter API internal failure: Cpanel::Exception::Database::Error/(XID 8vnjr9) The system received an error from the “SQLite” database “/var/cpanel/eximstats_db.sqlite3”: SQLITE_CORRUPT (database disk image is malformed) at /usr/local/cpanel/Cpanel/Exception/CORE.pm line 336,
cd /var/cpanel
mv eximstats_db.sqlite3 eximstats_db.sqlite3_old
/scripts/restartsrv_tailwatchd
/scripts/slurp_exim_mainlog –force
nginx virtual host allow ip
location /spme_private/ {
allow XX.XX.XX.XX;
deny all;
}
[ERROR] Unknown/unsupported storage engine: InnoDB
180221 18:36:17 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
2018-02-21 18:36:17 140090271954976 [Note] /usr/sbin/mysqld (mysqld 10.1.24-MariaDB) starting as process 3594 …
2018-02-21 18:36:17 7f694ee57820 InnoDB: Warning: Using innodb_additional_mem_pool_size is DEPRECATED. This option may be removed in future releases, together with the option innodb_use_sys_malloc and with the InnoDB’s internal memory allocator.
2018-02-21 18:36:18 140090271954976 [Note] InnoDB: Using mutexes to ref count buffer pool pages
2018-02-21 18:36:18 140090271954976 [Note] InnoDB: The InnoDB memory heap is disabled
2018-02-21 18:36:18 140090271954976 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2018-02-21 18:36:18 140090271954976 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
2018-02-21 18:36:18 140090271954976 [Note] InnoDB: Compressed tables use zlib 1.2.3
2018-02-21 18:36:18 140090271954976 [Note] InnoDB: Using Linux native AIO
2018-02-21 18:36:18 140090271954976 [Note] InnoDB: Using SSE crc32 instructions
2018-02-21 18:36:18 140090271954976 [Note] InnoDB: Initializing buffer pool, size = 1.2G
2018-02-21 18:36:18 140090271954976 [Note] InnoDB: Completed initialization of buffer pool
2018-02-21 18:36:18 140090271954976 [Note] InnoDB: Highest supported file format is Barracuda.
2018-02-21 18:36:18 140090271954976 [Note] InnoDB: Starting crash recovery from checkpoint LSN=90555493549
2018-02-21 18:36:18 140090271954976 [Note] InnoDB: Restoring possible half-written data pages from the doublewrite buffer…
InnoDB: Set innodb_force_recovery to ignore this error.
2018-02-21 18:36:18 140090271954976 [ERROR] Plugin ‘InnoDB’ init function returned error.
2018-02-21 18:36:18 140090271954976 [ERROR] Plugin ‘InnoDB’ registration as a STORAGE ENGINE failed.
2018-02-21 18:36:18 140090271954976 [Note] Plugin ‘FEEDBACK’ is disabled.
2018-02-21 18:36:18 140090271954976 [ERROR] Unknown/unsupported storage engine: InnoDB
2018-02-21 18:36:18 140090271954976 [ERROR] Aborting
Error in my_thread_global_end(): 1 threads didn’t exit
180221 18:36:23 mysqld_safe mysqld from pid file /var/lib/mysql/srv2.diavolesa.com.pid ended
mv /var/lib/mysql/ib_logfile0{,_backup}
mv /var/lib/mysql/ib_logfile1{,_backup}
service mysql restart
Failed to start httpd.service: Activation of org.freedesktop.systemd1 timed out
Upgrade to CentOS 7.5 systemd does not work. server running but you can access it:
unable to open pty no such file or directory centos 7 openvz
You should check ovz kernel version: uname -a
if you have 2.6.32-042stab108.8 you should upgrade kernel up to 2.6.32-042stab120.11
pm.status_path blank nginx
location ~ ^/(status-blabla|ping)$ {
access_log off;
allow 127.0.0.1;
allow XX.XX.XX.XX;
deny all;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME /status-blabla;
fastcgi_pass unix:/var/run/php5-fpm-blabla.sock;
}
# XX.XX.XX.XX is your IP address
centos mysql 5.6 repo
yum install http://dev.mysql.com/get/mysql-community-release-el6-5.noarch.rpm
yum install mysql-server