Installation and Configuration of Oracle 10g RAC Database Cluster with Error/Bug Fix

Written by Mike on September 29, 2010 – 11:14 am -


Tags: , , , , ,
Posted in Dedicated Server Hosting, Oracle | No Comments »

Acme::Sporke version v0.0.8 required

Written by AlanV on April 13, 2009 – 2:29 am -

If you receive error while compiling easyapache shown at following image then run following cPanel scripts and then run easyapache

1)/scripts/checkperlmodules
2)/scripts/upcp –force

error Acme::Sporke version v0.0.8 required


Posted in Dedicated Server Hosting, linux, Linux VPS Hosting, VPS hosting | 1 Comment »

Horde webmail error

Written by AlanV on April 9, 2009 – 10:49 pm -

If horde webmail is not working on windows + plesk server and receiving following errors when login to horde….

Warning: main() [function.include]: Failed opening ‘PEAR.php’ for inclusion (include_path=’C:\Inetpub\vhosts\webmail\horde\lib;.;./includes;./pear’) in C:\Inetpub\vhosts\webmail\horde\lib\core.php on line 46

Warning: main(): Failed opening ‘PEAR.php’ for inclusion (include_path=’C:\Inetpub\vhosts\webmail\horde\lib;.;./includes;./pear’) in C:\Inetpub\vhosts\webmail\horde\lib\core.php on line 26

And so on………

This happens mainly because PHP and Zend installers force PHP to use a default configuration file for all applications, but horde uses a special configuration file which is placed to its folder.

Solution:
Please edit registry by command regedit and clean up the default configuration location by removing the following key:

HKEY_LOCAL_MACHINE\SOFTWARE\php\IniFilePath


Tags: , , , ,
Posted in Dedicated Server Hosting, Plesk For Windows, VPS hosting, Windows VPS | 2 Comments »

Couldn’t load Template::Stash::XS 2.20

Written by AlanV on April 1, 2009 – 10:15 pm -

If you are receiving following errors while running easyapache or any other script then go through following solutions to fix this issue.

=====================================================
Can’t locate loadable object for module Template::Stash::XS in @INC (@INC contains: /usr/local/cpanel /scripts /usr/lib/perl5/5.8.8/i686-linux /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/i686-linux /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl .) at /usr/lib/perl5/5.8.8/i686-linux/DynaLoader.pm line 31

BEGIN failed–compilation aborted at /usr/lib/perl5/site_perl/5.8.8/Template/Stash/XS.pm line 31.
Compilation failed in require at /scripts/cPScript/Template.pm line 14.
BEGIN failed–compilation aborted at /scripts/cPScript/Template.pm line 14.
Compilation failed in require at /scripts/cPScript/AdvConfig.pm line 9.
BEGIN failed–compilation aborted at /scripts/cPScript/AdvConfig.pm line 9.
Compilation failed in require at /scripts/cPScript/AdvConfig/apache.pm line 19.
BEGIN failed–compilation aborted at /scripts/cPScript/AdvConfig/apache.pm line 19.
Compilation failed in require at /scripts/cPScript/EditHttpdconf.pm line 37.
BEGIN failed–compilation aborted at /scripts/cPScript/EditHttpdconf.pm line 37.
Compilation failed in require at /scripts/fixmailmanwithsuexec line 14.
BEGIN failed–compilation aborted at /scripts/fixmailmanwithsuexec line 14.
======================================================

Solution: Read more »


Posted in Dedicated Server Hosting, linux, Linux VPS Hosting, VPS hosting | 1 Comment »

How does the Conficker worm work?

Written by Mike on March 25, 2009 – 12:37 am -

The Conficker worm is a computer worm that can infect your computer and spread itself to other computers across a network automatically, without human interaction.

infected How does the Conficker worm work?

WORM: Win32/Conflicker attempts to make numerous connections to the computers across the network (from infected System) finding new hosts (systems) that have weak passwords, shared files on network, removable disks, and outdated Security updates.

woupdates How does the Conficker worm work?
Computers on the network without latest Security updates OR outdated updates may get infected with the worm.

nwshared How does the Conficker worm work?
Computers with open shares and Shared network files on network can easily targeted by this worm.

pendrive How does the Conficker worm work?
Removable devices like USB Pen drives, Flash Drives, USB sticks, External Hard Drives may get infected with this worm and infect other computers where these media will be used for data transmission.

shared How does the Conficker worm work?
Shared Computer with weak password may get infected. So, make sure to keep strong password. Also use Numbers and Special Characters while setting Passwords.

firewall How does the Conficker worm work?
Computers with a proper Password Policy, current Security Updates, Antivirus OR Security Software and Secured Network Share are protected from Conflicker Worm.

