Monthly Archives: February 2007

Solaris: Fetching Daylight Saving Time (DST) Patches

I came across a handy script, written by Paul Martin for pulling patches remotely. Patch Check Advanced (pca) generates lists of installed and missing patches for Sun Solaris systems and optionally downloads patches. It resolves dependencies between patches and installs … Continue reading

Posted in *Nix | Leave a comment

Oracle: Get current size of Instance

Today I needed to get the current size of our Oracle Instance and used the following query as sysdba: select sum(bytes)/1024/1024 Size_MB from dba_data_files; SIZE_MB ———- 230185.297 Yep! That is 230GB!

Posted in Oracle | 1 Comment

Invitation: Oracle 10gR2 RAC & Data Gaurd Workshop

I received an invitation last week, to attend two Oracle Workshops this week and the next. The workshops are: 1) Oracle 10gR2 Real Application Cluster for the Enterprise Participants in this workshop will have hands on configuring and installing Oracle … Continue reading

Posted in Oracle | Leave a comment

Government Cyber Attack Exercise: Cyber Storm 2

In ACMTech News today: Cyber Storm 2 is scheduled for March 2008. The exercise will give the Department of Homeland Security a better idea of how well the public and private sector would be able to respond to a large-scale … Continue reading

Posted in Security | 1 Comment

Solaris: Adding Samba to the Service Management Facility

I am a bit new to the Service Management Facility (SMF) introduced into Solaris 10, but after getting my feet wet I kinda like it. These steps came in handy for me when I needed to add Samba to SMF. … Continue reading

Posted in *Nix | 2 Comments

Solaris: Got Root, if telnet’s enabled!

Just learned today, that if Solaris 10 or 11 is installed and root login for telnet is enabled you are owned! Yes — Owned!! Credit goes to: http://riosec.com, who was rightfully Slashdotted! Here is the output from one of the … Continue reading

Posted in *Nix | Leave a comment

Solaris: Mounting an ISO Image

Today I needed to mount a Solaris ISO image over the network, because I did not have any blank CD media laying around. The following from EnderUnix tips helped me accomplish what I was after. bash-3.2# lofiadm -a /swinful/solaris/sol-10-u1-ga-sparc-dvd.i so … Continue reading

Posted in *Nix | Leave a comment

Ports: Portupgrade -aF Failing…

swinful2# portupgrade -aF cd: can’t cd to /usr/ports/sysutils/portupgrade [missing key: categories] [Updating the portsdb in /usr/ports … – 16503 port entries found ………1000………2000………3000………4000………5000………6000………7000………8000………9000………10000………11000………12000………13000………14000………15000………16000….. ….. done] missing key: categories: Cannot read the portsdb! /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:548:in `open_db’: database file error (PortsDB::DBError) from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:702:in … Continue reading

Posted in *Nix | 6 Comments