Join the community today
Become a Member

Wordpress 22 Menu not working

Discussion in 'Blogs & CMS usage' started by Yohan, Oct 11, 2015.

  1. Yohan

    Yohan Member

    68
    3
    8
    Sep 24, 2015
    Ratings:
    +4
    Local Time:
    6:43 PM
    1.9.x
    MariaDB 10
    I install frash copy on frash Centos 7 ... i try to add test domain ... but its wont work .. im with Centmin MO letast stable and PHP . 5.6.14

    Code:
    Enter email address for Wordpress Installation: my@gmail.com
    Create FTP username for vhost domain (enter username): onlyhiphop
    Do you want to auto generate FTP password (recommended) [y/n]: y
    
    FTP username you entered: onlyhiphop
    FTP password auto generated: xx
    
    mysqladmin: connect to server at 'localhost' failed
    error: 'Access denied for user 'root'@'localhost' (using password: YES)'
    ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: Y                                                                                                             ES)
    ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: Y                                                                                                             ES)
    Password:
    Enter it again: Error.
    Check that [onlyhiphop] doesn't already exist,
    and that [/etc/pure-ftpd/pureftpd.passwd.tmp] can be written.
    
    /usr/local/nginx/conf/htpasswd.sh create /home/nginx/domains/onlyhiphop.info/htp                                                                                                             asswd_wplogin ux0/MleMCSCGKJx3897 p3+rFg7zx
    
    /home/nginx/domains/onlyhiphop.info/htpasswd_wplogin contents:
    ux0/MleMCSCGKJx3897:$apr1$fFVFxU2uQX2Y94lIhc0/9d/
    ------------------------------------------------------------
    Setup Wordpress + Super Cache for onlyhiphop.info
    ------------------------------------------------------------
    Downloading WordPress 4.3.1 (en_US)...
    Using cached file '/root/.wp-cli/cache/core/wordpress-4.3.1-en_US.tar.gz'...
    Success: WordPress downloaded.
    ERROR 1045 (28000): Access denied for user 'wpdb7913u9764'@'localhost' (using pa                                                                                                             ssword: YES)
    sed: can't read wp-config.php: No such file or directory
    sed: can't read wp-config.php: No such file or directory
    0 */4 * * * /usr/bin/cminfo_updater
    */15 * * * * sleep 198s ; wget -O - -q -t 1 http://onlyhiphop.info/wp-cron.php?d                                                                                                             oing_wp_cron=1 > /dev/null 2>&1
    0 */8 * * * sleep 147s ;/root/tools/wp_updater_onlyhiphop.info.sh 2>/dev/null
    */15 * * * * sleep 271s ; wget -O - -q -t 1 http://onlyhiphop.info/wp-cron.php?d                                                                                                             oing_wp_cron=1 > /dev/null 2>&1
    Error: wp-config.php not found.
    Either create one manually or use `wp core config`.
    Error: wp-config.php not found.
    Either create one manually or use `wp core config`.
    Error: wp-config.php not found.
    Either create one manually or use `wp core config`.
    ------------------------------------------------------------
    Error: wp-config.php not found.
    Either create one manually or use `wp core config`.
    ------------------------------------------------------------
    ------------------------------------------------------------
    Error: wp-config.php not found.
    Either create one manually or use `wp core config`.
    ------------------------------------------------------------
    Error: wp-config.php not found.
    Either create one manually or use `wp core config`.
    ------------------------------------------------------------
    Error: wp-config.php not found.
    Either create one manually or use `wp core config`.
    ------------------------------------------------------------
    Error: wp-config.php not found.
    Either create one manually or use `wp core config`.
    ------------------------------------------------------------
    Error: wp-config.php not found.
    Either create one manually or use `wp core config`.
    ------------------------------------------------------------
    Error: wp-config.php not found.
    Either create one manually or use `wp core config`.
    ------------------------------------------------------------
    Error: wp-config.php not found.
    Either create one manually or use `wp core config`.
    ------------------------------------------------------------
    Error: wp-config.php not found.
    Either create one manually or use `wp core config`.
    ------------------------------------------------------------
    Error: wp-config.php not found.
    Either create one manually or use `wp core config`.
    ------------------------------------------------------------
    Error: wp-config.php not found.
    Either create one manually or use `wp core config`.
    ------------------------------------------------------------
    Error: wp-config.php not found.
    Either create one manually or use `wp core config`.
    ------------------------------------------------------------
    Error: wp-config.php not found.
    Either create one manually or use `wp core config`.
    ------------------------------------------------------------
    Error: wp-config.php not found.
    Either create one manually or use `wp core config`.
    ------------------------------------------------------------
    Error: wp-config.php not found.
    Either create one manually or use `wp core config`.
    ------------------------------------------------------------
    Error: wp-config.php not found.
    Either create one manually or use `wp core config`.
    ------------------------------------------------------------
    Error: wp-config.php not found.
    Either create one manually or use `wp core config`.
    ------------------------------------------------------------
    Error: wp-config.php not found.
    Either create one manually or use `wp core config`.
    ------------------------------------------------------------
    Error: wp-config.php not found.
    Either create one manually or use `wp core config`.
    ------------------------------------------------------------
    ------------------------------------------------------------
    Error: wp-config.php not found.
    Either create one manually or use `wp core config`.
    ------------------------------------------------------------
    Error: wp-config.php not found.
    Either create one manually or use `wp core config`.
    ------------------------------------------------------------
    Error: wp-config.php not found.
    Either create one manually or use `wp core config`.
    ------------------------------------------------------------
    Error: wp-config.php not found.
    Either create one manually or use `wp core config`.
    ------------------------------------------------------------
    Error: wp-config.php not found.
    Either create one manually or use `wp core config`.
    ------------------------------------------------------------
    Error: wp-config.php not found.
    Either create one manually or use `wp core config`.
    ------------------------------------------------------------
    Error: wp-config.php not found.
    Either create one manually or use `wp core config`.
    
    Error: wp-config.php not found.
    Either create one manually or use `wp core config`.
    ------------------------------------------------------------
    chmod: cannot access ‘wp-content/plugins/tpc-memory-usage/logs/tpcmem.log’: No s                                                                                                             uch file or directory
    sed: can't read wp-content/plugins/tpc-memory-usage/css/tpcmem.css: No such file                                                                                                              or directory
    cp: cannot stat ‘wp-content/plugins/wp-super-cache/wp-cache-config-sample.php’:                                                                                                              No such file or directory
    cp: cannot stat ‘wp-content/plugins/wp-super-cache/advanced-cache.php’: No such                                                                                                              file or directory
    

     
  2. Yohan

    Yohan Member

    68
    3
    8
    Sep 24, 2015
    Ratings:
    +4
    Local Time:
    6:43 PM
    1.9.x
    MariaDB 10
    I run below comment ... its that okay ? now seems its working

    Code:
    1) /etc/init.d/mysql stop
    
    2) mysqld_safe --skip-grant-tables &
    
    3) mysql -u root
    
    4) Setup new MySQL root user password
    use mysql;
    update user set password=PASSWORD("NEW-ROOT-PASSWORD") where User='root';
    flush privileges;
    quit
    
    5) Stop MySQL Server: /etc/init.d/mysql stop
    
    6) Start MySQL server and test it: mysql -u root -p
     
  3. eva2000

    eva2000 Administrator Staff Member

    28,923
    6,565
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,742
    Local Time:
    11:13 PM
    Nginx 1.13.x
    MariaDB 5.5
    yes if you reset mysql root like that it's fine, you will need to update /root/.my.cnf with new mysql root password too - you can see the list of config files for Centmin Mod at Centmin Mod Configuration Files - CentminMod.com LEMP Nginx web stack for CentOS

    you have 2 problems above
    Code:
    mysqladmin: connect to server at 'localhost' failed
    error: 'Access denied for user 'root'@'localhost' (using password: YES)'
    ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: Y                                                                                                             ES)
    ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: Y                                                                                                             ES)
    Password:
    Enter it again: Error.
    Check that [onlyhiphop] doesn't already exist,
    mysql root user password was incorrect or /root/.my.cnf file is missing so can not pass the mysql root password to mysqladmin client.

    may i ask what was the actual prior mysql root password ? could be a character in it that mysql server doesn't like so i can filter it out in future - you can find old root pass in /root/.my.cnf if you have not changed it yet

    2nd problem was pure-ftpd username you specified already existed