LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 06-18-2011, 08:08 AM   #1
kumar Saurabh
LQ Newbie
 
Registered: Jun 2011
Location: Camerino
Distribution: 2.6.35-22-generic #33-Ubuntu SMP
Posts: 19

Rep: Reputation: Disabled
Unhappy Error in starting Apache


Hi, I was trying to install phpMyAdmin in my laptop (Linux singh-VGN-CR35G-L 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:50 UTC 2011 i686 i686 i386 GNU/Linux). Everything went well except the last part of invoking the setup wizard. During invoking, it was mentioned in the procedures to follow a schema: http://{your IP address}/phpmyadmin/setup/index.php

First thing, I have tried this with localhost, since i am trying to install phpmyadmin on my laptop (also with my institutional IP address) but everytime I type it gives me "Not Found err" that index.php is not found on this server. I think there is a problem with my Apache installation.
I then tried to restart my apache server in that too I got the following error:

singh@singh-VGN-CR35G-L:/etc$ apache2ctl start
(13)Permission denied: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
Action 'start' failed.
The Apache error log may have more information.


I installed Apache distribution yesterday...when I am cheking the server with index.html ..its working...but its not recognizing any PHP files or so...

Could anyone help me here???

Thanx
 
Old 06-18-2011, 09:02 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi,

You should restart apache (not start, as it's already running) for the changes to take effect. So you have to run:
Code:
sudo /etc/init.d/apache2 restart
After that you can point your browser to the setup URL

Regards
 
Old 06-18-2011, 12:41 PM   #3
kumar Saurabh
LQ Newbie
 
Registered: Jun 2011
Location: Camerino
Distribution: 2.6.35-22-generic #33-Ubuntu SMP
Posts: 19

Original Poster
Rep: Reputation: Disabled
Hii

Hi bathroy,

Thank you for the reply. With your input, I successfully restarted apache server. But still its showing me "no files found" error while invoking the set up for phpMyAdmin from my browser.

M i missing something here??

Which IP address should I use??

Can you help me??

Ciao


Quote:
Originally Posted by bathory View Post
Hi,

You should restart apache (not start, as it's already running) for the changes to take effect. So you have to run:
Code:
sudo /etc/init.d/apache2 restart
After that you can point your browser to the setup URL

Regards
 
Old 06-18-2011, 01:08 PM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi,

If you used ubuntu apt-get to install phpMyadmin, there is no need to setup anything according to the documentation. If not, copy config.sample.inc.php, to config.inc.php and you're be fine.
In case you still get errors, have a look at apache error_log to see why.

Quote:
Which IP address should I use??
From the same computer you can use http://localhost/phpmyadmin. Or you can replace localhost with 127.0.0.1, or your computer's IP address
The latter is used also when you want to access your box from another computer in the same network

Regards
 
Old 06-18-2011, 01:13 PM   #5
kumar Saurabh
LQ Newbie
 
Registered: Jun 2011
Location: Camerino
Distribution: 2.6.35-22-generic #33-Ubuntu SMP
Posts: 19

Original Poster
Rep: Reputation: Disabled
Wink Worked

Dear Bathroy,

when that did not workout...i install phpmyadmin using apt-get and followed the process and it worked.

But still do not the reason why it was not working previously. ...

ciao



Quote:
Originally Posted by kumar Saurabh View Post
Hi bathroy,

Thank you for the reply. With your input, I successfully restarted apache server. But still its showing me "no files found" error while invoking the set up for phpMyAdmin from my browser.

M i missing something here??

Which IP address should I use??

Can you help me??

Ciao
 
Old 06-18-2011, 01:15 PM   #6
kumar Saurabh
LQ Newbie
 
Registered: Jun 2011
Location: Camerino
Distribution: 2.6.35-22-generic #33-Ubuntu SMP
Posts: 19

Original Poster
Rep: Reputation: Disabled
hii

yes actully we replied at the same time...but I really appreciate your replies here. Thanks again.

Have a nice weekend.

Cheers

Quote:
Originally Posted by bathory View Post
Hi,

If you used ubuntu apt-get to install phpMyadmin, there is no need to setup anything according to the documentation. If not, copy config.sample.inc.php, to config.inc.php and you're be fine.
In case you still get errors, have a look at apache error_log to see why.


From the same computer you can use http://localhost/phpmyadmin. Or you can replace localhost with 127.0.0.1, or your computer's IP address
The latter is used also when you want to access your box from another computer in the same network

Regards
 
  


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
Unable to start apache on CentOS Linux with error Starting httpd: Syntax error on lin pkumar2533 Linux - Newbie 9 08-26-2009 07:48 AM
Error while starting Apache with PHP rajaniyer123 Solaris / OpenSolaris 21 06-09-2009 12:12 PM
Error starting apache ventas Solaris / OpenSolaris 2 04-16-2009 04:14 AM
Error starting Apache buddhahat Slackware 3 06-13-2005 08:59 PM
Error when starting Apache undefined symbol: __db_ndbm_fetch_4002 SimonT Debian 2 10-03-2004 12:10 AM

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

All times are GMT -5. The time now is 06:14 AM.

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