Cannot FTP to Web Host or Server running cPanel/WHM Nevar FTP Web Host vai Server rādīt cPanel / WHM
If you cannot cannot to FTP server or cannot FTP to the web host managed by cPanel/WHM (WebHost Manager), most like the FTP connection fails because the FTP server is not running on the server. Ja nevar nevar, lai FTP serveris vai nevar FTP uz interneta uzņēmējas pārvalda cPanel / WHM (WebHost Manager), lielākā daļa, piemēram, FTP savienojums neizdodas tāpēc, ka FTP serveris ir nedarbojas uz servera. There are a few troubleshooting steps that can be taken to verify this problem. Ir daži traucējummeklēšanas pasākumus, ko var veikt, lai pārbaudītu šo problēmu.
- Log into your server using SSH. Piesakieties savā serverī, izmantojot SSH.
- At the command line shell, type su - or su - root to have root access, if your server forbids direct login by root. Tajā komandrindas apvalks, tipa su - vai su - root ir root piekļūt, ja jūsu servera aizliedz tiešu login ar root.
- Run the following command: Palaidiet komandu:
ftp localhost ftp localhost
- You will likely see the following fail message: Jums būs iespējams redzēt šādu neizdoties message:
ftp:connect:Connection refused ftp:connect:Connection atteikta
This most likely mean that FTP server is not running, or the process has stalled and hanged. Tas, visticamāk, nozīmē, ka FTP serveris ir nedarbojas, vai šis process ir apstājies un hanged. In this case, try to restart FTP server. Šajā gadījumā, mēģiniet restartēt FTP serveri. WHM's Restart Services section has the GUI restart button to easily restart FTP service. WHM's Restart Pakalpojumi iedaļā ir GUI restart pogai, lai viegli restart FTP pakalpojumu. Beside, ensure that ftpd service is not disabled in Service Manager. Blakus, nodrošina, ka ftpd pakalpojums nav invalīdiem Service Manager.
If you manage to see login prompt and the FTP command connected to localhost(127.0.0.1), the unable to FTP error may be due to the firewall setting or IPTABLES configuration. Ja jūs pārvaldāt redzēt login prompt un FTP command savienots ar localhost (127.0.0.1), kas nespēj FTP kļūda var būt sakarā ar ugunsm noteikšanu vai IPTABLES konfigurācijā. If you recently made any changes to firewall, undo them to see if problem persists. Ja jūs nesen veiktas kādas izmaiņas ugunsmūri, atsaukt tos, lai redzētu, vai problēma saglabājas.
- You can also manually check if FTP server is running or not, and which port it's listening to. Varat arī manuāli pārbaudīt, vai FTP serveris darbojas vai nē, un kura osta ir klausoties. In typical cPanel environment, normally the Pure-FTPd is installed as FTP server. Tipiskā cPanel vidē, parasti Pure-FTPd ir uzstādīts kā FTP serveri. So to check if Pure-FTPd is running, issue the following command: Tātad, lai pārbaudītu, vai Pure-FTPd darbojas, izdot šādu komandu:
service pure-ftpd status pakalpojumu tīršķirnes ftpd status
You should see something like below if FTP server is running: Jums vajadzētu redzēt kaut ko līdzīgu zemāk ja FTP serveris darbojas:
pure-ftpd (pid 3302) is running...
+------+---------+-------+------+--------------
| PID | Login |For/Spd| What | File/IP |
+------+---------+-------+------+-------------- - To verify which port Pure-FTPd is listening to, type following command. Lai pārbaudītu, kādas ostas Pure-FTPd ir klausoties, tipa šādu komandu. Normally FTP server should listen to port 21. Parasti FTP serveri vajadzētu ieklausīties ostas 21.
lsof-i tcp:21 lsof-i TCP: 21
You should see something similar to the following text: Jums vajadzētu redzēt kaut kas līdzīgs šādu tekstu:
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
pure-ftpd 3302 root 4u IPv4 574378144 TCP *:ftp (LISTEN) - If the remote FTP connection fails problem still exists, try to check the error for any hint on possible cause. Ja attālinātā FTP savienojums neizdodas problēma joprojām pastāv, mēģiniet pārbaudīt kļūdu jebkurā mājiens par iespējamo cēloni. To check the errors log for all message related to FTP, use following commands: Lai pārbaudītu kļūdu log visu ziņu saistīti ar FTP, izmantojiet šādas komandas:
less /var/log/messages | grep pure-ftpd mazāk / var / log / ziņas | grep tīršķirnes ftpd
- You can now try to troubleshoot the errors, if any, that mentioned in the log file. Tagad varat mēģināt traucējummeklēšanu kļūdas, ja tādas ir, minēt log failu.
IMPORTANT : The page is machine translated and provided "as is" without warranty. SVARĪGI: Šī lapa ir mašīna tulkoto un ar nosacījumu ", kas ir" bez garantijas. Machine translation may be difficult to understand. Machine translation var būt grūti saprast. Please refer to Lūdzu, skatiet original English article oriģināls angļu rakstu whenever possible. kad vien iespējams.
Related Articles Saistītie raksti
- How to Change Hostname in cPanel Web Host Kā nomainīt resursdatora in cPanel Web Host
- Restore Full Backup or cpmove File in cPanel Web Host Atjaunot Full Backup vai cpmove failu cPanel Web Host
- How to Check if Telnet Is Running on a Server Kā Pārbaudiet, Telnet Is Running uz servera
- cPanel Update (upcp) Is Already Running Problem cPanel Update (upcp) jau ir Running Problēma
- Auto Delete Forwarded Emails in cPanel Web Host Auto Dzēst Nodots e-pasta in cPanel Web Host
- How to Add IP Addresses to Server with cPanel WebHost Manager (WHM) Kā pievienot IP adreses Server ar cPanel WebHost Manager (WHM)
- How to Restart (Stop or Start) cPanel Service (cpsrvd) via Telnet or SSH Kā Restart (Stop vai palaišanas) cPanel Service (cpsrvd) caur Telnet vai SSH
- Download Key Management Service (KMS Host) for Windows Server 2003 Download Key Management Service (km Host) for Windows Server 2003
- Cannot Display the Webpage and Host/Server Not Found or Available Error - EnablePMTUDiscovery MTU Fix Cannot Display lapas un Host / Server Not Found vai Available Error - EnablePMTUDiscovery MTU Fix
- Fix Internal Server Error When Accessing Easy Apache in cPanel WebHosting Manager Fix Internal Server Error Kad Piekļuve Easy Apache in cPanel WebHosting Manager










































