Welcome to Nik Maslov`s blog

Category: UNIX

N900 andriod port - GSM calls available!

Permalink 08/27/10 09:08, by Nik Maslov, Categories: UNIX
Hi, morning started with a good news! N900 Android port, aka Nitdroid, is now able to make GSM calls! See this russian dude [video:youtube:jVpgqTF89zU] making/receiving calls with his N900/Android :) That`s a very good news, we`ll take best from the both… more »
1 comment »

Cannot start VMware server 2

Permalink 08/20/10 19:26, by Nik Maslov, Categories: UNIX , Tags: cannot start, linux, vmware
Recently I rebooted the server were we had VMware Server 2 instance - and afterwards VMware refused to start: deb:~# /etc/init.d/vmware start VMware Server is installed, but it has not been (correctly) configured for the running kernel. To (re-)co… more »
3 comments »

Nokia N900 has arrived

Permalink 08/09/10 14:11, by Nik Maslov, Categories: UNIX , Tags: nokia n900 pros cons microusb software unix
Yes! After months of waiting, this uberwaffle-killer-beast red-eye unix geekish device is mine at last :) Just started playing with it, although this tiny beast is capable of playing flac and a bunch of videoformats, I also decided to get 16Gb… more »
4 comments »

SegFault due to the libs missing

Permalink 08/03/10 20:58, by Nik Maslov, Categories: UNIX
Having patched the system with latest Sun patchcluster, I found that I cannot start any zones any more! # zoneadm list -cv ID NAME STATUS PATH BRAND IP 0 global running /… more »
7 comments »

Jet server is not patching server with latest patchcluster?...

Permalink 07/07/10 23:32, by Nik Maslov, Categories: UNIX
After the install of the Jet/JumpStart server, I also tried to install latest patchcluster alongside with the other infrastructure, to be able to patch servers after they have been installed. Never worked :) Now I know why: some time ago Sun had changed… more »
4 comments »

heredoc syntax and usage

Permalink 07/07/10 00:59, by Nik Maslov, Categories: UNIX
I`m in unix administration for quite some time, but I wasn`t aware of that trick. In short terms - it is a special-purpose code block. This stuff uses a some form of I/O redirection to feed a command list to an interactive program or a command, such as f… more »
5 comments »

Good old times of terminals

Permalink 06/19/10 01:02, by Nik Maslov, Categories: UNIX , Tags: term stty solaris terminal
Sometimes we all go back to the roots. In terms of UNIX - it means going back to the tips and tricks that was developed by guys, that did all that ls/rm/format stuff years before we ever saw UNIX/GNULinux systems... One of such is tuning your terminal… more »
8 comments »

Solaris 10 web interface

Permalink 06/16/10 23:03, by Nik Maslov, Categories: UNIX , Tags: solaris 10 smcwebserv web console zfs
As you might know, Solaris 10 comes with nice web-interface tool for ZFS administration, software management and other stuff. That`s the process, that kept me wondering of it`s origin - whenever you install Solaris 10, it appears from the beginning. Thou… more »
7 comments »

Administer SC from Solaris? Easy as pie!

Permalink 06/15/10 00:19, by Nik Maslov, Categories: UNIX , Tags: sc, serial console, solaris
Hi, I`ve found an very nice tool to administer SC (serial console) from within the Solaris itself. No need in Raritan, and friends to access SC. And the name is: # /usr/platform/`uname -i`/bin/scadm Just to know the console history use this:… more »
6 comments »

Fork resource temporarily unavailable

Permalink 05/21/10 23:14, by Nik Maslov, Categories: UNIX , Tags: fork, processes, unix
One of our services was having unknown issues - it just stopped spawning new processes...Logged in via console, I wasn`t been able to run commands as well - no new processes could be started. Crawling around internet dark corners (unix.com, Mr. Perdorabo… more »
7 comments »

Kill detached screen sessions

Permalink 05/19/10 20:59, by Nik Maslov, Categories: UNIX
Absolutely stupid task - but I`ve spent 20 mins figuring that one out :) So, I had: -bash-3.00$ screen -ls There are screens on: 1577.pts-1.sol10node01 (Detached) 1647.pts-1.sol10node01 (Detached) 2 Sockets in /tmp/uscreens/S-… more »
6 comments »

Solaris 10 - cannot get disk geometry error

Permalink 04/26/10 08:53, by Nik Maslov, Categories: UNIX
Recently swapping out old and pulling in new hdd, I stumbled upon this error: # prtvtoc /dev/rdsk/c0t2d0s2 | fmthard -s - /dev/rdsk/c0t3d0s2 Cannot get disk geometry. Seems like old disk geometry is still in place interfering with new. So I ju… more »
5 comments »

Solaris 10 static route

