• 31Jul

    DNS

    Domain name system Or server Or service.

    An Internet service that translates domain names into IP address. Because domain names are alphabetical. they are easier to remember. The internet however, really based on IP-addresses . Everytime you use a domain name, therefore, a DNS service must translate the name into corresponding IP-address.

    For example: The domain name www.example.com translate to 192.168.0.10

    The DNS system infact, it’s own network. If one DNS server doesn’t know how to translate a particular domain name, it asks another one and so on, until the correct Ip-address is returned.

  • 31Jul

    To install ioncube globally use following steps.
    1) Login into shell through root

    2) cd /usr/local

    Download the tar.gz file which is compatible with your server from http://downloads.ioncube.com/

    wget http://downloads.ioncube.com/loader_…lin_x86.tar.gz

    3) Untar the file.

    tar -zxf ioncube_loaders_lin_x86.tar.gz

    4) chown -R root:root /usr/local/ioncube/

    5) vi /usr/local/Zend/etc/php.ini (or whatever your path is)

    Add the following line before any other zend_extension

    zend_extension=/usr/local/ioncube/ioncube_loader_lin_4.4.so

    It would go between these two entries

    zend_optimizer.version=2.5.10a
    zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so

    Save changes, then:

    6) /etc/init.d/httpd restart

  • 30Jul

    If ^M character showing up in files while opening that file in vi editors use the following step to Convert ^M to new line character

    In vi use the following:

    :%s/^M/\n/g

    or with perl on the command line:

    $ perl -pi.bak -e ’s/^M/\n/g’

    NOTE: Be sure to create the ^M by typing ctrl+V followed by ctrl+M.

    ^M is ASCII 13 (Ctrl+M), which is the carriage return.

    Different operating systems use different symbols to set the end of a line/new line.
    Unix uses newline (\n)
    Mac uses carriage return (\r)
    And Windows/DOS use both (\n\r)

    To prevent the ^M from showing up in files, be sure to use ASCII (text) mode when transfering text files.

  • 30Jul

    1)
    Check that ipaddress is in ifconfig

    root@[/]# ifconfig
    eth0 Link encap:Ethernet HWaddr 00:0D:61:B5:AE:74
    inet addr:69.93.237.209 Bcast:69.93.237.223 Mask:255.255.255.224
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:216786947 errors:0 dropped:0 overruns:0 frame:0
    TX packets:292861708 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0
    RX bytes:1968126893 (1876.9 Mb) TX bytes:317887913 (303.1 Mb)

    2)
    Check the entry of ipaddress in /etc/ips

    root@[/]# vi /etc/ips

    69.93.237.209:255.255.255.224:69.93.237.223
    69.93.237.210:255.255.255.224:69.93.237.223
    69.93.237.211:255.255.255.224:69.93.237.223

    The first column is the ipaddress assign to the server that you can see in “ifconfig” i.e. “inet addr:69.93.237.209″

    The second column is the Mask:255.255.255.224.

    The third column is the Brodcast:69.93.237.223.

    3)
    Check if the ips are listed in /etc/ipaddrpool

    root@[/]# vi /etc/ipaddrpool

    69.93.237.209
    69.93.237.210
    69.93.237.211
    If IP address not listed in any of above file please add it and you are able to access it through create account.

  • 29Jul

    Defination -: Flavors :

    Unix is not a single operating sysytem. It is in fact a general name given to dozens of o.s. by different companies, organizations Or groups of individuals. These variants of unix are referred to as flavors. Although based on the same core set of unix commands, different flavors can have their own unique commands and featires, and designed to work with different types of h/w. Linux is often considered a unix flavor. See a list of unix flavors:

    1. AIX : AIX is commercial version of unix producd IBM.

    2. BSD : Berkeley Software  Distribution.

    3. Caldera : The Caldera Open UNIX 8 deployment platform uses Linux Kernel Personality (LKP)
    4. FreeBSD : FreeBSD makes a great internet server Or firewall, and recent advancements make freeBSD powerful multimeia editing workstation.

    5. HP-UX : HP-UX was the first Unix to use access control lists for file access permissions
    6. Solaris : Solaris is the unix flavor produced by sun Microsystems.

    7. Linux : Linux has generated more excitement in the computer field than any other development.

    Linux flavors : Red-hat, Fedora, SUSE, Slackware, Gentoo, Debian, mandrake.

  • 29Jul

    If client want to use only squirrel or horde and he want to disable another then use following steps.

    1)
    If client want to disable horde.

    root@server1[/]# vi /var/cpanel/users/username
    add following lines

    skiphorde=1
    skipsqmail=0

    save the file.

    root@server1[/]# Service cpanel restart

    If client want to disable squirrel mail and want to use horde add following line.

    skiphorde=0
    skipsqmail=1

  • 29Jul

    If client get following error when he try to access squirrel mail

    Warning: main(../config/config.php): failed to open stream: No such file or directory in /usr/local/cpanel/base/3rdparty/squirrelmail/functions/global.php on line 18
    Fatal error: main(): Failed opening required ‘../config/config.php’ (include_path=’/usr/local/cpanel/3rdparty/lib/php/:.’) in /usr/local/cpanel/base/3rdparty/squirrelmail/functions/global.php on line 18

    Use following steps to solve problem
    1)
    Go to directory /usr/local/cpanel/base/3rdparty/squirrelmail/config

    # cd /usr/local/cpanel/base/3rdparty/squirrelmail/config
    2)
    copy config_default.php to config.php

    root@server1[/usr/local/cpanel/base/3rdparty/squirrelmail/config]# cp config_default.php config.php
    It solves the problem.

  • 29Jul

    You add/change your private nameserver for your dedicated server but when you create account through whm it not shows your default nameserver. You have to add your private nameserver in wwwacct.conf

    # vi /etc/wwwacct.conf
    Add or edit following lines as per your requirement.
    ns = ns1.domain.com
    ns2 = ns2.domain.com

    save the file. Now when you create account through whm it shows your servers default nameserver.

    2)
    If reseller client want his private nameserver add automatically when he create account through whm.

    Go to whm >> Resellers >> Reseller Center

    Select reseller account from dropdown list.
    Click on edit privileges / Nameservers

    Scroll down to the bottom of the screen and enter the name of the reseller nameserver in the blank field next to Primary nameserver and secondary nameserver as per below.

    Primary nameserver = ns1.domain.com
    Secondary nameserver = ns2.domain.com

    Click on save option.

    Now when reseller creates account through whm it shows resellers private nameserver.

  • 29Jul

    Client receives following error when he tries to add default address through cpanel.

    Fatal! Write Failure: /etc/valiases/domain.com . Ignore any messages of success this can only result in failure!

    Client receives this error because domainname.com file is missing.

    1)
    Go to directory /etc/valiases
    root@server1[/]# cd /etc/valiases
    2)
    Create the file domain.com
    root@server1[/etc/valiases]# touch domainname.com

    3)
    change the ownership as per below.
    root@server1[/etc/valiases]# chown username.mail domainname.com

    It solves the problem.

  • 29Jul

    When I check View Bandwidth Usage in WHM I got error though the domain below is there.

    tvguide travelvacationguide.info (deleted) 0.00 Meg 0.00 Meg N/A N/A Meg C:%5CDOCUME%7E1%5CADMINI%7E1%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_image001 I receives error under whm >> Account Functions >> View Bandwidth Usage. 0% used

    Ans :-

    Client delete account travelvacationguide.info then recreate same account but domain not properly show under whm >> account information >> view bandwidth usage. Client receives this error because file with username is missing from directory /var/cpanel/users
    1)
    Go to directory /var/cpanel/bandwidth
    root@server1[/]# cd /var/cpanel/bandwidth
    2)
    Create file with accounts username and domain name.
    root@server1[/var/cpanel/bandwidth]# touch tvguide root@server1[/var/cpanel/bandwidth]# touch travelvacationguide.info
    3)
    Change group of the above both files to username.
    root@server1[/var/cpanel/bandwidth]# chgrp tvguide tvguide
    root@server1[/var/cpanel/bandwidth]# chgrp tvguide travelvacationguide.info

    4)

    root@server1[/]# /scripts/runweblogs tvguide

    5)
    Check account under whm >> Account Functions >> View Bandwidth Usage. It shows as per below

    tvguide travelvacationguide.info 0.00 Meg 0.00Meg 9.77 Gig 1% used

    In above case username = tvguide domain name = travelvacationguide.info
    Please remember you have to replace username and domain name as per your requirement.

    If domain name is missing from “whm >> Account Functions >> View Bandwidth Usage” use steps to solve the problem.

« Previous Entries   

Recent Comments

  • This could be one of the reason why UK Government is making...
  • The root access in VPS gives you the ability to install and...
  • Hello...Thanks for the nice read, keep up the interesting po...
  • can i get more information..see not theoryitcal i need part...
  • Hi, I use a company laptop and its disabled. How can I enabl...