March 28th, 2009 01:48 Marts 28, 2009 01:48
I find that the majority of the time the issue is really the firewall. Es uzskatu, ka lielākā daļa laika jautājums ir patiešām ugunsm. When brute forces are detected and locked out the account is locked and IP is placed on the firewall block list. Kad necilvēks spēki tiek konstatēti un izslēgt konts ir bloķēts un IP laiž ugunsmūra filtra sarakstu. Often, that IP needs to be manually removed to enable FTP access. Bieži vien, ka IP ir jābūt manuāli noņemt, lai dotu iespēju FTP piekļuvi. I've found this being very common in hosting servers. Esmu uzskatīja, ka šis ir ļoti bieži hostinga serveriem. So… don't forget to check the firewall too! So ... neaizmirstiet pārbaudīt ugunsm too!
January 22nd, 2008 14:45 Janvāris 22, 2008 14:45
Great. Lielisks. this helped me out. Tas palīdzēja man out. The only problem is, I have to reboot the FTP service after every system reboot. Vienīgā problēma ir, man ir atsāknēšana FTP pakalpojumu pēc katras sistēmas atsāknēšana. Is this normal? Vai tas ir normāls? Why isn't the FTP service starting automatically? Kāpēc nav FTP pakalpojumu uzsākot automātiski?