Siddesh BG's Build Release Config mgmt Blog

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

Friday, 26 February 2010

How to configure DNS in Solaris and AIX?

Posted on 02:25 by Unknown
It is very simple.
Solaris
1) Create /etc/resolv.conf file with your DNS server entries
    Ex:
    bash-2.05$ cat /etc/resolv.conf
                      nameserver 10.999.9.999      #First preference server to look
                      nameserver 10.999.9.999      #Second preference server to look
                      search=domain.comp.net

2) Modify the file /etc/nsswitch.conf
    Look for
      "hosts: files"
    in this file and replace it with
     "hosts: files dns"

Thats it. DNS will be enabled


AIX
1) In /etc/netsvc.conf check for
hosts = local, bind


where the entry "bind" is for dns


2) Modify /etc/resolv.conf file with your DNS server entries
    Ex:
    bash-2.05$ cat /etc/resolv.conf
                      nameserver 10.999.9.999      #First preference server to look
                      nameserver 10.999.9.999      #Second preference server to look
                      search=domain.comp.net

Note: You can use smitty to configure this

Read More
Posted in DNS | No comments

Tuesday, 23 February 2010

sysck: 3001-022 The file was not found (EPM issue)

Posted on 01:25 by Unknown
I got this error, while installing a package on IBM AIX (5.1 & 5.3) machine. Though the error looks straight forward as given here "sysck: 3001-022 The file  /usr/axm/server-61/bin/aserver.sh  was not found."

it was actually not able to find files, which are supposed to be generated at the time of installation.

We use EPM (ESP Package manager) to create AIX installer (installp). I created AIX package using EPM version 3.7.0. At the time of package creation, everything went fine. It didn't gave not even a single error. But the package which we built was getting screwed up at the time of installation.

After thorough debugging, I found using EPM version 3.7.1 or 4.0 or 4.1 to create installer solved the issue.
Read More
Posted in EPM | No comments

Thursday, 18 February 2010

Unable to resolve target system name - a DNS problem

Posted on 21:22 by Unknown
I was not able to ping to any machines from my Windows 2003 server. I did following steps to debug & resolve the issue, which was related to a DNS problem.

1) Ping some-server
    Unknown host vm-cervino 

    2) Ping localhost
      Reply from 127.0.0.1: bytes=32 time<10ms TTL=48 (This is working)

      3) tracert some-server
      Unable to resolve target system name p4server.na.rsa.net. (This gave me a clue that it may be a DNS problem)
        4) ping 192.777.77.77 (IP address of some-server)                                                                         
        Reply from 192.777.77.77: bytes=32 time=4ms TTL=64 (This confirmed, it is a DNS issue.)
          5) I had another Linux machine, where DNS is working fine. I took the working DNS server IP address In Linux machine, DNS configuration is mentioned in /etc/resolv.conf file
            6) I configured my Windows Server to working DNS server IP address On Windows server, DNS configuration is mentioned in Start -> Control Panel -> Network Connections -> Local Area Connection -> Properties -> Internet Protocol (TCP/IP) -> Properties -> General tab -> Use the following DNS server addresses -> Preferred DNS server.

              After changing Preferred DNS server entry, I was able to connect to machines normally using Domain name.
              Read More
              Posted in DNS | No comments

              Wednesday, 17 February 2010

              fatal error C1033: cannot open program database vc60.pdb

              Posted on 01:53 by Unknown
              We encountered this error while doing debug build on some C programs. Our environment consists of Cygwin installed on Windows 2003 server, Visual Studio (VC98), Gmake.

              This problem got resolved for us by killing some hung process on our Windows Server. Actually make clean, which in turn, trying to remove vc60.pdb file, was not able to delete this file. When I try to remove it manually, it was complaining that, this file was shared by some resources, so it can't delete.
              Finally the culprit process was found out using Windows process explorer. After killing the culprit process, our build went fine. Even reboot of Windows server will resolve this problem.
              Read More
              Posted in build-failures, cygwin | No comments

              Tuesday, 16 February 2010

              Can't create transcript file No space left on device

              Posted on 02:51 by Unknown
              Build was failing with this absurd error. By thorough inspection of log, I found out some command is trying to write inside a directory /var. I found out disk usage in /var is 100% full, so I thought problem is simple and I truncated some Unix system logs in /var/log and rerun the build. But again it failed with the same error.
              At last, I found out that, another issue causing this problem is that inode usage in /var is 100%.

              We can find the inode usage status using the command "df -i"

              Finally after removing some files in /var/tmp, inode usage got reduced less than 100% and my build went fine afterward.
              Read More
              Posted in build-failures | No comments

              Monday, 15 February 2010

              Linux system logs management using logrotate

              Posted on 21:39 by Unknown
              You can rotate log file using logrotate software and monitor logs files using logwatch software.

              Working on it, will update soon


              How to truncate all the log files under /var/log? (I don't want to delete them)
              bash# for x in `ls -l /var/log|grep "^-r"|awk '{print $9}'`; do >$x; done
              Read More
              Posted in linux | No comments
              Newer Posts Older Posts Home
              View mobile version
              Subscribe to: Posts (Atom)

              Popular Posts

              • 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...
              • Fortify scan automation steps for analyzing c/c++ code (Makefiles)
                I wrote in my previous blog about installing and configuring Fortify client. This blog presents standard steps to automate fortify scan for ...
              • 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...
              • jenkins error: java.io.IOException: Authentication method password not supported by the server at this stage
                When I tried to add a node to jenkins/hudson using ssh as launch method, the authentication keeps on failing with the below error. [12/15/11...
              • Unable to resolve target system name - a DNS problem
                I was not able to ping to any machines from my Windows 2003 server. I did following steps to debug & resolve the issue, which was relate...
              • 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...
              • 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 ...
              • Perforce and cygwin
                Are you a command-line freak ? Do you want your automated shell scripts to run on Windows ? Do you wish to work with Perforce commands on Cy...
              • Using BUILD_LOG_REGEX in jenkins email notification
                Jenkins provide 'Email-ext' plugin, which  allows to configure every aspect of email notifications. One of my requirement is to send...
              • 0509-036 Cannot load program p4 because of the following errors
                Here is the full description of error ............ bash-3.00# p4 info exec(): 0509-036 Cannot load program p4 because of the following error...

              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)
                • ►  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)
                  • How to configure DNS in Solaris and AIX?
                  • sysck: 3001-022 The file was not found (EPM issue)
                  • Unable to resolve target system name - a DNS problem
                  • fatal error C1033: cannot open program database vc...
                  • Can't create transcript file No space left on device
                  • Linux system logs management using logrotate
                • ►  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