Thursday, November 26, 2009

FTP Time Out error---> connection failed xx.xx.xxx.xxx – connection timed out

Resolution:
1)Login to the WHM==> FTP Server Selection

2)change the FTP server to Pure-FTPD from PRO-FTP ==> Save

3)Now ssh into the server as root and open the pure-ftp conf file /etc/pure-ftpd.conf

4)Find the FTP port no: used the “PassivePortRange” from the config file

5)Add the port range into the config file
for eg :

PassivePortRange 30000 40000

6)Save and quit

7)Open the csf(firewall) config file, add the ftp port along with the passive port range
eg :

# Allow incoming TCP ports
TCP_IN = “20,22,25,53,80,110,143,443,465,587,993,995,2001,2077,2078,2082,2083,2086,2087,

2095,2096,30000:40000″

Wednesday, November 18, 2009

Outlook express... some tips

Here are some other outlook error code and solutions. The outlook error number and solution you will find here, include the following: 0x80040109, 0x80040201, 0x80040600, 0x8004060C, 0x80040900, 0x80042108, 0x80042109, 0x8004210A, 0x8004210B, 0x800C0131, 0x800CCC18, 0x800CCC1A, 0x800CCC79 and 0x800CCC7A.

0x80040109 - The Operation cannot be performed because the message has been changed

Error Message: Task 'pop.velnetweb.com - Sending' reported error (0x80040109) : 'The
operation cannot be performed because the message has been changed.'

Troubleshooting:
1) Disable email scanning and then restart Outlook
2) Check for any add-ins that may have altered the message by going to

Tools -> Options -> Other -> Advanced Options... -> Add-In Manager...


Error Message - 0x80040201 - Unknown Error

Solution:
This error has been known to occur for users migrating from an Exchange environment and is generated while sending to users from within the company only. The company contacts still reference the Exchange server which is either no longer in service or is not configured properly. Please check with systems adminstrator for resolution to this error.

0x80040600 - Unknown Error

Cause:
Corrupt PST file.

Solution:
Close Outlook
Click Start
Click Control Panel
Double-click the Mail icon
Click the Data Files button
Double-click on the PST file which is currently being used
Copy the text in the filename field.
Click Start
Click Search
Click All Files and Folders
Type scanpst.exe and click the Search button
Double-click the scanpst.exe icon (icon appears as a ripped envelope)
Paste the .pst filename into the text field
Click Start
Click the repair button to repair any damaged files
Open Outlook and verify it is working correctly


0x8004060C - Unknown Error

Error Message: Task ‘EMAIL ADDRESS’ - Sending and Receiving' reported error (0x8004060C) : 'Unknown Error 0x8004060C'

Solution:
This error is known to occur in Microsoft Outlook 2002 and usually indicates that the .pst file has reached it's capacity. For further resolution to this problem please visit the following link for a patch issued by Microsoft:
http://support.microsoft.com/?kbid=304863


0x80040900 - Unable to connect to server

Error Message : Task 'pop.velnetweb.co.uk - Receiving' reported error (0x80040900) : 'The server name you entered can not be found on the network (it might be down temporarily). Please verify that you are online and that the server name is correct.'

Troubleshooting:
User not connected to Internet.
Disable Firewall on system. If Outlook works with Firewall off refer them to the company of Firewall software.


0x80042108 - Outlook is unable to connect to your incoming (POP3) server

Error Message: Task 'Your server - Receiving' reported error (0x80042108) : 'Outlook is unable to connect to your incoming (POP3) e-mail server. If you continue to receive this message, contact your server administrator or Internet service provider (ISP).'

Troubleshooting:
1.) Verify Internet connectivity
2.) Verify account settings
3.) Verify your email is the default account
4.) Telnet to pop.domainname.com and verify that port 110 is enabled
5.) Disable Internet Security or verify that Firewall is configured properly
6.) Disable Anti-virus software
7.) If still not working, restart computer.
8.) If still not working, contact the computer administrator or Internet Service Provider


0x80042109 - Outlook is unable to connect to your outgoing (SMTP) e-mail server

Error Message: Task 'Domain name - Receiving' reported error (0x80042108) : 'Outlook is unable to connect to your outgoing (SMTP) e-mail server. If you continue to receive this message, contact your server administrator or Internet service provider (ISP).'

Troubleshooting:
1.) Verify Internet connectivity
2.) Verify account settings
3.) Verify your email is the default account
4.) Telnet to smtp.domain name.com and verify that port 25 and / or 5125 is enabled
5.) Disable Internet Security or verify that Firewall is configured properly
6.) Disable Anti-virus software
7.) If still not working, restart computer.
8.) If still not working, contact the computer administrator or Internet Service Provider.


0x8004210A - The operation timed out.

Error Message: The operation timed out waiting for a response from the receiving (POP) server 0x8004210a. A time-out occurred while communicating with the server 0x800ccc19

Troubleshooting:
Disable email scanning in Anti-Virus program.
Disable Firewall on system. If Outlook works with Firewall off refer them to the company of Firewall software.
Move any emails with large attachments on the web application to another folder and try popping the email again.
Increase the server timeout.
Run Telnet to see if there is a port being blocked.

Error message: 0x8004210B

