mysqldump > unknown table engine ‘PERFORMANCE_SCHEMA’
Lets simply force mysqldump to ignore all performance_schema tables. # mysqldump -u <username> -p <password> --all-databases > /root/mysql.full.dump...
View Articleperl cgi with Apache2
Here is a good tutorial how to do it. http://perlmaven.com/perl-cgi-script-with-apache2
View ArticleHow to reset MySQL root password
Step 1: Stop MySQL Service. sudo stop mysql Step 2: Kill all running mysqld. sudo killall -9 mysqld Step 3: Starting mysqld in Safe mode. sudo mysqld_safe --skip-grant-tables --skip-networking &...
View ArticleApr 29 03:09:02 sd-71796 postfix/master[43779]: fatal: bind 0.0.0.0 port 25:...
Apr 29 03:09:02 sd-71796 postfix/master[43779]: fatal: bind 0.0.0.0 port 25: Address already in use So, looks like we have the port 25 in use! This solved my issue… service sendmail stop service...
View ArticleHow to install a mail server (postfix) supporting IMAP and POP3 (Ubuntu)
Heres is a nice tutorial of How to install a mail server (postfix) supporting IMAP and POP3 (Ubuntu) and another one Setup mail server on ubuntu 14.04 ( Postfix – dovecot )
View ArticleUbuntu postfix+dovecot – Create default Inbox, Sent, and Trash folder per...
Open /etc/dovecot/conf.d/20-imap.conf sudo nano /etc/dovecot/conf.d/20-imap.conf Search for mail_plugins and make the following changes on that line from mail_plugins = $mail_plugins to mail_plugins...
View Articledovecot: lda(root): Error: user root: Initialization failed: Namespace ”:...
Apr 29 14:37:45 sd-71796 dovecot: lda(root): Error: user root: Initialization failed: Namespace ”: stat(/root/Maildir) failed: Permission denied (euid=65534(nobody) egid=65534(nogroup) missing +x...
View ArticleAH00686: cannot read directory for multi: /home/user/domain.com/
I was getting the following error @ apache error log… AH00686: cannot read directory for multi: /home/user/domain.com/ I’v chmod’ed to 755 and start to work perfectly…
View Articlefatal: no matching comp found: client zlib server none,zlib@openssh.com
May 4 00:04:35 sd-71796 sshd[20887]: fatal: no matching comp found: client zlib server none,zlib@openssh.com [preauth] You need to install zlib and libgcrypt11-dev and set compression to yes on...
View ArticleApache / PHP – End of script output before headers
[Thu May 12 03:14:41.562083 2016] [core:error] [pid 25726] [client 68.71.XXX.XXX:44611] End of script output before headers: manage.php [Thu May 12 03:14:41.697026 2016] [:error] [pid 26855] [client...
View ArticleUbuntu wants OVH to bill 1e-2e per month for each VPS/PCI/PCC/SD
@ubuntu asks us to bill you 1e-2e per month for each VPS/PCI/PCC/SD. If not, prohibition to use the mark “Ubuntu” on our website. — Octave Klaba / Oles (@olesovhcom) 19 de junho de 2016
View ArticleUbuntu 16.04 LTS tutorials
How To Install Linux, Apache, MySQL, PHP (LAMP) stack on Ubuntu 16.04 https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu-16-04 How to secure an...
View ArticleYour PHP installation appears to be missing the MySQL extension which is...
This new server with Ubuntu 16.04 LTS cames with PHP 7.0. The backup that I have from my client has some old WordPress blogs… Your PHP installation appears to be missing the MySQL extension which is...
View Articlebad zipfile offset (local header sig)
While I was unzipping a 72Gb file I got the following errors… bad zipfile offset (local header sig): I had to install default-jdk and then use jar. jar -xf filename.zip References...
View Articlebad ownership or modes for chroot directory component
Jul 14 11:41:18 sd-47XXX systemd-logind[643]: New session 26596 of user wojcatie. Jul 14 11:41:18 sd-47XXX systemd: pam_unix(systemd-user:session): session opened for user wojcatie by (uid=0) Jul 14...
View ArticleDiscourse – email and Job exception: Net::ReadTimeout
Email For a Discourse instance to function properly Email must be set up. Use the SMTP_URL env var to set your SMTP address, see sample templates for an example. The Docker image does not contain...
View Articlediscourse & cloudflare – show real users IP address
Discourse has a recent (5month old?) template to handle with this. Lets add – “templates/cloudflare.template.yml” to our templates scheme… nano containers/app.yml Save it and rebuild the app!...
View Articlefail2ban not *running*
I realized that fail2ban wasn’t banning SSH fail login attempts… My server’s time is different from the one being logged by rsyslog ’cause I had to change my timezones once…….. Lets restart rsyslog....
View Article“SMTP Error: Could not authenticate”
I had to install WP-Mail-Bank in one of my WordPress pages/blogs/store, so it can send emails to *people* I was getting “SMTP Error: Could not authenticate” on the test email tab. I had to went to...
View Article