• Get the Flash Player to see the slideshow.
  • Categories

  • Authors

  • Great Quotes

    Do not worry about your difficulties in Mathematics. I can assure you mine are still greater. — Albert Einstein

Get in touch...

To have a chat about
your CMS needs...

Call us 0207 193 2014
or
Email us on

Archive for the ‘UNIX’ Category

How to tell virtual memory on Solaris

Monday, June 15th, 2009

Problem

You want to know how much Virtual Memory is available on your Solaris server.

Solution

You simply need to run the command “ulimit -a”.

This should output something like the below,  in this you can see the reference to the Virtual Memory.

core file size (blocks)     unlimited
data seg size (kbytes)      unlimited
file size (blocks)          unlimited
open files                  1024
pipe size (512 bytes)       10
stack size (kbytes)         8192
cpu time (seconds)          unlimited
max user processes          29995
virtual memory (kbytes)     unlimited

Propagating Workarea Group Permissions to Nested Folders & Files on Unix/Linux

Thursday, December 11th, 2008

A problem with TeamSite 6.7.1 on Solaris or Linux servers are when creating a new workarea, group permissions fail to propagate down; meaning permissions don;t filter down.

Any additional folders or files created or imported with the “File Import” menu action will take on the logged-on user’’s primary group; not the workarea group.

Solution:

To overcome this potential problem, configure the workarea permissions such that the group you specified is automatically propagated down to newly created folders and files; therfore inheriting the workarea group permissions only. This approach works applies to both ordinary Unix groups and TeamSite groups.

After creating a new workarea, enable the “set-group-ID” permission on the workarea by running the following command on cmd (execute the command as the user root);

chmod g+s

e.g.

chmod g+s /default/main/branch1/WORKAREA/test_workarea

Once the command execute, you can verify the command has been successfully executed by running the command;

ls -ld

e.g.

ls -ld /default/main/branch1/WORKAREA/test_workarea

You should find a “s” in the group permissions, such as:  drwxrwsr-x

Installation Tips

Wednesday, December 3rd, 2008

From my experience there are a few things to bear in mind when installing Interwoven Software.  These include

  1. Always install your software as administrator or full root (for solaris/Linux).  In respects to root access it must be full root not any sppof such as sudo. At the lease su root would be acceptable.  There have been installs where I have seen the installer not correctly installing, after which issues later arise.  Another reason to install as full root or administrator is that Interwoven will only support the software if they are installed by these users.
  2. Always read the release notes, and ensure you fulfill the pre-requisites.
  3. When selecting the install path, don’t leave any spaces.  I like to install as below;
    C:/Interwoven/TeamSite or C:/Interwoven/MediaBin
  4. Keep a record of your actions whilst the install take place; will come in handy to document and to analyse any potential issues arising at a later date
  5. Follow up your installation by executing any actions that are required after the install

How to Find the number of bytes per inode on Solaris

Wednesday, July 2nd, 2008

Find the number of bytes per inode on Solaris

First do a df -k to get the device path:

df -k /local/iw-store
Mounted on /dev/vx/dsk/datadg/local

Then use mkfs -m to find frag size.

/usr/sbin/mkfs -m /dev/vx/dsk/datadg/local

mkfs -F ufs -o nsect=64,ntrack=32,bsize=8192,fragsize=1024,
cgsize=49,free=1,rps=120,nbpi=8186,opt=t,apc=0,gap=0,
nrpos=8,maxcontig=64,mtb=n /dev/vx/dsk/datadg/local 184320000

You can also use df -g | grep ‘block size’

bash-2.03$ df -g | grep ‘block size’
/ (/dev/md/dsk/d10 ): 8192 block size 1024 frag size
/proc (/proc ): 512 block size 512 frag size
/etc/mnttab (mnttab ): 512 block size 512 frag size
/dev/fd (fd ): 1024 block size 1024 frag size
/var (/dev/md/dsk/d30 ): 8192 block size 1024 frag size