#1  
Old 27th July 2005, 13:50
srg srg is offline
Junior Member
 
Join Date: Jul 2005
Posts: 15
Thanks: 0
Thanked 5 Times in 5 Posts
Default Logs

It works not fine. For example, it don't writes configs to disc, just to mysql database. How can I debug, what is wrong?
Reply With Quote
Sponsored Links
  #2  
Old 27th July 2005, 13:59
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Quote:
Originally Posted by srg
It works not fine. For example, it don't writes configs to disc, just to mysql database. How can I debug, what is wrong?
You can have a look at the ISPConfig log file: /home/admispconfig/ispconfig/ispconfig.log

Are no files written at all, or just some files (maybe /etc/postfix/virtusertable is written, and your Vhosts_ispconifg.conf isn't)?

Does the file /root/ispconfig/.ispconfig_lock exist?
__________________
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
  #3  
Old 28th July 2005, 06:25
srg srg is offline
Junior Member
 
Join Date: Jul 2005
Posts: 15
Thanks: 0
Thanked 5 Times in 5 Posts
Default

Quote:
Originally Posted by falko
You can have a look at the ISPConfig log file: /home/admispconfig/ispconfig/ispconfig.log

Are no files written at all, or just some files (maybe /etc/postfix/virtusertable is written, and your Vhosts_ispconifg.conf isn't)?

Does the file /root/ispconfig/.ispconfig_lock exist?
At log file:
28.07.2005 - 08:16:41 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 1181: cp -fr /etc/httpd/conf/vhosts/Vhosts_ispconfig.conf /etc/httpd/conf/vhosts/Vhosts_ispconfig.conf~
28.07.2005 - 08:16:41 => WARN - /root/ispconfig/scripts/lib/config.lib.php, Line 2327: WARNING: could not httpd -t &> /dev/null
28.07.2005 - 08:16:41 => WARN - /root/ispconfig/scripts/lib/config.lib.php, Line 2333: httpd syntax seems to contain err
ors, reloading with old configuration
28.07.2005 - 08:16:41 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 2334: mv -f /etc/httpd/conf/vhosts/Vhos
ts_ispconfig.conf /etc/httpd/conf/vhosts/Vhosts_ispconfig.conf_28-07-05_08-16-41
28.07.2005 - 08:16:41 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 2335: mv -f /etc/httpd/conf/vhosts/Vhos
ts_ispconfig.conf~ /etc/httpd/conf/vhosts/Vhosts_ispconfig.conf

I noticed, that Vhosts_ispconfig.conf* not included in httpd's config.

File /root/ispconfig/.ispconfig_lock not exists.

Last edited by srg; 28th July 2005 at 06:31.
Reply With Quote
  #4  
Old 28th July 2005, 06:27
srg srg is offline
Junior Member
 
Join Date: Jul 2005
Posts: 15
Thanks: 0
Thanked 5 Times in 5 Posts
Default

Is it right?
[root@studik ~]# ls -l /etc/httpd/conf/vhosts/
total 16
-rw-r--r-- 1 root root 0 Jul 28 08:16 Vhosts_ispconfig.conf
-rw-r--r-- 1 root root 1809 Jul 27 15:43 Vhosts_ispconfig.conf_27-07-05_15-43-46
-rw-r--r-- 1 root root 1811 Jul 28 08:16 Vhosts_ispconfig.conf_28-07-05_08-16-41
[root@studik ~]#
Reply With Quote
  #5  
Old 28th July 2005, 12:17
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Quote:
28.07.2005 - 08:16:41 => WARN - /root/ispconfig/scripts/lib/config.lib.php, Line 2327: WARNING: could not httpd -t &> /dev/null
28.07.2005 - 08:16:41 => WARN - /root/ispconfig/scripts/lib/config.lib.php, Line 2333: httpd syntax seems to contain err
ors, reloading with old configuration
This means that ISPConfig wrote a new /etc/httpd/conf/vhosts/Vhosts_ispconfig.conf, but httpd -t gave back a syntax error, so ISPConfig replaced /etc/httpd/conf/vhosts/Vhosts_ispconfig.conf with the last working version (which in your case is empty because it it the first web site you tried to create). This looks as if you need to load some modules into your Apache. For example, if you activated PHP for your web site in ISPConfig, the ISPConfig wrote some PHP lines into /etc/httpd/conf/vhosts/Vhosts_ispconfig.conf, but if the PHP module isn't loaded into your Apache then httpd -t gives back an error.

Try to load some missing modules into your Apache (e.g. php, mod_rewrite, etc.) and restart Apache, and then try to make some changes to your web site in ISPConfig and check if /etc/httpd/conf/vhosts/Vhosts_ispconfig.conf is written correctly then.
__________________
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 28th July 2005, 22:03
srg srg is offline
Junior Member
 
Join Date: Jul 2005
Posts: 15
Thanks: 0
Thanked 5 Times in 5 Posts
 
Default

It woks! I found, where was trouble. Thanx.
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


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


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