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 28th October 2012, 20:36
inferno3031 inferno3031 is offline
Junior Member
 
Join Date: Oct 2012
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default Can't create sites after centos 6.3 upgrade

Hello everyone,

as i wrote in the topic title i have an issue with my ispconfig 3 after centos 6.2 > 6.3 upgrade. The only thing that seems not to work is adding new sites and of course ftp users along with it. When i looked closely at what ispconfig is doing while adding a site i saw this in the base_dir, debug logs and ispconfig database entries :

/var/www/clients/client0/web27/web:/var/www/clients/clijavascript:changeTab(\'dns\',\'admin/server_config_edit.php\')ent0/web27/tmp:/var/www/site-domain.com/web:/srv/www/site-domain.com/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin:/usr/share/php

So obviously the problem is the additional js string in the directory name. I don't know how this string is getting there and i hoped you could help me. For the record i used firefox and chrome for it so i doubt it would be my browsers fault. Can anyone help me pls?
Reply With Quote
Sponsored Links
  #2  
Old 29th October 2012, 09:52
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

Did you made a ispconfig update after you upgraded centos? If not, download the ispconfig tar.gz file, unpack it and run the update.php script which is in the install folder. Choose to reconfigure services when the updater asks you.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 29th October 2012, 10:00
inferno3031 inferno3031 is offline
Junior Member
 
Join Date: Oct 2012
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

If i remember it correctly i think i did a small ispconfig update back then. I did it through ispconfig_update.sh. Should i still run the the update.php with reconfiguring the services?
Reply With Quote
  #4  
Old 29th October 2012, 10:03
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

Yes, please do the manual update again.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 29th October 2012, 10:31
inferno3031 inferno3031 is offline
Junior Member
 
Join Date: Oct 2012
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ok so i did the manual update of the ispconfig with reconfiguring services. Unfortunately i still get the same result :

(from the ispconfig syslog)
2012-10-29 08:20 xxx.com Debug Creating symlink: ln -s /var/log/ispconfig/httpd/domain.com /var/www/clients/clijavascript:changeTab('dns','admin/server_config_edit.php')ent0/web29/log

Do you have any other ideas? Maybe theres something wrong with my ispconfig files? Or my php? This js added in fields is so werid.

Last edited by inferno3031; 29th October 2012 at 10:34.
Reply With Quote
  #6  
Old 29th October 2012, 11:21
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:
Maybe theres something wrong with my ispconfig files?
This was my guess, but the update shuld have replaced all fies. Or do you use a custom ispconfig theme which has not been replaced by the update?

What happens when you set the correct open_basedir path in the open basedir field of the website and click on save, is the path then correct or did the javascript code added again?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 29th October 2012, 11:54
inferno3031 inferno3031 is offline
Junior Member
 
Join Date: Oct 2012
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

No i use a standard theme. I even switched language from polish to english back but it didn't help either. When i remove the js from the basedir in site options it doesn't appear there again (like the websites i created before the update have their basedirs all ok and working). But when i change it it doesn't create the new directory Like when i change this :

/var/www/clients/clijavascript:changeTab(\'dns\',\'admin/server_config_edit.php\')ent0/web33/web:/var/www/clients/clijavascript:changeTab(\'dns\',\'admin/server_config_edit.php\')ent0/web33/tmp:/var/www/avc.pl/web:/srv/www/avc.pl/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin:/usr/share/php

to this

/var/www/clients/client0/web33/web:/var/www/clients/client0/web33/tmp:/var/www/avc.pl/web:/srv/www/avc.pl/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin:/usr/share/php

I have no web33 in my client0 folder. I also tried creating a site from client account also without any improvement.

Last edited by inferno3031; 29th October 2012 at 11:57.
Reply With Quote
  #8  
Old 29th October 2012, 12:00
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

I guess this is a new website? In this case, please delete the site and recreate it after you enabled debugging and post the messages that you get. See end of this post for details on debug mode:

http://www.howtoforge.com/forums/showthread.php?t=58408
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #9  
Old 29th October 2012, 12:09
inferno3031 inferno3031 is offline
Junior Member
 
Join Date: Oct 2012
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for your help so far. Is this what you wanted? :

Code:
2012-10-29 09:57 my-host.pl Debug Calling function 'restartHttpd' from module 'web_module'.  
2012-10-29 09:57 my-host.pl Debug Processed datalog_id 1348  
2012-10-29 09:57 my-host.pl Debug Calling function 'restartHttpd' from module 'web_module'.  
2012-10-29 09:57 my-host.pl Warning Apache did not restart after the configuration change for website test-domain.pl Reverting the configuration. Saved non-working config as /etc/httpd/conf/sites-available/test-domain.pl.vhost.err Delete  
2012-10-29 09:57 my-host.pl Debug Apache online status after restart is:   
2012-10-29 09:57 my-host.pl Debug Calling function 'restartHttpd' from module 'web_module'.  
2012-10-29 09:57 my-host.pl Debug Apache status is: 1  
2012-10-29 09:57 my-host.pl Debug Creating symlink: /etc/httpd/conf/sites-enabled/100-test-domain.pl.vhost->/etc/httpd/conf/sites-available/test-domain.pl.vhost  
2012-10-29 09:57 my-host.pl Debug Writing the vhost file: /etc/httpd/conf/sites-available/test-domain.pl.vhost  
2012-10-29 09:57 my-host.pl Debug Creating fastcgi starter script: /var/www/php-fcgi-scripts/web35/.php-fcgi-starter  
2012-10-29 09:57 my-host.pl Debug Creating fastcgi starter script directory: /var/www/php-fcgi-scripts/web35 

2012-10-29 09:57 my-host.pl Debug exec: chown web35:client0 /var/www/clients/clijavascript:changeTab('dns','admin/server_config_edit.php')ent0/web35/log/error.log  
2012-10-29 09:57 my-host.pl Debug exec: chown -R web35:client0 /var/www/clients/clijavascript:changeTab('dns','admin/server_config_edit.php')ent0/web35/web  
2012-10-29 09:57 my-host.pl Debug exec: chown web35:client0 /var/www/clients/clijavascript:changeTab('dns','admin/server_config_edit.php')ent0/web35/tmp  
2012-10-29 09:57 my-host.pl Debug exec: chown web35:client0 /var/www/clients/clijavascript:changeTab('dns','admin/server_config_edit.php')ent0/web35/ssl  
2012-10-29 09:57 my-host.pl Debug exec: chown web35:client0 /var/www/clients/clijavascript:changeTab('dns','admin/server_config_edit.php')ent0/web35/log  
2012-10-29 09:57 my-host.pl Debug exec: chown web35:client0 /var/www/clients/clijavascript:changeTab('dns','admin/server_config_edit.php')ent0/web35/cgi-bin  
2012-10-29 09:57 my-host.pl Debug exec: chown web35:client0 /var/www/clients/clijavascript:changeTab('dns','admin/server_config_edit.php')ent0/web35  
2012-10-29 09:57 my-host.pl Debug exec: usermod --groups sshusers web35  
2012-10-29 09:57 my-host.pl Debug exec: chmod 755 /var/www/clients/clijavascript:changeTab('dns','admin/server_config_edit.php')ent0/web35/log  
2012-10-29 09:57 my-host.pl Debug exec: chmod 777 /var/www/clients/clijavascript:changeTab('dns','admin/server_config_edit.php')ent0/web35/tmp  
2012-10-29 09:57 my-host.pl Debug exec: chmod 710 /var/www/clients/clijavascript:changeTab('dns','admin/server_config_edit.php')ent0/web35/web  
2012-10-29 09:57 my-host.pl Debug exec: chmod 751 /var/www/clients/clijavascript:changeTab('dns','admin/server_config_edit.php')ent0/web35/*  
2012-10-29 09:57 my-host.pl Debug exec: chmod 751 /var/www/clients/clijavascript:changeTab('dns','admin/server_config_edit.php')ent0/web35  
2012-10-29 09:57 my-host.pl Debug exec: chown web35:client0 /var/www/clients/clijavascript:changeTab('dns','admin/server_config_edit.php')ent0/web35/web  
2012-10-29 09:57 my-host.pl Debug exec: chown -R web35:client0 /var/www/clients/clijavascript:changeTab('dns','admin/server_config_edit.php')ent0/web35/web 
2012-10-29 09:57 my-host.pl Debug Adding the user: web35  
2012-10-29 09:57 my-host.pl Debug Calling function 'insert' from plugin 'apache2_plugin' raised by event 'web_domain_insert'.  
2012-10-29 09:57 my-host.pl Debug Calling function 'ssl' from plugin 'apache2_plugin' raised by event 'web_domain_insert'.  
2012-10-29 09:57 my-host.pl Debug Processed datalog_id 1347
Reply With Quote
  #10  
Old 29th October 2012, 12:17
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

Thanks for posting the debug output.

Which exact ispconfig version do you use, 3.0.4.6?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
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
Error install suphp on centos 6.3 tuto. r4faga Installation/Configuration 4 6th September 2012 20:03
ISPConfig 3 Centos 6 Slow Sites doggybs Installation/Configuration 3 17th April 2012 13:36
Problems connecting my HTC Desire outgoing mail client to Postfix and ISP Config 2 j.smith1981 Server Operation 6 12th July 2010 20:07
Mail issue after upgrade on CentOS 5.4 bseibenick General 2 26th June 2010 23:05
CentOS 4 - Zlib upgrade HowTo cryptic Tips/Tricks/Mods 7 3rd May 2008 22:14


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


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