Search Results for: plesk ftp

Reading plesk FTP logs

Logs for domain on plesk server is is located at /var/www/vhosts/DOMAIN.tld/statistics/logs/

And ftp logs are located in xferlog_regular.*
In this file you can cat or grep to locate specific string.

In the logs you will see characters like a _ i, a _ o, a _ d, b _ i, b _ o, b _ d first I did not knew what they are for, But after invistigatio I found they define very important thing.

Following is explanatino:

Ascii format file upload:

i)   a _ i (uploaded)
ii)  a _ o (downloaded)
iii) a _ d (deleted)

Binary format file upload:

i)   b _ i (uploaded)
ii)  b _ o (downloaded)
iii) b _ d (deleted)


contact@webhostingsupport.info

Post to Twitter

FTP not working on plesk

While connecting FTP from FTP client show Resolving address of ftp.domain.comStatus: Connecting to IP:21…Status: Connection attempt failed with “ECONNREFUSED – Connection refused by server”.Error: Could not connect to server

 

Also when you restart xinetd service, it does not give any output.

To fix the issue:

 

Edit file /etc/init.d/xinetd and comment line

 

#[ “${NETWORKING}” = “yes” ] || exit 0

Now restart xinetd service.

 

/etc/init.d/xinetd restart




contact@webhostingsupport.info

Post to Twitter

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

Unable to connect SFTP  via FTP client on Plesk server.

FTP logs show following:

[notice]sshd[5869]: subsystem request for sftp
error: subsystem: cannot stat /usr/libexec/sftp-server: 
No such file or directory[/notice]
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

How to install Plesk control panel on Linux

“How to install Plesk 8.x on a plain VPS / Dedicated server”

1) Important Pre-Installation Tasks :

Run the following command to get the Operating System bit version so that you can download the appropriate installer package.

[root@server ~]# uname -i
i386

2) Check version and name of the Operating system installed on the server, for downloading the appropriate installer package by the this command :

[root@server ~]# cat /etc/redhat-release
CentOS release 5.2 (Final)

3) Check if Apache, PHP & MySQL are already installed on the server by :

[root@server ~]# rpm -qa | grep -i http
[root@server ~]# rpm -qa | grep -i php
[root@server ~]# rpm -qa | grep -i mysql

4) If the above are found to be installed [most of the time they are] by the OS, they conflict with the applications Plesk installs, hence remove them using…

[root@server ~]# yum remove http*
[root@server ~]# yum remove php*
[root@server ~]# yum remove mysql*

5) Check SELinux status, we have it disabled but still… execute “getenforce” it should say “Disabled” or “Not enforcing”. If it’s enforcing, disable it by executing: “setenforce 0″.

root@server [~]# getenforce
Disabled

6) Change your working directory to where you want to download the Auto-installer utility:

root@server ~]# mkdir /root/plesk
[root@server ~]# cd /root/plesk

7) Now you can download the Auto-installer utility from here.
Or Also you can download it from here

eg: [root@serverplesk]# wgethttp://download1.parallels.com/Plesk/Plesk8.6/CentOS5/parallels_installer_v3.3.2_build080710.09_os_CentOS_5_i386

8) Set the execution permission for Auto-installer:

[root@server plesk]# chmod 755 plesk_auto_installer_file_name

9) Now run the Auto-installer:

./plesk_auto_installer_file_name

Read installation notes displayed on the screen and type ‘n’ to proceed to the next screen. Press ENTER.
You can select the product version which you want by typing the number corresponding to the product and press ENTER, then type ‘n’ and press ENTER to continue.

Here’s a sample of installing Plesk control panel 8.4 on CentOS 5.x

i) 1. [*] Plesk Control Panel
then the following product versions which are available are displayed:
5. (*) Plesk 8.4.0

Select the components that you wish to install by selecting the installation type for Plesk Control Panel.

By default, typical installation is selected. It includes a minimal number of packages required for Plesk to work. To install all components of Plesk including all Plesk modules and Web applications, select Full installation. To install only selected components, select Custom installation. In this screen, choose the proper installation type and press ENTER.

ii) Select the third [Custom] option by entering 3 & press ENTER.
3. (*) Custom
Custom components selection. Recommended only for experienced users.

To review the components that will be installed, type L and then press ENTER. The selected packages are marked with [*] symbols.
To select or deselect a package, type the corresponding number and press ENTER.

When there are several versions of a component available for installing, for example, PHP v. 4 and PHP v.5, then you can choose the version that you want to install..

To continue with installation, type ‘n’ and press ENTER. When prompted, confirm installing: type ‘n’ and press ENTER again.

The packages will be downloaded and installed automatically.
When the installation is finished a trial license key is installed for evaluation purposes & Plesk will have started automatically.

Now to complete the initial configuration, log in to the Plesk control panel running on your server by using the URL https://ip-address:8443/ and the username admin and default password is setup. Change this password upon first login for security reason.

You can confirm the plesk admin password from

cat /etc/psa/.psa.shadow


contact@webhostingsupport.info

Post to Twitter

Site is prompting for username and password on windows plesk.

Windows Plesk site prompting for username.

This problem can be fixed by one of the following methods because this can be caused by 2 things
either permissions on the site files or password mismatch between the windows user and IIS, by
doing both of these this should fix the problem:

Stage 1:

Open the command prompt on the server (click on start, then run, enter cmd and hit enter)
in the command promt change directory to the plesk admin bin folder, (cd C:Program
FilesSWsoftPleskadminbin)
Run the following command from this folder

websrvmng.exe –reconfigure-vhost –vhost-name=domain.name

replacing domain.name with the domain name as it has been added to plesk
Close the command prompt when that program has finished (this usually only takes a couple of
seconds you know when it is done because the cursor is back on a new line)
If this does not fix the issue then go through the following:

Stage 2:

1) Open IIS

Start >> Run >> and type inetmgr

2) Locate the site, right click the site name then properties (this is below web sites)
Click the Directory Security tab, then on edit next to authentication and access control.
You will see a username and password at the top of this new window, delete the password which is
masked out and type in the FTP password you used for this site when setting it up, then click OK
(you will be prompted for the password again to confirm)
Click OK on the properties window, close IIS


contact@webhostingsupport.info

Post to Twitter