Stuck at probing I/O buses

30/12/2015 Leave a comment

A few days ago I faced some problem on Sun Fire server.When the server bootup it will stopped at probing I/O devices.I’ve tried many things such as power off server,plug off power cable and boot-up with DVD ROMS,nothing can pass the probing I/O devices.Lastly, I removed the VGA card of the server and the server now can boot properly to the OS level.

So whoever come to see this error on Solaris server, please do tried to remove the vga card…

 

Categories: Operating System, Solaris

Agent Topup Diperlukan

13/10/2015 Leave a comment

 

 

Salam sejahtera,

Jom gandakan wang anda dengan menyertai mymi1 global international.

Untuk Menjadi Pendapatan bersama Mymi1 Semudah ABC,kerana anda tidak perlu risau untuk mencari orang barulah perolehi pendapatan.

Bersama mymi1 Keseluruhan yang Join kesemua mempunya pendapatan Pasif tanpa menaja. Gembira saya katakan ok ke tak ok kalau setiap bulan tanpa menaja tanpa cari orang ,anda dapat rm2700 setiap bulan!!

Walaupun kami tak buat apa-apa,andaikata kami sakit,demam,tidak boleh bangun dan berada dirumah ianya tetap masuk SECARA AUTOMATIK KE AKAUN BANK ANDA.

Setiap pakej dapat pulangan tau setiap 10 hari even tanpa buat apa2 . Boleh lah kembangkan duit dekat sini

1 .VIP PAKEJ ” RM21,000 ”
● dapat rebet RM600 dalam akaun setelah daftar
● dapat RM900 setiap 10 hari dan dibayar selama 70 kali . RM900 × 70 kali = RM63,000
● total RM63,000 + RM600 = RM63,600

2 . PLATINUM PAKEJ ” RM11550″
● dapat rebet RM300 dalam akaun setelah daftar
● dapat RM450 setiap 10 hari dan dibayar selama 65 kali . RM450 × 65 kali = RM29250
● total RM29250 + RM300 = RM29550

3 . DIAMOND PAKEJ ” RM4,445 ”
● dapat rebet RM200 dalam akaun setelah daftar
● dapat RM150 setiap 10 hari dan dibayar selama 60 kali . RM150 × 60 kali = RM9,000
● total RM9,000 + RM200 = RM9,200

4 . SILVER PAKEJ ” RM1,120 ”
● dapat rebet RM60 dalam akaun setelah daftar
● dapat RM37.50 setiap 10 hari dan dibayar selama 60 kali . RM37.50 × 60 kali = RM2,250
● total RM2,250 + RM60 = RM2,310

5 . BRONZE PAKEJ ” RM420 ”
● dapat rebet RM30 dalam akaun setelah daftar
● dapat RM15 setiap 10 hari dan dibayar selama 50 kali . RM15 × 50 kali = RM750
● total RM750 + RM30 = RM780

Nota : Rebet yang masuk dalam akaun setelah daftar anda boleh cash kan terus . Anda boleh cari jika ada bisnes macam MYMI1 . Baru daftar dan belum mula busines lagi sudah ada income dalam akaun . Tak ke seronok dan income berkembang setiap 10 hari even tanpa buat apa2 . Bonus2 semua boleh direct ke bank . Actually MYMI1 ni income dalam USD tapi saya dah translate dalam RM . So senang faham bonus2 nyee .

Untuk Maklumat lanjut,Sila klik banner di bawah

 

Categories: Uncategorized

3 Steps to Replace default java in Solaris 10 SPARC

30/07/2013 1 comment

In some cases we need to change default java version in Solaris 10.Here is  the steps to change default version of JAVA in Solaris 10 SPARC

In this example I will change the default java version which is version 5 to version 6

Default Java version in Solaris 10 version :
                    Solaris 10 10/09 s10s_u8wos_08a SPARC
           Copyright 2009 Sun Microsystems, Inc.  All Rights Reserved.
                        Use is subject to license terms.
                           Assembled 16 September 2009

# java -version
java version “1.5.0_23”
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_23-b01)
Java HotSpot(TM) Server VM (build 1.5.0_23-b01, mixed mode)

 

FIRST

download JAvA SE @ JAVA JDK from oracle.java.com
(must have id to download java.It’s free to register id)

After download the java installer.Copied to the server and put it on temporary folder.Lets saya /tmp

extract the installer by executing the command below

#./jdk-6u26-solaris-sparc.sh

inflating: jdk1.6.0_26/db/javadoc/jdbc4/overview-summary.html
  inflating: jdk1.6.0_26/db/javadoc/jdbc4/overview-tree.html
  inflating: jdk1.6.0_26/db/javadoc/jdbc4/package-list
  inflating: jdk1.6.0_26/db/javadoc/jdbc4/serialized-form.html
  inflating: jdk1.6.0_26/db/javadoc/jdbc4/stylesheet.css
   creating: jdk1.6.0_26/db/lib/
  inflating: jdk1.6.0_26/db/lib/derbyclient.jar
  inflating: jdk1.6.0_26/db/lib/derby.jar
  inflating: jdk1.6.0_26/db/lib/derby.war
 …

