abiword: error while loading shared libraries: libgoffice-0.8.so.7: cannot open shared object file: No such file or directory

abiword: error while loading shared libraries: libgoffice-0.8.so.7: cannot open shared object file: No such file or directory

şeklinde bir hata alıyorsanız muhtemelen debian testing kullanıyorsunuzdur :D .

Çözüm için öncelikli olarak sisteminizde libgoffice kurulu olduğundan emin olun.

benim sistemimde bu şekilde görüyorum.

# ls -al /usr/lib/libgoffice-0.8.so.*
lrwxrwxrwx 1 root root      23 2010-02-26 09:59 /usr/lib/libgoffice-0.8.so.8 -> libgoffice-0.8.so.8.0.0
-rw-r--r-- 1 root root 1124636 2010-02-15 14:59 /usr/lib/libgoffice-0.8.so.8.0.0

Çözüm için root yetkileriyle

# ln -s /usr/lib/libgoffice-0.8.so.8 /usr/lib/libgoffice-0.8.so.7

komutu ile mevcut olan libgoffice dosyasına link oluşturun daha sonra abiword çalışacaktır

Not aynı hata mesajını gnumeric ile de alıyorsanız bu yöntem işinizi görecektir

Bookmark and Share
Tags: , , , ,

Related posts

Linux

Comments (1)

Permalink

debian utc ayarı

makinanızda hem linux hem windows kullanıyorsanız, kurmuş olduğunuz debian siteminde windows ile saat uymuyorsa muhtemelen utc ayarını düzenlemeniz gerekmektedir.

vim /etc/default/rcS

komutu ile dosyayı açın ve

UTC=yes

satırını bulup

UTC=no

yapın. sistemi yeniden başlattığınızda ve saati tekrar ayarladığınızda artık saat uyuşmazlığınız çözülmüş olacaktır.

Bookmark and Share
Tags: , , ,

Related posts

Linux

Comments (0)

Permalink

SqlTools Linux üzerine kurma

Öncelikle Sqltools indiriyoruz.

sistemimizde wine kuruluysa direkt olarak tıklayıp kurabiliriz.
wine yoksa
sudo apt-get install wine
ile kuruyoruz.
Oracle instant client a ihtiyaç duyucaz, instantclient-basic-win32-11.1.0.7.0.zip. basic versiyonu indiriyoruz. Tabi benim veritabanım türkçe encoding de eğer ingilizce ise veritabanınız daha ufak olan basic-lite paketini indirebilirsiniz.
ev dizinimizdeki
.wine/drive_c/Program Files/SQLTools 1.42/ dizinine gidip instantclient-basic-win32-11.1.0.7.0.zip dosyasını buraya açıyoruz.
instantclient_11_1 dizinine açıcaktır. içindekileri üst dizine taşıyın.

daha sonra wine Sqltools.exe komutuyla ya da ana menudeki wine grubundan SQLtools u çalıştırabilirsiniz.

Bookmark and Share
Tags: , , , , ,

Related posts

Linux
oracle

Comments (0)

Permalink

Linux sistemlerinde benchmark (SysBench)

Test uyguladığım benchmark programları içinde sunucu konfigurasyonu test için en hoşuma giden paket SysBench oldu.

Peki SysBench ile neleri test edebiliriz?

dosya I/O performansını
hafıza ayırma ve transfer hızını
POSIX threadleri performansını
mysql database server performansını

Benchmarkımızu kullanmak için

ubuntu veya debian kullanıyorsak

sudo apt-get install sysbench dememiz yeterli, kaynaktan kurmak istersek;

SourceForge SysBench yansısından
kaynak kodlarımız inidiyoruz.

tar -zxvf sysbench-0.4.12.tar.gz

komutu ile açıyoruz.

cd sysbench-0.4.12
./configure
make
make install

komutları ile sisteme kuruyoruz.

örnek komutlar:

fileio için;
$ sysbench --num-threads=16 --test=fileio --file-total-size=3G --file-test-mode=rndrw prepare
$ sysbench --num-threads=16 --test=fileio --file-total-size=3G --file-test-mode=rndrw run
$ sysbench --num-threads=16 --test=fileio --file-total-size=3G --file-test-mode=rndrw cleanup

