Siddesh BG's Build Release Config mgmt Blog

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Thursday, 4 December 2008

How to know a Unix/Linux system is a 32/64 bit architecture?

Posted on 03:20 by Unknown
To know whether given Unix/Linux machine is of type 32/64 bit architecure, use the command

getconf LONG_BIT

It outputs correspondingly 32 or 64 bit.

For AIX machine use "bootinfo -K" command for same purpose

Reference: http://www.unixguide.net/unixguide.shtml
Read More
Posted in AIX, linux, Solaris | No comments

Wednesday, 3 December 2008

How to know architecture of a AIX machine?

Posted on 23:12 by Unknown
We can easily know the architecture type in Linux or Solaris systems with the help of "uname" command. But uname command in AIX don't give relevant information. To know the architecture (PowerPC, rs6000) of your AIX machine, use the following commands.

1) First know the processor characterstics by typing
[root@re-aix02:/] lsdev -Cc processor
proc0 Available 00-00 Processor
From this you know your processor is on "proc0 or proc1"

2) Using the information obtained from 1), know the attribute characteristics for processor
[root@re-aix02:/] lsattr -E -l proc0
state enable Processor state False
type PowerPC_POWER4 Processor type False
frequency 1200000000 Processor Speed False

The second line in output tells about processor architecture.
Read More
Posted in AIX | No comments

Tuesday, 18 November 2008

Not able to open C drive on double click

Posted on 21:16 by Unknown
Are you not able to open C drive or any other drive when you double click on Hard disk drives? This is caused due to Virus attack. And possible other problem related to this is unable to display hidden files.
Anyways nothing to worry. This can be corrected, follow these steps
1) Open command prompt i.e start -> run -> and type "cmd"
2) cd\
3) attrib -r -h -s autorun.inf
4) del autorun.inf
5) Repeat this for other drives like d:, e: etc

Reboot your system, your problem will be solved.
Read More
Posted in windows | No comments

Thursday, 13 November 2008

“No licenses available. Contact your program supplier to add additional users. Compilation will proceed shortly.”

Posted on 23:45 by Unknown
In AIX, the IBM c/c++ compiler xlc_r which gives the following licensing warning

“No licenses available. Contact your program supplier to add additional users. Compilation will proceed shortly.”

which considerably slows down the build process. This can be avoided by modifying /etc/vac.cfg file. Since license manager is optional, check out for "options", near the end, in DEFLT for xlc_r. Then add -qnolm option if it is not already exist, which means "no license manager".

Read More
Posted in AIX, build-failures | No comments

Tuesday, 11 November 2008

Splitting columns in Perl

Posted on 17:13 by Unknown
Splitting columns or fields is one of the most common tasks. Among the many ways to split columns in perl, the best and the simplest way is
Suppose if we want to split 4th field, where the field separator is tab
while() {
chomp;
my $var=(split /\t+/)[3];
}
Read More
Posted in Perl | No comments

Tuesday, 7 October 2008

SSH password less log-in problem

Posted on 22:46 by Unknown
Machine1: re-solx86 (A Solaris x86 machine)
Machine2: vm-rh21-lager (A RHEL machine)

Requirement: Need to establish a password less login from Machine2 -> machine1

Solution:
Login machine1 -> machine2
1) Created RSA keys by running command "ssh-keygen -t rsa" on Machine1
2) Added content of "id_rsa.pub" file from machine1 to the file "authorized_keys" in machine2
Login from machine1 -> machine2 is success

Login machine2 -> machine1
1) Added
content of "id_rsa.pub" file from machine2 to a file "authorized_keys" in machine1
Login from machine2 -> machine1 still asking for password.

Problem: Permissions of ~/.ssh directory in machine1 is 755. ssh won't work if permission of ~/.ssh is other than 700.
Solution: Changed permission of
~/.ssh to 700, now it is successful






Read More
Posted in commands | No comments

Tuesday, 2 September 2008

ESP package manager

Posted on 10:28 by Unknown
EPM (ESP package manager), is the second package manager, which I used. In my previous organization Synopsys, I used Synopsys Installer, which is an internal package management tool used only in Synopsys. But it is good to know EPM is a free package manager developed by Easy software products.

The design goal of EPM is to solve the problem of software distribution with Unix/Linux OS. The problem is every OS supports it's own packaging tools and each has unique requirements for the software development environment. EPM provides solution to this problem by providing it's own portable distribution format and also vendor specific formats like rpm, depot, dpkg, pkgadd, etc. This allows you to build software distribution files for any OS from the same sources.

You can download EPM from http://www.epmhome.org/ and the EPM book at http://www.epmhome.org/documentation.php teaches you how to use EPM.

EPM requires few pre-installed softwares. They are C compiler, make utility, Bourne (or Korn or bash) shell and gzip. The optional Graphical setup program requires a C++ compiler, FLTK library. End user systems require Bourne shell, df, tar & gzip utilities to install portable distributions.

Basically EPM reads one or more software list files that describe a single software package. These list files needs to be written in specific format, Chapter 3 of EPM book explains it in detail.

