LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 01-22-2010, 01:23 PM   #1
rossie
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
rweaver
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:
Code:
netstat -plan | grep tcp
and

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

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

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

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

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


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
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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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