Welcome to Centmin Mod Community
Register Now

PHPMyAdmin Error

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by xaitmi, Apr 25, 2015.

  1. xaitmi

    xaitmi Member

    35
    3
    8
    Jan 18, 2015
    Ratings:
    +3
    Local Time:
    3:52 PM
    Hi I just installed a centminmod on a fresh centos 6 server, and installed the phpmyadmin found here

    phpmyadmin.sh Centmin Mod Addon


    After I enter my .htaccess details I get

    502 ERROR

    Bad Gateway


    nginx

    root@web1 addons]# cat /var/log/nginx/localhost_ssl.error.log

    2015/04/24 19:49:15 [crit] 4617#0: *3 connect() to unix:/tmp/phpfpm_myadmin.sock failed (13: Permission denied) while connecting to upstream, client: 99.XX.XX.XX, server: web1.SERVER.com, request: "GET /5881_mysqladmin28267/ HTTP/1.1", upstream: "fastcgi://unix:/tmp/phpfpm_myadmin.sock:", host: "web1.SERVER.com"

    2015/04/24 19:49:17 [crit] 4617#0: *3 connect() to unix:/tmp/phpfpm_myadmin.sock failed (13: Permission denied) while connecting to upstream, client: 9.XX.XX.XX, server: web1.SERVER.com, request: "GET /5881_mysqladmin28267/ HTTP/1.1", upstream: "fastcgi://unix:/tmp/phpfpm_myadmin.sock:", host: "web1.SERVER.com"

    2015/04/24 19:49:43 [crit] 4617#0: *3 connect() to unix:/tmp/phpfpm_myadmin.sock failed (13: Permission denied) while connecting to upstream, client: 9.XX.XX.XX, server: web1.SERVER.com, request: "GET /5881_mysqladmin28267/ HTTP/1.1", upstream: "fastcgi://unix:/tmp/phpfpm_myadmin.sock:", host: "web1.SERVER.com"

    [root@web1 addons]#
     
  2. xaitmi

    xaitmi Member

    35
    3
    8
    Jan 18, 2015
    Ratings:
    +3
    Local Time:
    3:52 PM
  3. eva2000

    eva2000 Administrator Staff Member

    53,488
    12,130
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,671
    Local Time:
    5:52 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    well problem was

    Code:
     unix:/tmp/phpfpm_myadmin.sock failed (13: Permission denied)
     
  4. xaitmi

    xaitmi Member

    35
    3
    8
    Jan 18, 2015
    Ratings:
    +3
    Local Time:
    3:52 PM
    How would I fix that issue?

    I was logged in as root and just installed phpmyadmin
     
  5. eva2000

    eva2000 Administrator Staff Member

    53,488
    12,130
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,671
    Local Time:
    5:52 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    what version of centmin mod .07 or .08 beta ? php version ?

    output of these commands after you try installing phpmyadmin.sh again (changing 5881_mysqladmin28267 to the new directory name)

    Code:
    ls -lah /tmp
    ls -lah /tmp/phpfpm_myadmin.sock
    cat /usr/local/nginx/conf/php_5881_mysqladmin28267.conf
    cat /usr/local/nginx/conf/phpmyadmin.conf
    cat /usr/local/nginx/conf/phpmyadmin_https.conf
    cat /usr/local/nginx/conf/phpfpmd/phpfpm_myadmin.conf