/usr/local/cpanel/3rdparty/bin/wp user update 1 --user_pass=New_password
Category Archives: Hosting
wordpress command line change site url (cli)
/usr/local/cpanel/3rdparty/bin/wp search-replace 'http://domain.lt' 'http://www.domain.lt'
Fatal resource shortage: privvmpages
lveinfo –period=1d –by-fault=mem –display-username
lvectl set USER_ID –mem=XXXXm
php command line date
php -r 'echo date("H:i:sa") . "\n";'
Invalid command ‘SSLEngine’, perhaps misspelle
yum install mod_ssl
MariaDB 10 Centos 7 repo
# MariaDB 10.3 CentOS repository list – created 2018-06-19 10:42 UTC
# http://downloads.mariadb.org/mariadb/repositories/
[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/10.3/centos7-amd64
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1
Cannot open tablespace mysql/innodb_table_stats which uses space ID: 1 at filepath: ./mysql/innodb_table_stats.ibd
add innodb_force_recovery = 1
service mysql start
remove innodb_force_recovery = 1
Premature end of script headers: index.php
You can try check mysql tables of your old WrodPress website.
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 vitalijus@linuxls.com
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