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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 22nd July 2010, 10:23
kardac kardac is offline
Junior Member
 
Join Date: Jun 2010
Posts: 5
Thanks: 2
Thanked 0 Times in 0 Posts
Send a message via ICQ to kardac Send a message via AIM to kardac Send a message via MSN to kardac Send a message via Yahoo to kardac Send a message via Skype™ to kardac
Default No access when creating new sites

When i try to creat new clients and sites, i cant browse or access the folders in /var/www/clients/clientX/webX. I get Permission denied.
I cant connect with the FTP accounts for these sites either.

First I experienced this when creating a new client and site, but I have also tried creating new sites at already existing clients and the same problem occur.



I have checked the ownership on the siteX and webX folder and it looks the same as the others that are functioning.
Reply With Quote
Sponsored Links
  #2  
Old 22nd July 2010, 13:10
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,504
Thanks: 813
Thanked 5,265 Times in 4,129 Posts
Default

You have to access the websites by domain name. So to acchees them, oben a webbrowser and type the domain name into the URL field and hit return. You can not access the sites by entering the path on the harddisk into the browser URL field.

Regarding the FTP users:

1) Are there any jobs left in the jobqueue in the ispconfig monitor?
2) And are there any errors in the system log in the ispconfig monitor?
3) Which tutorial did you use to install the server?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 22nd July 2010, 15:24
kardac kardac is offline
Junior Member
 
Join Date: Jun 2010
Posts: 5
Thanks: 2
Thanked 0 Times in 0 Posts
Send a message via ICQ to kardac Send a message via AIM to kardac Send a message via MSN to kardac Send a message via Yahoo to kardac Send a message via Skype™ to kardac
Default

Maybe my bad english is messing things up

What i mean is that when i try to access the new sites I created with SSH or FTP protocol, I cant connect.

When i use putty to access my server and tries to list files and folders i get this result from the server.
Code:
administrator@dwisp01:/var/www/clients/client1/web6$ ls
ls: cannot open directory .: Permission denied
Ive checked the parent folder for ownership and chmod settings and get the following result.
Code:
administrator@dwisp01:/var/www/clients/client1$ ls -dl web6
drwxr-x--x 6 web6 client1 4096 2010-07-22 10:12 web6


All earlier sites I have created runs fine, the server has been up for maybe 2 months.

I have installed according to the Ubuntu 10.04 LTS Ultimate server guide on this site, I have installed two other ISPconfig servers earliers with other versions of ubuntu and ISPconfig with the matching tutorials so im not a first time user even though im still somewhat of a rookie on linux.
Reply With Quote
  #4  
Old 22nd July 2010, 15:39
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,504
Thanks: 813
Thanked 5,265 Times in 4,129 Posts
Default

It is ok that you can not access the websites from a user account named "administrator" as this user has no admin permissions on a Linux system. The user that is able to access all files in linux is named "root" and not "administrator" like in windows. If you want to access the sites without using the ssh user of a site, run:

sudo su

and when you run then:

cd /var/www/clients/client1/web6
ls

you will be able to access the data of this website.

To be able to help you with the FTP access problem, answer my questions from post #2.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
kardac (22nd July 2010)
  #5  
Old 22nd July 2010, 21:57
kardac kardac is offline
Junior Member
 
Join Date: Jun 2010
Posts: 5
Thanks: 2
Thanked 0 Times in 0 Posts
Send a message via ICQ to kardac Send a message via AIM to kardac Send a message via MSN to kardac Send a message via Yahoo to kardac Send a message via Skype™ to kardac
 
Default

I did check the other sites and could do a ls in the previously created sitefolders, but now i realized i did an aptitude update before checking this and activated sudo su before running the update and so had root access before checking the other folders... So, that problem is no problem and expained by your post
Thanx for getting my things straight

Quote:
Originally Posted by till View Post
Regarding the FTP users:

1) Are there any jobs left in the jobqueue in the ispconfig monitor?
2) And are there any errors in the system log in the ispconfig monitor?
3) Which tutorial did you use to install the server?
1= Nope
2= Nope
3= http://www.howtoforge.com/perfect-se...nx-ispconfig-3

Actually, i once again removed the client and site i created and started over and this time it worked.... :/ Sorry for taking your time with this.

I guess the problem was that i did to many things at the same time trying to find the problem.
Reply With Quote
Reply

Bookmarks

Tags
client, permissio denied, site

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
403 access denied on all sites except sites of client2 H2SO4 General 6 4th June 2010 16:25
sending e-mail using mail() function linuxuser1 HOWTO-Related Questions 38 21st April 2009 12:20
ISPConfig 2.2.14 released till General 48 19th July 2007 23:46
Questions in regards to ISP-Server Setup - Ubuntu 5.10 "Breezy Badger" rbrantley HOWTO-Related Questions 16 10th April 2006 18:26
Problem with the apache (I can't start ist) M.Behrens Installation/Configuration 11 31st March 2006 10:48


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


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