To build a software package, epm program is used. For example to build a portable software package for an application called foo, type the following command
epm foo
This expects a list file by name foo.list. If your list file is created with different name, then you can mention the list file name by command line argument as
epm foo base.list

You can install the portable packages by calling an installation script product.install where product is the name of the package.
cd os-release-arch
./product.install
After answering few yes/no questions, product will be installed.

To create vendor specific packages use -f option
epm -f rpm foo base.list

EPM also supports preinstall, postinstall, prepatch, postpatch, preremove & postremove scripts. These scripts are bourne shell scripts, needs to be called from list file
It also supports init scripts and also patch software distributions.

For detailed usage refer EPM book at http://www.epmhome.org/documentation.php

Enjoy building software packages with EPM ..... :)
Read More
Posted in package | No comments
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

Popular Posts

  • Installing and configuring Fortify on Linux and Windows machines
    Installing Fortify on Linux (RHEL 5 32 bit) Download Fortify archive Fortify-360-2.6.5-Analyzers_and_Apps-Linux-x86.tar.gz and extract it to...
  • AIX: make: 1254-055 Dependency line needs colon or double
    We get this compilation issue "make: 1254-055 Dependency line needs colon or double" while compiling C/C++ code in AIX machines. I...
  • fortifyclient uploadFPR An internal error has occurred
    When you try to upload a .fpr file to Fortify 360 server and you get the below mentioned error. Then, this blog provides one of the route ca...
  • Posting a JIRA bug using Perl Mechanize
    Perl provides modules which can be used as command line browser to automate tasks dependent on web pages. Among them LWP and mechanize are i...
  • Solution to Project Euler Problem 10 - Find the sum of all the primes below two million
    http://projecteuler.net/problem=10 Problem The sum of the primes below 10 is 2 + 3 + 5 + 7 = 17. Find the sum of all the primes below two mi...
  • Perforce - can't edit exclusive file already opened
    In perforce, whenever a binary file like doc, xls or ppt files are checked out, it is opened in exclusive lock mode. So no other person can ...
  • Tweak single instance of tinderbox to work on two different perforce servers
    Tinderbox is a tool developed by Mozilla, which collects build logs and presents the logs and the result it in a nice, clear and concise way...
  • What is Apache Hadoop?
    Newbies can get a clean and simple introduction to Hadoop from the following Pivotal blog posts 1)  Demystifying Apache Hadoop in 5 Pictures...
  • How to know architecture of a AIX machine?
    We can easily know the architecture type in Linux or Solaris systems with the help of "uname" command. But uname command in AIX do...
  • Few words about windows service
    What is windows service? it's a program that runs invisibly in the background. But can't the same thing be said for a number of prog...

Categories

  • AIX
  • AIX ssh
  • ANT
  • apache
  • appliance
  • awk
  • branching
  • build-failures
  • cgi-perl
  • code-signing
  • commands
  • continuous Integration
  • cvs
  • cygwin
  • DNS
  • Drupal
  • EPM
  • euler
  • Fortify
  • hadoop
  • hpux
  • html
  • InstallShield
  • iptables
  • iso
  • jenkins-hudson
  • Jira
  • kiwi
  • linux
  • Makefile
  • maven
  • Miscellaneous
  • mysql
  • nexus
  • NFS
  • package
  • Perforce
  • Perl
  • php
  • rbuilder
  • rpath
  • rpm
  • rsync
  • Solaris
  • ssh
  • SuseStudio
  • tinderbox
  • unix
  • Visual studio 2008
  • vmware
  • war
  • webserver
  • wget
  • windows
  • xterm

Blog Archive

  • ▼  2013 (12)
    • ▼  December (1)
      • How to restart windows from command line ?
    • ►  July (2)
    • ►  April (2)
    • ►  March (2)
    • ►  February (3)
    • ►  January (2)
  • ►  2012 (43)
    • ►  December (2)
    • ►  November (1)
    • ►  October (4)
    • ►  September (7)
    • ►  August (5)
    • ►  July (4)
    • ►  June (2)
    • ►  May (3)
    • ►  April (4)
    • ►  March (3)
    • ►  February (1)
    • ►  January (7)
  • ►  2011 (23)
    • ►  December (4)
    • ►  November (9)
    • ►  October (4)
    • ►  September (1)
    • ►  June (2)
    • ►  May (1)
    • ►  April (1)
    • ►  March (1)
  • ►  2010 (15)
    • ►  December (2)
    • ►  November (1)
    • ►  September (3)
    • ►  April (1)
    • ►  February (6)
    • ►  January (2)
  • ►  2009 (28)
    • ►  November (5)
    • ►  October (3)
    • ►  September (2)
    • ►  August (1)
    • ►  July (1)
    • ►  June (5)
    • ►  May (3)
    • ►  April (1)
    • ►  February (2)
    • ►  January (5)
  • ►  2008 (20)
    • ►  December (6)
    • ►  November (3)
    • ►  October (1)
    • ►  September (1)
    • ►  July (8)
    • ►  June (1)
Powered by Blogger.

About Me

Unknown
View my complete profile