ilk komut 3 gb lık dosya hazırlıyor test için, ikinci testleri gerçekleştiriyor, üçüncü de geçici dosyaları siliyor.

hafıza için;
$ sysbench --num-threads=16 --test=memory --memory-block-size=4K --memory-total-size=4G
(memtest paketi daha iyi bu iş için)

threadler için;
sysbench --num-threads=64 --test=threads --thread-yields=100 --thread-locks=2 run

cpu için;
sysbench --test=cpu --cpu-max-prime=20000 run
asal sayı hesabı ile test ediyor.

mysql için;
$ sysbench --test=oltp --mysql-table-type=myisam --oltp-table-size=1000000 --mysql-socket=/tmp/mysql.sock prepare
$ sysbench --num-threads=16 --max-requests=100000 --test=oltp --oltp-table-size=1000000 --mysql-socket=/tmp/mysql.sock --oltp-read-only run

testi anlamak için aynı makinada farklı kernellerle test edebilirsiniz.

örnek çıktı;
ripper@ubuntu:~$ sysbench --test=cpu --cpu-max-prime=20000 run
sysbench 0.4.10: multi-threaded system evaluation benchmark

Running the test with following options:
Number of threads: 1

Doing CPU performance benchmark

Threads started!
Done.

Maximum prime number checked in CPU test: 20000

Test execution summary:
total time: 36.1809s
total number of events: 10000
total time taken by event execution: 36.1756
per-request statistics:
min: 3.60ms
avg: 3.62ms
max: 5.70ms
approx. 95 percentile: 3.62ms

Threads fairness:
events (avg/stddev): 10000.0000/0.00
execution time (avg/stddev): 36.1756/0.00

karşılaştırmak istersek 16 threadle

ripper@ubuntu:~$ sysbench --test=cpu --cpu-max-prime=20000 --num-threads=16 run
sysbench 0.4.10: multi-threaded system evaluation benchmark

Running the test with following options:
Number of threads: 16

Doing CPU performance benchmark

Threads started!
Done.

Maximum prime number checked in CPU test: 20000

Test execution summary:
total time: 9.1494s
total number of events: 10000
total time taken by event execution: 144.8304
per-request statistics:
min: 3.60ms
avg: 14.48ms
max: 147.61ms
approx. 95 percentile: 63.75ms

Threads fairness:
events (avg/stddev): 625.0000/107.60
execution time (avg/stddev): 9.0519/0.05

Bookmark and Share
Tags: , , , , , , , , , ,

Related posts

Bilgi Ve Deneyim
Linux

Comments (0)

Permalink

ati radeon debian bios güncellemesi sonrası

(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:17:0) found
(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:18:0) found
(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:18:1) found
(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:18:2) found
(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:19:0) found
(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:19:1) found
(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:19:2) found
(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:20:0) found
(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:20:2) found
(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:20:3) found
(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:20:4) found
(WW) fglrx: No matching Device section for instance (BusID PCI:0@1:5:1) found
(WW) fglrx: No matching Device section for instance (BusID PCI:0@2:0:1) found
(**) ChipID override: 0x9612
(**) Chipset Supported AMD Graphics Processor (0x9612) found
(II) AMD Video driver is running on a device belonging to a group targeted for this release
(II) AMD Video driver is signed

bios güncellemesinden sonra yukarıdaki gibi bir hata alıyorsanız, önce ati sürücüsünü yeniden yükleyin sonra makinayı yeniden başlatın.

Bookmark and Share
Tags: , , , ,

Related posts

Bilgi Ve Deneyim
Linux

Comments (0)

Permalink

debian xlock

testing versiyonda xlock içeren xlockmore paketi kaldırılmış

eğer xlock kullanmak istiyorsanız http://snapshot.debian.net/archive/2007/01/17/debian/pool/main/x/xlockmore/ veya http://http.us.debian.org/debian/pool/main/x/xlockmore/ adresinden indirip dpkg ile kurabilirsiniz.

Bookmark and Share
Tags: , , ,

Related posts

Linux

Comments (0)

Permalink

xfce thunar svn entegrasyonu

Windows üzerinde tortoisesvn kullanıyorsanız xfce üzerinde de benzer bir ssiteme ihtiyacınız varsa önce sisteminize git kurun.

sonra sisteminize aşağıdaki paketleri kurun

