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 26th May 2008, 00:28
itsimon itsimon is offline
Junior Member
 
Join Date: Feb 2008
Posts: 25
Thanks: 1
Thanked 0 Times in 0 Posts
Default One of the sites not linking to the folder

Hi there:
Can anyone help me with this?
There is an error in the ispconfg log:

WARNING: could not ln -s /var/www/web94 /var/www/www.mysite.co.nz
mysite:x:10124:10094::/var/www/web94/user/mysite:/bin/false

And I've found that the site can be browserd normally. The only problem is the weblizer for this site is not updating any more.

Cheers,

Simon
Reply With Quote
Sponsored Links
  #2  
Old 26th May 2008, 10:44
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,490
Thanks: 835
Thanked 5,533 Times in 4,351 Posts
Default

Please post the output of:

ls -la | grep web94

and:

ls -la | grep www.mysite.co.nz
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 26th May 2008, 23:45
itsimon itsimon is offline
Junior Member
 
Join Date: Feb 2008
Posts: 25
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Hi Till:
Thanks for your reply.
Here is the output:
ls -la | grep web94
drwxr-xr-x 8 kdl142 web94 4096 Apr 28 17:16 web94
ls -la | grep www.mysite.co.nz
drwxr-xr-x 3 root root 4096 May 26 09:29 www.mysite.co.nz

cheers

Simon
Reply With Quote
  #4  
Old 26th May 2008, 23:49
itsimon itsimon is offline
Junior Member
 
Join Date: Feb 2008
Posts: 25
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Thanks Till. I can see the user and group of this site is incorrect. I've changed it to the correct user and group. How do I link them again?
Reply With Quote
  #5  
Old 27th May 2008, 19:12
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,745 Times in 2,578 Posts
Default

/var/www/www.mysite.co.nz should be a symlink to /var/www/web94, but instead it is a directory. Did you create it manually?
__________________
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
  #6  
Old 27th May 2008, 23:42
itsimon itsimon is offline
Junior Member
 
Join Date: Feb 2008
Posts: 25
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Thank you for the reply, Falko. No, I didn't create it manually. Not sure why the owner and group are changed. Is that possible to recover it?
Reply With Quote
  #7  
Old 28th May 2008, 18:00
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,745 Times in 2,578 Posts
Default

Is there anything in /var/www/www.mysite.co.nz, or is it empty? If it's not empty, do you need the contents of /var/www/www.mysite.co.nz?
__________________
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
  #8  
Old 29th May 2008, 06:15
itsimon itsimon is offline
Junior Member
 
Join Date: Feb 2008
Posts: 25
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Here are the contents.

drwxr-xr-x 3 apache web94 4096 May 26 09:29 .
drwxr-xr-x 68 root root 4096 May 28 13:53 ..
drwxr-xr-x 3 apache web94 4096 May 2 00:30 log
lrwxrwxrwx 1 apache web94 14 May 26 09:29 web94 -> /var/www/web94

The only problem is that, the weblizer for this site is not updating any more. I can only see the web statistics of April. Not for May.
Reply With Quote
  #9  
Old 30th May 2008, 14:48
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,745 Times in 2,578 Posts
Default

So the directory is empty except for a symlink and a log diretory which you don't need.
To fix your problems, do the following:
Code:
rm -fr /var/www/www.mysite.co.nz
ln -s /var/www/web94 /var/www/www.mysite.co.nz
__________________
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
  #10  
Old 3rd June 2008, 00:02
itsimon itsimon is offline
Junior Member
 
Join Date: Feb 2008
Posts: 25
Thanks: 1
Thanked 0 Times in 0 Posts
 
Default

Thank you Falko. I've just done that. All looks good. I will keep testing it.
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
Squirrelmail and stupid imap folder names ?! rupat Installation/Configuration 2 3rd October 2007 10:12
Default folder for new sites... brent.stephens Feature Requests 2 2nd June 2007 12:19
Rename folder -> create new folder equals contents of old folder BlueStream General 20 15th December 2006 04:32
"stats" folder? PortMan Installation/Configuration 2 29th June 2006 01:13
Multiple Sites to same folder mphayesuk General 1 11th May 2006 12:38


All times are GMT +2. The time now is 08:33.


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