Here’s an illustration of how the Conficker worm works.

diagram How does the Conficker worm work?


Tags: , , ,
Posted in Dedicated Server Hosting | 4 Comments »

ERROR: cannot contain ‘..’ to indicate the parent directory

Written by Mike on March 13, 2009 – 8:49 am -

While developing a website there are many code snippets which are used on various pages. In such cases the website developers save such code snippets in a particular file and call the in pages using <!–#include file=”filename.asp”–> (in ASP). This helps to reduce the length of code.script of a webpage and eliminates the scripting Errors. In IIS sometime when you try to access some pages which have such includes it shows following Error:

Active Server Pages error 'ASP 0131'

Disallowed Parent Path

/test/main.asp, line 1

The Include file '../common.asp' cannot contain '..' to indicate the parent directory.

Here the line 1 of main.asp contains following code snippets.

<!--#include file="../common.asp"-->

You receive this error message if the application calls an ASP method that requires the Parent Paths option to be enabled. By default, the Parent Paths option is enabled in IIS 5.0, but it is disabled by default in IIS 6.0.

This problem can be resolved by enabling Parent Paths for the website.

1)  Click Start, click Administrative Tools, and then click Internet Information Services (IIS) Manager.

2)  Double-click your computer name in the left pane, and then double-click Web Sites.

3) Locate the Web site and directory that houses the ASP application and Right-click the application site or directory, and then click Properties

site_properties ERROR: cannot contain .. to indicate the parent directory
4) Select Home Directory, and then click Configuration.

home_dir ERROR: cannot contain .. to indicate the parent directory

5) Click Options, and then click to select the Enable Parent Paths check box

enable ERROR: cannot contain .. to indicate the parent directory

6) Press “OK” and restart IIS.

iisreset ERROR: cannot contain .. to indicate the parent directory

Now try to access the Same Page or URL again.


Tags: , ,
Posted in Dedicated Server Hosting | 2 Comments »

ERROR: “/lib/cpp” fails sanity check

Written by Mike on November 20, 2008 – 12:00 pm -

ERROR:

Recently while running “./configure” while installing a component on a Server I got following Error.

checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... unsupported
checking how to run the C preprocessor... /lib/cpp
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
[root@server1 ]#

_
SOLUTION:

I have checked and found that gcc and cpp modules are already installed on the server. This can be checked using command “rpm -qa | grep gcc” “rpm -qa | grep cpp“. I have searched on many websites and found that glibc-headers were not installed on the server. I have installed glibc-headers using command “yum install glibc-headers“. If you face this problem please make sure that following components are installed on the server:

1) GCC and GCC-C++

[root@server1 ~]# rpm -qa | grep gcc
gcc-c++-4.1.2-42.el5
compat-gcc-34-c++-3.4.6-4
libgcc-4.1.2-42.el5
gcc-4.1.2-42.el5
compat-gcc-34-3.4.6-4
compat-libgcc-296-2.96-138
gcc-objc-4.1.2-42.el5
compat-gcc-34-g77-3.4.6-4
gcc-objc++-4.1.2-42.el5
[root@server1 ~]#

_

2) CPP

[root@server1 ~]# rpm -qa | grep cpp
cpp-4.1.2-42.el5
[root@server1 ~]

_

3) GLIBC, GLIBC-DEVEL and GLIBC-HEADERS

[root@server1 ~]# rpm -qa | grep glibc
glibc-2.5-24
glibc-headers-2.5-24
compat-glibc-headers-2.3.4-2.26
glibc-common-2.5-24
glibc-devel-2.5-24
compat-glibc-2.3.4-2.26
[root@server1 ~]#

_


Tags: ,
Posted in Dedicated Server Hosting, Linux VPS Hosting | 7 Comments »

How do I create a new user account on windows 2003?

Written by Swapnil on November 17, 2008 – 12:28 pm -

It is ALWAYS recommended to create additional two (2) users, apart from Administrator. These two users are – another member of “Administrators” group (to avoid actually logging on with the Administrator account, but you have the same privileges) & a regular user, who is part of “Users” group. It is recommended to only log on with regular user, and use the “runas” command when you need to run any particular program as an Administrator; log on with the secondary Administrator user when it is absolutely needed. This will show you how to create a secondary Administrator.

==========

Click the Start button, then Run…

Then type lusrmgr.msc

In window that opens, right click in the right panel and click “New User”

In the New User dialog, type in desired user name and password (secondary Administrator account).  Uncheck User must change password, & check Password never expires. Now, go to the Properties of new User; Go to the “Member of” tab and press the Add button.

