LinuxQuestions.org
Help answer threads with 0 replies.
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 10-11-2011, 06:15 PM   #16
highrise
Member
 
Registered: Jun 2011
Posts: 48

Original Poster
Rep: Reputation: Disabled

tried removing SElenux enforcement - no difference. I'm in a real bind now, I had the system going to the default page at least, now it's just locking me out completely.
 
Old 10-11-2011, 06:17 PM   #17
highrise
Member
 
Registered: Jun 2011
Posts: 48

Original Poster
Rep: Reputation: Disabled
quick update - it now goes to the Apache set up page, i.e a default holding page once again, not to the correct folder. grrr.
 
Old 10-12-2011, 12:31 AM   #18
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
Quote:
Originally Posted by highrise View Post
quick update - it now goes to the Apache set up page, i.e a default holding page once again, not to the correct folder. grrr.
Since dns is working again, but you can't do the vhost migration, I suggest you to create those vhosts from scratch. It's not a big deal to create the configuration for 3-4 vhosts.

Regards
 
Old 10-12-2011, 01:25 AM   #19
highrise
Member
 
Registered: Jun 2011
Posts: 48

Original Poster
Rep: Reputation: Disabled
well, you say that but it should not have been a big deal to create one - I removed the site in question and recreated it from scratch, and got the errors as described. I really don't want to risk removing sites which are currently working perfectly well, to have them do the same thing.
 
Old 10-12-2011, 02:07 AM   #20
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
No need to remove sites
You just recreate the vhosts in apache config and point their DocumentRoot to the DocumentRoot that was setup previously in plesk
You can run
Code:
apachectl -S
to see what vhosts are configured in apache.
 
Old 10-12-2011, 12:51 PM   #21
highrise
Member
 
Registered: Jun 2011
Posts: 48

Original Poster
Rep: Reputation: Disabled
yes, I understand that I just have to remove the sites config in Apache, but I already tried this for the existing site and created a new one, and it goes to the default page. I am pretty sure that if I do that with any of the (currently working) sites, I will end up with the same problem, meaning I have double trouble.

I'll look at the Apache error log and try that command.
 
Old 10-12-2011, 12:57 PM   #22
highrise
Member
 
Registered: Jun 2011
Posts: 48

Original Poster
Rep: Reputation: Disabled
when I run that command, it reports on the various hosts. Some of the working ones say:

port 80 namevhost workinghost.com (/var/www/vhosts/workinghost.com/conf/httpd.include:9)

the one that doesn't redirect says:


port 80 namevhost notworking.com (/etc/httpd/conf/httpd.conf:997)
my.ip.in.here:443 is a NameVirtualHost

should I be looking at that httpd.conf file?
 
Old 10-12-2011, 02:31 PM   #23
highrise
Member
 
Registered: Jun 2011
Posts: 48

Original Poster
Rep: Reputation: Disabled
ok I found some entries in these files and pointed the system to the httpd.conf file in the conf folder, and it now goes to the correct site - however, when I FTP to the site it goes to the wrong location! ah, what a tangled web. I think I can fix that particular issue though.
 
Old 10-12-2011, 04:18 PM   #24
highrise
Member
 
Registered: Jun 2011
Posts: 48

Original Poster
Rep: Reputation: Disabled
I repointed the user to the correct directory but now I just get a lot of time outs on the FTP connection. Makes no sense!
 
Old 10-13-2011, 03:04 AM   #25
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
Quote:
Originally Posted by highrise View Post
I repointed the user to the correct directory but now I just get a lot of time outs on the FTP connection. Makes no sense!
Please note that timeouts usually mean some network or firewall problem. So check your ftp server settings (about active or passive ftp), as well as your firewall rules.

Regards
 
Old 10-13-2011, 04:55 AM   #26
highrise
Member
 
Registered: Jun 2011
Posts: 48

Original Poster
Rep: Reputation: Disabled
thanks - I really appreciate the time you have taken to help me, I'll keep you posted, I'm learning a lot of this as I go along.
 
  


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
setting or getting nameserver nuttynibbles Linux - General 5 10-03-2011 04:38 PM
setting up a custom nameserver WebGraphics Slackware 3 10-02-2007 11:45 PM
setting up nameservers in webmin gaz0r Linux - Software 1 09-04-2003 05:20 PM
setup nameserver on a webmin box ? funnyusa Linux - Networking 2 08-17-2003 04:46 PM
setting up Samba w/ webmin kidwired Linux - Networking 3 01-01-2003 05:35 PM

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

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