Précédent   Forum des professionnels en informatique > Systèmes > Linux > Distributions > Fedora / Red hat
Fedora / Red hat Vos questions sur les distributions Fedora / Red Hat
Partagez cette discussion sur d'autres réseaux sociaux : Viadeo Twitter Google Facebook Digg Delicious MySpace Yahoo
Réponse Proposer ce sujet en actualité
 
Outils de la discussion
Publicité
'
Vieux 27/12/2010, 09h34   #1
Invité de passage
 
Inscription : septembre 2006
Messages : 13
Détails du profil
Informations forums :
Inscription : septembre 2006
Messages : 13
Points : 0
Points : 0
Par défaut problème installation de ant

Bonjour,

J'essaie d'installer red5 sur mon serveur (Linux, CentOS Linux 5.5, Webmin et Virtualmin sont installé).
étant novice j'essaye d'avancé tant bien que mal.
Cette installation normalement doit se dérouler en trois partie d’après les tutos que j'ai pu lire: install java, install ant pour apache, install red5.

pour le 1er point pas de pb, mais pour le 2eme il me dit:
Impossible d'installer le composant : Fichier RPM invalide
j'ai essaye avec d'autre source mais c'est pareil a chaque fois,
pouvez vous m'aider à avancé, merci.

Code :
1
2
3
4
5
 
cd /usr/src
wget http://mirrors.kahuki.com/apache/ant/binaries/apache-ant-1.8.1-bin.tar.bz2
tar jxvf apache-ant-1.8.1-bin.tar.bz2
mv apache-ant-1.8.1 /usr/local/ant
hervedum35 est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 07/01/2011, 19h01   #2
Invité de passage
 
Inscription : septembre 2006
Messages : 13
Détails du profil
Informations forums :
Inscription : septembre 2006
Messages : 13
Points : 0
Points : 0
Bonsoir,
depuis mon dernier j'ai avancé un peut et compris mon erreur, maintenant je suis confronté au pb suivant, quant je lance la commande :
J'ai l'erreur suivante:
Code :
1
2
3
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
En cherchant sur le web j'ai bien essayé de faire:
Code :
1
2
set ANT_OPTS=-Xms256M -Xmx512M
set JAVA_OPTS=-Xms256M -Xmx512M
Mais l'erreur est toujours là
Pouvez vous m'aider à avancer ? merci.
hervedum35 est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 07/01/2011, 21h47   #3
Expert Confirmé Sénior
 
Homme Laurent Willems
Expert Stop/Start
Inscription : septembre 2002
Messages : 2 544
Détails du profil
Informations personnelles :
Nom : Homme Laurent Willems
Âge : 33
Localisation : Belgique

Informations professionnelles :
Activité : Expert Stop/Start

Informations forums :
Inscription : septembre 2002
Messages : 2 544
Points : 4 249
Points : 4 249
Salut,

essaie comme ceci

Code :
1
2
3
 
export ANT_OPTS="-Xms256m -Xmx256m"
export JAVA_OPTS="-Xms256M -Xmx512M"
__________________
Alea Jacta Test!
Mygale1978 est déconnecté   Envoyer un message privé Réponse avec citation 10
Vieux 08/01/2011, 19h05   #4
Invité de passage
 
Inscription : septembre 2006
Messages : 13
Détails du profil
Informations forums :
Inscription : septembre 2006
Messages : 13
Points : 0
Points : 0
merci pour l'aide, j'ai essayé mais l'erreur est toujour là.
hervedum35 est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 08/01/2011, 20h52   #5
Expert Confirmé Sénior
 
Homme Laurent Willems
Expert Stop/Start
Inscription : septembre 2002
Messages : 2 544
Détails du profil
Informations personnelles :
Nom : Homme Laurent Willems
Âge : 33
Localisation : Belgique

Informations professionnelles :
Activité : Expert Stop/Start

Informations forums :
Inscription : septembre 2002
Messages : 2 544
Points : 4 249
Points : 4 249
Quelle est la taille de ta mémoire physique?

Code :
1
2
 
[user@localhost]$ cat /proc/meminfo

Code :
1
2
 
[user@localhost]$ free -m
__________________
Alea Jacta Test!
Mygale1978 est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 09/01/2011, 12h48   #6
Invité de passage
 
Inscription : septembre 2006
Messages : 13
Détails du profil
Informations forums :
Inscription : septembre 2006
Messages : 13
Points : 0
Points : 0
pour la 1ere cmd :
Code :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
MemTotal:      1048576 kB
MemFree:        611960 kB
Buffers:             0 kB
Cached:              0 kB
SwapCached:          0 kB
Active:              0 kB
Inactive:            0 kB
HighTotal:           0 kB
HighFree:            0 kB
LowTotal:      1048576 kB
LowFree:        611960 kB
SwapTotal:           0 kB
SwapFree:            0 kB
Dirty:               0 kB
Writeback:           0 kB
AnonPages:           0 kB
Mapped:              0 kB
Slab:                0 kB
PageTables:          0 kB
NFS_Unstable:        0 kB
Bounce:              0 kB
CommitLimit:         0 kB
Committed_AS:        0 kB
VmallocTotal:        0 kB
VmallocUsed:         0 kB
VmallocChunk:        0 kB
HugePages_Total:     0
HugePages_Free:      0
HugePages_Rsvd:      0
Hugepagesize:     2048 kB
et la 2ème:
Code :
1
2
3
4
             total       used       free     shared    buffers     cached
Mem:          1024        426        597          0          0          0
-/+ buffers/cache:        426        597
Swap:            0          0          0
hervedum35 est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 09/01/2011, 13h44   #7
Expert Confirmé Sénior
 
Homme Laurent Willems
Expert Stop/Start
Inscription : septembre 2002
Messages : 2 544
Détails du profil
Informations personnelles :
Nom : Homme Laurent Willems
Âge : 33
Localisation : Belgique

Informations professionnelles :
Activité : Expert Stop/Start

Informations forums :
Inscription : septembre 2002
Messages : 2 544
Points : 4 249
Points : 4 249
Peux-tu diminuer la heapsize et voir ce que ça donne?

Code :
1
2
3
4
 
[user@localhost]$ export ANT_OPTS="-Xms128m -Xmx256m"
[user@localhost]$ export JAVA_OPTS="-Xms128m -Xmx256m"
[user@localhost]$ ant -version
__________________
Alea Jacta Test!
Mygale1978 est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 09/01/2011, 15h40   #8
Invité de passage
 
Inscription : septembre 2006
Messages : 13
Détails du profil
Informations forums :
Inscription : septembre 2006
Messages : 13
Points : 0
Points : 0
au final j'ai ça:
Code :
1
2
3
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
hervedum35 est déconnecté   Envoyer un message privé Réponse avec citation 00
Réponse Proposer ce sujet en actualité
Outils de la discussion



Fuseau horaire GMT +2. Il est actuellement 09h50.


 
 
 
 
Partenaires

Hébergement Web