Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 25th May 2013, 13:38
javaclinic javaclinic is offline
Junior Member
 
Join Date: Jun 2011
Posts: 7
Thanks: 2
Thanked 0 Times in 0 Posts
Unhappy unable to create client directories in master node (multi server setup=

Hi,I have multi server setup.

On Slave i can create clients and directories were created right on slave .

But when i select Master for a client its directory structure is not created. in Webpanel it shows that new client but in filesystem the respective client directory is not created.

any hint ?


Zeeshan
Reply With Quote
Sponsored Links
  #2  
Old 26th May 2013, 18:48
monkfish monkfish is offline
HowtoForge Supporter
 
Join Date: Mar 2013
Posts: 106
Thanks: 9
Thanked 15 Times in 14 Posts
Default

The multiserver setup still utilises the cron jobs running to process tasks sent. So until the jobqueue is processed the site will show but the necessary structure won't be created. Is your cron daemon running?

Have a look in your ispconfig control panel under monitor, see if there are any jobs stuck in the queue?

I believe you could manually run the command that's scheduled in the crontab without piping it to null, will spit any output including errors on the screen:

Code:
/usr/local/ispconfig/server/server.sh
which should process any tasks same as cron job. If it doesn't it might give you pointer as to why not.

I just built a multiserver here on CentOS 6.4 x64 and both master and slave created test sites correctly.
Reply With Quote
  #3  
Old 26th May 2013, 20:06
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,476
Thanks: 813
Thanked 5,255 Times in 4,121 Posts
Default

Quote:
Originally Posted by javaclinic View Post
Hi,I have multi server setup.

On Slave i can create clients and directories were created right on slave .

But when i select Master for a client its directory structure is not created. in Webpanel it shows that new client but in filesystem the respective client directory is not created.

any hint ?


Zeeshan
The client directory gets created when you add the first website for that client on this server. So have you added websites on and for the master node for this client?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #4  
Old 27th May 2013, 01:08
javaclinic javaclinic is offline
Junior Member
 
Join Date: Jun 2011
Posts: 7
Thanks: 2
Thanked 0 Times in 0 Posts
Default

It was working fine couple of days ago but than stopped. From start i had latest ispconfig.

I created a client on master .. and run

/usr/local/ispconfig/server/server.sh
27.05.2013-00:39 - DEBUG - Set Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock
27.05.2013-00:39 - DEBUG - Found 3 changes, starting update process.
27.05.2013-00:39 - DEBUG - Processed datalog_id 714
27.05.2013-00:39 - DEBUG - Processed datalog_id 715
27.05.2013-00:39 - DEBUG - Processed datalog_id 716
27.05.2013-00:39 - DEBUG - Remove Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock
finished.



but still the directory of that client is not created.


I later add a website to it . Now /etc/pass is created but not directory in client folder

27.05.2013-01:03 - DEBUG - Calling function 'insert' from plugin 'nginx_plugin' raised by event 'web_domain_insert'.
27.05.2013-01:03 - DEBUG - Adding the group: client17
27.05.2013-01:03 - DEBUG - Adding the user: web43
27.05.2013-01:03 - DEBUG - Action aborted, target is a symlink: /var/www/clients/client17/web43
27.05.2013-01:03 - WARNING - Action aborted, file is a symlink: //var/www/clients/client17
27.05.2013-01:03 - WARNING - Action aborted, file is a symlink: //var/www/clients/client17
27.05.2013-01:03 - WARNING - Action aborted, file is a symlink: //var/www/clients/client17/web43




strange


Zeeshan
Reply With Quote
  #5  
Old 27th May 2013, 09:47
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,476
Thanks: 813
Thanked 5,255 Times in 4,121 Posts
Default

The problem is that either /var/ or /var/www/ or /var/www/clients/ is a symlink which is not supported for security reasons anymore. Delete this symlink and replace it with a bind mount in /etc/fstab
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #6  
Old 27th May 2013, 10:10
javaclinic javaclinic is offline
Junior Member
 
Join Date: Jun 2011
Posts: 7
Thanks: 2
Thanked 0 Times in 0 Posts
Default

yes it is :
www -> /home/www

how can i create bind mount ? since on my machine /home is on large disk I want to create clientes folder from that.

for this reason i created /var/www point to /home/www

any hint ?

Zee
Reply With Quote
  #7  
Old 27th May 2013, 10:28
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,476
Thanks: 813
Thanked 5,255 Times in 4,121 Posts
Default

Stop apache, delete the symlink and then add this line in /etc/fstab:

/home/www /var/www none bind 0 0

and then run:

mount -a

to apply it and then start apache again.
__________________
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:
javaclinic (27th May 2013)
  #8  
Old 27th May 2013, 11:07
javaclinic javaclinic is offline
Junior Member
 
Join Date: Jun 2011
Posts: 7
Thanks: 2
Thanked 0 Times in 0 Posts
 
Default

Excellent it works ..
thanks a lot

Zee
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
ISPConfig 3.0.3.3 fresh instalation - email tab is empty artur_gib Installation/Configuration 14 28th January 2014 19:02
ISPConfig3 mail doesn't work pehden Installation/Configuration 20 9th December 2013 14:05
Statistic not working mzo Installation/Configuration 49 20th April 2011 12:19
Not working emails (DNS and postfix problem?) shekiman Installation/Configuration 9 1st March 2011 16:25
Webmail Relay Error palkat General 17 23rd April 2006 18:12


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


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