Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 3rd December 2006, 12:41
BlueStream BlueStream is offline
Member
 
Join Date: Oct 2005
Posts: 71
Thanks: 0
Thanked 0 Times in 0 Posts
Default Rename folder -> create new folder equals contents of old folder

Ok. I followed the perfect setup for Fedora Core 5.

When accessing the site via IP, renaming a folder to something else, and then recreating a new folder with the same name, will result in the new folder holding the contents of the old directory. Whether it is a symlink or a true copy I am not sure and have no time to explore.

I was originally gonna post a "aw crap! why me!" thread but as indicated above, logging in via the actual domain does not cause the same problems.
Reply With Quote
Sponsored Links
  #2  
Old 4th December 2006, 10:02
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,792
Thanks: 821
Thanked 5,338 Times in 4,188 Posts
Default

Did you rename the folder with FTP or with the mv command on the shell?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 4th December 2006, 13:58
BlueStream BlueStream is offline
Member
 
Join Date: Oct 2005
Posts: 71
Thanks: 0
Thanked 0 Times in 0 Posts
Default

using FTP. this FTP has had no problems before.

FlashFXP
Reply With Quote
  #4  
Old 5th December 2006, 17:31
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

And does the domain name point to the correct IP address? You can check with
Code:
dig domain.com
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 5th December 2006, 17:37
BlueStream BlueStream is offline
Member
 
Join Date: Oct 2005
Posts: 71
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I think you misunderstand.

FTPing to the IP will create the problem mentioned. FTPing to the domain which points to the IP will not.

In any case, the domain points to the IP.
Reply With Quote
  #6  
Old 6th December 2006, 17:36
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Quote:
Originally Posted by BlueStream
When accessing the site via IP, renaming a folder to something else, and then recreating a new folder with the same name, will result in the new folder holding the contents of the old directory. Whether it is a symlink or a true copy I am not sure and have no time to explore.
What's the output of
Code:
ls -la /path/to/parentfolder
and what's the name of the directory you're trying to rename?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #7  
Old 7th December 2006, 03:51
BlueStream BlueStream is offline
Member
 
Join Date: Oct 2005
Posts: 71
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko
What's the output of
Code:
ls -la /path/to/parentfolder
and what's the name of the directory you're trying to rename?
Hi. How do I do this? Thru the ftp? I'm using a GUI ftp.

Or should I access the server directly.

Sorry, completely lost here.
Reply With Quote
  #8  
Old 7th December 2006, 09:46
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,792
Thanks: 821
Thanked 5,338 Times in 4,188 Posts
Default

Please connect with SSH. A free windows SSH client is putty.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #9  
Old 7th December 2006, 10:30
BlueStream BlueStream is offline
Member
 
Join Date: Oct 2005
Posts: 71
Thanks: 0
Thanked 0 Times in 0 Posts
Default

After connecting succesfully, I immediately get a connection closed by host message. Both on accessing via IP and via the domain.
Reply With Quote
  #10  
Old 8th December 2006, 14:28
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
 
Default

Did you connect as root? Maybe the user you tried doesn't have shell access.

Anyway, instead of SSH, you can use the system's terminal if you have physical access to the system.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Create imap folder alex916 Installation/Configuration 12 9th April 2007 21:04
Verify email setup meekish Installation/Configuration 28 27th October 2006 15:36


All times are GMT +2. The time now is 01:26.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.