Then Type Administrators, and press the Check Names button (to complete the name) and press OK when it is done, then press OK on the Local Users and Groups dialog

Now you have a secondary Administrator account; The above steps will be same to add a regular user (highly recommended) until the User properties.


Tags: , , ,
Posted in Dedicated Server Hosting, VPS hosting, Windows VPS | No Comments »

Windows 2003 Advanced TCP/IP settings

Written by Swapnil on November 17, 2008 – 12:21 pm -

Here is the “Advanced TCP/IP settings” article for windows users..

Advanced TCP/IP settings :-

The Advanced TCP/IP dialog will allow you to configure settings relative to DNS, WINS and specify multiple IP Addresses and Gateway’s. To come up with the  Advanced TCP/IP Settings dialog, simply right click the desired connection from the Network Connections folder, and choose properties, to view the Properties dialog box of the selected connection. Now, select Internet Protocol (TCP/IP) from the list and click the Properties button. This will openup the Internet Protocol (TCP/IP) Properties dialog.

Next step is to click the Advanced button and popsup the Advanced TCP/IP Settings dialog with four tabs to choose the option , from the given below:

IP Settings allows you to add more IP Addresses or  to change the routing properties of the network card.

DNS allows you to set how the TCP/IP connection uses the DNS.

WINS allows you to set how the TCP/IP connection uses WINS for computers that can not access Active Directory.

Options allows you to set TCP/IP Filtering and specify which ports will be used for TCP/IP communication.

The IP Settings Tab : –

The IP addresses box at the top allows you to assign additional IP Addresses to a single network card. This is useful if you are hosting multiple websites on the same web server and want to give each its own IP Address for example.

Simply click the Add button to add an IP Address and Subnet Mask >> Click “Edit” to modify the currently selected item and “Remove” to delete the currently selected item from the list.

The Default gateways box in the middle, Comes into action  if you want the network connection to use multiple default gateways. Click the Add button to add a Default gateway, and assign it a Metric value. A “metric value” is the cost of a specific route. Cost can reflect speed, reliability and number of hops. The route with the lowest metric value is used. So if you have two Default Gateways set up, one with a metric of 10 and the other with a metric of 20, then the  one with 10 will get the first priority.  Leaving the metric at automatic means that the route metric for this default gateway will be calculated automatically, and the fastest route will be chosen.

The Edit and Remove buttons in the Default gateways box, does exactly the same as  the IP addresses box.

At the bottom of the IP Settings tab you can set whether you want the Interface to have a specific metric or to be assigned one automatically. By default this option is checked. Uncheck it if you wish to input an Interface metric value of your choice.

The DNS Tab : –

The “DNS server addresses, in order of use box” at the top of the DNS tab is used to list the IP Addresses of the DNS Servers that will be used for name resolution. These servers are ordered and used in priority, so if one server does not work then it will move to the next one down the list. To set the order of IP Addresses, select an IP Address and press the up and down button on the right hand side.

It is important to keep in mind that TCP/IP will not move on to the next server if it fails to resolve the request. It will only move to the next server if the first server it tries is unavailable (perhaps down for maintenance or in the middle of a reboot).

Append primary and connection specific DNS suffixes, and Append parent suffixes of the primary DNS suffix are enabled by default. These options are used for resolution of unqualified names.

The first option is used to resolve unqualified names using the parent domain. For example, if you had a computer name of test and a parent domain called trulymanaged.com it would resolve to test.trulymanaged.com. The query would fail if test.trulymanaged.com does not exist in the parent domain. The second option is used to resolve unqualified names using the parent-child domain hierarchy. A DNS query will move one step up the domain hierarchy if it fails at the current level. It will do this until it reaches the root of the hierarchy.

The textbox on the right of the DNS suffix for this connection is used to explicitly set a DNS suffix that will override any other setting already specified for this connection.

Register this connections addresses in DNS will register all this connections IP Addresses in DNS under the computers FQDN. Using this connections DNS suffix in DNS registration will register all IP Addresses for this connection in DNS under the parent domain.

The WINS Tab : -

The WINS tab is used to specify WINS related settings such as the list of WINS servers to be used for NETBIOS name to IP resolution, the LMHOSTS file to be used as an alternate means of lookups and the NETBIOS settings for the network connection.

Use the “WINS addresses, in order of use box” at the top to add the WINS servers you want the system to use for IP to name resolution. Press the Add button for a small dialog box to appear waiting for you to enter the IP Address of the WINS server. Use the Edit and Remove buttons to modify or delete a selected item respectively. If you have more than one WINS server in the list, press the up and down arrow buttons to adjust the priority of which servers will be queried first. If one server is not available then the next one down will be used, and so on and so forth.

