Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-22-2010, 01:23 PM   #1
LQ Newbie
Registered: Dec 2009
Posts: 5

Rep: Reputation: 0
Apache Website not working

Hello folks,

I have a LAMP server configured. Yesterday, I had a test.php file displaying everything fine. I transferred some files over to the new server and now I can't connect to the test page, webmin, or phpmyadmin. I think it has something to do with Apache but Im not sure what to do next. I have restarted Apache, MySql and all services are running.

Any help would be greatly appreciated.

Thanks in advance.
Old 01-22-2010, 01:45 PM   #2
Senior Member
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

Rep: Reputation: 167Reputation: 167
What does it say for your virtual host setting in apache? Have you tried restarting the machine itself (so all services come up in the correct order)?

what does:
netstat -plan | grep tcp

iptables -L -n
Old 01-22-2010, 02:55 PM   #3
LQ Newbie
Registered: Dec 2009
Posts: 5

Original Poster
Rep: Reputation: 0
[root@Wayback ~]# netstat -plan | grep tcp
tcp 0 0* LISTEN 4140/mysqld
tcp 0 0* LISTEN 4219/perl
tcp 0 0* LISTEN 4017/vsftpd
tcp 0 0 :::80 :::* LISTEN 4173/httpd
tcp 0 0 :::22 :::* LISTEN 4003/sshd
tcp 0 52 ::ffff: ::ffff: ESTABLISHED 4332/0
[root@Wayback ~]# iptables -L -n
Chain INPUT (policy ACCEPT)
target prot opt source destination
RH-Firewall-1-INPUT all --

Chain FORWARD (policy ACCEPT)
target prot opt source destination
RH-Firewall-1-INPUT all --

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

Chain RH-Firewall-1-INPUT (2 references)
target prot opt source destination
ACCEPT all --
ACCEPT icmp -- icmp type 255
ACCEPT esp --
ACCEPT ah --
ACCEPT udp -- udp dpt:5353
ACCEPT udp -- udp dpt:631
ACCEPT tcp -- tcp dpt:631
ACCEPT tcp -- state NEW tcp dpt:22
REJECT all -- reject-with icmp-host-prohibited
[root@Wayback ~]#


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Website publishing in Apache j_kamal Linux - Newbie 3 11-11-2005 01:19 AM
Apache - Website Redirection Help cbarone2005 Linux - Software 2 09-29-2005 02:45 PM
Website testing with Apache BinaryLinux Linux - Software 5 08-19-2004 05:45 PM
send mail via PHP from website on apache. not working mdkelly069 Linux - Software 0 02-25-2004 12:15 PM
apache website question vadertech Linux - Newbie 6 03-28-2003 04:02 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:17 AM.

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