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


Post Reply 
[SOLVED] IP change
Author Message
Meatwad Offline
Junior Member
*

Posts: 46
Joined: Feb 2008
Reputation: 0
Post: #1
[SOLVED] IP change
Hi,

i had a IP change of my webserver.

1. i changed the IP via phpmyadmin (just edited the entry and changed it to the new one).
2. i set everything to "change" and ran ispcp-rqst-manager
3. then i had double entrys for every host in the apache ispcp.conf. however, i deleted all the old-ip-entrys from the /etc/ispcp/apache/working/ispcp.conf and did step 2 again.

however, now i got these errors with every (sub-)domain and aliases:

Quote:get_tag() | ERROR: '# httpd Data BEGIN. ' ne '# httpd Data END. ', '# httpd Data BEGIN. ' or '# httpd Data END. ' missing in src !

the first line of the configfile is "# httpd Data BEGIN." and the last line is "# httpd Data END."

can somebody help? i'd like to regenerate all configfiles from skratch. is that possible?


regards,
} Meatwad
(This post was last modified: 02-04-2009 02:32 AM by Meatwad.)
02-02-2009 05:24 AM
Find all posts by this user Quote this message in a reply
ceco91 Offline
Moderator
*****
Moderators

Posts: 95
Joined: Jan 2009
Reputation: 0
Post: #2
RE: IP change
You have wrong beggining and ending of your /etc/apache/sites-enabed/ispcp.conf (or /etc/httpd/vhosts/ispcp.conf). Check /etc/ispcp/apache/working/ispcp.conf
02-03-2009 04:48 AM
Find all posts by this user Quote this message in a reply
Meatwad Offline
Junior Member
*

Posts: 46
Joined: Feb 2008
Reputation: 0
Post: #3
RE: IP change
as i said i edited the /etc/ispcp/apache/working/ispcp.conf

/etc/apache/sites-availible/ispcp.conf is the same as /etc/ispcp/apache/working/ispcp.conf

both are just the same configs bevor the error did occur. i just replaced all old ips with the new one.
02-03-2009 05:32 AM
Find all posts by this user Quote this message in a reply
ceco91 Offline
Moderator
*****
Moderators

Posts: 95
Joined: Jan 2009
Reputation: 0
Post: #4
RE: IP change
There are a signficant number of space before and after the tag.I offer you to copy the exact information from cfg_b.tpl (ispcp.conf start) and cfg_e.tpl (ispcp.conf end).
02-03-2009 06:21 AM
Find all posts by this user Quote this message in a reply
Meatwad Offline
Junior Member
*

Posts: 46
Joined: Feb 2008
Reputation: 0
Post: #5
RE: IP change
somehow that didn't want to work. is there no script which deletes & regenerates ALL ispcp configs? i'm having problems with the mailserver as well.

regards,
} Meatwad
02-03-2009 07:36 AM
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: #6
RE: IP change
If you use RC7 or later: http://www.isp-control.net/documentation...ed_version
(This post was last modified: 02-03-2009 07:55 AM by sci2tech.)
02-03-2009 07:53 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Meatwad Offline
Junior Member
*

Posts: 46
Joined: Feb 2008
Reputation: 0
Post: #7
RE: IP change
thanks for help.

the ispcp.conf was not in unix-format because i edited on my dekstop pc -.-

thanks,
} Meatwad
02-04-2009 02:31 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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