View previous topic :: View next topic |
Author |
Message |
xaviermiller Bodhisattva
Joined: 23 Jul 2004 Posts: 8708 Location: ~Brussels - Belgique
|
Posted: Wed May 15, 2013 8:36 am Post subject: [apache] Crashes (RESOLU: activer le USE nss) |
|
|
Hello,
Quand je lance apache 2.4.4-r3 sur mon atom, j'ai des segfaults.
Ca se termine comme ceci: Quote: | gettimeofday({1368598430, 9341}, NULL) = 0
epoll_create1(EPOLL_CLOEXEC) = 8
epoll_ctl(8, EPOLL_CTL_ADD, 4, {...}) = 0
semop(1769498, {{0, -1, SEM_UNDO}}, 1) = 0
accept4(4, {sa_family=AF_INET6, sin6_port=htons(55266), inet_pton(AF_INET6, "::1", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, [28], SOCK_CLOEXEC) = 9
semop(1769498, {{0, 1, SEM_UNDO}}, 1) = 0
getsockname(9, {sa_family=AF_INET6, sin6_port=htons(80), inet_pton(AF_INET6, "::1", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, [28]) = 0
fcntl64(9, F_GETFL) = 0x2 (flags O_RDWR)
fcntl64(9, F_SETFL, O_RDWR|O_NONBLOCK) = 0
read(9, "GET / HTTP/1.1\r\nHost: n0n4m3.alc"..., 8000) = 327
gettimeofday({1368598432, 684568}, NULL) = 0
stat64("/var/www/localhost/htdocs/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/var/www/localhost/htdocs/.htaccess", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/var/www/localhost/htdocs/index.html", {st_mode=S_IFREG|0644, st_size=45, ...}) = 0
open("/var/www/localhost/htdocs/index.html", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 10
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_ACCERR, si_addr=0x8064450} ---
+++ killed by SIGSEGV +++ |
Le strace est sur http://pastealacon.com/32308
emerge --info : http://pastealacon.com/32309
J'ai la même config sur un ~amd64 sans souci.
Avec la version 2.2, j'ai encore beaucoup plus de soucis : "no port to listen, cannot open the logs".
Avez-vous des idées ? _________________ Kind regards,
Xavier Miller
Last edited by xaviermiller on Wed May 15, 2013 10:17 am; edited 1 time in total |
|
Back to top |
|
|
xaviermiller Bodhisattva
Joined: 23 Jul 2004 Posts: 8708 Location: ~Brussels - Belgique
|
Posted: Wed May 15, 2013 9:11 am Post subject: |
|
|
Apparemment, apache 2.4 est une misère. Je vais tenter de résoudre les autres problèmes de la 2.2, qui semblent plus de l'apanage d'une configuration par défaut pourrie. _________________ Kind regards,
Xavier Miller |
|
Back to top |
|
|
El_Goretto Moderator
Joined: 29 May 2004 Posts: 3169 Location: Paris
|
Posted: Wed May 15, 2013 9:12 am Post subject: |
|
|
Idéealakon : changer tes cflags Passer à native & co. Le -mtune=generic n'est pas référencé comme "safe" sur le N270. bon, ceci dit, je ne suis pas un expert gcc, mais bon, native, c'est le bien.
Et (naturellement) juste vérifier la liste des processus en écoute sur le réseau, pour vérifier qu'il n'y a pas un détritus qui traîne d'une précédente exécution.
Question: c'est un noyau hardened? _________________ -TrueNAS & jails: µ-serv Gen8 E3-1260L, 16Go ECC + µ-serv N40L, 10Go ECC
-Réseau: APU2C4 (OpenWRT) + GS726Tv3 + 2x GS108Tv2 + Archer C5v1 (OpenWRT) |
|
Back to top |
|
|
xaviermiller Bodhisattva
Joined: 23 Jul 2004 Posts: 8708 Location: ~Brussels - Belgique
|
Posted: Wed May 15, 2013 9:16 am Post subject: |
|
|
Utilisant distcc, native n'est pas une bonne idée. Les flags sont ceux remontés par GCC quand il exécute "-march=native".
C'est la toute première fois que j'ai des crashes en quelques années. Cet atom a 4 ans et jamais je n'ai touché à ces cflags.
EDIT: je ne me fie pas à gentoo-wiki, c'est trop obsolète. Et cet article "safe cflags" est plutôt creux, vu qu'il ne prône quasimment que "-march=native -mtune=native". Et ce n'est pas parce que ce n'est pas mentionné là que ce n'est pas safe _________________ Kind regards,
Xavier Miller |
|
Back to top |
|
|
boozo Advocate
Joined: 01 Jul 2004 Posts: 3193
|
|
Back to top |
|
|
xaviermiller Bodhisattva
Joined: 23 Jul 2004 Posts: 8708 Location: ~Brussels - Belgique
|
Posted: Wed May 15, 2013 10:01 am Post subject: |
|
|
Hmm, je vais essayer, au moins d'activer nss dans apr-utils (il est aussi mentionné dans icedtea, pas envie de l'activer maintenant). _________________ Kind regards,
Xavier Miller |
|
Back to top |
|
|
xaviermiller Bodhisattva
Joined: 23 Jul 2004 Posts: 8708 Location: ~Brussels - Belgique
|
Posted: Wed May 15, 2013 10:16 am Post subject: |
|
|
Boozo, je te dois une chope si tu es de passage dans le coin (127.0.0.1)
J'ai activé le USE="nss" pour apr-utils et apache 2.4 m'affiche "It Works!".
Résoudu, donc _________________ Kind regards,
Xavier Miller |
|
Back to top |
|
|
xaviermiller Bodhisattva
Joined: 23 Jul 2004 Posts: 8708 Location: ~Brussels - Belgique
|
|
Back to top |
|
|
boozo Advocate
Joined: 01 Jul 2004 Posts: 3193
|
|
Back to top |
|
|
xaviermiller Bodhisattva
Joined: 23 Jul 2004 Posts: 8708 Location: ~Brussels - Belgique
|
Posted: Wed May 15, 2013 10:58 am Post subject: |
|
|
Weps, j'ai répondu dans son fil.
Merci quand même _________________ Kind regards,
Xavier Miller |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|