LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-20-2011, 12:38 PM   #1
rhbegin
Member
 
Registered: Oct 2003
Location: Arkansas, NWA
Distribution: Fedora/CentOS/SL6
Posts: 381

Rep: Reputation: 23
Unhappy Installed phpmyadmin on RHEL6 (64-bit)


I have hit a brick wall, I have RHEL6 (64-bit)

I have installed mysql-server php packages httpd

php-5.3.3-3.el6.x86_64
version of php

rpm -ivh http://download.fedora.redhat.com/pu...6-5.noarch.rpm
yum -y install phpmyadmin
phpMyAdmin-3.3.10-1.el6.noarch

added the 'Optional repo' for the dependencies for phpmyadmin to install successfully


commented out /etc/http/conf.d
#<Directory /usr/share/phpMyAdmin/>
# Order Deny,Allow
# Deny from All
# Allow from 127.0.0.1
# Allow from ::1
#</Directory>

#<Directory /usr/share/phpMyAdmin/setup/>
# Order Deny,Allow
# Deny from All
# Allow from 127.0.0.1
# Allow from ::1
#</Directory>

when I go to my service name and /phpmyadmin all I get is a blank page.

Has anyone had this problem, I read some with Ubuntu they changed the owner of the files. But with yum install 'package' it is owned by root, so it should be able to read it. I have not changed any permissions on these files and in my phpMyAdmin.conf it has
Alias /phpMyAdmin /usr/share/phpMyAdmin
Alias /phpmyadmin /usr/share/phpMyAdmin

Already in there.

What am I doing wrong, anyone have an idea?

Everywhere I have read, it should show the phpmyadmin once the steps above have been completed.

Last edited by rhbegin; 05-20-2011 at 12:40 PM. Reason: placed version of phpmyadmin
 
Old 05-20-2011, 01:43 PM   #2
lrtward
Member
 
Registered: Feb 2011
Distribution: CentOS, Ubuntu
Posts: 97

Rep: Reputation: 9
Quote:
Originally Posted by rhbegin View Post
I have installed mysql-server php packages httpd
You don't say exactly what packages you've installed; maybe you're missing something?
Here's what I have on my CentOS 5 64-bit system and it runs phpmyadmin happily.
Code:
# rpm -qa | grep php
php-common-5.2.10-1.el5.centos
php-mcrypt-5.2.9-2.el5.centos.3
php-mysql-5.2.10-1.el5.centos
php-cli-5.2.10-1.el5.centos
php-mbstring-5.2.10-1.el5.centos
php-pdo-5.2.10-1.el5.centos
php-5.2.10-1.el5.centos
php-gd-5.2.10-1.el5.centos
php-xml-5.2.10-1.el5.centos
php-ldap-5.2.10-1.el5.centos

# rpm -qa | grep mysql
php-mysql-5.2.10-1.el5.centos
mysql-server-5.0.77-4.el5_5.4
mysql-5.0.77-4.el5_5.4
mysql-5.0.77-4.el5_5.4

# rpm -qa | grep httpd
httpd-2.2.3-45.el5.centos.1
httpd-manual-2.2.3-45.el5.centos.1
httpd-devel-2.2.3-45.el5.centos.1
httpd-devel-2.2.3-45.el5.centos.1
system-config-httpd-1.3.3.3-1.el5
 
Old 05-20-2011, 02:04 PM   #3
rhbegin
Member
 
Registered: Oct 2003
Location: Arkansas, NWA
Distribution: Fedora/CentOS/SL6
Posts: 381

Original Poster
Rep: Reputation: 23
[root@dhbb01 ~]# uname -a
Linux dhbb01 2.6.32-131.0.15.el6.x86_64 #1 SMP Tue May 10 15:42:40 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux

RHEL6.0

[root@dhbb01 ~]# rpm -qa |grep php
php-common-5.3.3-3.el6.x86_64
php-gd-5.3.3-3.el6.x86_64
phpMyAdmin-3.3.10-1.el6.noarch
php-shout-0.9.2-6.el6.x86_64
php-soap-5.3.3-3.el6.x86_64
php-5.3.3-3.el6.x86_64
php-tidy-5.3.3-3.el6.x86_64
php-devel-5.3.3-3.el6.x86_64
php-xmlrpc-5.3.3-3.el6.x86_64
php-pdo-5.3.3-3.el6.x86_64
php-mysql-5.3.3-3.el6.x86_64
php-xml-5.3.3-3.el6.x86_64
php-mcrypt-5.3.2-3.el6.x86_64
php-imap-5.3.3-3.el6.x86_64
php-mssql-5.3.2-3.el6.x86_64
php-odbc-5.3.3-3.el6.x86_64
php-eaccelerator-0.9.6.1-1.el6.x86_64
php-cli-5.3.3-3.el6.x86_64
php-pear-1.9.0-2.el6.noarch
php-mbstring-5.3.3-3.el6.x86_64
php-magickwand-1.0.8-6.el6.x86_64
php-snmp-5.3.3-3.el6.x86_64
php-magpierss-0.72-6.el6.noarch
php-ldap-5.3.3-3.el6.x86_64

