httpd start and stop failure without error CentOS5

Discussion in 'Server Operation' started by er.aneeshansari, Nov 4, 2014.

  1. er.aneeshansari

    er.aneeshansari New Member

    Hi All,

    i am facing issue in apache httpd

    when i am restarting httpd it is failure with out any error.

    after fallowing installation of phpMyAdmin

    # wget http:// sourceforge_net/projects/phpmyadmin/files/phpMyAdmin/2.11.11.3/phpMyAdmin-2.11.11.3-english.tar.gz/download
    tar xvfz phpMyAdmin-2.11.11.3-english.tar.gz
    mv phpMyAdmin-2.11.11.3-english phpmyadmin
    rm phpMyAdmin-2.11.11.3-english.tar.gz
    cd phpmyadmin
    cp config.sample.inc.php config.inc.php
    Edit the config.inc.php file, find the line that contain “blowfish_secret”, and modify like below.
    $cfg['blowfish_secret'] = ‘TypeAnything_for_Secure’;

    Append a line into the /etc/httpd/conf.d/phpmyadmin.conf file
    # echo “Alias /phpMyAdmin /usr/share/phpmyadmin” >> /etc/httpd/conf.d/phpmyadmin.conf
    Restart the httpd service
    # service httpd restart

    httpd -S Command Syntax is OK

    [root@server ~]# httpd -S
    VirtualHost configuration:
    07.11.19.210:80 is a NameVirtualHost
    default server xxxxxxx.com (/etc/httpd/conf/httpd.conf:992)
    port 80 namevhost xxxxxx.com (/etc/httpd/conf/httpd.conf:992)
    alias www.xxxxx.com
    alias xxxx.com
    port 80 namevhost zzzz.com (/etc/httpd/conf/httpd.conf:999)
    alias www.zzzz.com
    alias zzzzzz.com
    Syntax OK


    Thanks in advance,
    Aneesh
     
  2. srijan

    srijan New Member HowtoForge Supporter

    Why you are installing phpmyadmin with source code, it is available in the EPEL(CentOS 7.0) install epel with command

    Then install phpmyadmin as
     

Share This Page