Permalink 04/22/10 18:12, by Nik Maslov, Categories: UNIX , Tags: solaris 10 static route
Pretty basic stuff, but you`ll never know when you`ll forget this :) Add static route: # route add default 10.230.1.1 This will add this server as default gateway, but it will dissapear after the restart. To make it reboot persistent, just mak… more »
7 comments »

Solaris one-liners

Permalink 03/24/10 12:00, by Nik Maslov, Categories: UNIX , Tags: bash, oneliner, solaris
Awesome solaris/unix one liners, will definitely save a lot of time for any sysadmin. Take a look at them here. more »
6 comments »

Install packages into zone with alternative basedir

Permalink 03/11/10 00:05, by Nik Maslov, Categories: UNIX , Tags: solaris zone pkgadd basedir
Recently I was on the task to install package into the zone. Those packages were from SFW, and where using /usr, which I inherited from global zone. To get past this, decision was made to install the package into another dir, which is called basedir. Le… more »
9 comments »

OK prompt and link on server NIC

Permalink 03/04/10 15:29, by Nik Maslov, Categories: UNIX , Tags: alom mac uplink solaris
I have received an Sun Fire 440 server to install, though only info I had for it was the ALOM password. To JumpStart/JET this server, I need to know what NIC`s have the link attached to them, and their corresponding MAC addresses. A little bit of black m… more »
31 comments »

SSH no kex alg

Permalink 02/27/10 00:49, by Nik Maslov, Categories: UNIX , Tags: ssh no kex alg solaris
Having recently JumpStarted an new server, I found it unable to login via ssh root@chiscadm01~# ssh 10.23.3.103 no kex alg Solution was to regenerate the SSH keys on that server # /lib/svc/method/sshd -c # svcadm refresh ssh and voi… more »
6 comments »

Shell useful tricks (basic stuff)

Permalink 02/26/10 19:20, by Nik Maslov, Categories: Background, UNIX , Tags: bash tricks unix
Nice tricks with shell, I discovered in internet darkest corners :)Brace expansion takes a list of strings separated by commas and expands those strings into separate arguments for you. The list should be enclosed by braces.# echo {1,2,3,4,5}… more »
5 comments »

Shell snooping with DTrace

Permalink 02/24/10 20:15, by Nik Maslov, Categories: UNIX
Lurking around the inet, getting info about Solaris Audit - I stumbled upon this wonderful DTrace script. What it basically do - is to snoop all activity around shells, such as keystrokes and command outputs. Very handy indeed, smth like BSA for cheap :)… more »
5 comments »

vSphere 4 implementation videos

Permalink 02/05/10 12:04, by Nik Maslov, Categories: UNIX
Lurking around internet, I found this wonderful free videos about VMWare ESX 4. Nicely shown, thanks! Link to the videos more »
5 comments »

Attach disk to the ZFS root mirror pool

Permalink 01/28/10 19:40, by Nik Maslov, Categories: UNIX
Having broke root mirror pool, trying to migrate it to RAID-Z to boot from (until I figured out, that booting from RAID-Z is not yet supported in Solaris, but works in Free-BSD - WTF!!?!?), I was forced to put disk back into root mirror pool...but failed… more »
34 comments »

Solaris Infrequently Asked and Obscure Questions

Permalink 01/14/10 19:19, by Nik Maslov, Categories: UNIX , Tags: asked, infrequently, obscure, questions, solaris
Perfect information for unix admin to read through, absolutely worth reading! Get it here.     more »
6 comments »

When user has last changed his password in Solaris

Permalink 12/24/09 19:03, by Nik Maslov, Categories: UNIX , Tags: password, perl, shadow, solaris
Title says it all.  Since, the date of last change of password is in /etc/shadow:   root:x:14602:::::: That means, that root has last changed his password 14602 days after beginning of unix epoch, i.e. 1 Jan 1970. But we need to convert this into… more »
3 comments »

Zones related commands

Permalink 12/16/09 23:31, by Nik Maslov, Categories: UNIX , Tags: commands, solaris, zones
Digging through internet while deep-diving into Solaris zones, I have found few interesting commands, that related to the zones. Worth checking out: zonename - prints the name of the current zone ifconfig e1000g0:1 -zone zone01 - get the IP for this… more »
61 comments »

IPMP configuration on Solaris

Permalink 11/21/09 10:52, by Nik Maslov, Categories: UNIX
Take a read through this wonderful article on IPMP configuration in Solaris! Highly recommended.   http://saifulaziz.wordpress.com/2009/05/08/configuring-ip-network-multipathing-on-solaris/ more »
Leave a comment »

:: Next >>

Search

XML Feeds

StatCounter

powered by b2evolution free blog software

©2010 by Nik Maslov

Contact | Blog skin by Asevo | blog software | web hosting | monetizing