Disclaimer

The views expressed on this blog are my own and do not necessarily reflect the views of Oracle.

Tuesday, June 3, 2008

NetBeans 6.1 on OpenSolaris 2008.05

Open Solaris 05/2008 has an excellent feature of adding packages graphically and netbeans option is also there but I was trying to install it in the same I have done before. Because , NetBeans 6.0.1 will be installed if you execute "pkg install netbeans" or choose netbeans from package manager (IPS GUI) , but I want to install NetBeans 6.1.

During installation , I got some warnings / critical problems regarding Gtk. Those were like :

(:1464): Gtk-WARNING **: Attempting to add a widget with type GtkButton to a GtkComboBoxEntry (need an instance of GtkEntry or of a subclass)

(:1464): Gtk-CRITICAL **: file gtkwidget.c: line 3236: assertion `GTK_WIDGET_ANCHORED (widget) || GTK_IS_INVISIBLE (widget)' failed

(:1464): Gtk-CRITICAL **: file gtkstyle.c: line 5879: assertion `style->depth == gdk_drawable_get_depth (window)' failed

(:1464): Gtk-CRITICAL **: file gtkstyle.c: line 5879: assertion `style->depth == gdk_drawable_get_depth (window)' failed


otherwise everything was fine. "MySql" server was bundled with sxde 9/07 but that's not true for open solaris 05/08. so I decided to download and install MySql server. I downloaded "mysql-5.1.24-rc-solaris10-i386.pkg" and tried to install it in my system. I have used "pkgadd" command as root for installation , but at last the following error results :

## Executing postinstall script.
ERROR: 1004 Can't create file '/var/tmp/installCgaqqb/#sql2a8_1_0.frm' (errno: 13)
080603 23:51:00 [ERROR] Aborting

080603 23:51:00 [Note] /opt/mysql/mysql/bin/mysqld: Shutdown complete


Installation of system tables failed! Examine the logs in
/var/lib/mysql for more information.


and , "/opt/mysql/mysql/bin/mysqld --skip-grant &" results :

080604 0:05:33 [Warning] Can't create test file /opt/mysql/mysql/data/ritwik.lower-test
080604 0:05:33 [Warning] Can't create test file /opt/mysql/mysql/data/ritwik.lower-test
[1] 720
ritwik@ritwik:~$ 080604 0:05:33 InnoDB: Operating system error number 13 in a file operation.
InnoDB: The error means mysqld does not have the access rights to
InnoDB: the directory.
InnoDB: File name ./ibdata1
InnoDB: File operation call: 'create'.
InnoDB: Cannot continue operation.

[1]+ Exit 1 /opt/mysql/mysql/bin/mysqld --skip-grant


I don't know what's the actual reason behind it.... may be the operating system is the reason.. as I was using an installer which is made for solaris 10 and I am using open solaris 05/08.

Anyway , under such circumstances I decided to install the Glassfish - Mysql bundled version of NetBeans IDE 6.1. I did it , got the same "Gtk" error during installation , otherwise everything was normal !!!!

Next : A minor problem while starting MySql server.

If you want to install Mysql in your open solaris 05/08 system , check out "web stack components" from "Open Solaris 05/2008 (part - IV)".

2 comments:

  1. Baw ah, kasagad sa imo maghimo blog. Nalingaw gd ko basa.

    ReplyDelete
  2. If you want to install Mysql in your open solaris 05/08 system , check out "web stack components" from "Open Solaris 05/2008 (part - IV)"

    ReplyDelete