Creating jdk1.6.0_26/jre/lib/rt.jar
Creating jdk1.6.0_26/jre/lib/jsse.jar
Creating jdk1.6.0_26/jre/lib/charsets.jar
Creating jdk1.6.0_26/lib/tools.jar
Creating jdk1.6.0_26/jre/lib/ext/localedata.jar
Creating jdk1.6.0_26/jre/lib/plugin.jar
Creating jdk1.6.0_26/jre/lib/javaws.jar
Creating jdk1.6.0_26/jre/lib/deploy.jar

Java(TM) SE Development Kit 6 successfully installed.

Product Registration is FREE and includes many benefits:
* Notification of new versions, patches, and updates
* Special offers on Oracle products, services and training
* Access to early releases and documentation

Product and system data will be collected. If your configuration
supports a browser, the JDK Product Registration form will
be presented. If you do not register, none of this information
will be saved. You may also register your JDK later by
opening the register.html file (located in the JDK installation
directory) in a browser.

For more information on what data Registration collects and
how it is managed and used, see:
http://java.sun.com/javase/registration/JDKRegistrationPrivacy.html

Press Enter to continue…..

 

#ls -l
drwxr-xr-x  10 root     root        1169 Jul 30 07:36 jdk1.6.0_26

 

SECOND:

Move the folder to directory /usr/jdk/instances

# mv jdk1.6.0_26 /usr/jdk/instances

THIRD:
 Create the symbolic links.The are 1 symbolic need to create and 2 to replace

#cd /usr/jdk
#ln -s instances/jdk1.6.0_2 jdk1.6.0_2
#unlink latest
#ln -s jdk1.6.0_2 latest

#cd /usr
#unlink java
#ln -s jdk/jdk1.6.0_2 java

 

Now please run java -version

#java -version
# java -version
java version “1.6.0_26”
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) Server VM (build 20.1-b02, mixed mode)

 

 

Categories: Solaris

Header V3 DSA signature: NOKEY, key ID 37017186

04/09/2012 Leave a comment

Header V3 DSA signature: NOKEY, key ID 37017186

June 23, 2011 by msverman

To resolve this key problem in RHEL, I installed the public release key

#rpm –import /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

This allows you to install from the local source.Copy and install all the packages from the RHEL5 DVD’s to a directory to use ‘YUM’ from local repository.

Importing the key as outlined above enabled me to install the packages without getting the following error:

warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 37017186.

Note : RHEL DVD’s help me in completing the installation in local server without internet connection.

 

source http://linuxdesk.wordpress.com/2011/06/23/header-v3-dsa-signature-nokey-key-id-37017186/

Categories: Linux, Red Hat

Measuring Network Speed with iperf

01/08/2012 Leave a comment

There is a software called iperf that can used to measure network speed of your LAN.

What is iperf?

Iperf was developed by NLANR/DAST as a modern alternative for measuring maximum TCP and UDP bandwidth performance. Iperf allows the tuning of various parameters and UDP characteristics. Iperf reports bandwidth, delay jitter, datagram loss.

Where to get the software?

http://sourceforge.net/projects/iperf/files/

for windows

https://nocweboldcst.ucf.edu/files/iperf.exe

http://linhost.info/downloads/apps/iperf.exe

or can search within google iperf for windows

 

How to used the software?

The software need to install on 2 servers/pc

on 1st server/pc run the iperf software as below

#iperf -s

 

on other server/pc run the iperf software as below:

#iperf  -c <ip of the 1st server>

Example:

1)

c:\Program Files\iperf-2.0.5-cygwin>iperf -s
————————————————————
Server listening on TCP port 5001
TCP window size: 64.0 KByte (default)
————————————————————

2)

C:\Program Files\iperf-2.0.5-cygwin>iperf -c 10.23.113.119
————————————————————
Client connecting to 10.23.113.119, TCP port 5001
TCP window size: 64.0 KByte (default)
————————————————————
[  3] local 10.23.113.119 port 53018 connected with 10.23.113.119 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec   651 MBytes   546 Mbits/sec

Thanks for reading my blog

 

Categories: Uncategorized

How to remove first line of a big file

30/03/2012 Leave a comment

There is  a few command can be use to remove first line of a one  big file in Solaris or Linux

1)sed

2)cat

This command will use one bigfile as per below:

#head -2 JB.txt K1_TRN|K1_SPT|K1_RELDATE|K1_RECSTS|K1_KEY1|K1D_ORG|K1D_HSCODEX|K1D_IDESX|TARIFF_DESC|K1D_DPAY|K1D_CIF|K1D_SPAY|K1D_TDUTY|K1D_DADV|K1D_DSPC I | |20100101|87|J102010101000001|HK|490199000 |COMPANY URGENT DOCUMENTS (8 GREEN BAGS)                               |(null)|0|84.81|0|0|0|0

