Cannot FTP to Web Host or Server running cPanel/WHM אין אפשרות ל-FTP או שרת האינטרנט המארח לפעול 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. אם אתה לא יכול יכול לא יכול או שרת ה-FTP לא ל-FTP האינטרנט המארח מנוהלת ע"י cPanel / WHM (למארח האתר מנהל), הכי אוהב את חיבור ה-FTP נכשל כי שרת ה-FTP אינו פועל בשרת. There are a few troubleshooting steps that can be taken to verify this problem. ישנם כמה שלבים לפתרון בעיות שניתן לנקוט לאמת את הבעיה.
- Log into your server using SSH. היכנס למערכת באמצעות השרת SSH שלך.
- At the command line shell, type su - or su - root to have root access, if your server forbids direct login by root. בשורת הפקודה של מעטפת, הקלד su - או su - השורש יש גישה השורש, אם השרת שלך על ידי התחברות ישירה אוסר השורש.
- Run the following command: הפעל את הפקודה הבאה:
ftp localhost FTP localhost
- You will likely see the following fail message: סביר להניח כי אתה רואה את ההודעה הבאה נכשלים:
ftp:connect:Connection refused ftp:connect:Connection סירב
This most likely mean that FTP server is not running, or the process has stalled and hanged. זה כנראה אומר כי שרת ה-FTP אינו פועל, או את התהליך יש אבוס ו מוקע. In this case, try to restart FTP server. במקרה זה, נסה להפעיל מחדש את שרת ה-FTP. WHM's Restart Services section has the GUI restart button to easily restart FTP service. הפעלה מחדש של שירותי WHM יש את הקטע GUI לחצן הפעלה מחדש כדי להפעיל מחדש בקלות את שירות ה-FTP. Beside, ensure that ftpd service is not disabled in Service Manager. לצד, לוודא ftpd השירות לא זמינה ב מנהל השירות.
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. אם אתה מנהל התחבר כדי לראות את הפקודה ו-FTP הפקודה מחובר localhost (127.0.0.1), אין אפשרות לבצע את ה-FTP שגיאה עשויים להיות בגלל חומת האש או IPTABLES הגדרת תצורה. If you recently made any changes to firewall, undo them to see if problem persists. אם כל השינויים שנעשו לאחרונה ל-firewall, לבטל אותם ולראות אם הבעיה נמשכת.
- You can also manually check if FTP server is running or not, and which port it's listening to. אתה יכול גם לבדוק באופן ידני את שרת ה-FTP אם פועל או לא, ואילו זה של יציאת מקשיב. In typical cPanel environment, normally the Pure-FTPd is installed as FTP server. באופן טיפוסי cPanel הסביבה, בדרך כלל, Pure-FTPd מותקן בתור שרת ה-FTP. So to check if Pure-FTPd is running, issue the following command: אז כדי לבדוק אם Pure-FTPd פועלת, הנושא את הפקודה הבאה:
service pure-ftpd status שירות טהור-ftpd מצב
You should see something like below if FTP server is running: אתה אמור לראות משהו כמו למטה אם שרת ה-FTP פועל:
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. כדי לוודא אילו יציאת Pure-FTPd הוא מקשיב, סוג הפקודה הבאה. Normally FTP server should listen to port 21. בדרך כלל שרת ה-FTP צריך להאזין ליציאה 21.
lsof-i tcp:21 lsof-i TCP: 21
You should see something similar to the following text: אתה אמור לראות משהו דומה לזה את הטקסט הבא:
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. אם ה-FTP בחיבור מרחוק נכשל הבעיה עדיין קיימת, נסה לבדוק את השגיאה עבור כל רמז על הגורם האפשרי. To check the errors log for all message related to FTP, use following commands: כדי לבדוק את שגיאות ביומן עבור כל הודעה הקשורה FTP, השתמש בפקודות הבאות:
less /var/log/messages | grep pure-ftpd פחות / var / log / הודעות | grep-ftpd טהור
- You can now try to troubleshoot the errors, if any, that mentioned in the log file. עכשיו אתה יכול לנסות לפתור את השגיאות, אם בכלל, זה הזכיר את קובץ היומן.
IMPORTANT : The page is machine translated and provided "as is" without warranty. חשוב: הדף הוא מכונה בתרגום ובתנאי "כמות שהוא", ללא אחריות. Machine translation may be difficult to understand. תרגום מכונה יכול להיות קשה להבין. Please refer to אנא פנה ל original English article המאמר המקורי באנגלית whenever possible. ככל שניתן.
Related Articles מאמרים קשורים
- How to Change Hostname in cPanel Web Host כיצד לשנות מארח ב cPanel האינטרנט מארח
- Restore Full Backup or cpmove File in cPanel Web Host שחזור גיבוי מלא או cpmove קובץ cPanel אינטרנט מארח
- How to Check if Telnet Is Running on a Server כיצד לבדוק אם Telnet פועל בשרת
- cPanel Update (upcp) Is Already Running Problem cPanel עדכונים (upcp) הוא כבר מפעיל את הבעיה
- Auto Delete Forwarded Emails in cPanel Web Host אוטומטי מחק forwarded emails in cPanel אינטרנט מארח
- How to Add IP Addresses to Server with cPanel WebHost Manager (WHM) כיצד להוסיף כתובת IP לשרת עם cPanel למארח האתר Manager (WHM)
- How to Restart (Stop or Start) cPanel Service (cpsrvd) via Telnet or SSH כיצד להפעיל מחדש (עצור או התחלה) cPanel שירות (cpsrvd) באמצעות SSH או Telnet
- Download Key Management Service (KMS Host) for Windows Server 2003 הורד Key Management Service (KMS מארח) עבור Windows Server 2003
- Cannot Display the Webpage and Host/Server Not Found or Available Error - EnablePMTUDiscovery MTU Fix אין אפשרות להציג את דף האינטרנט ואת מארח / השרת לא נמצא או שגיאה זמין - EnablePMTUDiscovery MTU תקן
- Fix Internal Server Error When Accessing Easy Apache in cPanel WebHosting Manager תיקון שגיאת שרת פנימית בעת גישה נוחה ב-Apache cPanel WebHosting מנהל










































March 28th, 2009 01:48 מרץ 28, 2009 01:48
I find that the majority of the time the issue is really the firewall. אני מוצא כי ברוב המקרים הבעיה היא באמת את חומת האש. When brute forces are detected and locked out the account is locked and IP is placed on the firewall block list. כאשר פראי כוחות זוהה ו נעולים את החשבון נעול ו IP ממוקם על חומת האש לחסום ברשימה. Often, that IP needs to be manually removed to enable FTP access. לעיתים קרובות, כי ה-IP צריכה להיות מוסרת באופן ידני ה-FTP כדי לאפשר גישה. I've found this being very common in hosting servers. אני כבר נמצא בתהליך זה מאוד נפוץ ב אירוח שרתים. So… don't forget to check the firewall too! אז ... לא לשכוח לבדוק גם את חומת האש!
January 22nd, 2008 14:45 ינואר 22, 2008 14:45
Great. נהדר. this helped me out. זה עזר לי. The only problem is, I have to reboot the FTP service after every system reboot. הבעיה היחידה היא, אני צריך לאתחל את שירות ה-FTP לאחר כל אתחול מחדש של המערכת. Is this normal? האם זה נורמלי? Why isn't the FTP service starting automatically? מדוע לא את שירות ה-FTP הפעלה אוטומטית?