November 15th, 2009 by elizar
Guilty! Putting all those Metastat keywords on one subject, that’s me! ANyway, I don’t want to stale this blog so once in a while I’m going to be posting some bits and pieces of Unix tools/tips.. and here’s a new one about SVM… Responding to Disk Errors courtesy of BigAdmin!
Read the rest of this entry »
November 6th, 2009 by elizar
From our last post about XSCF Cheat sheet, we put there some commands on an XSCF management interface card. I thought that was the most common one, but we forgot to put in how to send ‘break’ to the host console!
Here’s how:
Read the rest of this entry »
October 31st, 2009 by elizar
Here are a couple of commands for the XSCF console specifics for the M-series servers of Sun. There are ’stolen’ from Review Ninja plus more! Thanks Jon!
To Connect to a domain
XSCF> console -d
To Show status of a domain
XSCF> showdomainstatus -d
XSCF> showdomainstatus
Invalid parameter.
usage : showdomainstatus -a
showdomainstatus -d domain_id
showdomainstatus -h
XSCF> showdomainstatus -a
DID Domain Status
00 Running
01 Running
02 Running
03 Running
04 -
To displays the domain information specified for a system board.
XSCF> showdevices
To displays the temperature, humidity, voltage, and fan rotation speed.
XSCF> showenvironment
To lists degraded components.
XSCF> showstatus
To displays users who login to the XSCF.
XSCF> who
To reset domain there are 3 modes for reset command
* por: Domain system reset
* request: Domain panic instruction
* xir: Domain CPU reset
XSCF> reset -d domainhere por
To power on/off all domain or sepcified domain
XSCF> poweron
XSCF> poweroff
Remember you can always use –help on every command to see what are teh available switched and options for it.
To logout of XSCF> type exit
To return to XSCF from a domain terminal type #.
Hope this help.
More command from Sun:
http://docs.sun.com/source/819-6202-15/21ch5p.html#50643019_96753
October 29th, 2009 by elizar
Notes on ZFS quotas, reservations and others.. like adding up disk for the pool and creating pool altogether.
First, create a pool using ‘zpool‘. Then use ‘zfs‘ to make the filesystems.
Creating Pool with zpool
Create a pool called pool1. The -m is optional. If given, it specifies a mount point for zfs filesystems created from the specified pool. The mount point should be empty or nonexistant. If the -m argument is omitted, mount point is “/”.
Read the rest of this entry »
October 15th, 2009 by elizar
I know nothing about HP UX (yeah, except SAM). That’s why, just now, when there’s a request to just make a trace route from an HPUX server to another server, I have to login and do execute the command. I couldn’t log in as my user id so i logged in as root instead from the console.
I check grep’d my account the walah! It was there! I reset the password, open an ssh terminal and tried to login. unsuccessful, that’s why i knew then that it is locked.
Here’s how to unlock a locked user account in HP UX in command line.
In HP-UX 11.xx if user account is locked, you can unlock the account by running SAM. But running SAM takes some time usually 2-3 minutes on heavily loaded HP-UX servers. You can unlock the locked user account from command line by running following command:
1. Login as root or use sudo from your account, if there is no sudo installed just use su – root :
2. Run this command to unlock the locked HP-UX user account:
| #/usr/lbin/modprpw –l –k johnm |
Running modprpw will unlock the locked user account in HP-UX from command line.without running SAM
NOTE: modprpw is HP-UX command only and wouldn’t work in Solaris,AIX and any Linux servers
That info was ‘borrowed’ from here…. thanks!
October 15th, 2009 by elizar
Send Break on SPARC Enterprise T5120 – well it for the T5000 series I guess, the newer ones. Or “Sending Break onan ILOM..
“->” = ILOM
“sc>” = ALOM
.. and since this particular server has the “->” prompt we’re using the ILOM.
From ILOM to Solaris:
-> start /SP/console
From ALOM to Solaris:
sc> console
And of course.. Enter “#.” to return to ALOM / ILOM !!
Send Break on ILOM
set /HOST send_break_action=break
and then
start /SP/console
c)ontinue, s)ync, r)eset? s
bada bing! bada boom!
October 9th, 2009 by elizar
PWS-Gamania or PWS-Gamania.gen.a is a computer trojan discovered July 22, 2008. PWS-Gamania is a password stealing trojan which attempts to steal user information for certain online games.
The characteristics of this password stealer with regards to passwords stolen, sites accessed, files downloaded etc will differ, depending on the way in which the attacker had configured it. Hence, this is a general description.
PWS-Gamania is also knows as
- Trj/Lineage.BZE [Panda]
- Trojan.Win32.Vaklik.bkh [Kaspersky]
- Trojan:Win32/Meredrop [Microsoft]
- W32.Gammima.AG [Symantec]
- W32/Autorun-CL [Sophos]
My Dell D630 laptop is probably infected by this one. Good thing I am no gamer nor is there any important password this trojan can steal.
More information about PWS-Gamania can be found here: http://vil.nai.com/vil/content/v_147533.htm
September 25th, 2009 by elizar
How do you transfer all the nice little Firefox settings, bookmarks, plugins and addons that you already have on your old computer to your new one? I’m sure there must be some configuration file somewhere in your program files or the code of firefox itself, but for use not so fluent with firefox, we can use 3rd party tools.
Firefox Extension Backup Extension (FEBE)
FEBE allows you to quickly and easily backup your Firefox extensions. In
fact, it goes beyond just backing up — It will actually rebuild your
extensions individually into installable .xpi files. Now you can easily
synchronize your office and home browsers.
FEBE backs up your extensions, themes, and (optionally) your bookmarks,
preferences, passwords, cookies and just about everything else Firefox
offers (it can even backup/restore your entire profile).
Backups can be performed on demand or scheduled for daily, weekly, or
monthly unattended runs.
mozilla addons url:https://addons.mozilla.org/en-US/firefox/addon/2109
MozBackup
MozBackup is a simple utility for creating backups of Mozilla
Firefox,
Mozilla Thunderbird, SeaMonkey, Mozilla Suite and Netscape profiles.
*It allows you to backup and restore* bookmarks, mail, contacts, history,
extensions, cache etc. It’s an easy way to do Firefox backup, Thunderbird
backup .
the homepage url:http://mozbackup.jasnapaka.com/
September 17th, 2009 by elizar
ld.so.1: cc: fatal: libpicl.so.1: open failed: No such file or directory – that’s the latest problem we encountered in installing Ruby on Rails… (well, not actually on Ruby but in some dependencies)…
Last time we did the GlassFish webstack installation (just to get RoR working) because the Ruby in Coolstack was an old version Ruby 1.8.6 something.
But as far as Ruby on Rails installation is concern, the Optimized Open Source Software Stack (Cool Stack) is working properly.. As well as the Glassfish installation.. The problem we’re getting is for some Gems that we’re trying to install (oracle gems and hobo and others)…
For this one, we’re trying to install the Oracle gem thing.. and it requires to compile something that needs CC.. we ended up installing Sun Studio 12.. (but I still believe gcc is a perfect alternative for cc).
Anyway, searching for “ld.so.1: cc: fatal: libpicl.so.1: open failed: No such file or directory” will give you unrelated websites (well, until this one gets indexed that is)..
As of this writing it only has 4 results:
What I did is i downloaded a Sun patch that contains the file and placed in my server same location:
Take this patch for example:
http://sunsolve.sun.com/search/document.do?assetkey=1-21-108528-29-1
libpicl.so.1 installs in /usr/lib/abi/abi_libpicl.so.1 , /usr/lib/abi/sparcv9/abi_libpicl.so.1, /usr/lib/libpicl.so.1
and others
September 15th, 2009 by elizar
Optimized Open Source Software Stack (Cool Stack) 1.3.1 Final Release…
Will be installing Ruby on Rails using Cool Stack… this is the first of sets of post.. Now downloading the packages from Sun.com
Optimized Open Source Software Stack (Cool Stack) for the Sun Solaris Operating System(TM). Cool Stack is a collection of some of the most commonly used open source applications optimized for the Sun Solaris OS. By using these binaries you will enjoy the best levels of performance from your system, while also reducing your time-to-service.
Instructions: Select the files you want, then click the “Download Selected with Sun Download Manager” (SDM) button below to automatically install and use SDM (learn more). Alternately, click directly on file names to download with your browser. (Use of SDM is recommended but not required.)