LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-03-2012, 03:53 AM   #1
eminempark
Member
 
Registered: Oct 2012
Posts: 56

Rep: Reputation: Disabled
phpmyadmin problem


Hi all,

I want to ask about the basic information. I have find in all of the links. But unable to solve my problems. I want to use phpmyadmin. But the funny thing is:
I am able to load
Code:
http://localhost/phpinfo.php
BUT I am unable to load
Code:
http://localhost/phpMyAdmin/
with this error:
Code:
Not Found

The requested URL /phpMyAdmin/ was not found on this server.
Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.26 with Suhosin-Patch Server at localhost Port 80
Please help me. I have reinstall many times. But it doesn´t working.
 
Old 10-03-2012, 08:38 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Tried lowercase URI?

*Also please give proper host and service hardening a thought before exposing the machine.
 
Old 10-03-2012, 08:10 PM   #3
eminempark
Member
 
Registered: Oct 2012
Posts: 56

Original Poster
Rep: Reputation: Disabled
Hi unSpawn,

I have tried the lowercase, but it still cannot. Can you brief me about this: Also please give proper host and service hardening a thought before exposing the machine.

Thank you so much for reply.
 
Old 10-03-2012, 08:20 PM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by eminempark View Post
I have tried the lowercase, but it still cannot.
OK. Tell us how you've installed it (commands and output please). Let's get to the hardening questions after you've found your stuff.
 
Old 10-03-2012, 08:41 PM   #5
eminempark
Member
 
Registered: Oct 2012
Posts: 56

Original Poster
Rep: Reputation: Disabled
Here is my step:

Code:
sudo apt-get install apache2
sudo apt-get install mysql-server
sudo apt-get install phpmyadmin
Thats all
 
Old 10-03-2012, 09:02 PM   #6
eminempark
Member
 
Registered: Oct 2012
Posts: 56

Original Poster
Rep: Reputation: Disabled
Here is the output:

Code:
xubuntos2@xubuntos2-desktop:/etc/apache2/conf.d$ sudo apt-get install apache2
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libmcrypt4
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  apache2-mpm-worker apache2-utils apache2.2-common libapr1 libaprutil1 libpq5
Suggested packages:
  apache2-doc
The following NEW packages will be installed:
  apache2 apache2-mpm-worker apache2-utils apache2.2-common libapr1 libaprutil1 libpq5
0 upgraded, 7 newly installed, 0 to remove and 256 not upgraded.
Need to get 0B/1733kB of archives.
After this operation, 5894kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Selecting previously deselected package libapr1.
(Reading database ... 95949 files and directories currently installed.)
Unpacking libapr1 (from .../libapr1_1.2.11-1ubuntu0.2_i386.deb) ...
Selecting previously deselected package libpq5.
Unpacking libpq5 (from .../libpq5_8.3.21-0ubuntu8.04_i386.deb) ...
Selecting previously deselected package libaprutil1.
Unpacking libaprutil1 (from .../libaprutil1_1.2.12+dfsg-3ubuntu0.3_i386.deb) ...
Selecting previously deselected package apache2-utils.
Unpacking apache2-utils (from .../apache2-utils_2.2.8-1ubuntu0.23_i386.deb) ...
Selecting previously deselected package apache2.2-common.
Unpacking apache2.2-common (from .../apache2.2-common_2.2.8-1ubuntu0.23_i386.deb) ...
Selecting previously deselected package apache2-mpm-worker.
Unpacking apache2-mpm-worker (from .../apache2-mpm-worker_2.2.8-1ubuntu0.23_i386.deb) ...
Selecting previously deselected package apache2.
Unpacking apache2 (from .../apache2_2.2.8-1ubuntu0.23_all.deb) ...
Setting up libapr1 (1.2.11-1ubuntu0.2) ...

Setting up libpq5 (8.3.21-0ubuntu8.04) ...

Setting up libaprutil1 (1.2.12+dfsg-3ubuntu0.3) ...

Setting up apache2-utils (2.2.8-1ubuntu0.23) ...
Setting up apache2.2-common (2.2.8-1ubuntu0.23) ...

Setting up apache2-mpm-worker (2.2.8-1ubuntu0.23) ...
 * Starting web server apache2                                                                                 apache2: Syntax error on line 299 of /etc/apache2/apache2.conf: Could not open configuration file /etc/phpmyadmin/apache.conf: No such file or directory
                                                                                                        [fail]
invoke-rc.d: initscript apache2, action "start" failed.