Solution:
1) Verify POP / IMAP settings
2) Change outgoing port to 5125
3) Restart computer


0x800C0131 - An Unknown error has occurred. Protocol: SMTP Port: 0 Secure: No [SSL]

Cause:
This behavior can occur if the Folders.dbx file is missing, damaged, or using the read-only attribute.

Solution:
Note: Email may be lost during this procedure. It is important that you save any important email
1. Click Start, point to Find, and then click Files or Folders.
2. In the Named box, type folders.dbx.
3. In the Look In box, click your primary hard disk (usually drive C), and then click Find Now.
4. Right-click the Folders.dbx file, and then click Rename.
5. Type folders.old, and then click OK.
6. Start Outlook Express. This creates a new Folders.dbx file automatically


0x800CCC18 - Logon Attempt Failed

Error Message: No connection could be made because the target machine actively refused it.

Troubleshooting:
Check that computer has access to the Internet
Verify account settings ( POP / IMAP )


0x800CCC19 - A time-out occurred while communicating with the server

Error Message: A time-out occurred while communicating with the server 0x800ccc19

Troubleshooting:
Check that computer has access to the Internet
Verify account settings ( POP / IMAP )
Delete account and recreate


0x800CCC1A - SECURE_CONNECT_FAILED - Unable to connect using SSL

Error Message: SECURE_CONNECT_FAILED - Unable to connect using SSL.

Troubleshooting:
In Outlook select the 'Tools' menu.
Select 'Accounts'.
Click the 'Mail' tab'.
Double click the email account.
Select the 'Advanced' tab'.
Deselect 'This server requires a secure connection (SSL)' under both incoming mail and outgoing mail sections.
Click 'Apply' then Click 'OK'


0x800CCC79 - 501 Syntax Error

Error Message: Error 0x800CCC79 msg could not be sent - recipient was rejected by server... 501 char not allowed

Cause:
Email address is entered incorrectly

Solution:
Open the message from the Outbox and correct the email address. Make sure there are no spaces or incompatible characters


0x800CCC79 - Recipient Address Rejected

Error Message: The message could not be sent because one of the recipients was rejected by the server. The rejected e-mail address was 'test@domainmame.com' . Subject 'test', Account: 'Test', Server: 'smtp.xxxxxxx.xxx', Protocol: SMTP, Server Response: '550 5.7.1 Unable to relay for user@domain.com', Port: 25, Secure(SSL): No, Server Error: 550, Error Number: 0x800CCC79

Cause:
This error will occur in Outlook 2000 if 'Outgoing server requires authentication' is not checked

Solution:
Check 'Outgoing server requires authentication'


0x800CCC7A - No sender address specified

Error Message: Connection to the server has failed, account ‘pop.domainname.com' error: 0x800CCC7A: No sender address specified.

Troubleshooting:
Verify account settings ( POP / IMAP )
Verify there is a valid email address in the To field

different indexing using .htaccess file

When a web browser is pointed to a directory on your web site which does not have an index.html file in it, the files in that directory can be listed on a web page.
1. Enable/Disable Directory Listing
To have the web server produce a list of files for such directories, use the below line in your .htaccess.


Options +Indexes


To have an error (403) returned instead, use this line.


Options -Indexes


2. Listing Style
Either a basic list of files can be shown, or a 'fancy' list including icons, file size, modification date and more.


IndexOptions +FancyIndexing


Add this to your .htaccess file to use the 'fancy' style.


IndexOptions -FancyIndexing


Use the above line if you prefer a more basic file list.
3. Ignore Files
Let's say you have a directory with .jpg, .gif and .png image files. You only want the .png files to show in the directory listings. Add this line to your .htaccess.


IndexIgnore *.gif *.jpg


The web server now ignores the .gif and .jpg files.
4. Modify Index File
Maybe you don't want a list of the files, you want a specific file to be shown instead. You could upload an index.html file in this directory. There is another way.


DirectoryIndex myfile.html


Instead of listing the files, web page myfile.html will now be shown for this directory and its subdirectories.

iptraf ---> linux command

iptraf - Real-time Network Statistics

The iptraf command is interactive colorful IP LAN monitor. It is an ncurses-based IP LAN monitor that generates various network statistics including TCP info, UDP counts, ICMP and OSPF information, Ethernet load info, node stats, IP checksum errors, and others. It can provide the following info in easy to read format:

* Network traffic statistics by TCP connection
* IP traffic statistics by network interface
* Network traffic statistics by protocol
* Network traffic statistics by TCP/UDP port and by packet size
* Network traffic statistics by Layer2 address

Tuesday, November 17, 2009

Fatal error: Client does not support authentication protocol requested by server; consider upgrading MySQL client in

1. Select the 'privileges' option on the main PhpMyAdmin page
2. Edit the user you're using to connect to the database
3. Scroll down to where it says 'Change password'
4. Enter and re-type the password for that user
5. IMPORTANT Where it says 'Password Hashing', choose the option that says 'MySQL 4.0 compatible'.
6. Save your selection


Or you can manually from the backed by using the below command
===============
mysql> SET PASSWORD FOR
-> 'some_user'@'some_host' = OLD_PASSWORD('newpwd');


===============