Current time: 04-18-2024, 11:24 AM Hello There, Guest! (LoginRegister)


Post Reply 
[SOLVED]corupted apache configs
Author Message
dwander Offline
Junior Member
*

Posts: 18
Joined: Jun 2010
Reputation: 0
Post: #1
[SOLVED]corupted apache configs
i get error when adding anything to apache configs (manually, automatically)
Code:
get_tag() | ERROR: '# httpd Data BEGIN.
' ne '# httpd Data END.
', '# httpd Data BEGIN.
' or '# httpd Data END.
' missing in src !

is there some way, to repair configs ? maybee clearly regenerate, but i don't know how.
(This post was last modified: 09-07-2010 07:10 AM by dwander.)
09-04-2010 04:19 AM
Find all posts by this user Quote this message in a reply
vanshyr Offline
Junior Member
*

Posts: 33
Joined: Apr 2009
Reputation: 0
Post: #2
RE: corupted apache configs
You should have a backup of configuration files in /etc/ispcp/apache

(09-04-2010 04:19 AM)dwander Wrote:  i get error when adding anything to apache configs (manually, automatically)
Code:
get_tag() | ERROR: '# httpd Data BEGIN.
' ne '# httpd Data END.
', '# httpd Data BEGIN.
' or '# httpd Data END.
' missing in src !

is there some way, to repair configs ? maybee clearly regenerate, but i don't know how.
09-05-2010 09:06 PM
Find all posts by this user Quote this message in a reply
dwander Offline
Junior Member
*

Posts: 18
Joined: Jun 2010
Reputation: 0
Post: #3
RE: corupted apache configs
(09-05-2010 09:06 PM)vanshyr Wrote:  You should have a backup of configuration files in /etc/ispcp/apache

so, if iam copy some old backup to working, and then set all domains, subdomains and aliases to change, and run request manager, should it reapair itself ?
09-05-2010 09:11 PM
Find all posts by this user Quote this message in a reply
vanshyr Offline
Junior Member
*

Posts: 33
Joined: Apr 2009
Reputation: 0
Post: #4
RE: corupted apache configs
Yes, you should have a copy of your last working apache configs in /etc/ispcp/apache

In the backup directory inside apache directory you have, backups of virtual domains before last change. You can try to restore the data from there.

By the way, do backups of your current configuration before do any change (always is good to make aditional backup Tongue)

Regards!

(09-05-2010 09:11 PM)dwander Wrote:  
(09-05-2010 09:06 PM)vanshyr Wrote:  You should have a backup of configuration files in /etc/ispcp/apache

so, if iam copy some old backup to working, and then set all domains, subdomains and aliases to change, and run request manager, should it reapair itself ?
09-06-2010 06:39 PM
Find all posts by this user Quote this message in a reply
dwander Offline
Junior Member
*

Posts: 18
Joined: Jun 2010
Reputation: 0
Post: #5
RE: corupted apache configs
thank you very much ... i mus take very old backups to make configs valid, but it worked :-) THX
09-07-2010 07:10 AM
Find all posts by this user Quote this message in a reply
TechJack Offline


Posts: 1
Joined: Sep 2010
Reputation: 0
Post: #6
RE: corupted apache configs
Yikes, I have to remember to always make config backups before changing anything. I'm glad this thread alerted me to that. Its kind of a pain when you need to use really old backups and try to remember all the tweakings you had already done in the meantime.
09-11-2010 12:41 AM
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)