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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 4th November 2009, 16:42
Berry Berry is offline
Member
 
Join Date: Nov 2006
Posts: 69
Thanks: 10
Thanked 1 Time in 1 Post
Send a message via Skype™ to Berry
Default ISPC doesn't create folders for new sites

Hello,

I have an issue with moved ISPC to a new machine (DB only) and then db-dump-imported on newely intalled ISPC (2.2.33) that doesn't create folders. I looked into ispconfig.log, but after adding some site it gives out only:
Code:
04.11.2009 - 13:20:19 => INFO - Signalfile Set: insert
04.11.2009 - 13:22:32 => INFO - Signalfile Set: update
04.11.2009 - 13:22:47 => INFO - Signalfile Set: update
04.11.2009 - 13:23:07 => INFO - Signalfile Set: insert
04.11.2009 - 13:24:02 => INFO - Signalfile Set: insert
04.11.2009 - 13:24:32 => INFO - Signalfile Set: insert
04.11.2009 - 14:57:02 => INFO - Signalfile Set: update
04.11.2009 - 15:04:28 => INFO - Signalfile Set: insert
Any idea where to start the debugging this issue?
Thanks!

Last edited by Berry; 4th November 2009 at 16:44.
Reply With Quote
Sponsored Links
  #2  
Old 4th November 2009, 17:16
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,652 Times in 4,461 Posts
Default

Most likely the server daemon died unexpectedly. Please run:

/etc/init.d/ispconfig_server restart
__________________
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:
Berry (4th November 2009)
  #3  
Old 4th November 2009, 17:50
Berry Berry is offline
Member
 
Join Date: Nov 2006
Posts: 69
Thanks: 10
Thanked 1 Time in 1 Post
Send a message via Skype™ to Berry
Default

Thanks Till for suggestion.

After restarting daemon here are WARNs that I found in log:
Code:
04.11.2009 - 16:40:18 => WARN - /root/ispconfig/scripts/lib/config.lib.php, Line 2667: WARNING: could not . /etc/apache2/envvars && httpd -t  &> /dev/null
04.11.2009 - 16:40:18 => WARN - /root/ispconfig/scripts/lib/config.lib.php, Line 2681: httpd syntax seems to contain errors, reloading with old configuration
04.11.2009 - 16:40:21 => WARN - /root/ispconfig/scripts/lib/config.lib.php, Line 2166: WARNING: could not groupadd -g 12003 web3_anonftp &> /dev/null
04.11.2009 - 16:40:21 => WARN - /root/ispconfig/scripts/lib/config.lib.php, Line 2167: WARNING: could not useradd -d /var/www/web3/ftp -g web3_anonftp -m -s /bin/false -u 12003 web3_anonftp &> /dev/null
what could first two rows mean?
the second two - this user exists, how to fix this?

Thanks!
Reply With Quote
  #4  
Old 5th November 2009, 14:07
Berry Berry is offline
Member
 
Join Date: Nov 2006
Posts: 69
Thanks: 10
Thanked 1 Time in 1 Post
Send a message via Skype™ to Berry
Default

I've just noticed that after experiencing that problem the DNS records are also not being added, as ISPC2 is skipping all other steps when the first isn't working...

As a matter of first 2 errors is it possible that apache2.conf is bad or it has to do with users?

Any suggestions?
Reply With Quote
  #5  
Old 5th November 2009, 15:36
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts
Default

Do you use the same distribution on the old and the new server?
What's the output of
Code:
. /etc/apache2/envvars && httpd -t
on the new server?
__________________
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
The Following User Says Thank You to falko For This Useful Post:
Berry (5th November 2009)
  #6  
Old 5th November 2009, 17:20
Berry Berry is offline
Member
 
Join Date: Nov 2006
Posts: 69
Thanks: 10
Thanked 1 Time in 1 Post
Send a message via Skype™ to Berry
Default

Yes, the same distribution (Debian), but newer version (etch > lenny)..

Thanks for pointing me to this command!
I've run it as normal user and it gave me error that root directory of one of vhosts isn't existing (/var/www/web21), but it was present, just it had 700 permission so it was inaccesable to apache user. After that I rerun the
Code:
. /etc/apache2/envvars && httpd -t
as normal (or root) user and I become no error in shell.
But, unfortunately, this error is still present in ispconfig.log when i try to update something in panel.
Reply With Quote
  #7  
Old 5th November 2009, 17:26
Berry Berry is offline
Member
 
Join Date: Nov 2006
Posts: 69
Thanks: 10
Thanked 1 Time in 1 Post
Send a message via Skype™ to Berry
Default

As of Bind issue:

Code:
# /etc/init.d/bind9 status
bind9 is not running failed!
but when I run:
Code:
ps aux|grep bind
root      3676  0.0  0.0   3868   588 pts/1    S+   16:25   0:00 grep bind
bind     22120  0.0  0.9 282860 20844 ?        Ssl  16:19   0:00 /usr/sbin/named -u bind -t /var/lib/named -S 1024
It seems to be running as a named, not bind or what?
Reply With Quote
  #8  
Old 5th November 2009, 19:36
Berry Berry is offline
Member
 
Join Date: Nov 2006
Posts: 69
Thanks: 10
Thanked 1 Time in 1 Post
Send a message via Skype™ to Berry
Default

I think could be a scenario:
  1. ISPConfig tries to create a new Vhosts_ispxx file
  2. it fails because generated one has some errors in it >> WARN#1
  3. then it puts back old working Vhosts file >> WARN#2

Till, Falko, am I right?

But now, how to debug it? How to see this non-working generated and then deleted file and try to find out what is wrong in it??

Thanks!
Reply With Quote
  #9  
Old 5th November 2009, 20:11
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,652 Times in 4,461 Posts
Default

Quote:
Till, Falko, am I right?
Yes.

Quote:
But now, how to debug it? How to see this non-working generated and then deleted file and try to find out what is wrong in it??
there is nothing deleted. The file is stored with the date and time appended to its name in the vhosts directory.

For debugging, see here:

http://www.howtoforge.com/forums/sho...61&postcount=6
__________________
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:
Berry (5th November 2009)
  #10  
Old 5th November 2009, 20:34
Berry Berry is offline
Member
 
Join Date: Nov 2006
Posts: 69
Thanks: 10
Thanked 1 Time in 1 Post
Send a message via Skype™ to Berry
 
Default

Hoooray!! Thanks Till!

I found it on my own hard way before reading your reply - I went to config.inc.php, disabled the httpd checking that left the unworking vhosts file and so I debuged it!


As for the bugs in Vhost file, leftovers from old server:
Code:
@one host:
php_admin_value open_basedir /var/www/web3:/tmp:/var/www/www.somedomain.net

@other host:
php_admin_value open_basedir /var/www/web10/:/tmp
Can you help me out how to set open_basedir for specific sites that require it (using suPHP now)?
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
can't create sites or anything else using ispconfig 3.0.1.6 AndreaG General 2 23rd October 2009 13:15
create sent/junk/trash folders for IMAP? crashtd Installation/Configuration 2 20th June 2007 17:00
Squirrelmail - cannot create folders wapa17 HOWTO-Related Questions 1 5th June 2007 21:04
vsftpd: can't create folders and uploadfiles xpuma Installation/Configuration 8 21st November 2006 15:38
Verify email setup meekish Installation/Configuration 28 27th October 2006 16:36


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


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