Archive for the ‘Uncategorized’ Category

Applications that I use in Linux

2013/09/04

A collegue asked me to write down which applications in Linux that I use. Here is the list:

  1. Firefox
    • I prefer it to Chromium because of the addons which have higher quality then their Chromium counterpart. Also I like Mozilla as an organization more than I like Google.
  2. Virtualbox
    • In my work I have to use a couple of windows applications. Since Wine only run some windows apps good enough this is my only alternative. I really really like Virtualbox, it is free and easy to install. Also VM:s can easily be exported/imported across several platforms
  3. IBM Notes
    • This is the Collaboration application at work. I like it a lot. But it is really buggy on Linux if you are not running the exact supported version (which I almost never do).
  4. Shutter
    • For screenshots and it is easy to edit/crop them directly from the application.
  5. Filezilla
    • Great FTP application. Easy to handle and it is threaded (multiple downloads/upload).
  6. Wine
    • The best thing with wine is that I can copy the “.wine” folder from one Linux installation to another and keep all applications/configurations.
    • From Wine I can run
      1. A windows only dictonary I frequently use
      2. IBM Notes Administrator, but it crashes
      3. Other simpler windows softwares
  7. Remmina
    • Remote Desktop application that has preconfigured connections to quickly connect. It is a bit buggy though and I have to reconnect but that is not a major issue.
  8. Kate
    • Similar to Notepad++ with a lot of extensions and other things to improve usability when handling textfiles. Also good when writing simple scripts.

Installing Notes 9 Beta on Linux Mint 14 64 bit

2012/12/17

Notes from the install:

First this error:
Setting up ibm-notes (9.0-20121208.0914) …
cat: /opt/ibm/notes/framework/rcp/systemdata/logs/rcplauncher.log: No such file or directory
cat: /tmp/rcplauncher.log: No such file or directory
/var/lib/dpkg/info/ibm-notes.postinst: line 165: /opt/ibm/notes/jvm/bin/javaw: No such file or directory
dpkg: error processing ibm-notes (–configure):
subprocess installed post-installation script returned error exit status 99
Errors were encountered while processing:
ibm-notes
E: Sub-process /usr/bin/dpkg returned an error code (1)

Remedy:

I used nano to comment out this whole section:

nano /var/lib/dpkg/info/ibm-notes.postinst

#  if [ -f "$1/rcp/collectionutility.jar" ]; then
#    func_installLog “– Running collector with the following command:”
#    func_installLog “– $COLLECTORCOMMAND”
#    $COLLECTORCOMMAND
#  fi

Then this:

Setting up ibm-notes (9.0-20121208.0914) …
cat: /opt/ibm/notes/framework/rcp/systemdata/logs/rcplauncher.log: No such file or directory
cat: /tmp/rcplauncher.log: No such file or directory
dpkg: error processing ibm-notes (–configure):
subprocess installed post-installation script returned error exit status 99
Errors were encountered while processing:
ibm-notes
E: Sub-process /usr/bin/dpkg returned an error code (1)

Remedy:

ln -s /opt/ibm/notes /opt/ibm/lotus

mkdir -p /opt/ibm/notes/framework/rcp/systemdata/logs/

touch /opt/ibm/notes/framework/rcp/systemdata/logs/rcplauncher.log

Then this:

Setting up ibm-notes (9.0-20121208.0914) …
cat: /tmp/rcplauncher.log: No such file or directory
dpkg: error processing ibm-notes (–configure):
subprocess installed post-installation script returned error exit status 99
Errors were encountered while processing:
ibm-notes
E: Sub-process /usr/bin/dpkg returned an error code (1)

Remedy:

touch /tmp/rcplauncher.log

Then this:

Do you want to continue [Y/n]?
Setting up ibm-notes (9.0-20121208.0914) …
dpkg: error processing ibm-notes (–configure):
subprocess installed post-installation script returned error exit status 99
Errors were encountered while processing:
ibm-notes
E: Sub-process /usr/bin/dpkg returned an error code (1)

No hint at all?

I checked for logfiles:

