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 6th August 2005, 20:29
hagel hagel is offline
Member
 
Join Date: Aug 2005
Posts: 41
Thanks: 0
Thanked 1 Time in 1 Post
Default Creating website - nothing happens

I'm creating a new website in ISPConfig, and everything seems fine in ISPConfig but after checking around it seems no new dir was made for the site neither was anything added to Vhosts_ispconfig.conf

Anyone have any idéas??
Reply With Quote
Sponsored Links
  #2  
Old 6th August 2005, 21:01
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts
Default

Did you adjust the values in the table isp_server in your MySQL database to your system?
__________________
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 7th August 2005, 12:50
hagel hagel is offline
Member
 
Join Date: Aug 2005
Posts: 41
Thanks: 0
Thanked 1 Time in 1 Post
Default

I did that, all values are correct, to the best of my knowledge..

Can't find anything wrong actually, any idéas?

Can you perhaps alter which group:user that should create directories and or alter Vhosts_ispconfig.conf ?? Right now it is root:root that owns the conf file, root also owns /var/www if that matters..

Cheers
Reply With Quote
  #4  
Old 7th August 2005, 13:49
hagel hagel is offline
Member
 
Join Date: Aug 2005
Posts: 41
Thanks: 0
Thanked 1 Time in 1 Post
Default

oh, btw, is it really apache that is supposed to create dirs etc? Or is there a cron job somewhere that hasn't been started?
Reply With Quote
  #5  
Old 7th August 2005, 13:57
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,012
Thanks: 840
Thanked 5,651 Times in 4,461 Posts
Default

Quote:
Originally Posted by hagel
oh, btw, is it really apache that is supposed to create dirs etc? Or is there a cron job somewhere that hasn't been started?
The dirs and users are not created by apache, it is a script (ispconfig_wconf) that is started by the /etc/init.d/ispconfig_server script together with the apache on port 81.
Did you have any errors in the ispconfig log?

Code:
/home/admispconfig/ispconfig/ispconfig.log
Reply With Quote
  #6  
Old 7th August 2005, 14:01
hagel hagel is offline
Member
 
Join Date: Aug 2005
Posts: 41
Thanks: 0
Thanked 1 Time in 1 Post
Default

gah... That script doesn't exist.. I started ISPConfig's apache manually..
Reply With Quote
  #7  
Old 7th August 2005, 14:07
hagel hagel is offline
Member
 
Join Date: Aug 2005
Posts: 41
Thanks: 0
Thanked 1 Time in 1 Post
Default

found the script, copied it to /etc/init.d/

seems to work a bit better now..
Reply With Quote
  #8  
Old 7th August 2005, 14:19
hagel hagel is offline
Member
 
Join Date: Aug 2005
Posts: 41
Thanks: 0
Thanked 1 Time in 1 Post
Default

Now the directories are correctly set up etc, but no entries are made in Vhosts_ispconfig.conf - but a copy is made of the file.
Reply With Quote
  #9  
Old 7th August 2005, 14:22
hagel hagel is offline
Member
 
Join Date: Aug 2005
Posts: 41
Thanks: 0
Thanked 1 Time in 1 Post
Default

This is the errors found in the log:

Code:
07.08.2005 - 13:14:17 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 1020: cp -fr /root/ispconfig/isp/error_en /var/www/web7/web/error
07.08.2005 - 13:14:17 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 1060: ln -s /var/www/web7 /var/www/setup.grub.se
07.08.2005 - 13:14:17 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 92: setquota -g web7 10240 10240 0 0 -a &> /dev/null
07.08.2005 - 13:14:17 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 113: Connected successfully
07.08.2005 - 13:14:17 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 208: MySQL FLUSH PRIVILEGES
07.08.2005 - 13:14:17 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php, Line 136: cp -fr /etc/mail/sendmail.cw /etc/mail/sendmail.cw
~
07.08.2005 - 13:14:17 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php, Line 283: cp -fr /etc/postfix/virtual_maps /etc/postfix/virt
ual_maps~
07.08.2005 - 13:14:17 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php, Line 288: postmap hash:/etc/postfix/virtual_maps
07.08.2005 - 13:14:17 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line
 1181: cp -fr /etc/apache2/conf/vhosts/Vhosts_ispconfig.conf /etc/apache2/conf/vhosts/Vhosts_ispconfig.conf~
07.08.2005 - 13:14:17 => WARN - /root/ispconfig/scripts/lib/config.lib.php, Line 1786: WARNING: could not httpd -t &> /dev/null
07.08.2005 - 13:14:17 => INFO - HTTPD_SYNTAX_CHECK: suexec
07.08.2005 - 13:14:17 => WARN - /root/ispconfig/scripts/lib/config.lib.php, Line 2327: WARNING: could not httpd -t  &> /dev/null
07.08.2005 - 13:14:17 => WARN - /root/ispconfig/scripts/lib/config.lib.php, Line 2333: httpd syntax seems to contain errors, reloading with old configurati
on
07.08.2005 - 13:14:17 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 2334: mv -f /etc/apache2/conf/vhosts/Vhosts_ispconfig.conf /etc/apache2/co
nf/vhosts/Vhosts_ispconfig.conf_07-08-05_13-14-17
07.08.2005 - 13:14:17 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 2335: mv -f /etc/apache2/conf/vhosts/Vhosts_ispconfig.conf~ /etc/apache2/c
onf/vhosts/Vhosts_ispconfig.conf
07.08.2005 - 13:14:17 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 696: /etc/init.d/apache reload &> /dev/null
07.08.2005 - 13:14:18 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 696: /etc/init.d/postfix stop &> /dev/null
07.08.2005 - 13:14:18 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 696: /etc/init.d/postfix start &> /dev/null
07.08.2005 - 13:14:18 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 1811: cp -fr /etc/proftpd_ispconfig.conf /etc/proftpd_ispconfig.conf~
note, httpd is not how I start/stop apache, I have /etc/init.d/apache2
Reply With Quote
  #10  
Old 7th August 2005, 15:38
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts
 
Default

Please have a look at this thread: http://www.howtoforge.com/forums/showthread.php?t=132
I think your Apache is missing some modules like PHP, etc.
__________________
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
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 17:59.


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