HereWeFix

Easy and Simple Solution

Sunday, August 13, 2017

please start google chrome as a normal user

Error:
please start google chrome as a normal user centos
Solution:
reinstall the google chrome

sed remove blank spaces

sed -i '/^$/d' infile.txt
-i ( edit files in place ) Used for make changes in same file.

SSH not working after removing cloudlinux

Cause:
While removing Cloud-Linux from the server, the pam module of sshd service still remains on the server. This caused unable to access the server through SSH.The caused pam module is pam_lve.so.

Solution:
You need to comment the below line in the file called /etc/pam.d/sshd (login the server through KVM or any other interface you have to access the server shell)

system.data.sqlclient.sqlerror write on failed 112

Error:
system.data.sqlclient.sqlerror write on failed 112
Solution:
This error is due to low disk space.Clear the space and take the backup

vsftpd: pam_listfile(vsftpd:auth): Refused user root for service vsftpd

Error:
vsftpd: pam_listfile(vsftpd:auth): Refused user root for service vsftpd
Solution:
userlist_deny=YES
     change to
userlist_deny=NO

yum install without prompting

If you need to install the packages without interact manually.
yum install packagename -y

ioncube php loader ioncube_loader_lin_5 3 so to be installed by the website operator

Due to ioncube loader version you will encounter this loader related issue.Change the line into your php.ini.

Error:
Site error: the file /home/demo/public_html/app/code/local/Modulebazaar/Marketplace/controllers/SellerController.php ioncube php loader ioncube_loader_lin_5 3 so to be installed by the website operatore operator. If you are the website operator please use the ionCube Loader Wizard to assist with installation.

Solution:
zend_extension="/usr/local/IonCube/ioncube_loader_lin_5.3.so"
                                      change to
zend_extension="/usr/local/IonCube/ioncube_loader_lin_5.4.so"

Saturday, May 20, 2017

add to existing tar file

File:
tar rvf archive_name.tar newfile

Directory:
tar rvf archive_name.tar newdir/

Note: Tar file cannot be archieved.

warning changing php modules and php options via php selector for native php version is impossible

While trying to change the php version from your cpanel , you will receive an error like below.Mostly it happens on cloud linux server  due to missing php selector package.
Error:
warning changing php modules and php options via php selector for native php version is impossible
Solution:
Install php selector in your cloud linux server.
yum install alt-php -y

warning date_default_timezone_get() it is not safe to rely on the system's timezone settings

Sometimes, you might receive warning message in your website.Due to missing timezone configuration in your PHP file it happens.
Error:
warning date_default_timezone_get() it is not safe to rely on the system's timezone settings
Solution:
Get your timezone format @ http://php.net/manual/en/timezones.php
date.timezone = Asia/Kolkata

Warning_ mail() has been disabled for security reasons

You might receive the error while sending mail from your website.Due to security reason PHP mail function has disabled on linux shared server.
Error:
Warning: mail() has been disabled for security reasons in /home/demo/public_html/sendMail.php on
line 139
Solution:
Create php.ini file under public_html folder and add the below line.
disable_functions = show_source, system, shell_exec, passthru, popen, proc_open, symlinked, symlink, escapeshellarg, escapeshellcmd, exec
Add the below line in your .htaccess file.
suPHP_ConfigPath /home/demo/public_html
NOTE: Replace demo with your username

Monday, November 28, 2016

your security settings have blocked a self-signed application from running

Due to security reason some unsigned java application restricted.Do fix it from the given solution.
Error:
your security settings have blocked a self-signed application from running
Solution:
1.Open Control Panel >> Java
2.Click Security >> Edit Site List
3.Enter your URL or DomainName or IP Address
4.Click Ok >> Ok

Friday, November 25, 2016

sqlstate 28000 error code 1045 access denied for user magento

You might receive an error while accessing the magento website.Due to improper DB permission and previous website session cache this issue will happen.
Error:
There has been an error processing your request
SQLSTATE[28000] [1045] Access denied for user 'databaseuser'@'localhost' (using password: YES)
Solution:
1.Check your username and password in magento database config file.
   cd /home/demo/public_html/app/etc/local.xml
2.Enter the same details in cpanel >> MysqlDatabase configuration.
3.Clear the cache under
   /var/cache/
   /var/session/

Wednesday, November 23, 2016

service temporarily unavailable in magento

If you have enabled the "Put store on the maintenance mode while backup creation in magento" in magento below issue will arise. maintenance.flag file will be create temporarily, you can delete it.
Error:
Service Temporarily Unavailable
Solution:
1.Remove maintenance.flag file under your installed magento folder
2.Remove the cache under
   /var/cache/
   /var/session/

Tuesday, November 22, 2016

failed to fetch ubuntu apt-get update

Sometime,While installing any package or updating the ubuntu system, you might receive the error like below
Error:
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/lucid-security/main/binary-amd64/Packages.gz 404 Not Found [IP: 91.189.88.152 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/lucid/main/binary-amd64/Packages.gz 404 Not Found [IP: 91.189.88.152 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/lucid/universe/binary-amd64/Packages.gz 404 Not Found [IP: 91.189.88.152 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/lucid-updates/main/binary-amd64/Packages.gz 404 Not Found [IP: 91.189.88.152 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/lucid-updates/universe/binary-amd64/Packages.gz 404 Not Found [IP: 91.189.88.152 80]
E: Some index files failed to download, they have been ignored, or old ones used instead.
Solution:
Change the url in source.list file using sed command.
sed -i -e 's/archive.ubuntu.com\|security.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list
Now try to update ubuntu.
apt-get update

Monday, November 21, 2016

epel-release-6-8.noarch conflicts with file from package epel-release-7-8

While installing the epel noarch on linux based system, if you get the error then you need to remove already installed latest epel noarch package.
Error:
[root@demo ~]# rpm -ivh epel-release-latest-6.noarch.rpm
warning: epel-release-latest-6.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID 0608b895: NOKEY
Preparing... ########################################### [100%]
package epel-release-7-8.noarch (which is newer than epel-release-6-8.noarch) is already installed
file /etc/yum.repos.d/epel-testing.repo from install of epel-release-6-8.noarch conflicts with file from package epel-release-7-8.noarch
file /etc/yum.repos.d/epel.repo from install of epel-release-6-8.noarch conflicts with file from package epel-release-7-8.noarch
Solution:
rpm -qa | epel-release-7-8.noarch
Remove the epel7 norch
rpm -e epel-release-7-8.noarch
Now install epel6 norch
rpm -ivh epel-release-latest-6.noarch.rpm
Real Time Analytics