[root@dhbb01 ~]# rpm -qa |grep mysql
mysql-5.1.52-1.el6_0.1.x86_64
php-mysql-5.3.3-3.el6.x86_64
mysql-libs-5.1.52-1.el6_0.1.x86_64
mysql-server-5.1.52-1.el6_0.1.x86_64

[root@dhbb01 ~]# rpm -qa | grep http
httpd-tools-2.2.15-9.el6.x86_64
httpd-2.2.15-9.el6.x86_64

[root@dhbb01 ~]# rpm -qa phpMyAdmin
phpMyAdmin-3.3.10-1.el6.noarch

Last edited by rhbegin; 05-20-2011 at 02:14 PM.
 
Old 05-20-2011, 03:01 PM   #4
rhbegin
Member
 
Registered: Oct 2003
Location: Arkansas, NWA
Distribution: Fedora/CentOS/SL6
Posts: 381

Original Poster
Rep: Reputation: 23
I installed the repo and did a yum install on phpmyadmin.

Do you need any other packages I have installed?

thanks
 
Old 05-20-2011, 03:41 PM   #5
Noway2
Senior Member
 
Registered: Jul 2007
Distribution: Gentoo
Posts: 2,125

Rep: Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781
You should have a log file for Apache access and errors, that should be something like /var/log/apache2/access_log and /var/log/apache2/error_log. Try accessing the page and then see if you get an error message in these logs files. Also verify that you have read permissions on others.

When you installed the application, did a setup script run to help you configure things like the root password? If not, this may be part of the problem. Also, to ask a dumb question, does PHP otherwise work?
 
Old 05-20-2011, 05:55 PM   #6
rhbegin
Member
 
Registered: Oct 2003
Location: Arkansas, NWA
Distribution: Fedora/CentOS/SL6
Posts: 381

Original Poster
Rep: Reputation: 23
I did check php and it does work, I will have to check the error logs.

A setup script did not run for the root password, but all I get is a 'blank page', I did comment out the 127.0.0.1 deny from all section.

[Fri May 20 17:53:24 2011] [error] [client dhbb01 ] Directory index forbidden by Options directive: /var/www/html/
this is from the error log

*** I can bring up the Red Hat Linux Test Page by the machine or IP name...
When I type in machinename/phpmyadmin - it is a blank page

I can post the httpd.conf if you need it and the phpMyAdmin.conf