Setting up apache2 (2.2.8-1ubuntu0.23) ...
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
xubuntos2@xubuntos2-desktop:/etc/apache2/conf.d$ sudo apt-get install mysql-server
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libmcrypt4
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  libdbd-mysql-perl libdbi-perl libmysqlclient15off libnet-daemon-perl libplrpc-perl mysql-client-5.0
  mysql-common mysql-server-5.0
Suggested packages:
  dbishell libcompress-zlib-perl mysql-doc-5.0 tinyca
Recommended packages:
  libhtml-template-perl mailx
The following NEW packages will be installed:
  libdbd-mysql-perl libdbi-perl libmysqlclient15off libnet-daemon-perl libplrpc-perl mysql-client-5.0
  mysql-common mysql-server mysql-server-5.0
0 upgraded, 9 newly installed, 0 to remove and 256 not upgraded.
Need to get 0B/38.9MB of archives.
After this operation, 115MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Preconfiguring packages ...
Selecting previously deselected package mysql-common.
(Reading database ... 96394 files and directories currently installed.)
Unpacking mysql-common (from .../mysql-common_5.0.96-0ubuntu3_all.deb) ...
Selecting previously deselected package libnet-daemon-perl.
Unpacking libnet-daemon-perl (from .../libnet-daemon-perl_0.38-1.1_all.deb) ...
Selecting previously deselected package libplrpc-perl.
Unpacking libplrpc-perl (from .../libplrpc-perl_0.2017-1.1_all.deb) ...
Selecting previously deselected package libdbi-perl.
Unpacking libdbi-perl (from .../libdbi-perl_1.601-1_i386.deb) ...
Selecting previously deselected package libmysqlclient15off.
Unpacking libmysqlclient15off (from .../libmysqlclient15off_5.0.96-0ubuntu3_i386.deb) ...
Selecting previously deselected package libdbd-mysql-perl.
Unpacking libdbd-mysql-perl (from .../libdbd-mysql-perl_4.005-1_i386.deb) ...
Selecting previously deselected package mysql-client-5.0.
Unpacking mysql-client-5.0 (from .../mysql-client-5.0_5.0.96-0ubuntu3_i386.deb) ...
Setting up mysql-common (5.0.96-0ubuntu3) ...
Selecting previously deselected package mysql-server-5.0.
(Reading database ... 96650 files and directories currently installed.)
Unpacking mysql-server-5.0 (from .../mysql-server-5.0_5.0.96-0ubuntu3_i386.deb) ...
Selecting previously deselected package mysql-server.
Unpacking mysql-server (from .../mysql-server_5.0.96-0ubuntu3_all.deb) ...
Setting up libnet-daemon-perl (0.38-1.1) ...
Setting up libplrpc-perl (0.2017-1.1) ...
Setting up libdbi-perl (1.601-1) ...
Setting up libmysqlclient15off (5.0.96-0ubuntu3) ...

Setting up libdbd-mysql-perl (4.005-1) ...
Setting up mysql-client-5.0 (5.0.96-0ubuntu3) ...
Setting up mysql-server-5.0 (5.0.96-0ubuntu3) ...
 * Stopping MySQL database server mysqld                                                                [ OK ] 
Reloading AppArmor profiles Error: #include <abstractions/mysql> not found at line 9 in /etc/apparmor.d/usr.sbin.mysqld.
 Profile /etc/apparmor.d/usr.sbin.mysqld failed to load
