Dec
22

Install wine on CentOS

Wine is a free software application that aims to allow computer programs written for Microsoft Windows to run on Unix-like  operating systems. Wine also provides a software library, known as Winelib, against which developers can compile  Windows applications to help port them to Unix-like systems.

SSH the server as root and refer to following steps to install wine on centos server.

1) Installing rpmforge rpm.

root@server [~]# cd /usr/local/src/

root@server [/usr/local/src]# wget http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm

 

2) Install the rpmforge rpm.

root@server [/usr/local/src]# rpm -Uvh rpmforge-release-0.3.6-1.el5.rf.i386.rpm

3)  Install wine.

root@server [/usr/local/src]#yum install wine -y enablerepo=rpmforge

4) Launch Wine from the Centos Applications menu.

 

That’s All.

 


contact@webhostingsupport.info

Post to Twitter

Dec
22

error: subsystem: cannot stat /usr/libexec/sftp-server

Unable to connect SFTP  via FTP client on Plesk server.

FTP logs show following:

sshd[5869]: subsystem request for sftp error: subsystem: cannot stat /usr/libexec/sftp-server: No such file or directory
As mentioned in the error, file /usr/libexec/sftp-server was not present.
To fix this problem you can refer to following steps:
1) 
root@office1 [~]#locate sftp-server /usr/libexec/openssh/sftp-server
2) Edit ssh configuration file /etc/ssh/sshd_config and comment
the line containing "/usr/libexec/sftp-server"

and add new line which
will look like “Subsystem      sftp     /usr/libexec/openssh/sftp-server”

# override default of no subsystems #Subsystem sftp /usr/libexec/sftp-server Subsystem sftp /usr/libexec/openssh/sftp-server
3) reload sshd service
root@server[~]#/etc/init.d/sshd reload

Now try connecting to SFTP. It will work.


contact@webhostingsupport.info

Post to Twitter

Nov
29

SMTP Error (435): Authentication failed

While sending an email from Roundcube webmail I was receiving following error

SMTP Error (435): Authentication failed 

To fix this issue edit file  /usr/local/cpanel/base/3rdparty/roundcube/config/main.inc.php

and make following changes. i.e remove %u

 

 

$rcmail_config['smtp_user'] = ‘%u’;
to
$rcmail_config['smtp_user'] = ‘ ‘;

 


contact@webhostingsupport.info

Post to Twitter

Nov
23

boot Ubuntu into single user mode

Booting UBUNTU into single user mode is slightly different then CENTOS.

1) Hold the Shift key at boot to display the Grub boot menu. If you fail to press Shift key then you will not see boot menu
2) Select the first Grub entry, it will be similar to:

Ubuntu, with Linux 2.6.32-22-generic-pae

3) Press e to edit the the Grub entry.
4) Now you can look for the line similar to following:

linux /boot/vmlinuz-2.6.32-22-generic-pae
root=UUID=xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxx
ro vga=794 quiet splash

5) Go to the end of the line and change the line to so it looks like following:

linux /boot/vmlinuz-2.6.32-22-generic-pae
root=UUID=xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxx
init=/bin/bash rw

6) Now Hit crtl+x to boot the server into single user mode.

Thats All :)


contact@webhostingsupport.info

Post to Twitter

Nov
23

The MySQL® server is currently offline

While going to cPanel >> Mysql database I was getting following error:

The MySQL® server is currently offline

On checking server side I found that mysql service is online and still cPanel was throwing the error.

FIX:

This issue is mainly caused when mysql root password is not set on the server.
To fix the issue Login to WHM as root and go to SQL Services >> MySQL Root Password and reset the password.

 

Now try creating Mysql database from cPanel.

 

 


contact@webhostingsupport.info

Post to Twitter

Older posts «

» Newer posts