Archive for the ‘Linux VPS Hosting’ Category

How to create PostgreSQL Database in cPanel?

Friday, May 25th, 2007

>Log on to cPanel with http://www.domainname.com:2082 / http://www.domainname.com/cpanel
>Click on PostgresSQL icon
>Enter the desired name for the database
>Click on Add Db to create the database.

What are signature files in Outlook Express?

Tuesday, March 20th, 2007

These are known as small attachments normally in text which are attached to every email. These are used in a situation of quotes for requirements / advertisements etc. The following are steps to create signature files in outlook express -

In the option menu -

> Click on Tools
> Click on Options
> Click on Tab – Signature
> Now click on New
> Enter any message you would like to include at the end of every emails.
> Click on OK

These are known to be very handy in due coarse of corporate mail program.

What is SSH (Secure Shell)?

Thursday, February 1st, 2007

SSH

It is a protocol suite tool which connects various networks and encypts traffic accordingly such as password access, login details etc. to keep it safe from all the kind of attacks. In a telnet session, the password is passed across the Internet which is yet unencrypted.

There are two versions that are available at present -

a) SSH1
b) SSH2 (FTP Supported)

There is also an alternative that was developed by OpenBSD project. It is completely accessible with SSH1 and SSH2. However, it is based upon OpenSSL. All the latest Linux versions are packaged with OpenSSH as well as OpenSSL

PHP MySQL Hosting

Wednesday, December 27th, 2006

MySQL
It is a SQL Database Management System that is mainly used by multi-users, its Codebase is copywrited by a Swedish Company but was founded by David Axmark, Allan Larsson and Michael Widenius it develops and keeps it up-to-date and carries out its each and every activity.

It is same like the JBoss Model and completely opposite to Apache Working theme.MySQL is famous for its web applications and is the database for LAMP, MAMP and Platforms and also for some open-source bug tracking tools and it is also known for its user friendly feature. Normally the MySQL and PHP are usually combined together well versed.

PHP

Hypertext Preprocessor is a open-source programming language which originated in the aim of production of the most interactive websites.This programming language is an open-challenge to other languages.

It is used in server-side application software but can be made use from a command line interface/stand-alone graphical applications.

How to Reset MySQL Password in Plesk?

1) Login to the Server and load MySQL with the ’skip-grant-tables’ in /etc/my.cnf like below.
[mysqld]
default-character-set=latin1
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
set-variable=max_connections=500
skip-grant-tables

2) Log on the MySQL server and set an empty password for root.
[root@support root]# mysql
mysql>FLUSH PRIVILEGES;
mysql>GRANT ALL PRIVILEGES ON *.* TO root@localhost IDENTIFIED BY ‘new password’ WITH GRANT OPTION;
mysql>FLUSH PRIVILEGES;
mysql>\q

3) Comment out or remove string ’skip-grant-tables’ like below.
[mysqld]
default-character-set=latin1
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
set-variable=max_connections=500
#skip-grant-tables

4) Then restart mysqld service with command
/sbin/service mysqld restart


Tool command language

Monday, December 25th, 2006

Tclor Tool Command Language is a scripting language which was created by John Ousterhout. Tcl was independent and gained world-known acceptance and it is very easy to learn, but at the same time it is powerful in competent hands and is commonly used for rapid prototyping, scripted applications, GUIs and testing and CGI scripting.

Outlook express Error Codes and Explanation

Tuesday, December 19th, 2006

