Magento issue After installing a extension: 503 error, Service Temporarily Unavailable The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later. Fix Remove maintenance.flag from document root of magneto installation . Remove contents from magneto installation path /var/cache.
Category: Uncategorized
Bash History: Display Date And Time For Each Command
Just edit the file /etc/bashrc and append the following: export HISTTIMEFORMAT=”%h/%d – %H:%M:%S “
Web server software (Protected by COMODO WAF mod_fcgid/2.3.9) is not supported, sorry
Moodle issue Web server software (Protected by COMODO WAF mod_fcgid/2.3.9) is not supported, sorry. Fix Check for modsec rule triggering for the domain. After that try changing the PHP version.
“err: Could not retrieve catalog from remote server: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed”
Puppet error : If you got this error "err: Could not retrieve catalog from remote server: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed" while running puppetd --test on agent server, mostly its because of incorrect time. Fix You need to correct the time and re-initiate puppetd --test again. It will fix … Continue reading “err: Could not retrieve catalog from remote server: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed”
Install chkrootkit in a ubuntu server
Download latest chkrootkit and the md5 file from the source. # wget -c ftp://ftp.pangeia.com.br/pub/seg/pac/chkrootkit.tar.gz # wget -c ftp://ftp.pangeia.com.br/pub/seg/pac/chkrootkit.md5 Check the md5 file to make sure it is not corrupted. It should show OK. # md5sum -c chkrootkit.md5 chkrootkit.tar.gz: OK Extract it. # tar -xzvf chkrootkit.tar.gz compile after extraction. # cd chkrootkit-0.52 # make sense To … Continue reading Install chkrootkit in a ubuntu server
Increase Limit Recursion in FTP
By default the FTP server will show only 2000 files in a folder. We can increase this to 4000 files. Open the pure-ftpd configuration file and edit the lines. vi pure-ftpd.conf # 'ls' recursion limits. The first argument is the maximum number of # files to be displayed. The second one is the max subdirectories … Continue reading Increase Limit Recursion in FTP
syntax error at /dev/null line 1, near “28 02” Execution of /dev/null aborted due to compilation errors.
Fix # rm /dev/null # mknod /dev/null c 1 3 # chmod a+rw /dev/null
For securing temp in openvz servers
Enter into the vps and then a. Add the following line in /etc/fstab none /tmp tmpfs nodev,nosuid,noexec 0 0 b. mount -a echo "none /tmp tmpfs nodev,nosuid,noexec 0 0" >> /etc/fstab;mount -a
How to exit a “virsh console”?
The keyboard shortcuts are as follows if you are using English keyboard i.e. Escape character is ^]: CTRL+Shift+5 CTRL+Shift+]
Modsecurity /opt/lua/lib/liblua.a: could not read symbols: Bad value
The following error was getting generated while installing modsecurity. /opt/lua/lib/liblua.a: could not read symbols: Bad value Fix yum install lua lua-devel libsmi-devel.x86_64