view counter

Servers & Storage Feed

Sun Servers and Storage, Solaris, Oracle Linux, Red Hat Linux, Oracle VM for x86, Oracle VDI and Virtualization resources, news, and support articles.

Perl – Can’t locate XML/Simple.pm in @INC

Recently while I am trying to reuse a perl scrip I got an error saying “Can’t locate XML/Simple.pm in @INC”.
Following is complete error message:
Can’t locate XML/Simple.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .)

Perl – Can’t locate XML/Simple.pm in @INC

Recently while I am trying to reuse a perl scrip I got an error saying “Can’t locate XML/Simple.pm in @INC”.
Following is complete error message:
Can’t locate XML/Simple.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .)

Oracle VM Server for SPARC 3.1.1 Now Available

Oracle VM Server for SPARC
release 3.1.1 is now available. It can be installed on systems with Solaris 11.1 control domains by upgrading to SRU 17.5. That automatically
updates the version of Oracle VM Server for SPARC.

Identify Linux distribution, code name and version info

How do you identify the Linux distribution, the specific code name and version number that is running on a machine? Below are several ways.

  1. lsb_release $ lsb_release -aNo LSB modules are available.Distributor ID: DebianDescription: Debian GNU/Linux 7.4 (wheezy)Release: 7.4Codename: wheezy If lsb_release is not installed by default on your machine, install it as follows.
    • For Fedora, Centos, and Red Hat Enterprise Linux $ sudo yum install redhat-lsb-core

awk/sed print from line number to end of file

I have file with 10 lines where content of first line in 1, second line 2, third line is 4 …… and tenth line is 10.
Here I will show some operations related to read read in lines based their line numbers.
Print from line number 5 to end of file:
$ awk 'NR>=5' inputFile
or
$ sed '1,4d' inputFile
Print from line number 4 to 9 or print lines between linen number 3 and 10:

awk/sed print from line number to end of file

I have file with 10 lines where content of first line in 1, second line 2, third line is 4 …… and tenth line is 10.
Here I will show some operations related to read read in lines based their line numbers.
Print from line number 5 to end of file:
$ awk 'NR>=5' inputFile
or
$ sed '1,4d' inputFile
Print from line number 4 to 9 or print lines between linen number 3 and 10:

Summary of Job Management Commands for MAUI

This is a good summary taken from Adaptive Computing 4.3 Job Managament Commands to manage jobs for MAUI.

How to enable mod_rewrite for Apache web server

I've installed two Content Management Systemson my Debian wheezy system - WordPress and Drupal. The web server deployed is the venerable Apache. Common to the 2 deployments is the issue of how to enable the mod_rewritemodule for the Apache web server. The rewrite module maps obscure URLs - computer gibberish - to 'clean' URLs.

Performance improvement for OCI_RETURN_LOBS in PHP OCI8 2.0.8

Reducing "round trips" to the database server is important for
performance and ultimately for system scalability. A server
round-trip is defined as the trip from PHP to the database server and
back to PHP.

Sample of /etc/openstack-dashboard/local_settings

[root@dfw02 ~(keystone_admin)]$ cat  /etc/openstack-dashboard/local_settings | grep -v ^# | grep -v ^$
import os
from django.utils.translation import ugettext_lazy as _
from openstack_dashboard import exceptions
DEBUG = False
TEMPLATE_DEBUG = DEBUG
ALLOWED_HOSTS = ['192.168.1.127', 'localhost']
SESSION_ENGINE = “django.contrib.sessions.backends.cached_db”
DATABASES = {
‘default’: {
‘ENGINE’: ‘django.db.backends.mysql’,
‘NAME’: ‘dash’,
‘USER’: ‘dash’,

view counter