Thunar
Thunar-VFS 0.4.0 veya daha üstü bir versiyon
Thunarx 0.4.0 veya daha üstü bir versiyon
libsvn 1.5 veya daha üstü bir versiyon
libapr 0.9.7 veya daha üstü bir versiyon
gtk 2.6.0 veya daha üstü bir versiyon
glib 2.6.0 veya daha üstü bir versiyon
gobject 2.6.0 veya daha üstü bir versiyon
git (uygulama)

daha sonra

git clone git://git.xfce.org/thunar-plugins/thunar-vcs-plugin
cd thunar-vcs-plugin
./autogen.sh
make install

Kurulum tamam. Aktif hale getirmek için

killall thunar Thunar

komutu ile açık thunar uygulamalarını öldürün. thunar ı yeniden açtığınızda thunar-vcs-plugin plugini aktif durumda olacaktır.

Eğer svn menüsü gelmediyse libsvn-dev paketini sisteminize yükleyin ve

./configure
make install
killall thunar Thunar
Bookmark and Share
Tags: , , , , , , , ,

Related posts

Linux
Yazılım

Comments (0)

Permalink

debian komut satırından static ip verme

tanımlı ağ bağlantılarını görmek için

# ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:0c:29:90:b5:46
          inet addr:192.168.0.85  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::20c:29ff:fe90:b546/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:139716 errors:0 dropped:0 overruns:0 frame:0
          TX packets:17482 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:169356342 (161.5 MiB)  TX bytes:1355703 (1.2 MiB)
          Interrupt:19 Base address:0x2000 

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:8 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:560 (560.0 B)  TX bytes:560 (560.0 B)

/etc/network/interfaces dosyası içersinden eth0 a 192.168.0.17 static ip adresini verecek örnek altta. ağ geçidi 192.168.0.1 olacak. dns sunucular 4.2.2.1, 4.2.2.2, 4.2.2.3 olacak

Not: dns ayarı için resolvconf yüklü olmalı

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
auto eth0
iface eth0 inet static
	address 192.168.0.17
	netmask 255.255.255.0
	network 192.168.0.0
	broadcast 192.168.0.255
	gateway 192.168.0.1
	dns-nameservers 4.2.2.1 4.2.2.2 4.2.2.3
Bookmark and Share
Tags: , , , ,

Related posts

Bilgi Ve Deneyim

Comments (0)

Permalink

2.6.3x kernellerinde vmware 7 kurulum sorunu

/tmp/vmware-root/modules/vmnet-only/vnetUserListener.c: In function ‘VNetUserListenerEventHandler’:
/tmp/vmware-root/modules/vmnet-only/vnetUserListener.c:240: error: ‘TASK_INTERRUPTIBLE’ undeclared (first use in this function)
/tmp/vmware-root/modules/vmnet-only/vnetUserListener.c:240: error: (Each undeclared identifier is reported only once
/tmp/vmware-root/modules/vmnet-only/vnetUserListener.c:240: error: for each function it appears in.)
/tmp/vmware-root/modules/vmnet-only/vnetUserListener.c: In function ‘VNetUserListenerRead’:
/tmp/vmware-root/modules/vmnet-only/vnetUserListener.c:282: error: ‘TASK_INTERRUPTIBLE’ undeclared (first use in this function)
/tmp/vmware-root/modules/vmnet-only/vnetUserListener.c:282: error: implicit declaration of function ‘signal_pending’
/tmp/vmware-root/modules/vmnet-only/vnetUserListener.c:282: error: implicit declaration of function ‘schedule’
make[4]: *** [/tmp/vmware-root/modules/vmnet-only/vnetUserListener.o] Error 1
make[3]: *** [_module_/tmp/vmware-root/modules/vmnet-only] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2

loglarda yukarıdaki şekilde bir hata varsa aşağıdaki komutları çalıştırın. (debian 2.6.32 kernel ile denenmiştir)

# cd /tmp
# tar xf /usr/lib/vmware/modules/source/vmnet.tar
# cd vmnet-only
# vim vnetUserListener.c

vim yerine başka bir editör kullanabilirsiniz. doyayı açtıktan sonra 37. satıra

#include "compat_sched.h"

yazın ve kaydedip çıkın. daha sonra

# cd /tmp
# tar cf /usr/lib/vmware/modules/source/vmnet.tar vmnet-only
# vmware-modconfig --console --install-all
Bookmark and Share
Tags: , ,

Related posts

Bilgi Ve Deneyim

Comments (1)

Permalink

debian üzerinde jboss kurulumu

öncelikli olarak debian kurulu bir sistem lazım tabiiki :) .

eğer denemek istiyorsanız şu adresten hazır bir sanal makina indirin (isterseniz biraz eski ama şu adreste hazır jboss kurulmuş sanal makina var)

sistem üzerinde jdk kurulumu yapın

http://www.jboss.org/jbossas/downloads/ adresinden jboss indirin. Ben 6.0.0.M1 (jboss-6.0.0.M1.zip) versiyonunu indirdim

kurulumu /usr/local altına yapacağız

işte komutlar

# cd /usr/local
# unzip jboss-6.0.0.M1.zip
# useradd jboss
# passwd jboss
# chown -R jboss:jboss jboss-6.0.0.M1
# su jboss
$ cd /usr/local/jboss-6.0.0.M1/bin
$ ./run.sh
=========================================================================

  JBoss Bootstrap Environment

  JBOSS_HOME: /usr/local/jboss-6.0.0.M1

  JAVA: java

  JAVA_OPTS: -Dprogram.name=run.sh -server -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.preferIPv4Stack=true

  CLASSPATH: /usr/local/jboss-6.0.0.M1/bin/run.jar

=========================================================================

................................

jboss çalıştı. şimdi bunu otomatik açılışa ekleyelim. kapatmak için Ctrl-C tuşlarına basabilirsiniz.

# cd /etc/init.d/
# vim jboss

ile jboss dosyasını açın ve içine

#!/bin/sh
# /etc/init.d/jboss: Start and stop JBoss AS
ECHO=/bin/echo
TEST=/usr/bin/test
JBOSS_START_SCRIPT=/usr/local/jboss-6.0.0.M1/bin/run.sh
JBOSS_STOP_SCRIPT=/usr/local/jboss-6.0.0.M1/bin/shutdown.sh

$TEST -x $JBOSS_START_SCRIPT || exit 0
$TEST -x $JBOSS_STOP_SCRIPT || exit 0

start() {
      $ECHO -n "Starting JBoss"
      su jboss -c "$JBOSS_START_SCRIPT -b 0.0.0.0> /dev/null 2> /dev/null &"
      $ECHO "."
}

stop() {
      $ECHO -n "Stopping JBoss"
      su jboss -c "$JBOSS_STOP_SCRIPT -S > /dev/null &"
      $ECHO "."
}

case "$1" in
      start)
            start
            ;;
      stop)
            stop
            ;;
      restart)
            stop
            sleep 30
            start
            ;;
      *)
            $ECHO "Usage: jboss {start|stop|restart}"
            exit 1
esac

exit 0

yazın sonra aşağıdaki komutlar ile çalışıp çalışmadığını kontrol edelim

# chmod 755 jboss
# ./jboss
Usage: jboss {start|stop|restart}
# ./jboss start
Starting JBoss.
# ps aux | grep java
# ./jboss stop
Stopping JBoss.

sonra otomatik açılışa atalım

# update-rc.d jboss defaults
update-rc.d: warning: /etc/init.d/jboss missing LSB information
update-rc.d: see <http://wiki.debian.org/LSBInitScripts>
 Adding system startup for /etc/init.d/jboss ...
   /etc/rc0.d/K20jboss -> ../init.d/jboss
   /etc/rc1.d/K20jboss -> ../init.d/jboss
   /etc/rc6.d/K20jboss -> ../init.d/jboss
   /etc/rc2.d/S20jboss -> ../init.d/jboss
   /etc/rc3.d/S20jboss -> ../init.d/jboss
   /etc/rc4.d/S20jboss -> ../init.d/jboss
   /etc/rc5.d/S20jboss -> ../init.d/jboss

şimdi makinayı yeniden başlatın ve sistemi deneyin

unutmadan jboss konsolunun kullanıcı ve şifresi admin

Bookmark and Share
Tags: , , ,

Related posts

Bilgi Ve Deneyim

Comments (0)

Permalink

Switch to our mobile site