0×800CCC00 LOAD_SICILY_FAILED -  Authentication did not load.
0×800CCC01 INVALID_CERT_CN – Invalid certificate content
0×800CCC02 INVALID_CERT_DATE – Invalid certificate date.
0×800CCC03 ALREADY_CONNECTED – User already connected.
0×800CCC04  – CONN
0×800CCC05 NOT_CONNECTED  – Not connected to server.
0×800CCC06 CONN_SEND
0×800CCC07 WOULD_BLOCK
0×800CCC08 INVALID_STATE
0×800CCC09 CONN_RECV
0×800CCC0A INCOMPLETE  – Message download incomplete.
0×800CCC0B BUSY Server or maildrop is busy.
0×800CCC0C NOT_INIT
0×800CCC0D CANT_FIND_HOST  – Cannot locate server.
0×800CCC0E FAILED_TO_CONNECT  – Cannot connect to server.
0×800CCC0F CONNECTION_DROPPED  – Connection closed.
0×800CCC10 INVALID_ADDRESS  – Address not known on server.
0×800CCC11 INVALID_ADDRESS_LIST  – Mailing list not known on server.
0×800CCC12 SOCKET_READ_ERROR  – Unable to send Winsock request.
0×800CCC13 SOCKET_WRITE_ERROR – Unable to read Winsock reply.
0×800CCC14 SOCKET_INIT_ERROR – Unable to initialize Winsock.
0×800CCC15 SOCKET_CONNECT_ERROR – Unable to open Windows Socket.
0×800CCC16 INVALID_ACCOUNT – User account not recognized.
0×800CCC17 USER_CANCEL – User canceled operation.
0×800CCC18 SICILY_LOGON_FAILED  – Logon attempt failed.
0×800CCC19  – TIMEOUT
0×800CCC1A SECURE_CONNECT_FAILED  – Unable to connect using SSL.
0×800CCC40 WINSOCK_WSASYSNOTREADY  – Network subsystem is unusable.
0×800CCC41 WINSOCK_WSAVERNOTSUPPORTED
0×800CCC42 WINSOCK_WSAEPROCLIM
0×800CCC43 WINSOCK_WSAEFAULT – Bad address.
0×800CCC44 WINSOCK_FAILED_WSASTARTUP – Unable to load Windows Sockets.
0×800CCC45 WINSOCK_WSAEINPROGRESS – Operation now in progress.
0×800CCC60 SMTP_RESPONSE_ERROR – Invalid response.
0×800CCC61 SMTP_UNKNOWN_RESPONSE_CODE – Unknown error code.
0×800CCC62 SMTP_500_SYNTAX_ERROR – Syntax error returned.
0×800CCC63 SMTP_501_PARAM_SYNTAX – Parameter syntax incorrect.
0×800CCC64 SMTP_502_COMMAND_NOTIMPL – Command not implemented.
0×800CCC65 SMTP_503_COMMAND_SEQ – Improper command sequence.
0×800CCC66 SMTP_504_COMMAND_PARAM_NOTIMPL – Command not implemented.
0×800CCC67 SMTP_421_NOT_AVAILABLE – Command not available.
0×800CCC68 SMTP_450_MAILBOX_BUSY – Mailbox is locked and busy.
0×800CCC69 SMTP_550_MAILBOX_NOT_FOUND – Mailbox not found.
0×800CCC6A SMTP_451_ERROR_PROCESSING – Error processing request.
0×800CCC6B SMTP_551_USER_NOT_LOCAL
0×800CCC6C SMTP_452_NO_SYSTEM_STORAGE – No space to store messages.
0×800CCC6D SMTP_552_STORAGE_OVERFLOW – Storage limit exceeded.
0×800CCC6E SMTP_553_MAILBOX_NAME_SYNTAX – Invalid mailbox name syntax.
0×800CCC6F SMTP_554_TRANSACT_FAILED – Transaction failed.
0×800CCC78 SMTP_REJECTED_SENDER
0×800CCC79 SMTP_REJECTED_RECIPIENTS – Server rejected recipients.
0×800CCC7A SMTP_NO_SENDER – No sender address specified.
0×800CCC7B SMTP_NO_RECIPIENTS – No recipients specified.
0×800420CB POP3_NO_STORE – Mail cannot be stored on server
0×800CCC90 POP3_RESPONSE_ERROR – Client response invalid.
0×800CCC91 POP3_INVALID_USER_NAME – Invalid user name or user not found.
0×800CCC92 POP3_INVALID_PASSWORD – Password not valid for account.
0×800CCC93 POP3_PARSE_FAILURE – Unable to interpret response.
0×800CCC94 POP3_NEED_STAT STAT – Command required.
0×800CCC95 POP3_NO_MESSAGES – No messages on server.
0×800CCC96 POP3_NO_MARKED_MESSAGES – No messages marked for retrieval.
0×800CCC97 POP3_POPID_OUT_OF_RANGE – Message ID out of range.
0×800CCCA0 NNTP_RESPONSE_ERROR – News server response error.
0×800CCCA1 NNTP_NEWGROUPS_FAILED – Newsgroup access failed.
0×800CCCA2 NNTP_LIST_FAILED LIST – command to server failed.
0×800CCCA3 NNTP_LISTGROUP_FAILED – Unable to display list.
0×800CCCA4 NNTP_GROUP_FAILED – Unable to open group.
0×800CCCA5 NNTP_GROUP_NOTFOUND – Group not on server.
0×800CCCA6 NNTP_ARTICLE_FAILED  – Message not on server.
0×800CCCA7 NNTP_HEAD_FAILED  – Message header not found.
0×800CCCA8 NNTP_BODY_FAILED – Message body not found.
0×800CCCA9 NNTP_POST_FAILED  – Unable to post to server.
0×800CCCAA NNTP_NEXT_FAILED – Unable to open next message.
0×800CCCAB NNTP_DATE_FAILED  – Unable to display date.
0×800CCCAC NNTP_HEADERS_FAILED – Unable to display headers.
0×800CCCAD NNTP_XHDR_FAILED – Unable to display MIME headers.
0×800CCCAE NNTP_INVALID_USERPASS – Invalid user or password.
0×800CCCC2 RAS_NOT_INSTALLED RAS/DUN – not installed.
0×800CCCC3 RAS_PROCS_NOT_FOUND RAS/DUN – process not found.
0×800CCCC4 RAS_ERROR RAS/DUN – error returned.
0×800CCCC5 RAS_INVALID_CONNECTOID – Connectoid damaged or missing.
0×800CCCC6 RAS_GET_DIAL_PARAMS – Error getting dial settings
0×800CCCD1 IMAP_LOGINFAILURE  – Login failed.
0×800CCCD2 IMAP_TAGGED_NO_RESPONSE  – Message tagged.
0×800CCCD3 IMAP_BAD_RESPONSE – Invalid response to request.
0×800CCCD4 IMAP_SVR_SYNTAXERR – Syntax error.
0×800CCCD5 IMAP_NOTIMAPSERVER – Not an IMAP server.
0×800CCCD6 IMAP_BUFFER_OVERFLOW – Buffer limit exceeded.
0×800CCCD7 IMAP_RECVR_ERROR – Recovery error.
0×800CCCD8 IMAP_INCOMPLETE_LINE  – Incomplete data.
0×800CCCD9 IMAP_CONNECTION_REFUSED – Connection not allowed.
0×800CCCDA IMAP_UNRECOGNIZED_RESP – Unknown response.
0×800CCCDB IMAP_CHANGEDUID – User ID has changed.
0×800CCCDC IMAP_UIDORDER – User ID command failed.
0×800CCCDD IMAP_UNSOLICITED_BYE  – Unexpected disconnect.
0×800CCCDE IMAP_IMPROPER_SVRSTATE  – invalid server state.
0×800CCCDF IMAP_AUTH_NOT_POSSIBLE  – Unable to authorize client.
0×800CCCE0 IMAP_OUT_OF_AUTH_METHODS  – No more authorization types.