: Failed.
invoke-rc.d: initscript apparmor, action "force-reload" failed.
^[[A * Starting MySQL database server mysqld                                                            [ OK ] 
 * Checking for corrupt, not cleanly closed and upgrade needing tables.

Setting up mysql-server (5.0.96-0ubuntu3) ...
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
xubuntos2@xubuntos2-desktop:/etc/apache2/conf.d$ sudo apt-get install phpmyadmin  
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  apache2-mpm-prefork libapache2-mod-php5 php5-common php5-mcrypt php5-mysql
Suggested packages:
  php-pear
Recommended packages:
  php5-gd php4-gd
The following packages will be REMOVED:
  apache2-mpm-worker
The following NEW packages will be installed:
  apache2-mpm-prefork libapache2-mod-php5 php5-common php5-mcrypt php5-mysql phpmyadmin
0 upgraded, 6 newly installed, 1 to remove and 256 not upgraded.
Need to get 0B/5976kB of archives.
After this operation, 16.9MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Preconfiguring packages ...
dpkg: apache2-mpm-worker: dependency problems, but removing anyway as you request:
 apache2 depends on apache2-mpm-worker (>= 2.2.8-1ubuntu0.23) | apache2-mpm-prefork (>= 2.2.8-1ubuntu0.23) | apache2-mpm-event (>= 2.2.8-1ubuntu0.23); however:
  Package apache2-mpm-worker is to be removed.
  Package apache2-mpm-prefork is not installed.
  Package apache2-mpm-event is not installed.
(Reading database ... 99113 files and directories currently installed.)
Removing apache2-mpm-worker ...
 * Stopping web server apache2                                                                          [ OK ] 
Selecting previously deselected package apache2-mpm-prefork.
(Reading database ... 99104 files and directories currently installed.)
Unpacking apache2-mpm-prefork (from .../apache2-mpm-prefork_2.2.8-1ubuntu0.23_i386.deb) ...
Selecting previously deselected package php5-common.
Unpacking php5-common (from .../php5-common_5.2.4-2ubuntu5.26_i386.deb) ...
Selecting previously deselected package libapache2-mod-php5.
Unpacking libapache2-mod-php5 (from .../libapache2-mod-php5_5.2.4-2ubuntu5.26_i386.deb) ...
Selecting previously deselected package php5-mcrypt.
Unpacking php5-mcrypt (from .../php5-mcrypt_5.2.3-0ubuntu1_i386.deb) ...
Selecting previously deselected package php5-mysql.
Unpacking php5-mysql (from .../php5-mysql_5.2.4-2ubuntu5.26_i386.deb) ...
Selecting previously deselected package phpmyadmin.
Unpacking phpmyadmin (from .../phpmyadmin_4%3a2.11.3-1ubuntu1.3_all.deb) ...
Setting up apache2-mpm-prefork (2.2.8-1ubuntu0.23) ...
 * Starting web server apache2                                                                                 apache2: Syntax error on line 299 of /etc/apache2/apache2.conf: Could not open configuration file /etc/phpmyadmin/apache.conf: No such file or directory
                                                                                                        [fail]
invoke-rc.d: initscript apache2, action "start" failed.

Setting up php5-common (5.2.4-2ubuntu5.26) ...
Setting up libapache2-mod-php5 (5.2.4-2ubuntu5.26) ...

Setting up php5-mcrypt (5.2.3-0ubuntu1) ...

Setting up php5-mysql (5.2.4-2ubuntu5.26) ...

Setting up phpmyadmin (4:2.11.3-1ubuntu1.3) ...
 
Old 10-04-2012, 04:17 AM   #7
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
You can use 'ls -l' (that's a lowercase L at the end) to find the exact name of the phpmyadmin directory and use that name in the webbrowser.

Code:
ls -l /var/www
 
Old 10-04-2012, 09:00 AM   #8
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by eminempark View Post
Code:
Setting up apache2-mpm-worker (2.2.8-1ubuntu0.23) ...
 * Starting web server apache2                                                                                 
apache2: Syntax error on line 299 of /etc/apache2/apache2.conf: 
Could not open configuration file /etc/phpmyadmin/apache.conf: No such file or directory [fail]
invoke-rc.d: initscript apache2, action "start" failed.
(..)
Unpacking phpmyadmin (from .../phpmyadmin_4%3a2.11.3-1ubuntu1.3_all.deb) ...
Setting up apache2-mpm-prefork (2.2.8-1ubuntu0.23) ...
 * Starting web server apache2                                                                                 
apache2: Syntax error on line 299 of /etc/apache2/apache2.conf: 
Could not open configuration file /etc/phpmyadmin/apache.conf: No such file or directory [fail]
invoke-rc.d: initscript apache2, action "start" failed.
If you 'vi /etc/apache2/apache2.conf +299' what does it say wrt to the location of "/etc/phpmyadmin/apache.conf"?
 
  


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
phpMyAdmin error: client denied by server configuration: /usr/share/phpMyAdmin Kropotkin Linux - Server 2 05-15-2010 12:55 PM
phpMyAdmin problem lighthouse Linux - Software 2 10-10-2007 12:18 AM
phpMyAdmin problem filsed Linux - Software 1 07-14-2005 11:24 PM
phpMyadmin problem GiaCo Linux - Newbie 2 10-20-2004 09:16 AM
RH 8.0 problem with phpmyadmin guanyu Linux - Software 6 04-03-2003 09:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:15 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