•  
      request #11015 Imposible to log in (HTTP ERROR 500)
    Infos
    #11015
    Fabrice Larribe (teyssieuman)
    2018-01-16 16:49
    2018-01-16 15:40
    11348
    Details
    Imposible to log in (HTTP ERROR 500)
    Access to the login page --> OK
    Login attempt --> HTTP ERROR 500

    Version 9.16.99.66-1.el6


    [root@sds-0lyg ~]# tail /var/log/httpd/access_log
    10.74.29.189 - - [16/Jan/2018:15:40:59 +0100] "GET /themes/BurningParrot/images/favicon/orange/favicon-16x16.png HTTP/1.1" 200 385
    sds-0lyg.wks.era.sds.safran 10.74.29.189 - - [16/Jan/2018:15:40:59 +0100] "GET /themes/BurningParrot/images/favicon/orange/favicon-16x16.png HTTP/1.1" 200 385
    10.74.29.189 - - [16/Jan/2018:15:40:59 +0100] "GET /themes/BurningParrot/images/favicon/orange/favicon-96x96.png HTTP/1.1" 200 1164
    sds-0lyg.wks.era.sds.safran 10.74.29.189 - - [16/Jan/2018:15:40:59 +0100] "GET /themes/BurningParrot/images/favicon/orange/favicon-96x96.png HTTP/1.1" 200 1164
    10.74.29.189 - - [16/Jan/2018:15:40:59 +0100] "GET /themes/BurningParrot/images/favicon/orange/android-chrome-192x192.png HTTP/1.1" 200 1477
    sds-0lyg.wks.era.sds.safran 10.74.29.189 - - [16/Jan/2018:15:40:59 +0100] "GET /themes/BurningParrot/images/favicon/orange/android-chrome-192x192.png HTTP/1.1" 200 1477
    10.74.29.189 - - [16/Jan/2018:15:40:59 +0100] "GET /themes/BurningParrot/images/favicon/orange/favicon-194x194.png HTTP/1.1" 200 2256
    sds-0lyg.wks.era.sds.safran 10.74.29.189 - - [16/Jan/2018:15:40:59 +0100] "GET /themes/BurningParrot/images/favicon/orange/favicon-194x194.png HTTP/1.1" 200 2256
    10.74.29.189 - - [16/Jan/2018:15:41:02 +0100] "POST /account/login.php HTTP/1.1" 500 -
    sds-0lyg.wks.era.sds.safran 10.74.29.189 - - [16/Jan/2018:15:41:02 +0100] "POST /account/login.php HTTP/1.1" 500 -

    [root@sds-0lyg ~]# tail /var/log/httpd/error_log
    [Tue Jan 16 15:36:02 2018] [notice] SELinux policy enabled; httpd running as context unconfined_u:system_r:httpd_t:s0
    [Tue Jan 16 15:36:02 2018] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
    [Tue Jan 16 15:36:02 2018] [warn] RSA server certificate CommonName (CN) `sds-0lyg' does NOT match server name!?
    [Tue Jan 16 15:36:02 2018] [notice] Digest: generating secret for digest authentication ...
    [Tue Jan 16 15:36:02 2018] [notice] Digest: done
    [Tue Jan 16 15:36:02 2018] [warn] RSA server certificate CommonName (CN) `sds-0lyg' does NOT match server name!?
    [Tue Jan 16 15:36:02 2018] [notice] Apache/2.2.15 (Unix) DAV/2 mod_ssl/2.2.15 OpenSSL/1.0.1e-fips PHP/5.3.3 SVN/1.6.11 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
    [Tue Jan 16 15:36:25 2018] [error] [client 10.74.29.189] PHP Fatal error: Call to undefined function hash_equals() in /usr/share/tuleap/src/common/include/CSRFSynchronizerToken.php on line 116, referer: https://sds-0lyg.wks.era.sds.safran/account/login.php
    [Tue Jan 16 15:36:47 2018] [error] [client 10.74.29.189] PHP Fatal error: Call to undefined function hash_equals() in /usr/share/tuleap/src/common/include/CSRFSynchronizerToken.php on line 116, referer: https://sds-0lyg.wks.era.sds.safran/
    [Tue Jan 16 15:41:02 2018] [error] [client 10.74.29.189] PHP Fatal error: Call to undefined function hash_equals() in /usr/share/tuleap/src/common/include/CSRFSynchronizerToken.php on line 116, referer: https://sds-0lyg.wks.era.sds.safran/

    [root@sds-0lyg ~]# tail "/home/f269858/supervisord.log"
    2017-08-04 15:07:42,314 INFO received SIGCLD indicating a child quit
    2017-08-04 15:07:43,231 CRIT received SIGTERM indicating exit request
    2017-08-04 15:14:46,478 CRIT Supervisor running as root (no user in config file)
    2017-08-04 15:14:46,483 INFO daemonizing the process
    2017-08-04 15:14:46,484 INFO set current directory: '/usr/lib/node_modules/tuleap-realtime/'
    2017-08-04 15:14:46,484 INFO supervisord started with pid 16731
    2017-08-04 15:14:46,486 INFO spawned: 'tuleap-realtime' with pid 16733
    2017-08-04 15:14:46,711 INFO exited: tuleap-realtime (exit status 1; not expected)
    2017-08-04 15:14:46,711 INFO received SIGCLD indicating a child quit
    2017-08-04 15:14:47,579 CRIT received SIGTERM indicating exit request

    Do you need more ?
    Upgrade process
    9.16
    CentOS 6
    • [ ] enhancement
    • [ ] internal improvement
    Fabrice Larribe (teyssieuman), plamont (arthursafran)
    Stage
    Empty
    Declined
    2018-01-16
    Attachments
    Empty
    References

    Follow-ups

    User avatar
    Thomas Gerbet (tgerbet)2018-01-16 16:49
    last edited by: Thomas Gerbet (tgerbet) 2018-01-16 16:50
    It's currently not configurable through the helper tool. You will need to adapt your Apache configuration (/etc/httpd/conf/httpd.conf and /etc/httpd/conf.d/tuleap-vhost.conf) and the nginx one (/etc/nginx/conf.d/tuleap.conf).
    I close this issue as it was related to something documented in the deployment guide.
    For information, a fix is currently under review to make the initial error message more explicit (see request #11016).

    • Status changed from New to Declined
    • Close date set to 2018-01-16
    User avatar
    My 8080 port is already in use ( Jenkins )

    Can I change the port requested by tuleap ?

    How can I do that ?
    User avatar
    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    User avatar
    Now I get another problem :

    [root@sds-0lyg ~]# /usr/share/tuleap/tools/utils/php56/run.php
    info Configure Tuleap for PHP 5.6 / FPM and Nginx
    info [fpm] Start configuration in /etc/opt/rh/rh-php56/php-fpm.d/
    info [fpm] Configuration done!
    info [nginx] Start configuration
    info [nginx] Deploy configuration chunks in /etc/nginx
    info [nginx] Deploy configuration chunks in /etc/nginx/conf.d/tuleap.d
    info [nginx] Deploy configuration chunks in /etc/nginx/conf.d/tuleap-plugins
    info [nginx] Configuration done!
    info [apache] Start apache configuration
    info [apache] Configuration done!
    info Configuration completed
    [root@sds-0lyg ~]# service httpd restart
    Arrêt de httpd : [ OK ]
    Démarrage de httpd : (98)Address already in use: make_sock: could not bind to address 127.0.0.1:8080
    no listening sockets available, shutting down
    Unable to open logs
    [ÉCHOUÉ]
    [root@sds-0lyg ~]#
    User avatar
    [root@sds-0lyg ~]# tail /var/log/httpd/access_log
    10.74.29.189 - - [16/Jan/2018:15:40:59 +0100] "GET /themes/BurningParrot/images/favicon/orange/favicon-16x16.png HTTP/1.1" 200 385
    sds-0lyg.wks.era.sds.safran 10.74.29.189 - - [16/Jan/2018:15:40:59 +0100] "GET /themes/BurningParrot/images/favicon/orange/favicon-16x16.png HTTP/1.1" 200 385
    10.74.29.189 - - [16/Jan/2018:15:40:59 +0100] "GET /themes/BurningParrot/images/favicon/orange/favicon-96x96.png HTTP/1.1" 200 1164
    sds-0lyg.wks.era.sds.safran 10.74.29.189 - - [16/Jan/2018:15:40:59 +0100] "GET /themes/BurningParrot/images/favicon/orange/favicon-96x96.png HTTP/1.1" 200 1164
    10.74.29.189 - - [16/Jan/2018:15:40:59 +0100] "GET /themes/BurningParrot/images/favicon/orange/android-chrome-192x192.png HTTP/1.1" 200 1477
    sds-0lyg.wks.era.sds.safran 10.74.29.189 - - [16/Jan/2018:15:40:59 +0100] "GET /themes/BurningParrot/images/favicon/orange/android-chrome-192x192.png HTTP/1.1" 200 1477
    10.74.29.189 - - [16/Jan/2018:15:40:59 +0100] "GET /themes/BurningParrot/images/favicon/orange/favicon-194x194.png HTTP/1.1" 200 2256
    sds-0lyg.wks.era.sds.safran 10.74.29.189 - - [16/Jan/2018:15:40:59 +0100] "GET /themes/BurningParrot/images/favicon/orange/favicon-194x194.png HTTP/1.1" 200 2256
    10.74.29.189 - - [16/Jan/2018:15:41:02 +0100] "POST /account/login.php HTTP/1.1" 500 -
    sds-0lyg.wks.era.sds.safran 10.74.29.189 - - [16/Jan/2018:15:41:02 +0100] "POST /account/login.php HTTP/1.1" 500 -

    [root@sds-0lyg ~]# tail /var/log/httpd/error_log
    [Tue Jan 16 15:36:02 2018] [notice] SELinux policy enabled; httpd running as context unconfined_u:system_r:httpd_t:s0
    [Tue Jan 16 15:36:02 2018] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
    [Tue Jan 16 15:36:02 2018] [warn] RSA server certificate CommonName (CN) `sds-0lyg' does NOT match server name!?
    [Tue Jan 16 15:36:02 2018] [notice] Digest: generating secret for digest authentication ...
    [Tue Jan 16 15:36:02 2018] [notice] Digest: done
    [Tue Jan 16 15:36:02 2018] [warn] RSA server certificate CommonName (CN) `sds-0lyg' does NOT match server name!?
    [Tue Jan 16 15:36:02 2018] [notice] Apache/2.2.15 (Unix) DAV/2 mod_ssl/2.2.15 OpenSSL/1.0.1e-fips PHP/5.3.3 SVN/1.6.11 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
    [Tue Jan 16 15:36:25 2018] [error] [client 10.74.29.189] PHP Fatal error: Call to undefined function hash_equals() in /usr/share/tuleap/src/common/include/CSRFSynchronizerToken.php on line 116, referer: https://sds-0lyg.wks.era.sds.safran/account/login.php
    [Tue Jan 16 15:36:47 2018] [error] [client 10.74.29.189] PHP Fatal error: Call to undefined function hash_equals() in /usr/share/tuleap/src/common/include/CSRFSynchronizerToken.php on line 116, referer: https://sds-0lyg.wks.era.sds.safran/
    [Tue Jan 16 15:41:02 2018] [error] [client 10.74.29.189] PHP Fatal error: Call to undefined function hash_equals() in /usr/share/tuleap/src/common/include/CSRFSynchronizerToken.php on line 116, referer: https://sds-0lyg.wks.era.sds.safran/

    [root@sds-0lyg ~]# tail "/home/f269858/supervisord.log"
    2017-08-04 15:07:42,314 INFO received SIGCLD indicating a child quit
    2017-08-04 15:07:43,231 CRIT received SIGTERM indicating exit request
    2017-08-04 15:14:46,478 CRIT Supervisor running as root (no user in config file)
    2017-08-04 15:14:46,483 INFO daemonizing the process
    2017-08-04 15:14:46,484 INFO set current directory: '/usr/lib/node_modules/tuleap-realtime/'
    2017-08-04 15:14:46,484 INFO supervisord started with pid 16731
    2017-08-04 15:14:46,486 INFO spawned: 'tuleap-realtime' with pid 16733
    2017-08-04 15:14:46,711 INFO exited: tuleap-realtime (exit status 1; not expected)
    2017-08-04 15:14:46,711 INFO received SIGCLD indicating a child quit
    2017-08-04 15:14:47,579 CRIT received SIGTERM indicating exit request

    Do you need more ?