cat /tmp/rcp_install.log
2012-12-17 12:39:27 — Begin post-install of ibm_notes 9.0-20121208.0914…
2012-12-17 12:39:27 — Checking for configuration overrides in /etc/ibm/ibm_notes/…
2012-12-17 12:39:27 — Updating install id and manifest version…
2012-12-17 12:39:27 — Preparing for .ini file merge…
2012-12-17 12:39:27 — Merging .ini files…
2012-12-17 12:39:27 — Running provisioning with the following command:
2012-12-17 12:39:27 — /opt/ibm/notes/framework/rcp/rcplauncher -debug -data /opt/ibm/notes/framework/rcp/systemdata -provManifest -rcpLauncherWait -noSplash -product NULL -provisioningOperation install -vmargs -DprovisioningOperation=install -DjxeCacheDir=
2012-12-17 12:39:27 — Failed to launch platform provisioning.
2012-12-17 12:39:27 — Refer to /opt/ibm/notes/framework/rcp/systemdata/logs/ for more information

And the folder /opt/ibm/notes/framework/rcp/systemdata/logs/ looks like this:

logs # ls -laFtr
total 8
drwxr-xr-x 3 root root 4096 Dec 17 12:35 ../
-rw-r–r– 1 root root    0 Dec 17 12:35 rcplauncher.log
drwxr-xr-x 2 root root 4096 Dec 17 12:35 ./

I am stuck. Luckily I have since earlier installed notes on another installation of Linux Mint 14. Here the upgrade from earlier notes version went fine.

[Update]

sudo apt-get install libgnomeprint2.2-0:i386 libgnomeprintui2.2-0:i386 libgnomevfs2-bin:i386 libgnome2-0:i386 libgnomeui-0:i386

Now it is running :-)

Install plugins from updateSite in Lotus Notes on linux

2012/11/20

Some plugins require root-rights. So before installing from an updateSite do this:
sudo chmod 777 -R /opt/ibm/lotus/notes/framework/shared/eclipse/

sudo chmod 777 -R /opt/ibm/lotus/notes/framework/rcp/deploy/
and after installation
sudo chmod 755 -R /opt/ibm/lotus/notes/framework/shared/eclipse/

sudo chmod 755 -R /opt/ibm/lotus/notes/framework/rcp/deploy/
Now you can install the Lotus Connections plugins without any errors!

Install Lotus Notes 8.5.3 on Ubuntu 12.10 64bit – quick ‘n dirty installation notes

2012/11/09

Warning: This guide might break your system!

Some quick notes below based on your feedback. I havent had any time to go through this in detail.

Also check this guide for installing on 32bit system: http://www-10.lotus.com/ldd/dominowiki.nsf/dx/Notes_8.5.3_FP2_on_Ubuntu_12.10

Extract installation files to current folder and modify them according to previous guide: https://usablesoftware.wordpress.com/2012/05/04/install-lotus-notes-8-5-3-on-ubuntu-12-04-64bit/

Here comes the installation:

sudo apt-get install libgnomeprintui2.2-0 ia32-libs ttf-xfree86-nonfree t1-xfree86-nonfree xterm

wget https://launchpad.net/~jcollins/+archive/jaminppa/+build/1482994/+files/getlibs_2.06-0ubuntu1%7Eppa2_all.deb

sudo dpkg -i getlibs_2.06-0ubuntu1~ppa2_all.deb

mkdir /usr/lib32

sudo getlibs -p libgnomeprintui2.2-0 libgnomeprint2.2-0 libgnomevfs2-0 libgnomeui-0 libxkbfile1 libstartup-notification0 libsepol1 libselinux1 libgsf-1-114 libgsf-1-dev librsvg2-2 librsvg2-common libavahi-client3 libavahi-common3 libavahi-glib1 libbonoboui2-0 libcroco3 libdbus-1-3 libdbus-glib-1-2 libgnome2-0 libgnomecanvas2-0 libgnome-keyring0 libgnome-menu2 libesd0 gtk2-engines libgnome-desktop-2-17 libmotif4 libavahi-glib1 gtk2-engines-oxygen gtk2-engines-qtcurve gtk2-engines-murrine gtk2-engines-equinox alsa-base alsa-utils iproute liborbit2 libbonobo2-0 libgconf2-4 libx11-6 libxt6 libxext6 libc6 libgcc1 libgtk2.0-0 libxkbfile1 libglib2.0-0 libstdc++6 bash libart-2.0-2 libpopt0 libgnomeui-0 gnome-keyring:i386 libjpeg62

