Dec 9, 2012

connect to jboss on a Fedora Linux System from external network

This week I had the problem, that from an external WebSphere portal server, I wanted to connect to a manually started jboss on port 8080.

After some time I recognized, that Fedora 17 has a firewall, which prevented
the connection.

How to enable such a port?

There is a command line system-config-firewall:


This GUI allows to add new ports and apply the changes to the system.

hibernate/suspend with Fedora Linux 17 on a FUJITSU SIEMENS CELSIUS H270/Z118M4A

How to suspend the Fujitsu H270 notebook?

  • I have to disable the external monitor with the nvidia settings ( the free driver doesn't support the external monitor). 
  • I have to disable the network configuration with the network manager
  • I have to release the laptop from the docking station

After this I can suspend the laptop and it is possible to wake up outside the office.


But this weekend I had another problem again. The battery had not that much
power to keep the system in suspend mode available.

After rebooting, I found an option in systemctl - command.

sudo systemctl hibernate

This puts the system to the disk. After poweron, it seems as if a reboot occures,
but the stored system is reloaded and fast available.
And this will not drain the battery.

Dec 5, 2012

How to find a process binding a port on linux - lsof doesn't show the port

Today I had the problem, that a running java process was binding a port and
a new installed process tried to start and bind the same port.

How to find out which process is binding that port?

On Solaris/OpenIndiana/Illumos there is no easy way with onboard tools.

The data is hidden in the proc filesystem. For this area I have since a longer
time the script pcp which is doing the parsing in the proc filesystem to search
for the process.

On Linux, I know from former times, that lsof is doing the job.

The simple form here is lsof -i :<port number>, but I didn't get an output?

The problem was, that the process is running with root privileges and I issued
the command as my normal user.

After starting the command with sudo as root, I got the process.

Nov 18, 2012

BackinTime is using a huge amount of system IO-ressources -> use LVM snapshots and just do one BackInTime Backup on the external USB

For Backup, I created a LVM snapshot each hour and let BackinTime make
a backup on an external USB disk.

But this caused the usage of very heavy system usage on the IO system of
Linux, because of the size it run also about 20 minutes.

To get a better response, I changed the tactics.

Let LVM do snapshots every hour and keep only some of them and just do
for one time a backup on the external disk with BackinTime.


For the regular snapshots I found a script in this blog.

Now I'm doing regular snapshots, mount the last snapshot on /backup
and let BackInTime do one sync to the external disk.

This reduces the IO-Load.


Backintime app and compare the difference in backups

After changing my main OS from OpenIndiana to Fedora Linux ( suspend and resume works now, most of the time -> Only when suspending in dual monitor from docking station, although just the Notebook display was active  - a resume didn't get me the X11 back. Maybe it depends although on the
network ).

I had to search for a new backup tool. In OpenIndiana I used the ZFS autosnapshot and had a lot of backups, but on Linux??


My attempt was to let a lvcreate run and create a snapshot in the
volume group. This runs as cronjob of root.

And as my users cronjob, backintime does a backup on an external USB
drive.
After creating the profile and let it run each hour, I wanted to compare the
snapshots to see the difference:


From the main window of backintime you see the button you have to select.

In the detail window you select both snapshots you like to compare and
have to push the red circled button, which was not so obvious form me.


Nov 7, 2012

NFS mount from linux to OpenIndiana ( running as KVM guest on Fedora ) failed

OpenIndiana is running as KVM guest in Fedora 17. the network uses a
DHCP local network which is translated by NAT on the KVM host.

But after creating the config file for the automounter , changing into
a NSF-mount caused a "Permission denied". 

Looking into the /var/log/messages on the NFS Server ( linux ) showed the following entry:

mountd[3493]: refused mount request from XX.XX.XX.XX for /install (/install): illegal port 1488

The problem is, that the requests from the KVM guest are translated to
ports > 1024, which Linux evaluates to insecure.
To get the directories mounted by the automounter, you have to add the
option insecure to the /etc/exports file and reexport everyhting. After this
the automount works.

OpenIndiana 151a7 is missing math.h header for gcc compilation

After changing my main OS to Fedora 17 and having running OpenIndiana
as a KVM guest, I attempted to compile some sources with the gcc 3.4.x ,
but the first problem was the missing header math.h.

After installing

pkg install math/header-math

the header was on the system and could be compiled.

Nov 6, 2012

extending Gnome workspace of Fedora 17 to two screens

After having the external screen working in Fedora 17 with the NVidia
driver, the workspace is only on the Laptop display.

I found an option here.

The setting is:

$ gsettings set org.gnome.shell.overrides workspaces-only-on-primary false

After setting this, the workspace is expanded to both screens and can be
switched. 

Fedora 17 with external DVI-Screen

The docking station has an extension for VGA and DVI, where I have an
external monitor connected.

In OpenIndiana, the NVidia Driver supported the use of the DVI to extend
the Display, but Fedore just let the Xserver crash with the nouveau driver.

Only the VGA port worked, but the display quality was bad. So I installed
the original NVidia driver. Therefore I followed the readme in the driver
package ( extract with the option -x ) and disabled the nouveau driver and
the kmod settings. After a reboot, you have to switch to the terminal and
leave XWindow-Session. ( init 3 ). Here you can start the installation, which
worked for me without problems. After this you can install the original
NVidia driver.

Today I rebooted and the Laptop screen is still the primary and the external
monitor was recognized. ( maybee the config is stored somehwere - have not tested the without the external screen. )

With the nouveau driver and VGA, the external monitor got the primary
screen, which I don't like, because I use the mouse and keyboard from a
sunray-Unit which is shared by synergy.

Nov 4, 2012

Fedora 17 leave full screen mode of virtual-machine-viewer

After I've change the main OS to Fedora ( OpenSuse 12.2 with 64 bit and
btrfs always had a kernel panic and the network nearly always scrambled the GUI screen ), I still installed the latest OpenIndiana 151a7 as a KVM
guest ( the other way round didn't work for me, because my hardware is
missing EPT support, which is necessary for Illumos )

