If you ever need to convert a cue/bin image into an iso image then bchunk might be the right software to use. First get the source by running wget:
# cd /usr/src
# wget -c "http://he.fi/bchunk/bchunk-1.2.0.tar.gz"
Then extract the source package and change into the source directory:
Saturday, June 1, 2013
Monday, May 27, 2013
VxVM vxvol ERROR V-5-1-10128 Configuration daemon error 441
When you get the following error while trying to stop a Veritas volume:
# vxvol -g testdg stop testvol01
VxVM vxvol ERROR V-5-1-10128 Configuration daemon error 441
Then run a flush on the disk group that contains the volume:
# vxvol -g testdg stop testvol01
VxVM vxvol ERROR V-5-1-10128 Configuration daemon error 441
Then run a flush on the disk group that contains the volume:
Monday, April 29, 2013
Display HBA and WWN in Solaris
First display the available HBA's installed in your system:
# fcinfo hba-port
HBA Port WWN: 2100001b4377092a
OS Device Name: /dev/cfg/c1
Manufacturer: QLogic Corp.
Model: 375-3355-02
Firmware Version: 05.04.03
FCode/BIOS Version: BIOS: 2.02; fcode: 2.01; EFI: 2.00;
Serial Number: 0402R00-0851658438
Driver Name: qlc
Driver Version: 20110321-3.05
Type: N-port
State: online
Supported Speeds: 1Gb 2Gb 4Gb
Current Speed: 4Gb
Node WWN: 2000001b4377092a
...
# fcinfo hba-port
HBA Port WWN: 2100001b4377092a
OS Device Name: /dev/cfg/c1
Manufacturer: QLogic Corp.
Model: 375-3355-02
Firmware Version: 05.04.03
FCode/BIOS Version: BIOS: 2.02; fcode: 2.01; EFI: 2.00;
Serial Number: 0402R00-0851658438
Driver Name: qlc
Driver Version: 20110321-3.05
Type: N-port
State: online
Supported Speeds: 1Gb 2Gb 4Gb
Current Speed: 4Gb
Node WWN: 2000001b4377092a
...
Wednesday, April 10, 2013
VxHA: set a new monitor timeout
Today I had a customer with a cluster and a Orcale database. The customer called in because his database always shutsdown once a day. At first I took a look at the alert log for the database (SID DB):
# less alert_DB.log
...
Instance terminated by USER, pid = 15764
...
# less alert_DB.log
...
Instance terminated by USER, pid = 15764
...
Saturday, April 6, 2013
Adding Nagiosgraph to Nagios
This article is an update to my prior released article about installing Nagios in Slackware.
Nagiosgraph allows you to add very nice graphs to your Nagios which is extremely helpful. With these graphs you'll be able to look into the past a little and probably do some trending for the future. You can act before it is too late.
Before you can begin to install Nagiosgraph you need an additional package rrdtool. First create a directory where you can store the sources and change into it:
Nagiosgraph allows you to add very nice graphs to your Nagios which is extremely helpful. With these graphs you'll be able to look into the past a little and probably do some trending for the future. You can act before it is too late.
Before you can begin to install Nagiosgraph you need an additional package rrdtool. First create a directory where you can store the sources and change into it:
Friday, April 5, 2013
ORA-02082: a loopback database link must have a connection qualifier
I have two Oracle databases, one 9.2.0.8 (SID test9) and another 10.2.0.4 (SID test10). I needed to create a database link from test9 to test10 but I always got the following error:
$ sqlplus "sys/password@test9"
SQL> create database link test connect to sys identified by password using 'test10';
create database link test connect to sys identified by password using 'test10'
*
ERROR at line 1:
ORA-02082: a loopback database link must have a connection qualifier
$ sqlplus "sys/password@test9"
SQL> create database link test connect to sys identified by password using 'test10';
create database link test connect to sys identified by password using 'test10'
*
ERROR at line 1:
ORA-02082: a loopback database link must have a connection qualifier
Monday, April 1, 2013
Basic Nagios installation
This article is about basic Nagios installation in Slackware. It is not about configure Nagios completely, adding hosts etc. It is just a basic tutorial howto install Nagios from sources.
Before you begin create a directory where you can store the Nagios sources:
# mkdir -p /usr/src/nagios && cd /usr/src/nagios
Before you begin create a directory where you can store the Nagios sources:
# mkdir -p /usr/src/nagios && cd /usr/src/nagios
Sunday, March 24, 2013
Converting mpc to wav
Today I was confronted with some mpc files which I needed to convert into wav files. There is a tool called mpcdec but it has to be compiled first. I have tested the following instruction successfully on my Slackware 14 machine (64bit).
To start create a directory where you can store the sources and change into it:
To start create a directory where you can store the sources and change into it:
Tuesday, March 12, 2013
su: cannot set user id: Resource temporarily unavailable
Today I had a customer complaining about his DB that nobody can login anymore. The number of max sessions (in the DB) was set to 4096 and there were about 2048 current seesion on the DB. So, what was wrong?
I decided to login as root into the DB server which worked wihtout any issue. The system it self was OK, enough memory free, no filled volumes etc. Then I tried to switch to the oracle user:
I decided to login as root into the DB server which worked wihtout any issue. The system it self was OK, enough memory free, no filled volumes etc. Then I tried to switch to the oracle user:
Monday, March 11, 2013
hpacucli
Just some quick command examples for checking the status of a HP controller, drives etc. Start with finding the binary:
# find /opt -name "hpacucli" -type f
/opt/compaq/hpacucli/bld/hpacucli
# find /opt -name "hpacucli" -type f
/opt/compaq/hpacucli/bld/hpacucli
Subscribe to:
Posts (Atom)