ln -s /usr/lib/i386-linux-gnu/i386-linux-gnu/* /usr/lib32

dpkg -i ibm-lotus-notes-8.5.3.i586.deb
dpkg -i ibm-lotus-sametime-8.5.3.i586.deb

wget https://github.com/sgh/lotus-notes_gtk2.23.3/raw/d3492c997bc7a92b895fa1369d4743a8e20b56b5/Makefile

wget https://github.com/sgh/lotus-notes_gtk2.23.3/raw/d3492c997bc7a92b895fa1369d4743a8e20b56b5/libnotesgtkfix.c

wget https://github.com/sgh/lotus-notes_gtk2.23.3/raw/d3492c997bc7a92b895fa1369d4743a8e20b56b5/notes-wrapper

sudo apt-get install g++-multilib libgtk2.0-dev
sudo sed -i ‘s/gcc -Wall -Wextra `pkg/gcc -Wall -Wextra -m32 `pkg/g’ Makefile
make
sudo cp notes-wrapper libnotesgtkfix.so /opt/ibm/lotus/notes/
chmod 755 /opt/ibm/lotus/notes/notes-wrapper

ln -s /lib32/i386-linux-gnu/libpopt.so.0 /usr/lib32/
wget http://www.benkevan.com/upload/lotus_notes/libgdk-x11-2.0.so.0

 wget http://www.benkevan.com/upload/lotus_notes/libgdk_pixbuf-2.0.so.0

 wget http://www.benkevan.com/upload/lotus_notes/libgdk_pixbuf_xlib-2.0.so.0

 wget http://www.benkevan.com/upload/lotus_notes/libgtk-x11-2.0.so.0
sudo mv *.so.0 /opt/ibm/lotus/notes

ln -s /usr/lib32/i386-linux-gnu/libgnomevfs-2.so.0 /opt/ibm/lotus/notes/
ln -s /usr/lib32/i386-linux-gnu/* /opt/ibm/lotus/notes/
ln -s /lib32/i386-linux-gnu/libpopt.so.0 /opt/ibm/lotus/notes/

[Update]

Updated after testing guide on a freshly installed Linux Mint 14 64bit

Install Lotus Notes 8.5.3 on Ubuntu 12.04 64bit

2012/05/04

So here finally it comes – more detailed installation instructions. This time for the 64bit version of Precise Pangolin.

First uninstall all previous versions. Do this by “dpkg -l | grep lotus” then do “dpkg –purge name-of-lotus-package”. Also I cannot guarantee that the installation of 32bit libraries will not destroy aanyting else.

1) Create a folder for the files. In this case

mkdir ~/LN853install

cd ~/LN853install


2) Copy all Lotus files you want to install

tar xvf /media/externaldrive/Software/LotusNotes853/lotus_notes853_linuxUb_en.tar

@amd64:/home/anders/LN853install# ls -la

total 538676

drwxr-xr-x  2 root   root        4096 May  4 07:40 .

drwxr-xr-x 74 anders anders      4096 May  4 07:39 ..

-rwx——  1 root   root     5015238 Sep 16  2011 ibm-lotus-activities-8.5.3.i586.deb

-rwx——  1 root   root     3933118 Sep 16  2011 ibm-lotus-cae-8.5.3.i586.deb

-rwx——  1 root   root      108796 Sep 16  2011 ibm-lotus-feedreader-8.5.3.i586.deb

-rwx——  1 root   root   342247046 Sep 16  2011 ibm-lotus-notes-8.5.3.i586.deb

-rwx——  1 root   root    52945926 Sep 16  2011 ibm-lotus-sametime-8.5.3.i586.deb

-rwx——  1 root   root   146089190 Sep 16  2011 ibm-lotus-symphony-8.5.3.i586.deb

-rwx——  1 root   root     1218560 Sep 16  2011 license.tar

-rwx——  1 root   root        6815 Sep 16  2011 smartupgrade.sh

3) Modify packages to get them installed
Right click on ibm-lotus-notes-8.5.3.i586.deb in Nautilus and select Extract Here.
Navigate to folder, LN853install/ibm-lotus-notes-8.5.3.i586/DEBIAN. Right click on file control and select Open With Text Editor.
Remove all text after Pre-depends, Depends, Conflicts, Replaces:
Delete the original ibm-lotus-notes-8.5.3.i586.deb file. And open a terminal windows and navigate to /home/anders/LN853install and issue this command:
dpkg-deb -b ibm-lotus-notes-8.5.3.i586
dpkg-deb: building package `ibm-lotus-notes:i386′ in `ibm-lotus-notes-8.5.3.i586.deb’.



Now delete the folder:
rm -rf ibm-lotus-notes-8.5.3.i586

4) Install extra libraries

sudo apt-get install libgnomeprintui2.2-0 ia32-libs ttf-xfree86-nonfree t1-xfree86-nonfree

5) Install getlibs

wget https://launchpad.net/~jcollins/+archive/jaminppa/+build/1482994/+files/getlibs_2.06-0ubuntu1%7Eppa2_all.deb

sudo dpkg -i getlibs_2.06-0ubuntu1~ppa2_all.deb
Selecting previously deselected package getlibs.
(Reading database … 206259 files and directories currently installed.)
Unpacking getlibs (from getlibs_2.06-0ubuntu1~ppa2_all.deb) …
Setting up getlibs (2.06-0ubuntu1~ppa2) …

6) Install compatibility libraries (some may not be needed, plz help me update this)

Hmm, /usr/lib32 seems to be replaced with /usr/lib/i386-linux-gnu/

See: https://help.ubuntu.com/community/MultiArch

I am a but unsure if the following part destroys anything. Please do not do this if you are unsure, wait for better instructions in coming blog post!

sudo ln -s /usr/lib/i386-linux-gnu /usr/lib32

OR if unsure do this:

sudo mkdir /usr/lib32

Install command:

sudo getlibs -p libgnomeprintui2.2-0 libgnomeprint2.2-0 libgnomevfs2-0 libgnomeui-0 libxkbfile1 libstartup-notification0 libsepol1 libselinux1 libgsf-1-114 libgsf-1-dev librsvg2-2 librsvg2-common libavahi-client3 libavahi-common3 libavahi-glib1 libbonoboui2-0 libcroco3 libdbus-1-3 libdbus-glib-1-2  libgnome2-0 libgnomecanvas2-0 libgnome-keyring0 libgnome-menu2 libesd0 gtk2-engines libgnome-desktop-2-17 libmotif4 libmotif3 libgnome-desktop-3-0 libavahi-glib1 gtk2-engines-oxygen gtk2-engines-aurora gtk2-engines-qtcurve  gtk2-engines-murrine gtk2-engines-equinox  alsa-base alsa-utils iproute libgnome-desktop-3-2 liborbit2 libbonobo2-0 libgconf2-4 libx11-6 libxt6 libxext6  libc6  libgcc1  libgtk2.0-0  libxkbfile1 libglib2.0-0  libstdc++6 bash libart-2.0-2 libpopt0 libgnomeui-0


7) Install Lotus Notes and Sametime etc

dpkg -i ibm-lotus-notes-8.5.3.i586.deb

dpkg -i ibm-lotus-feedreader-8.5.3.i586.deb

dpkg -i ibm-lotus-sametime-8.5.3.i586.deb

8) We are not really there yet

sudo apt-get install g++-multilib libgtk2.0-dev


9) GDK Fix

wget https://github.com/sgh/lotus-notes_gtk2.23.3/raw/d3492c997bc7a92b895fa1369d4743a8e20b56b5/Makefile

wget https://github.com/sgh/lotus-notes_gtk2.23.3/raw/d3492c997bc7a92b895fa1369d4743a8e20b56b5/libnotesgtkfix.c

wget https://github.com/sgh/lotus-notes_gtk2.23.3/raw/d3492c997bc7a92b895fa1369d4743a8e20b56b5/notes-wrapper

Important: Note that the ‘ before s and after g is of type that is straight. Not that it is a backquote before pkg

sudo sed -i ‘s/gcc -Wall -Wextra `pkg/gcc -Wall -Wextra -m32 `pkg/g’ Makefile

make

chmod +x notes-wrapper

sudo cp notes-wrapper libnotesgtkfix.so /opt/ibm/lotus/notes/

Important: Note that the ‘ before s and after g is of type that is straight.

sudo sed -i ‘s/../notes %F/../notes-wrapper %F/g’ /usr/share/applications/LotusNotes8.5.desktop


10) Make notes-wrapper file look like this

Change all references to /anders/ to /yourusername/ also be careful with quotes so they are correct

nano /opt/ibm/lotus/notes/notes-wrapper

#!/bin/sh

cd `dirname “$0″`

echo “setting locale …”

LANGUAGE=”en_US.UTF-8″

LC_ALL=”en_US.UTF-8″

LANG=”en_US.UTF-8″

export LANGUAGE LC_ALL LANG

echo “setting notes environment …”

NOTESBIN=/opt/ibm/lotus/notes

NOTESDATA=/home/anders/lotus/notes/data

NOTESDIR=/home/anders/lotus/notes

LD_LIBRARY_PATH=$NOTESBIN:/usr/lib/i386-linux-gnu:$NOTESBIN/jvm/bin/classic:$NOTESBIN/jvm/bin:$LD_LIBRARY_PATH

PATH=$NOTESBIN/jvm/bin:$NOTESBIN:$PATH

CLASSPATH=./:$NOTESBIN/:$CLASSPATH

export NOTESBIN NOTESDATA NOTESDIR LD_LIBRARY_PATH PATH CLASSPATH

#/opt/ibm/Workplace Managed Client/rcp/richclient -personality com.ibm.workplace.noteswc.standalone.linux.personality

echo “starting notes …”

LD_PRELOAD=`pwd`/libnotesgtkfix.so `pwd`/notes $*

11) Symlinks

sudo ln -s /usr/lib32/i386-linux-gnu/libgnomeui-2.so.0 /usr/lib32/libgnomeui-2.so.0
sudo ln -s /usr/lib32/i386-linux-gnu/libavahi-glib.so.1 /usr/lib32/libavahi-glib.so.1
sudo ln -s /lib32/i386-linux-gnu/libpopt.so.0 /usr/lib32/libpopt.so.0
sudo ln -s /usr/lib/i386-linux-gnu/gtk-2.0/modules/libcanberra-gtk-module.so /usr/lib32/libcanberra-gtk-module.so

sudo ln -s /usr/lib/i386-linux-gnu/i386-linux-gnu/libORBitCosNaming-2.so.0 /usr/lib32

sudo ln -s /usr/lib/i386-linux-gnu/i386-linux-gnu/libORBit-2.so.0 /usr/lib32


12) Speed it up

sudo sed -i ‘s/vmarg.Xmx=-Xmx256m/vmarg.Xmx=-Xmx768m/g’ /opt/ibm/lotus/notes/framework/rcp/deploy/jvm.properties


13) Go nag on IBM to make software that is more linux compatible!!

Testing Blogilo

2012/04/29

Using Ubuntu 12.04 I have installe Blogilo and hopefully it will work well with both images and syntax highlightning.

Here is an image:

Test
Here is some code:
if not then bla bla
end if

[Update] Image worked  well but no special support for syntax hightlightning or anything lite that.

Speed up Lotus Notes on Windows

2012/04/24

Here is VBScript code for setting the Java optimization flag for Lotus Notes on Windows, that you can use to speed up Lotus Notes in your company using Group Policies. It should work on Windows 7 and on Windows XP, both 32 and 64 bit.

Please give feedback if you have anything to add here. I would like to do a better script. When I tested this it worked as intended. I thing it breaks the jvp.properties file by changing the line break to Windows type (originally unix style). But Notes does not seem to mind this.

Thanks to Hogis for the original code and sorry that comments are in Swedish.

 

 

‘Speed up notes 2012-04-23

’0 Initiera variabler
Set objFSO = CreateObject(“Scripting.FileSystemObject”) ‘Laddar FSO (File System Object) för att hantera kataloger och filer lokalt.
Set oShell = CreateObject(“WScript.Shell”) ‘Laddar oShell för att bla kunna ta ut systemvariabler, “set-parametrar”.
Set objWMIService = GetObject(“winmgmts:{impersonationLevel=impersonate}!\\.\root\cimv2″) ‘Connectar WMI lokalt (Windows Management Instrumentation), för att hantera processer.
Set WshShell = WScript.CreateObject(“WScript.Shell”) ‘Laddar WshShell för att kunna starta en cmd-process.
Dim strProgramPath32
Dim strProgramPath64
strProgramPath32 = oShell.ExpandEnvironmentStrings(“%PROGRAMFILES%”) ‘Tar ut sökvägen till programkatalogen.
strProgramPath64 = oShell.ExpandEnvironmentStrings(“%PROGRAMFILES(x86)%”)
Const ForReading = 1
Const ForWriting = 2

On Error Resume Next ‘ Avbryt inte för errors

Const HKEY_CLASSES_ROOT         = &H80000000
Const HKEY_CURRENT_USER         = &H80000001
Const HKEY_LOCAL_MACHINE        = &H80000002
Const HKEY_USERS                = &H80000003
Const HKEY_CURRENT_CONFIG         = &H80000005
Set oRegistry=GetObject(“winmgmts:{impersonationLevel=impersonate}!\\.\root\default:StdRegProv”)

MemoryOptimizeNotes ‘Run this

Sub MemoryOptimizeNotes
Dim strJvmProp32
Dim strJvmProp64
Dim objFile
strJvmProp32 = strProgramPath32 & “\IBM\Lotus\Notes\framework\rcp\deploy\”
strJvmProp64 = strProgramPath64 & “\IBM\Lotus\Notes\framework\rcp\deploy\”

If objFSO.FolderExists(strJvmProp64) = True Then

Set objFSO = CreateObject(“Scripting.FileSystemObject”)
Set objFile = objFSO.OpenTextFile(strJvmProp64 & “jvm.properties”, ForReading)

strText = objFile.ReadAll
objFile.Close
strNewText = Replace(strText, “vmarg.Xmx=-Xmx256m”, “vmarg.Xmx=-Xmx768m”)

Set objFile = objFSO.OpenTextFile(strJvmProp64 & “jvm.properties”, ForWriting)
objFile.WriteLine strNewText
objFile.Close

ElseIf objFSO.FolderExists(strJvmProp32) = True Then

Set objFSO = CreateObject(“Scripting.FileSystemObject”)
Set objFile = objFSO.OpenTextFile(strJvmProp32 & “jvm.properties”, ForReading)

strText = objFile.ReadAll
objFile.Close
strNewText = Replace(strText, “vmarg.Xmx=-Xmx256m”, “vmarg.Xmx=-Xmx768m”)

Set objFile = objFSO.OpenTextFile(strJvmProp32 & “jvm.properties”, ForWriting)
objFile.WriteLine strNewText
objFile.Close

End If

End Sub

Speed up Lotus Notes 8.5.X with a oneliner

2012/04/23

Works only on linux of cource! :-)
cat /opt/ibm/lotus/notes/framework/rcp/deploy/jvm.properties | grep Xmx
> vmarg.Xmx=-Xmx256m

In the onliner below wordpress will thrash my single quotes and replace them with something useless. On my keyboard these single quotes are located directly to the left of the Enter key.

sudo sed -i ‘s/vmarg.Xmx=-Xmx256m/vmarg.Xmx=-Xmx768m/g’ /opt/ibm/lotus/notes/framework/rcp/deploy/jvm.properties

cat /opt/ibm/lotus/notes/framework/rcp/deploy/jvm.properties | grep Xmx

>vmarg.Xmx=-Xmx768m

Sametime standard server start/stop script on Gentoo linux

2011/12/19

Soon it is christmas and I hope to get some time to do a more automated install script for Lotus Notes on Ubuntu/Linux Mint etc. But in the meantime I have this which is a start/stop script for Sametime WebSphere servers on a Gentoo machine. This server hosts everything except the Sametime Community server. Everything works very well on a Gentoo 32bit server. I hade some trouble with installing DB2 and I had to manually create user db2admin, otherwise it works pretty well. Tell me about you experience installing Sametime WebSphere servers on Linux, I like to gather and publish information about this.

 

meetings ~ # cat /etc/init.d/sametime
#!/sbin/runscript

depend() {
         need net
}

start() {
        ebegin “Starting Sametime”
        su – db2admin -c “source ./sqllib/db2profile ; /home/db2admin/sqllib/adm/db2start”
        /opt/IBM/WebSphere/AppServer/profiles/STSCDMgrProfile/bin/startServer.sh dmgr
        /opt/IBM/WebSphere/AppServer/profiles/STSCAppProfile/bin/startServer.sh nodeagent
        /opt/IBM/WebSphere/AppServer/profiles/STSCAppProfile/bin/startServer.sh STConsoleServer
        /opt/IBM/WebSphere/AppServer/profiles/meetingsSTMSPNProfile1/bin/startServer.sh nodeagent
        /opt/IBM/WebSphere/AppServer/profiles/meetingsSTMSPNProfile1/bin/startServer.sh STMediaServer
        /opt/IBM/WebSphere/AppServer/profiles/webchatSTPPNProfile1/bin/startServer.sh nodeagent
        /opt/IBM/WebSphere/AppServer/profiles/webchatSTPPNProfile1/bin/startServer.sh STProxyServer
        /opt/IBM/WebSphere/AppServer/profiles/meetingsSTMPNProfile1/bin/startServer.sh nodeagent
        /opt/IBM/WebSphere/AppServer/profiles/meetingsSTMPNProfile1/bin/startServer.sh STMeetingServer
        /opt/IBM/WebSphere/AppServer/profiles/meetingsSTMPNProfile1/bin/startServer.sh STMeetingHttpProxy
        eend $?
}

stop() {
        ebegin “Stopping Sametime”
        /opt/IBM/WebSphere/AppServer/profiles/meetingsSTMSPNProfile1/bin/stopServer.sh STMediaServer
        /opt/IBM/WebSphere/AppServer/profiles/meetingsSTMSPNProfile1/bin/stopServer.sh nodeagent
        /opt/IBM/WebSphere/AppServer/profiles/meetingsSTMPNProfile1/bin/stopServer.sh STMeetingServer
        /opt/IBM/WebSphere/AppServer/profiles/meetingsSTMPNProfile1/bin/stopServer.sh STMeetingHttpProxy
        /opt/IBM/WebSphere/AppServer/profiles/meetingsSTMPNProfile1/bin/stopServer.sh nodeagent
        /opt/IBM/WebSphere/AppServer/profiles/webchatSTPPNProfile1/bin/stopServer.sh STProxyServer
        /opt/IBM/WebSphere/AppServer/profiles/webchatSTPPNProfile1/bin/stopServer.sh nodeagent
        /opt/IBM/WebSphere/AppServer/profiles/STSCAppProfile/bin/stopServer.sh STConsoleServer
        /opt/IBM/WebSphere/AppServer/profiles/STSCAppProfile/bin/stopServer.sh nodeagent
        /opt/IBM/WebSphere/AppServer/profiles/STSCDMgrProfile/bin/stopServer.sh dmgr
        su – db2admin -c “source ./sqllib/db2profile ; /home/db2admin/sqllib/adm/db2stop”
        eend $?
}

meetings ~ # rc-update add sametime

KillNotes for Linux

2011/11/14

Use this command to kill all notes processes. It might be a little rough and kill other processes that you do not want to kill. Use with care!

pgrep -l notes | awk ‘{print $1}’ | xargs kill -9

In above command the ‘ is straight and not tilted.


Follow

Get every new post delivered to your Inbox.