Solaris
Alekz.Net    


Pages: Prev 1 2 3 Next

2008-09-26

Short script for searching mail logs

Today I had to search through dozens of mail logs (syslog) located on several mail relays and find all entries related to a particular user.

Given:

  • All servers are managed via a remote tty console,
  • The ksh-script must be copy&pasteable
  • All logs are gzipped
  • I need all entries with the same message number (the ninth field) as the found log entry

This is what I came up with:

[read more...]


1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

2008-09-05

CPU power management

Some CPU’s and system boards allow you to change operating voltage and frequency, resulting in a corresponding change in performance, and power consumed.

[read more...]


1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

2008-08-23

Solaris, Wine and Xorg extensions

Wine 1.1.3 is out! Let’s see hot it compiles on Solaris snv_95 (Solaris 11 build 95).
[read more...]


1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

2008-08-14

IOAT fatal failures

See I/OAT description here.

Solaris (at least snv_93 and and snv_95) panics if large amount of traffic is sent across the interface dedicated to a zone with exclusive TCP/IP stack. For example, start Firefox and forward the X traffic to the global zone.
[read more...]


1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

Intel I/O Acceleration Technology

http://www.intel.com/technology/ioacceleration/

Intel® I/O Acceleration Technology (Intel® I/OAT) accelerates TCP/IP processing and reduces CPU  overhead. It scales up to eight GbE and 10 10GbE ports and supported on dual- or quad-core Xeon architecture.

[read more...]


1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

2008-08-05

“Completing post install setup”

If after entering username/password you see a small window (with a going back and forth blue “slider”) saying:

“Completing post install setup”

most likely svc:/system/postrun/default service is not running.

Check the status:

# svcs -vx postrun

and enable it if it’s disabled (for example, after a system upgrade)

# svcadm enable postrun

Related system packages:

# pkginfo | fgrep postrun
GNOME2 SUNWpostrun Delayed execution environment for procedural package scripts
GNOME2 SUNWpostrun-root Delayed execution environment for procedural package scripts - / filesystem

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

2008-07-18

Solaris and ATA and SCSI errors

After upgrading from snv_88 to snv_92 (Solaris 11 or Nevada b92) my home server started spewing the following errors:

[read more...]


1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

2008-07-07

SqueezeCenter and Scalar::Util

After upgrading to snv_93 SqueezeCenter (quite predictably) refused to start again. The error was:

# ./slimrun
Weak references are not implemented in the version of perl at /usr/perl5/site_perl/5.8.4/DBIx/Class/Schema.pm line 8
BEGIN failed–compilation aborted at /usr/perl5/site_perl/5.8.4/DBIx/Class/Schema.pm line 8.
Compilation failed in require at (eval 113) line 3.
…propagated at /usr/perl5/5.8.4/lib/base.pm line 85.
BEGIN failed–compilation aborted at /opt/csw/squeezecenter-7.2-21059-noCPAN/Slim/Schema.pm line 29.
Compilation failed in require at /opt/csw/squeezecenter-7.2-21059-noCPAN/Slim/Utils/Progress.pm line 11.
BEGIN failed–compilation aborted at /opt/csw/squeezecenter-7.2-21059-noCPAN/Slim/Utils/Progress.pm line 11.
Compilation failed in require at /opt/csw/squeezecenter-7.2-21059-noCPAN/Slim/Utils/Scanner.pm line 45.
. . .

The issue is related to the same Scalar::Util module. Just force install it like explained here.


1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

2008-07-06

Vermillion on OpenSolaris

The current version can be found here: http://dlc.sun.com/osol/jds/downloads/current/

Tried to install Vermillion 94 yesterday (GNOME 2.23.4) but had to fail back to nevada_92 (GNOME 2.22.2), because 94 was almost unusable (e.g. right button did not work, window manager did not want to start automatically, etc). Both installers failed to install JDS correclty (missed or incorrectly configured packages and files).
For example, libgnome-desktop-2.so.2 was missing in v94.


1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

Troubleshooting GNOME

If you can’t login, if your GNOME session crashes, if you fonts are garbled or you see no fonts at all, check the following files:
[read more...]


1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

Pages: Prev 1 2 3 Next