Check the Enable LMHOSTS lookup checkbox so that if WINS cannot resolve a name then the local LMHOSTS file will be used. The LMHOSTS file can be found in \WINDOWS\system32\drivers\etc. It goes by the name of lmhosts.sam and can be modified in a text editor. Entries are placed at the bottom of the file and when used, the listed IP Addresses are matched against a specified host name. If you already have an LMHOSTS file defined on another machine on the network, use the Import LMHOSTS button to select this file and import it to the local machine.

The NETBIOS settings at the bottom allow you to explicitly define how NETBIOS will be used on the system. Choose Default if you want the DHCP server to assign the NETBIOS setting, Enable NETBIOS over TCP/IP if you use a static IP Address or the DHCP Server does not give NETBIOS settings, and Disable NETBIOS over TCP/IP if you do not use NETBIOS or WINS on your network.

The Options Tab (TCP/IP Filtering) :-

The Options tab allows you to configure TCP/IP Filtering settings; you can define which ports or protocols are permitted. Select the Permit Only radio button and use the Add button to add TCP/UDP port numbers or a protocol version to the respective list. If you permit traffic only from a defined set of ports, all other traffic will be dropped.


Tags: , , , , , ,
Posted in Dedicated Server Hosting, Windows VPS | 1 Comment »

DNS Concepts

Written by Chetan on November 16, 2008 – 4:07 pm -

What this is and isn’t …

DNS is the Domain Name System. DNS converts machine names to the IP addresses that all machines on the net have. It translates (or “maps” as the jargon would have it) from name to address and from address to name, and some other things.

A mapping is simply an association between two things, in this case a machine name, like ftp.linux.org, and the machine’s IP number (or address) 199.249.150.4. DNS also contains mappings the other way, from the IP number to the machine name; this is called a “reverse mapping”. Fortunately DNS isn’t really that hard, this blog will try to make a few things clearer. It describes how to set up a simple DNS name server, starting with a caching only server and going on to setting up a primary DNS server for a domain.

Before you start on this you should configure your machine so that you can telnet in and out of it, and successfully make all kinds of connections to the net, and you should especially be able to do telnet 127.0.0.1 and get your own machine (test it now!). You also need good /etc/nsswitch.conf, /etc/resolv.conf and /etc/hosts files as a starting point, let me give a small idea about these files :)

1) The /etc/nsswitch.conf file is used to configure which services are to be used to determine information such as hostnames, password files, and group files.

2) resolv.conf : Name resolution means translating a string such as ‘gateway.enterprise.net’ into an IP address such as 194.72.194.1. When your machine is connected to the Internet, you need to be able to do this for addresses all over the world.

You do this through the Internet’s Domain Name Service, which is a decentralized system for address translation. You will not usually run a nameserver yourself, unless you are managing extensive sub-networks. The nameserver is run by your ISP.

You have to tell your software where to find the name servers. This is done in /etc/resolv.conf, which looks like this:

domain trulymanaged.com
nameserver 208.164.186.1
nameserver 208.164.186.2

The domain is your own domain name, corresponding to the suffixes in /etc/hosts. The nameservers are the primary and secondary nameservers of my ISP, Enterprise plc. The IP addresses are specified, rather than the names, because you would need a nameserver to translate the names to IP addresses. If you try to use an address which is not in your local domain, the name resolver will ask the primary nameserver for its IP address. If that fails, it will try the secondary nameserver before giving up.

3) /etc/hosts: As your machine gets started, it will need to know the mapping of some hostnames to IP addresses before DNS can be referenced. This mapping is kept in the /etc/hosts file.

When I say `your machine’ I mean the machine you are trying to set up DNS on, not any other machine you might have that’s involved in your networking effort. Name serving on Unix is done by a program called named. This is a part of the “BIND” package which is coordinated by The Internet Software Consortium. Named is included in most Linux distributions and is usually installed as /usr/sbin/named, usually from a package called BIND.

If you have a named you can probably use it otherwise please install bind 8 or 9 module. You can check installed bind version, if the named man page talks about (at the very end, in the FILES section) named.conf you have BIND 8; if it talks about named.boot you have BIND 4. If you have 4 and are security conscious you really ought to upgrade to the latest version of BIND 8 Nnw. DNS is a net?wide database. Take care about what you put into it. If you put junk into it, you, and others, will get junk out of it. Keep your DNS tidy and consistent and you will get good service from it. Learn to use it, admin it, debug it and you will be another good admin keeping the net from falling to its knees by mismanagement.


Posted in Dedicated Server Hosting | 2 Comments »
RSS

  • Subscribe Me

  • Tag Cloud

  • Archives