Current time: 11-26-2024, 07:45 AM Hello There, Guest! (LoginRegister)


Post Reply 
Error after regenerate configs
Author Message
tuxStyle Offline
Junior Member
*

Posts: 37
Joined: May 2009
Reputation: 0
Post: #1
Error after regenerate configs
My VPS went boom so, i've got another one from a different company.

Now, i'm trying to import everything from backups.
I imported the last SQL dump from ispcp and after i regenerate config files i get this error and apaches is not running.
Code:
Restarting web server: apache2apache2: Syntax error on line 285 of /etc/apache2/apache2.conf: Syntax error on line 1186 of /etc/apache2/sites-enabled/ispcp.conf: Could not open configuration file /etc/apache2/{MODS_DIR}/fcgid_ispcp.conf: No such file or directory
failed!

Seems that MODS_DIR is not replaced together with the all variables.
Unfortunately i have no idea where to look and fix this.

I'm using the last SVN version.

Also, one more question, after import, password/shadow files are not regenerated right (vu2xxx)?
(This post was last modified: 08-10-2009 06:08 AM by tuxStyle.)
08-10-2009 06:04 AM
Find all posts by this user Quote this message in a reply
tomdooley Offline
Development Team
*****
Dev Team

Posts: 332
Joined: Sep 2007
Reputation: 7
Post: #2
RE: Error after regenerate configs
These are two different problems. I can say something to the first problem (apache error message): Seems I missed some entry in one of the ispcp-xxx-mngr (e.g. ispcp-dmn-mngr) in r1886. Could you please create a new ticket for this? Please also tell us, which distribution you use.
08-10-2009 06:51 AM
Visit this user's website Find all posts by this user Quote this message in a reply
tuxStyle Offline
Junior Member
*

Posts: 37
Joined: May 2009
Reputation: 0
Post: #3
RE: Error after regenerate configs
I don't know how/where to create ticket Smile
I'm using Debian 5
08-10-2009 06:59 AM
Find all posts by this user Quote this message in a reply
tomdooley Offline
Development Team
*****
Dev Team

Posts: 332
Joined: Sep 2007
Reputation: 7
Post: #4
RE: Error after regenerate configs
OK, i'll have this in my mind. Hope to fix it the next two days. Your solution for now can be: checkout revision 1885. Thats the release before my changes to fcgid.
08-10-2009 07:08 AM
Visit this user's website Find all posts by this user Quote this message in a reply
tuxStyle Offline
Junior Member
*

Posts: 37
Joined: May 2009
Reputation: 0
Post: #5
RE: Error after regenerate configs
Thanks.
I'll try now.

By the way, seems that this OpenVZ makes me problems Tongue
Not enough memory ... dunno why, with XEN was enough.

Where i can find a tutorial top optimize ispCP in terms of resources?
08-10-2009 07:29 AM
Find all posts by this user Quote this message in a reply
tuxStyle Offline
Junior Member
*

Posts: 37
Joined: May 2009
Reputation: 0
Post: #6
RE: Error after regenerate configs
Ok, with 1885 i don't have this issue but something else is wrong:

1. named.conf is not regenerated (i changed the template to add allow-transfer)
2. serial in zones is not incremented.


Edit, i think i found out why.
After i regenerate the files and check the domains table i see this:

Code:
mysql> select domain_name, domain_status from domain;
+------------------------+-----------------------------------------------------------------------------------------------------+
| domain_name            | domain_status                                                                                       |
+------------------------+-----------------------------------------------------------------------------------------------------+
| sync.uni.cc            | setfmode() | ERROR: File '/var/www/virtual/sync.uni.cc/errors/inc/.svn' does not exist !            |
| activestyle.ca         | setfmode() | ERROR: File '/var/www/virtual/activestyle.ca/errors/inc/.svn' does not exist !         |
| gallery.activestyle.ca | setfmode() | ERROR: File '/var/www/virtual/gallery.activestyle.ca/errors/inc/.svn' does not exist ! |
| bits.activestyle.ca    | setfmode() | ERROR: File '/var/www/virtual/bits.activestyle.ca/errors/inc/.svn' does not exist !    |
| activestyle.uni.cc     | setfmode() | ERROR: File '/var/www/virtual/activestyle.uni.cc/errors/inc/.svn' does not exist !     |
| code.activestyle.ca    | setfmode() | ERROR: File '/var/www/virtual/code.activestyle.ca/errors/inc/.svn' does not exist !    |
| xstyle.eu.org          | setfmode() | ERROR: File '/var/www/virtual/xstyle.eu.org/errors/inc/.svn' does not exist !          |
+------------------------+-----------------------------------------------------------------------------------------------------+
7 rows in set (0.00 sec)

Why?
(This post was last modified: 08-10-2009 09:55 AM by tuxStyle.)
08-10-2009 08:51 AM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #7
RE: Error after regenerate configs
You use the svn-checkout and did not deleted the .svnfolders.
Please remove the .svn like this:
Code:
rm -fR `find /var/www/ispcp/ -type d -name '.svn'`

Or delete them manually.

Greez BeNe
(This post was last modified: 08-10-2009 06:30 PM by BeNe.)
08-10-2009 06:30 PM
Visit this user's website Find all posts by this user Quote this message in a reply
tuxStyle Offline
Junior Member
*

Posts: 37
Joined: May 2009
Reputation: 0
Post: #8
RE: Error after regenerate configs
I gave up last night and created all active accounts by hand (domain, sql, ftp).
08-11-2009 12:02 AM
Find all posts by this user Quote this message in a reply
tuxStyle Offline
Junior Member
*

Posts: 37
Joined: May 2009
Reputation: 0
Post: #9
RE: Error after regenerate configs
Me again Smile

My VPS provider did it again so, i had to reinstall everything.
I have backups so, i was a little lucky but now when i try to regenerate the configs i have the same problems i had a month ago:
Code:
mysql> select domain_status from domain;
+--------------------------------------------------------------------------------------------------+
| domain_status                                                                                    |
+--------------------------------------------------------------------------------------------------+
| repl_tag() | ERROR: Undefined template replacement data in repl_var: {BASE_SERVER_VHOST_PREFIX}! |
| repl_tag() | ERROR: Undefined template replacement data in repl_var: {BASE_SERVER_VHOST_PREFIX}! |
| repl_tag() | ERROR: Undefined template replacement data in repl_var: {BASE_SERVER_VHOST_PREFIX}! |
| repl_tag() | ERROR: Undefined template replacement data in repl_var: {BASE_SERVER_VHOST_PREFIX}! |
| repl_tag() | ERROR: Undefined template replacement data in repl_var: {BASE_SERVER_VHOST_PREFIX}! |
| repl_tag() | ERROR: Undefined template replacement data in repl_var: {BASE_SERVER_VHOST_PREFIX}! |
+--------------------------------------------------------------------------------------------------+
6 rows in set (0.00 sec)

What is happening with this script?
09-06-2009 12:21 PM
Find all posts by this user Quote this message in a reply
sci2tech Away
Senior Member
****

Posts: 1,285
Joined: Jan 2007
Reputation: 23
Post: #10
RE: Error after regenerate configs
BASE_SERVER_VHOST_PREFIX is missing from your ispcp.conf Please check.
09-06-2009 06:13 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)