Example to remove first line using sed:

#sed 1d JB.txt > JB2.txt

Example to remove first line using cat

#cat JB.txt | grep -v K1_TRN > JB2.txt

Categories: Linux, Solaris

ERROR 1153: Got a packet bigger than ‘max_allowed_packet’ bytes

16/01/2012 1 comment

I figured I’d help everyone out here who is having this problem…

I have been hassled by this error for a couple days and I finally ran across some information in the online documentation that helped me clear this up.

This was taken from http://dev.mysql.com/doc/refman/5.0/en/packet-too-large.html:
“Both the client and the server have their own max_allowed_packet variable, so if you want to handle big packets, you must increase this variable both in the client and in the server.”

I checked my server’s max_allowed_packet value by doing a “SHOW VARIABLES” and it was set to 1M. I was originally misled by using “SELECT @@MAX_ALLOWED_PACKET” from within the mysql client. However, it appears that is a CLIENT-SIDE variable and does not show the value of the server-side variable (of the same name).

So, I added the following lines to my.cnf and restarted the server:
[mysqld]
max_allowed_packet=16M

I verified the variable value by running another “SHOW VARIABLES” and it accepted my changes.
Now I imported my table dump into a new database and everything worked great!

I hope this helps everyone else who is frustrated by this issue.

Categories: MySQL

Move zonepath of Solaris container

21/12/2011 2 comments

Sometime it could be happen to anyone where disk for a solaris container reaching 100% used

So now it is the time to get a bigger disk to put in the server.

Now the disk is configured but how to move the zones???

No worry Here is how to do it..

1)First shutdown the solaris container

# zoneadm -z mitiapp1 halt

# zoneadm list -cv

root@t3-ldom1-node2 # zoneadm list -cv

ID NAME STATUS PATH BRAND IP

0 global running / native shared

– mitiapp1 installed /ldom1/zones/mitiapp1 solaris8 shared

2)move the container into new path

#zoneadm -z mitiapp1 move /rpool/zones/mitiapp1

3)This is for checking only.No need to run

# zonecfg -z mitiapp1 info

zonename: mitiapp1

zonepath: /rpool/zones/mitiapp1

brand: solaris8

autoboot: false

bootargs:

pool:

limitpriv:

scheduling-class:

ip-type: shared

hostid:

net:

address: mitiapp102

physical: vnet0

defrouter not specified

p/s: the zonepath is already configure with the new path..

So easy..

That’s all

Now can boot the solaris container

#zoneadm -z mitiapp1 boot

Categories: Solaris, Uncategorized

Add Permanent Static routes on Solaris 10 update 3 and later

18/11/2011 Leave a comment

There is sometime we need to add static route to solaris server.Just type out this command:

#route -p add 172.18.0.0 192.168.21.1

This command will create file /etc/inet/static_routes

For solaris version before solaris 10.We need to create file in startup folder which in rc.X folder and make it executable

Here is how:
1) create file S77static-routes in /etc/rc2.d.
#touch /etc/rc2.d/S77static-routes

make it executable
#chmod 744 /etc/rc2.d/S77static-routes

2)Use Vi and insert routing command

example:

#route add 172.18.0.0 192.168.21.1

Categories: Solaris

Informix 11.7 Benchmark

28/07/2011 2 comments

Server Model:SF3800
CPU                   :UltraSparc III 900Mhz X 4
Memory          :16Gb
OS                      :Solaris 10 9/10
Hard Disk       : Zpool raidz on StorEdge S1(146Gb x3)

-One Solaris Zones created for testing
-Solaris Zfs file system created with blocksize 8K for solaris zone testing
-One volume created with zfs create -V …and format with newfs to create UFS file system
 for solaris zone testing

-Informix version 11.7Fc2IE install in the solaris zone
-Initialize one instance(500Mb and 4 vcpu) with  multiple dbspace

dbspace1-for raw dbspace with 2K page
dbspace2-for ufs cooked file 8k page
dbspace3-for zfs cooked file 2k page
dbspace4-for zfs cooked file 8k page

-One database and table created in each of the dbspace’
test load for raw dbspace 2k page

Database selected.
Table truncated.
Database closed.
Database selected.
1238848 row(s) loaded.
Database closed.
real    14:04.5
user     4:43.4
sys        17.8

test load for ufs cooked file page 8k

Database selected.
Table truncated.
Database closed.
Database selected.
1238848 row(s) loaded.
Database closed.
real    10:32.6
user     4:49.7
sys        18.1

test load for zfs cooked file  page 2k

Database selected.
Table truncated.
Database closed.
Database selected.
1238848 row(s) loaded.
Database closed.
real    14:10.2
user     4:53.7
sys        19.8

test load for zfs cooked file 8k

Database selected.
Table truncated.
Database closed.
Database selected.
1238848 row(s) loaded.
Database closed.
real    11:07.5
user     4:50.1
sys        18.8

Categories: Informix, Solaris