The virtual-machine-viewer allows to switch to full screen mode, but how
do I get back from full screen mode ?

I still haven't found a key-sequence, but when you release the mouse pointer
( in my case <Ctrl left> + <Alt left> ) you can go to the middle on the upper
border of the screen and a small box appears, with sending a key sequence
to the KVM guest or leave full screen mode

changed main OS on laptop to Fedora 17 instead of OpenIndiana

This week I changed my main OS to Fedora 17 instead of OpenIndiana.

Why?

Missing some support from OI:
  • Skype was only available in a Virtualbox, but without microphone
  • Adobe has stopped developing the flashplayer
  • soapUI, was only possible via a redirect installation on a Linux box. 
  • SAP Gui is only available for Solaris SPARC
  • enigmail was not compiled since a long time for OpenIndiana/Solaris
    for an actual Thunderbird.
  • KVM support didn't work for me, because the hardware is missing EPT
    ( otherwise I would have tested using a linux as KVM guest with skype
     and the other things )
  • hibernateing OpenIndiana didn't work, because the nvidia driver is
    missing the system call ( an older version of nvidia for OpenSolaris had
    the system call :-( )
  • I have to learn again a lot of linux administration, because many
    things changed in the last >5 years, I was using mainly OpenSolaris/OpenIndiana.

But I still have OpenIndiana on Fedora 17 as a KVM guest.  There is a problem with USB, but that doesn't hurt.

What I miss already very hard is the compression of the ZSF filesystem.
Now the space is much more less, as I thought - the compression does a
good job.

If I'm using sometime a newer hardware, I would definitly try the other way
around and use OI as the main OS again.

Oct 21, 2012

Upgraded Virtualbox in OpenIndiana 151a7 to 4.2.2

Oracle has released VirtualBox 4.2.2.

Installed on OpenIndiana 151a7 without problems.

Everyting seems to work, having no microphone here.

Oct 7, 2012

Update from OpenIndiana oi151a6 to oi151a7

Yesterday the team around OpenIndiana.org has released the
prestable 7 oi151a7.


Today I updated without problems. The NVidia driver was a 295 release,
which I changed to the latest 304.51.


I still have problems with SDHC cards and the cardreader.
Since oi151a6 the automatic mount in gnome fails with the
messagebox, that it can't mount.


A manual mount with pfexec mount -F pcfs /dev/dsk/c2t0d0p0:1 /mnt works.

Here's the upate log:

root@solewer:~# pkg update --be-name oi151_a7                                  
            Packages to update: 1144
       Create boot environment:  Yes
Create backup boot environment:   No

DOWNLOAD                                  PKGS       FILES    XFER (MB)
Completed                              1144/1144   7287/7287  430.1/430.1

PHASE                                        ACTIONS
Removal Phase                              6044/6044
Install Phase                              6051/6051
Update Phase                             11451/11451

PHASE                                          ITEMS
Package State Update Phase                 2288/2288
Package Cache Update Phase                 1144/1144
Image State Update Phase                         2/2

PHASE                                          ITEMS
Reading Existing Index                           8/8
Indexing Packages                          1144/1144
Optimizing Index...

PHASE                                          ITEMS
Indexing Packages                          1292/1292

A clone of oi151_a6 exists and has been updated and activated.
On the next boot the Boot Environment oi151_a7 will be
mounted on '/'.  Reboot when ready to switch to this updated BE.


---------------------------------------------------------------------------
NOTE: Please review release notes posted at:

http://wiki.openindiana.org/oi/Release+Notes
---------------------------------------------------------------------------

Sep 28, 2012

How to create text with a background color instead of changing the foreground color in thunderbird

Thunderbird allows in the compose window to set the foreground color of
a text and the whole background, if composing an HTML e-mail.

So you can set only the foreground color of the text:


But this week, I got an e-mail viewed in thunderbird, where the background
color of a line was set and this was much more readable than the foreground setting the foreground color. The foreground color has to be some "dark"
color to get a readable text.


In Thunderbird it is not directly possibly, by selecting and changing the color, but the tool allows to insert directly HTML-code via the menu:

Insert->HTML....


You have to select your text and open the menu-Item as described above:

Surround the text by

<span style="background-color:yellow"></span> 


After inserting and pressing "Insert", you get the text with a background color:


If the text continues, you can select the text and execute the menu
"Format-> Discontinue Text Styles"

and the next text comes with standard formating.


New Programmers font "Source Code Pro" from Adobe

There is a new TrueType font for Programmers from Adobe.

see the blog entry http://blogs.adobe.com/typblography/2012/09/source-code-pro.html

Sep 15, 2012

Java Memory Analyze tutorial found

In one of the last newsletter from IBM was a link to a tutorial about
analyzing java memory using MAT ( Memory Analyzer Tool )

http://www.ibm.com/developerworks/training/kp/j-kp-mat/index.html?cmp=dw&cpb=dwjav&ct=dwnew&cr=dwnen&ccy=zz&csr=091412


Sep 14, 2012

VirtualBox 4.2.0 released and installed on OpenIndiana 151aprestable6

Oracle has release VirtualBox 4.2.0.

The Solaris-Package is installable on OpenIndiana 151aprestable6 without
problems.
My Virtual Machine based on Windows XP SP3 runs without problems.

The grouping menu entry is disabled in the GUI, have to lookup, if there
is something special to do for this.


Sep 9, 2012

Virtualbox 4.1.22 released and installed in OpenIndiana151a_prestable6

VirtualBox release 4.1.22 ( https://www.virtualbox.org/wiki/Changelog ), which is mainly a maintenance release.

Installed this version on OpenIndiana 151a_prestable6 without problems.



Sep 7, 2012

libstdc++.la is not a valid libtool archive - Solaris 10 during compile of Xerces 3.1.1

During the compilation of Xerces 3.1.1 on Solaris 10, I got the following
error:

libstdc++.la is not a valid libtool archive

After some searching a trapped always in a link to a forum on a former sun site,
but here is a link, which helped:

Solaris 10 fixup for ‘libstdc++.la is not a valid libtool archive’. 


Hope this helps also someone else looking for this information.

 

 

 

Sep 5, 2012

Adobe Flashplayer does not support Solaris anymore

Today firefox on my OpenIndiana laptop suggested to update the plugins.

One of them was the Adobe FlashPlayer. After beeing directed to the
Page of adobe ( http://get.adobe.com/flashplayer/ ), there was a
message saying, that Solaris is not supported anymore.

Very sad decision of Adobe.

OpenIndiana Laptop updated to prestable6

a new Update is released in the IPS dev-repo for OpenIndiana.

Upate was no problem from OI_151a5. I just had to disable the publisher
http://ips.homeunix.com:10906/ because from within the current network
it was not reachable.

root@solewer:~# pkg update                                                     
            Packages to remove:    1
            Packages to update: 1144
       Create boot environment:  Yes
Create backup boot environment:   No
 
DOWNLOAD                                  PKGS       FILES    XFER (MB)
Completed                              1145/1145   7490/7490  472.9/472.9
 
PHASE                                        ACTIONS
Removal Phase                              6646/6646
Install Phase                              6170/6170
Update Phase                             11502/11502
 
PHASE                                          ITEMS
Package State Update Phase                 2289/2289
 
PHASE                                        ACTIONS
Removal Phase                              6646/6646
Install Phase                              6170/6170
Update Phase                             11502/11502
 
PHASE                                          ITEMS
Package State Update Phase                 2289/2289
Package Cache Update Phase                 1145/1145
Image State Update Phase                         2/2
 
PHASE                                          ITEMS
Reading Existing Index                           8/8
Indexing Packages                          1145/1145
Optimizing Index...
 
PHASE                                          ITEMS
Indexing Packages                          1277/1277
 
A clone of oi151a4-2 exists and has been updated and activated.
On the next boot the Boot Environment oi151a4-3 will be
mounted on '/'.  Reboot when ready to switch to this updated BE.
 
 
---------------------------------------------------------------------------
NOTE: Please review release notes posted at:
 
http://wiki.openindiana.org/oi/Release+Notes
---------------------------------------------------------------------------
 I also updated the NVidia-Driver to 303.43 without problems.

Aug 25, 2012

VirtualBox V4.1.20 on OpenInddiana 151a5 installe

VirtualBox V4.1.20 is released. ( see changelog ).

I've installed it on OpenIndiana 151a5 without problems. Reinstalled the
Extension-Pack and updated the GuestAdditions to the Windows XP SP3
VM.

After some restarts ( maybe because of resizing the Harddisk ) the system
restarted without problems.


Aug 9, 2012

convert hex number to decimal in gcalc on OpenIndiana

Today I had to convert the a hex number to the decimal number.

As usual I thought to use the gcalc ( Gnome Calculator ) but on
OpenIndiana 151a5 there are no radio buttons to switch between bases.

In the "Programming Mode" are to buttons for base16, base8  and base2, but
how to convert

Just enter the hex number, press the X16 button or <Ctrl-H> and just
press <Enter>  again.
This does the conversion.

Aug 8, 2012

Rectangular Selection in the NetBeans Editor

Today I had a strange course in NetBeans. During the blinking there
was a rolling line bar visible. Also the selection was a little bit strange.

I didn't recognize, that also an icon in toolbar of the editor window changed.

The rectangular edit was activated by the key sequence

<Ctrl>-<Shift>-<r>

This allows to do a rectangular select:




and not a selection over the lines.


After the selection you can type words and the whole selection is changed:


Here I entered the word Test.

The selection of this mode is done in the toolbar by clicking on the
icon with the dashed rectangle and the arrow pointer.

Jul 30, 2012

GUI-Searchdialog for maven dependencies in NetBeans

In one of our last projects, we used maven as a build management tool.

My colleagues used Eclipse and I was jealous about the processing of the pom.xml.
There was a GUI displaying the content of the pom and thy had also a dialog
to search for the exact coordinates of the necessary dependency.

Yesterday I view a screencast from Adam Bien about Mocking without interfaces.

During the screencast I saw, that he used a GUI dialog to search for the
maven dependency without knowing the group and artifact ID in NetBeans.

I have a 7.2 version installed and here,
  • I open the pom.xml, 
  • right click into the editor
  • select "insert code"
  • select "Dependency"
and get the following dialog:


After inserting "mockito" into the Query-field, the "Search Results" show the
found artifacts and after selecting the artifact, the maven parts are filled in
and can be adjusted.

Jul 25, 2012

NetBeans 7.2 Released -> Installed on OpenIndiana 151a5

NetBeans 7.2 is released. It has
  • improved performance,
  • FindBugs directly integrated into the IDE
  • Editor works during parsing
  • .... 
Installation and start on OpenIndiana 151a5 and Solaris 10 was no problem.

Have a look at a Video,which the NetBeans Group on Facebook posted:

https://www.facebook.com/photo.php?v=253192944798401

Jul 19, 2012

graphical/ UI editor for XSD in NetBeans

I was looking for a graphical / UI editor of XML Schema files ( XSD ) in the
IDE NetBeans.
After some looking, I found in the blog of Geertjan Wielenga a hint to a
plugin, which is working in NetBeans 7.2 rc1:


It is also possible to change the tree display of the elements







Jul 4, 2012

Update of OpenIndiana 151a4 to prestable5

Update was nearly no problem. I had a mono-Package from opensolaris still installed, which causes a problem now, but 
just uninstalling it, let the update run through: 
 

root@solewer:~# pkg update
            Packages to update: 1143  
       Create boot environment:  Yes
Create backup boot environment:   No


PHASE                                          ITEMS
Indexing Packages                          1325/1325
DOWNLOAD                                  PKGS       FILES    XFER (MB)
Completed                              1143/1143   7290/7290  454.7/454.7

PHASE                                        ACTIONS
Removal Phase                              7680/7680
Install Phase                              7755/7755
Update Phase                             11733/11733

PHASE                                          ITEMS
Package State Update Phase                 2286/2286
Package Cache Update Phase                 1143/1143
Image State Update Phase                         2/2
Reading Existing Index                           8/8
Indexing Packages                          1143/1143
Optimizing Index...

PHASE                                          ITEMS
Indexing Packages                          1325/1325

A clone of oi151a4-1 exists and has been updated and activated.
On the next boot the Boot Environment oi151a4-2 will be
mounted on '/'.  Reboot when ready to switch to this updated BE.


Reboot worked without problems. 

Jun 30, 2012

Can map USB Devices from OpenIndiana into a VirtualBox Windows XP

During some time, I lost the function to map USB devices into a VirtualBox
Windows XP machine.

Now I found "by accident" a link, I do not remember anymore that the user has to be part of the group vboxuser.

After adding myself to this group, I can map USB devices in VirtualBox to a
virtual machine.

Jun 27, 2012

delete change displayed in meld - dif viewer

meld is a diff viewer programmed in Python using pygtk+, which I use in mercurial as a diff viewe.


This tools allows directory and file comparing.
During file comparing there are the arrows in the middle to move changes
from one side to the other like in the following image from meld:


To be able to remove a change from a file, you just have to press
<Shift> and the arrows change to an "x", which removes the change from the file.

By pressing <Ctrl> where the same line is changed in both files like the
blue colored one above, there are Arrows up and down on both sides, which
allow to copy the change above or below the change in the other file. 

The whole file can be copied from the directory-view my selecting the file and use the context menu. This contains a "Copy right" or "Copy left" and "Delete"

thanks to the guys behind meld.




Jun 21, 2012

Jun 14, 2012

How to inspect the content of the INMEMORY H2 database in JBoss AS

The JBoss application server has an internal inmemory H2 database .

This database is not available from external, so when using this database
you can not check what's in the database.

Now I read about a JBoss Developer Framework which has a lot of tutorials and this contains a H2Console, which allows to inspect and query the
inmemory database.

It is deployed as a webarchive and can be reached via
http://localhost:8080/h2console


Jun 6, 2012

Updated Thunderbird 13.0 and Firefox 13.0 on OpenIndiana 151a4

After the release, I have installed
Thunderbird 13.0 and Firefox 13.0 on my OpenIndiana 151a installation.

For thunderbird there is also a release of 1.5 of lightning.

May 31, 2012

NetBeans 7.2Beta -> Window Switcher has also the Output/Serach Results

The new NetBeans 7.2Beta has changed the <Ctrl>-<TAB> ( don't know if I've defined it, or if it is the default ) Dialog.

Here the Windows like "Search Result, Test Results, ... " are also available
for Selection.
For me this is good improvement, because I didn't remember the shortcuts to get to the windows.


May 27, 2012

Updated VirtualBox to 4.1.16 on OpenIndiana 151a4

VirtualBox release Version 4.1.16 ( changelog ).

Installation by pkgadd was no problem.
Runs without problems and as it seems, there is no LD_NODIRECT=1
necessary anymore. 

May 5, 2012

OpenIndiana Upgrade from 151a3 to 151a4

On the 4th of May OpenIndiana released a new dev repo with the ReleaseNotes.

My first attempt to upgrade was not successful, because I had a mixture of
packages.
So I had on my system imagemagick from openindiana.org and the sfe repo.

I had to cleanup a lot of packages before I could updated. The easiest way
for me was to use the graphical packagemanger, because here I could
select the packages and try to remove them. When the system said that there
are more depending packages I could add them.

But after this I could updated without problems:

root@solewer:~# pkg update --be-name oi151a4                                   
            Packages to update: 1132
       Create boot environment:  Yes
Create backup boot environment:   No
 
 
PHASE                                          ITEMS
Indexing Packages                          1308/1308
DOWNLOAD                                  PKGS       FILES    XFER (MB)
Completed                              1132/1132   6316/6316  451.8/451.8
 
PHASE                                        ACTIONS
Removal Phase                              6090/6090
Install Phase                              6068/6068
Update Phase                             10785/10785
 
PHASE                                          ITEMS
Package State Update Phase                 2264/2264
Package Cache Update Phase                 1132/1132
Image State Update Phase                         2/2
Reading Existing Index                           8/8
Indexing Packages                          1132/1132
Optimizing Index...
 
PHASE                                          ITEMS
Indexing Packages                          1308/1308
 
A clone of OSOL151a3 exists and has been updated and activated.
On the next boot the Boot Environment oi151a4 will be
mounted on '/'.  Reboot when ready to switch to this updated BE.


After the reboot the system came back online:

[ewer@solewer:~]$uname -a
SunOS solewer 5.11 oi_151a4 i86pc i386 i86pc Solaris
[ewer@solewer:~]$

Apr 28, 2012

skype in OpenIndiana via browser

Skype can work on OpenIndiana in the browser ( here firefox 12 ) on
http://imo.im.

First the microphone didn't work for me, but I found a hint about the
Global settings manager, because in the settings menu I didn't get a microphone.

In the skype call make a right click and go to Global Settings. In the new browser window follow the link How do I get to the Settings Manager

In the flash which is opening allow imo.im to access the devices. 


Now the http://imo.im Skype has also a microphone. My test showed, that 
I'm hearing my voice a like I would be Mickey Mouse, but it works and 
Save about 600 MB memory for a virtual Windows Installation in Virtualbox

OpenIndiana 151a3 : Upgrade VirtualBox to 4.1.14, Firefox 12, Thunderbird 12

I did now some upgrade on the OpenIndiana 151a3 installation:

  • Firefox 12
    Download from here. I used the tar-Archive and the browser works well
    without problems for me.
     
  • ThunderBird 12
    Download form here. I used also the tar-Archive here.
    For lightning you need the 1.4 version on Thunderbird 12. This works
    for ThunderBird. engimail is missing.
  • VirtualBox 4.1.14
    Upgraded from 4.1.12 to 4.1.14. There are now major changes for
    the Solaris platform as mentioned in the changelog.
    Installation didn't have problems. LD_NODIRECT=1 environment
    is still needed to start. 

Apr 13, 2012

Upgrade Laptop from OpenIndiana 151a2 -> 151a3

On 12th April the next release of OpenIndiana 151a3 was released via
IPS on http:/pkg.openindiana.org/dev.

The Update succeeded without problems:

root@solewer:~# pkg update --be-name OSOL151a3
                Packages to remove:     1
               Packages to install:     7
                Packages to update:  1125
           Create boot environment:   Yes
DOWNLOAD                                  PKGS       FILES    XFER (MB)
Completed                              1133/1133   9533/9533  495.2/495.2

PHASE                                        ACTIONS
Removal Phase                               121/7656
Warning - directory /tmp/tmphZ2xLX/usr/share/man/cat1m not empty or not expected during operation - contents preserved in /tmp/tmphZ2xLX/var/pkg/lost+found/usr/share/man/cat1m-20120413T193032Z
Removal Phase                              7656/7656
Install Phase                              7762/7762
Update Phase                             14236/14236

PHASE                                          ITEMS
Package State Update Phase                 2258/2258
Package Cache Update Phase                 1126/1126
Image State Update Phase                         2/2

PHASE                                          ITEMS
Reading Existing Index                           8/8
Indexing Packages                          1133/1133
Indexing Packages                          1133/1133
Optimizing Index...

PHASE                                          ITEMS
Indexing Packages                          1350/1350

A clone of OI151a2 exists and has been updated and activated.
On the next boot the Boot Environment OSOL151a3 will be mounted on '/'.
Reboot when ready to switch to this updated BE.


---------------------------------------------------------------------------
NOTE: Please review release notes posted at:

http://wiki.openindiana.org/oi/oi_151a+Release+Notes
---------------------------------------------------------------------------

You have new mail in /var/mail/root

Apr 6, 2012

VirtualBox 4.1.12 is release and installed on OpenIndiana 151a2

Now I've installed VirtualBox 4.1.12 on OpenIndiana 151a2.

With the environment variable LD_NODIRECT=1 the installation works.

Here is the changelog

Skype was still crashing in the previous releases. Lets wait if it is getting
better now. Maybee 512MB memory for XP is too less.

Mar 16, 2012

Firefox 11/Thunderbrid 11 Lightning Plugin 1.4 for Solaris installed

Installed Firefox 11, Thunderbird 11 and the Lightning Plugin 1.3 ( for thunderbird 11 ) for Solaris on OpenIndiana 151a2.

Everything works, the Engimail is not working .

Mar 15, 2012

Flashupdate of a SPARC Enterprise T1000

We have a SPARC Enterprise T1000 ( didn't recognize the difference to a
Sun Fire T1000 ). Only in the ServiceProcessor ( LOM - light out manager ) of the system the showhost command showed a different banner.

The system got a new job, so a colleague installed the last recommended patch cluster and after the reboot, the system hang in a reboot cycle
complaining that the Hypervisor can't stop cpu's with a bad trap (24) , there were also timeouts in cpu xcalls.

The solution was to install the last firmware for the system.
  • Therefore the system must be powered down ( poweroff ). 
  • In the Serviceprocessor the command
    flashupdate -s <FTPServer> -f <path to firmare .bin>

    This asks for user/password on the ftp server, downloads and installs the firmware.
  • After the update a resetsc restarts the service processor and uses
    the new firmware and Hypervisor software.
  • poweron starts the system and a console -f showed, that the reboot
    cylce is gone.

VirtualBox 4.1.10 on OpenIndiana 151a

This week VirtualBox 4.1.10 ( changelog ) was released.

I installed the package on my OpenIndiana installation with the last updates
and it works with LD_NODIRECT=1 set, otherwise it does not work.

Hopefully skype runs more stable in the Windows XP instance, because there
were some fixes in the VMM.

Mar 11, 2012

KVM-Video showing FreeBSD intalled in StormOS

The people at Joyent have ported /implemented the KVM  ( kernel based Virtual Machine ) from Linux to Illumos  used in SmartOS/OpenIndiana/.

Here is a video showing the installation of FreeBSD 9.0 on SmartOS in a KVM. 
But I can not use this, because my System is lacking a feature needed for this. It's called EPT.
Just Virtualisation support is not enough.

Mar 9, 2012

Upgrade UrukDroid from 1.6.2 to 1.6.3

$sauron has release an Update for UrukDroid 1.6.3. On my Archos-Tablet I upgraded from 1.6.2 to 1.6.3.

After copying of the update to /data/UrukUpdate, the automatic service started the update.

After CPU was nealry Idle, I looked into the drop-Down glasspane and the
Uruk-Update-Service wrote, that I can restart. There was no automatic restart,
but everything is working fine now.

Feb 29, 2012

Install NVidia driver 295.20 on OpenIndiana 151a2

Yesterday I saw that NVidia has a new driver for Solaris
( http://www.nvidia.com/object/solaris-display-295.20-driver.html )
release on the 13th of february 2012.

The last version I used was 295.09. So I downloaded the new driver and started with the install, which failed.

So I pkgadd the root-Package and copied the files into /kernel/misc as noted in
the install-file after extracting the package content with the option "-x".

After the reboot the console showed the following messages and X failed to
start:

Feb 29 09:13:19 solewer nvidia: [ID 702911 kern.notice] NOTICE: NVRM: API mismatch: the client has the version 295.09, but
Feb 29 09:13:19 solewer NVRM: this kernel module has the version 295.20.  Please
Feb 29 09:13:19 solewer NVRM: make sure that this kernel module and all NVIDIA driver
Feb 29 09:13:19 solewer NVRM: components have the same version.  
After this I did again an pkgadd of the package NVDAgraphics and
restarted the gdm-login

svcadm restart graphical-login/gdm:default 
and X came back online.

So far everything works. VirtualBox started up and showed the screen.


Feb 24, 2012

Install new package in an OpenIndiana zone

Today I attempted to install a new package in a zone installed in OpenIndiana.

The pkg install zip command finished by saying that it could not clone.

I found the solution here.

the short way is:

  • stop the zone
  • pkg -R /zones/<zonename>/root update
  • pkg -R /zones/<zonenanme>/root install zip
  • zoneadm -z <zonename> boot
After this the package is installed in the zone. 

Feb 18, 2012

Update OpenIndiana to 151a2

Update was without problems:

root@solewer:~# pkg update --be-name OI151a2                                   
                Packages to update:  1138
           Create boot environment:   Yes
DOWNLOAD                                  PKGS       FILES    XFER (MB)
Completed                              1138/1138   8282/8282  428.6/428.6

PHASE                                        ACTIONS
Removal Phase                              6030/6030
Install Phase                              6096/6096
Update Phase                             12731/12731

PHASE                                          ITEMS
Package State Update Phase                 2276/2276
Package Cache Update Phase                 1138/1138
Image State Update Phase                         2/2

PHASE                                          ITEMS
Reading Existing Index                           8/8
Indexing Packages                          1138/1138
Indexing Packages                          1138/1138
Optimizing Index...

PHASE                                          ITEMS
Indexing Packages                          1354/1354

A clone of OI_151.1.1_prestable exists and has been updated and activated.
On the next boot the Boot Environment OI151a2 will be mounted on '/'.
Reboot when ready to switch to this updated BE.


---------------------------------------------------------------------------
NOTE: Please review release notes posted at:

http://wiki.openindiana.org/oi/oi_151a+Release+Notes
---------------------------------------------------------------------------






[root@solewer:/]$cat /etc/release
             OpenIndiana Development oi_151.1.2 X86 (powered by illumos)
        Copyright 2011 Oracle and/or its affiliates. All rights reserved.
                        Use is subject to license terms.
                           Assembled 09 February 2012

Feb 8, 2012

Netbeans does not find the symbol to jump to in strange function namings with underscore in C/C++

I changed to a new C/C++ project, where jEdit or Eclipse is used, but
I'm using NetBean for nearly everything, so I created a project with
many different source locations.
Eclipse still fails to be useful on Solaris for C/C++. It seems as if it needs
to compile the source in some kind, which NetBean doesn't need.

But jumping to the implementation of a function didn't work.

The style is here to use underscores as separators in the name.

e.g this_is_the_name.

And the jumping with <ctrl>-<left mouse button> didn't work.
The message says:

Can not open element "this_is_the_name".

But using <ctrl>-<alt->-<shift>-<o> worked to find the symbol.

I check again with my old projects, where it worked and found out,
that the mouse-button-jumping depends on the position of the
mouse cursor.


The mouse-cursor must be at the end of the name.
When the function name is : this_is_the_name
The pointer has to be over name, otherwise the symbol is not found.
There is no problem if the name is in camel-style like thisIsTheName.

Feb 4, 2012

Firefox & Thunderbird 10.0 on OpenIndiana/Solaris with lightning and enigmail

Mozilla has release Firefox and Thunderbird 10.0 for Solaris/OpenIndiana.

But the plugins lightning for the calendar - which is a must for me - and
engimail were missing.

I attempted to compile engimail myself, but failed, because of a necessary mozilla dev environment.

But yesterday there was a post on the openindiana mailinglist, which is currently not in the archive, which located new compiles for lightning and
engimail for Firefox and Thunderbird 10.0.

Feb 2, 2012

Mercurial 2.1 -> new feature PHASES : prevent mq patches form accidentially pushing to remote repositories.

Mercurial 2.1 has a new feature named phases. This adds a kind of marker
to a changeset, if was already pushed to a public repo or pulled from, or
if it is only a local change ( draft ).

Theres an other state named secret, which can be used by extensiosn.

if in .hgrc
[mq]
secret=True

is configured, than MQ patches are considered secret:

ewer@solewer:~/entw/vsop$ hg log --template '{rev} {changeset} {date|isodate} {phase}\n{description}' -r qtip
2300  2012-02-02 14:14 +0100 secret

This prevents from pushing mq sets:

ewer@solewer:~/entw/vsop$ hg out
comparing with http://hg.hartter.com/vsop
searching for changes
no changes found (ignored 1 secret changesets)

Show changed files in a Mercurial changeset

Mercurial records all modifications in one changeset.

The log command shows the changeset and the description, but not
the files changed per default.
Also the in command only shows the incoming changesets.

To get a clue, what files will be changed with this set, there are additional
commandline options available:

hg status --change tip
This show all files changed for the tip-Version.

hg in --stat 

Shows the data and also a list of files, which will be modified with this changeset.

hg log --stat

does the same for the local versions.

Jan 31, 2012

NetBeans change size of font in editor window by +mouse scroll wheel

On my OpenIndiana installation I accidentally discovery the feature to
increase the font size by pressing <ctrl>-<mouse wheel scrolling>.

Jan 28, 2012

Wine on OpenIndiana - LiberOffice ok, Skype fails :-(

Because of the current step on trying to get LibreOffice to OpenIndiana,
I read in a mailing list about using LibreOffice 3.5rc2 on wine.

The wine Package itself is in the repository sfe-encumbred
( http://pkg.openindiana.org/sfe-encumbered/ ).


Wine needs also the gecko engine for html rendering.

The simple commands were:
$ wget http://downloads.sourceforge.net/wine/wine_gecko-1.4-x86.msi
$ sudo mkdir -p /usr/share/wine/gecko
$ sudo mv wine_gecko-1.4-x86.msi /usr/share/wine/gecko/
 
from http://wiki.winehq.org/Gecko 

LibreOffice is from the link embedded in the mailinglist entry.

It is a msi package, which has to be installed with 

wine msiexec /i xyz.msi

I also tried Skype, but the latest version has hugh problems and does
not start.

LibreOffice works so far.

But with proxies I have problems.


Jan 26, 2012

UrukDroid 1.6.1 -> Flight-Mode -> resume fails

My Archos-Tablet 10.1 IT is on UrukDroid 1.6.1.

I'm using a Widget for activating WiFi.

The last time I attempted to use the Flight-Mode switch, but as it seems, every
2nd wakeup does not wakeup the screen, so I had to do a hard reset ( 10 secs on the power button ) and reboot.

Without using the Flight-Mode and only activate/deactivate the WIFI resume works
for me every time.

Hidden or for me unknow NetBeans Feature to show two files side by side

In NetBeans I'd sometimes compare the some code in the same file side by side.

To get the same file opened a second time, there is a clone-Item in the right-click-menu on the tab-Item.


To see it side by side, I dragged one around to fit it side by side, but the
right-click-menu has a "New Document Tab Group". This does it automatically and
has also a "Collapse Document Tab Group".