from the info.php (in /var/www/html
PHP Version 5.3.3

Last edited by rhbegin; 05-20-2011 at 05:58 PM.
 
Old 05-20-2011, 06:33 PM   #7
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
Please post again after you do check the error log. (/var/log/httpd/error_log, by default.) If the log is not helpful, then set LogLevel info in httpd.conf, restart httpd, and try again for better error details.

Are you using open_basedir with PHP?

How did you test PHP? With a phpinfo() page?
 
Old 05-20-2011, 06:44 PM   #8
rhbegin
Member
 
Registered: Oct 2003
Location: Arkansas, NWA
Distribution: Fedora/CentOS/SL6
Posts: 381

Original Poster
Rep: Reputation: 23
Quote:
Originally Posted by anomie View Post
Please post again after you do check the error log. (/var/log/httpd/error_log, by default.) If the log is not helpful, then set LogLevel info in httpd.conf, restart httpd, and try again for better error details.

Are you using open_basedir with PHP?

How did you test PHP? With a phpinfo() page?
[root@dhbb01 httpd]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.1 (Santiago)

I tested php with the following:

[root@dhbb01 html]# cat info.php
<?php
phpinfo();
?>



PHP Version 5.3.3


System Linux dhbb01 2.6.32-131.0.15.el6.x86_64 #1 SMP Tue May 10 15:42:40 EDT 2011 x86_64
Build Date Jan 21 2011 09:39:37

It does work and it displays the php version.

This is from my /var/www/httpd/error_log (I changed the logging to debug)...
[Fri May 20 18:41:55 2011] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.3.3 mod_ssl/2.2.15 OpenSSL/1.0.0-fips configured -- resuming normal operations
[Fri May 20 18:41:55 2011] [info] Server built: Apr 9 2011 08:58:28
[Fri May 20 18:41:55 2011] [debug] prefork.c(1018): AcceptMutex: sysvsem (default: sysvsem)
[Fri May 20 18:41:55 2011] [debug] proxy_util.c(1818): proxy: grabbed scoreboard slot 0 in child 6580 for worker proxy:reverse
[Fri May 20 18:41:55 2011] [debug] proxy_util.c(1837): proxy: worker proxy:reverse already initialized
[Fri May 20 18:41:55 2011] [debug] proxy_util.c(1934): proxy: initialized single connection worker 0 in child 6580 for (*)
[Fri May 20 18:42:10 2011] [notice] child pid 6575 exit signal Segmentation fault (11)
[Fri May 20 18:42:12 2011] [notice] child pid 6573 exit signal Segmentation fault (11)



[Fri May 20 18:41:55 2011] [info] Server built: Apr 9 2011 08:58:28
[Fri May 20 18:41:55 2011] [debug] prefork.c(1018): AcceptMutex: sysvsem (default: sysvsem)
[Fri May 20 18:41:55 2011] [debug] proxy_util.c(1818): proxy: grabbed scoreboard slot 0 in child 6580 for worker proxy:reverse
[Fri May 20 18:41:55 2011] [debug] proxy_util.c(1837): proxy: worker proxy:reverse already initialized
[Fri May 20 18:41:55 2011] [debug] proxy_util.c(1934): proxy: initialized single connection worker 0 in child 6580 for (*)
[Fri May 20 18:42:10 2011] [notice] child pid 6575 exit signal Segmentation fault (11)
[Fri May 20 18:42:12 2011] [notice] child pid 6573 exit signal Segmentation fault (11)
[Fri May 20 18:43:04 2011] [error] [client 199.92.2.xx] Directory index forbidden by Options directive: /var/www/html/
[Fri May 20 18:43:04 2011] [error] [client 199.92.2.xx] File does not exist: /var/www/html/favicon.ico


the log above is from the hostname (Red Hat Enterprise Linux test page)... the forbidden is because I do not have an index.html (I am pretty sure)...

Last edited by rhbegin; 05-20-2011 at 06:47 PM.
 
Old 05-20-2011, 09:31 PM   #9
rhbegin
Member
 
Registered: Oct 2003
Location: Arkansas, NWA
Distribution: Fedora/CentOS/SL6
Posts: 381

Original Poster
Rep: Reputation: 23
http://ubuntuforums.org/archive/inde...t-1247945.html

I found this I get the same error:

child pid 17482 exit signal Segmentation fault

Would it be better to run 32 bit???
 
Old 05-22-2011, 03:45 PM   #10
rhbegin
Member
 
Registered: Oct 2003
Location: Arkansas, NWA
Distribution: Fedora/CentOS/SL6
Posts: 381

Original Poster
Rep: Reputation: 23
Has anyone installed and made phpMyAdmin work on Scientific Linux 6/RHEL6 ?
 
Old 05-23-2011, 07:59 AM   #11
rhbegin
Member
 
Registered: Oct 2003
Location: Arkansas, NWA
Distribution: Fedora/CentOS/SL6
Posts: 381

Original Poster
Rep: Reputation: 23
Exclamation

Quote:
Originally Posted by lrtward View Post
You don't say exactly what packages you've installed; maybe you're missing something?
Here's what I have on my CentOS 5 64-bit system and it runs phpmyadmin happily.
Code:
# rpm -qa | grep php
php-common-5.2.10-1.el5.centos
php-mcrypt-5.2.9-2.el5.centos.3
php-mysql-5.2.10-1.el5.centos
php-cli-5.2.10-1.el5.centos
php-mbstring-5.2.10-1.el5.centos
php-pdo-5.2.10-1.el5.centos
php-5.2.10-1.el5.centos
php-gd-5.2.10-1.el5.centos
php-xml-5.2.10-1.el5.centos
php-ldap-5.2.10-1.el5.centos

# rpm -qa | grep mysql
php-mysql-5.2.10-1.el5.centos
mysql-server-5.0.77-4.el5_5.4
mysql-5.0.77-4.el5_5.4
mysql-5.0.77-4.el5_5.4

# rpm -qa | grep httpd
httpd-2.2.3-45.el5.centos.1
httpd-manual-2.2.3-45.el5.centos.1
httpd-devel-2.2.3-45.el5.centos.1
httpd-devel-2.2.3-45.el5.centos.1
system-config-httpd-1.3.3.3-1.el5
I am going back to CentOS5.6 64-bit what repo's do I need to use to be able to 'yum install phpmyadmin'
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to install phpmyadmin on Scientific Linux 6 (64-bit) rhbegin Linux - Software 2 05-20-2011 07:15 AM
why kernel can not compile kvm.ko for 32-bit rhel6 litianzhi Red Hat 1 04-30-2011 10:18 AM
Install RHEL6 32 bit harshaabba Linux - Server 9 02-16-2011 03:52 AM
Need to know if an AMD 64-bit laptop is ok to buy to install rhel6 jsethi Red Hat 7 12-09-2010 06:44 PM
libmowgli installed but rhel6.0 beta1 does not detect it. rahulvishwakarma Linux - Software 1 09-16-2010 02:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration