Konuyu görüntüle
IUCODERS FORUM > İşletim Sistemleri & Donanım & Network > UNIX,LINUX > Pardusa NS2 (Network Simulator) Kurulum Hatası
Yazar
halitoz


avatar
GÖKSUN
Kayıt: 19.11.2006
12.06.2009-19:51 #61092
Arkadaşlar pardusa NS2 programını kurmaya çalışıyorum. Daha önce kurmuştum ama formattan sonra kuramıyorum. Önce .x0-lock diye bir dosyayı kaldır diyor. Kaldırıyorum. Sonra aşağıdaki hatayı alıyorum. Netten bi cevap bulamadım. Fikri olan var mı acaba?
halit-pardus ns # startx
xauth:  creating new authority file /root/.serverauth.1993

Fatal server error:
Server is already active for display 0
        If this server is no longer running, remove /tmp/.X0-lock
        and start again.

halit-pardus ns #
halit-pardus ns # startx
xauth:  creating new authority file /root/.serverauth.2084
_XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running

Fatal server error:
Cannot establish any listening sockets - Make sure an X server isn't already running






YASASIN ZALiMLER iCiN CEHENNEM...




Yazar
ogencay


avatar
Istanbul
banlandı
Kayıt: 02.03.2006
12.06.2009-20:00 #61095







There`s No Place Like 127.0.0.1

Yazar
halitoz


avatar
GÖKSUN
Kayıt: 19.11.2006
12.06.2009-20:36 #61096
halit-pardus halit # ps aux | grep 'cat /tmp/.x0-lock'
root      2082  0.0  0.1   2344   780 pts/3    S+   20:34   0:00 grep --color cat /tmp/.x0-lock
halit-pardus halit # startx -- :1
xauth:  creating new authority file /root/.serverauth.2083

X.Org X Server 1.4.2
Release Date: 11 June 2008
X Protocol Version 11, Revision 0
Build Operating System: Pardus TÜBİTAK, UEKAE
Current Operating System: Linux halit-pardus 2.6.25.20-114 #1 SMP Mon Jan 19 15:02:57 EET 2009 i686
Build Date: 20 September 2008  01:25:58AM

        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.1.log", Time: Fri Jun 12 20:35:11 2009
(==) Using config file: "/etc/X11/xorg.conf"

(II) Module "ramdac" already built-in
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
>                   Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
Could not init font path element /usr/share/fonts/dejavu, removing from list!
Could not init font path element /usr/share/fonts/100dpi, removing from list!
Could not init font path element /usr/share/fonts/75dpi, removing from list!
Could not init font path element /usr/share/fonts/TTF, removing from list!
Could not init font path element /usr/share/fonts/Type1, removing from list!
/usr/lib/X11/xinit/xinitrc: line 49: xterm: command not found
/usr/lib/X11/xinit/xinitrc: line 50: xterm: command not found
/usr/lib/X11/xinit/xinitrc: line 51: exec: xterm: not found

waiting for X server to shut down FreeFontPath: FPE "/usr/share/fonts/misc/" refcount is 2, should be 1; fixing.







YASASIN ZALiMLER iCiN CEHENNEM...




Yazar
orhan


avatar
istanbul
admin
Kayıt: 17.11.2005
12.06.2009-22:35 #61103
startx komutu desktop ile alakalı birşey. ns2 ile alakası yok.





N/A
Yazar
halitoz


avatar
GÖKSUN
Kayıt: 19.11.2006
12.06.2009-23:11 #61110
orhan yazdi
 
startx komutu desktop ile alakalı birşey. ns2 ile alakası yok.


peki en son aldığım mesajı koydum. nasıl çalıştıracağım bu programı bi fikri olan var mı?





YASASIN ZALiMLER iCiN CEHENNEM...




Yazar
halitoz


avatar
GÖKSUN
Kayıt: 19.11.2006
13.06.2009-13:29 #61132
Arkadaşlar sorunumu buldum. Çözümünü de buldum ama anlamadım. Anlayıp yardım edebilecek var mı?
Linux Pardus
 
Problem: Things built OK but don't run because of missing shared libraries (for example, you get the message "can't load library 'libotcl.so'" or "fatal: libotcl.so: can't open file: errno=2" [from Solaris]) or "libotcl.so can not open shared object file: No such file or directory".

Solution: Many systems require that you do something special when installing new shared libraries. Shared-library loading is system-dependent, so consult the man page for ld(1) on your system. On many systems the program ``ldd'' can be used to diagnose shared-libary problems.

A couple of hints: many systems require that you set the environment LD_LIBRARY_PATH to specify where to look for shared libraries. So if (let's say), you get the above error with otcl shared library (libotcl.so), you should append the path to your libotcl.so (which typically would be in the directory you have installed and built otcl) to the LD_LIBRARY_PATH macro in your .cshrc file. Other systems require that you run ldconfig when using new libraries.






YASASIN ZALiMLER iCiN CEHENNEM...




Yazar
orhan


avatar
istanbul
admin
Kayıt: 17.11.2005
14.06.2009-11:58 #61147
bence pardusu komple salla ubuntu kur once.
daha sonra Synaptic ten

Tcl/Tk 8.4 yi kur

http://www.isi.edu/nsnam/ns/ns-build.html

şu sayfadaki otcl ve TclCL kaynak kodlarını indir. http://sourceforge.net/project/show...kage_id=22199&release_id=492753 bi dizine aç

./configure
make & make install

yap her ikisi için
daha sonra ns2 nin kaynak kodlarını da aynı şekilde derle ve yukle.
muhtemelen sen gerekli kütüphaneleri indirmeden kurulum yaptın.






N/A
Del.icio.us
Digg
Facebook
Furl
Google
Blink
Simpy
Spurl
Y! MyWeb