IMAPD Webmail Command

Tuesday, December 19th, 2006

ps ax | grep imap
/usr/local/etc/rc.d/imapd.rc start
su: /usr/local/etc/rc.d/imapd.rc: No such file or directory
/usr/local/etc/rc.d/imapd.sh start

Outlook Express e-mail issues

Friday, December 1st, 2006


Unable to receive/send e-mails -

a) For incoming mail server -
Tool>Accounts>Mail>Properties>Servers

In the incoming mail server(POP3) should be changed to -

“mail.yourdomainname.com”

b) The incoming mail server (POP3) account name and password should be entered accordingly.

Tools>Accounts>Mail>Properties>Servers

Type the account name and password -

Primary account username – username

But in the case of creation of alternative e-mail using Cpanel, the username will be username@yourdomain.com

c) If POP3 is using the wrong port number -

Tools>Accounts>Mail>Properties>Advanced

Change the SSL port number to 110.

d) Check if the mail client is using SSL -

Tools>Accounts>Mail>Properties>Advanced

Uncheck the option to use SSL.

e) Mail client has been set up to use Secure Password Authentication -

Tools>Accounts>Mail>Double click on e-mail account that is set up>Click on servers>Check the box – My server requires authentication.

f) Mail servers should be as follows -
SMTP: mail.yourdomain.com
POP3: mail.yourdomain.com

g) Remove and create the e-mail account through Cpanel and check if works.

h) If yet, it is malfunctioning, The ISP will be blocking outside e-mail servers, in this situation you must use their outgoing e-mail servers.

i) If yet, there is an error, follow the steps mentioned below -

If using windows>click on start>Run>enter: telnet yourdomain.com 25

Observe the results. If you get this:
220-manou.bodhost.com.com ESMTP Exim 3.36 #1 Sun, 8 Feb 2004 14:20:15 -0500
220-We do not authorize the use of this system to transport unsolicited,
220 and/or bulk e-mail.

In error persists, we will need to use their outgoing mail servers.


force sendmail to deliever mail from queue

Tuesday, November 28th, 2006
Forcing the Queue
In some cases you may find that the queue has gotten clogged for some reason. You can force a queue run using the -q flag (with no value). It is entertaining to use the -v flag (verbose) when this is done to watch what happens:

/usr/sbin/sendmail -q -v

You can also limit the jobs to those with a particular queue identifier, sender, or recipient using one of the queue modifiers. For example, -qRberkeley restricts the queue run to jobs that have the string berkeley somewhere in one of the recipient addresses. Similarly, -qSstring limits the run to particular senders and -qIstring limits it to particular queue identifiers.

Webmail IMAPD command

Tuesday, November 28th, 2006

ps ax | grep imap
/usr/local/etc/rc.d/imapd.rc start
su: /usr/local/etc/rc.d/imapd.rc: No such file or directory
/usr/local/etc/rc.d/imapd.sh start