Symlinking [Fermé]

Signaler
-
 Dragireo -
Bonjour, tres tres urgent,

j'ai ces messages la, je comprend pas ce que c : symlinking

[root@reseau pro]# rpm -iv tomcat4-4.0.3-1.noarch.rpm
attention: tomcat4-4.0.3-1.noarch.rpm: signature V3 RSA/MD5: NOKEY, key ID 697ec edd
Préparation des paquetages pour l'installation...
tomcat4-4.0.3-1
symlinking /usr/share/java/servlet-2.3.jar to /var/tomcat4/common/lib/servlet.ja r
symlinking /usr/share/java/jakarta-regexp-1.2.jar to /var/tomcat4/server/lib
symlinking /usr/share/java/xerces.jar to /var/tomcat4/common/lib/

Don't forget to setup vars in /etc/tomcat4/conf/tomcat4.conf to
adapt the RPM to your JDK for example.
As supplied we assume you're using IBM JDK 1.3.0

For security purposes, tomcat is no more activated by
default so don't forget to use chkconfig under root :
/sbin/chkconfig --add tomcat4

3 réponses

Messages postés
40805
Date d'inscription
jeudi 28 août 2003
Statut
Modérateur
Dernière intervention
10 août 2020
4 871
Salut,

C'est des liens symboliques, voir "man ln" pour plus de détails.
merci, voila, quand , je veux stopper Tomcat, ça me donne ça

[root@resea root]# service tomcat4 stop
Stopping tomcat4: Using CATALINA_BASE: /var/tomcat4
Using CATALINA_HOME: /var/tomcat4
Using CATALINA_TMPDIR: /var/tomcat4/temp
Using JAVA_HOME: /usr/local/j2sdk1.3.1

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

Catalina.stop: java.net.ConnectException: Connexion refusée
java.net.ConnectException: Connexion refusée
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:320)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:133)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:120)
at java.net.Socket.<init>(Socket.java:273)
at java.net.Socket.<init>(Socket.java:100)
at org.apache.catalina.startup.Catalina.stop(Catalina.java:831)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:683)
at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
[ÉCHOUÉ]
[root@rezomanu root]#
apres avoir fait RM le fichier /tmp/.X3-lock; quand , je veux stopper tomcat, voila, le resultat.

[root@resea root]# service tomcat4 stop
Stopping tomcat4: Using CATALINA_BASE: /var/tomcat4
Using CATALINA_HOME: /var/tomcat4
Using CATALINA_TMPDIR: /var/tomcat4/temp
Using JAVA_HOME: /usr/local/j2sdk1.3.1
_XSERVTransSocketINETCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running

Fatal server error:
Cannot establish any listening sockets - Make sure an X server isn't already running
Catalina.stop: java.net.ConnectException: Connexion refusée
java.net.ConnectException: Connexion refusée
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:320)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:133)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:120)
at java.net.Socket.<init>(Socket.java:273)
at java.net.Socket.<init>(Socket.java:100)
at org.apache.catalina.startup.Catalina.stop(Catalina.java:831)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:683)
at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
[ÉCHOUÉ]