[SOLVED] IP change - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Support Area (/forum-30.html) +--- Forum: System Setup & Installation (/forum-32.html) +--- Thread: [SOLVED] IP change (/thread-5600.html) |
[SOLVED] IP change - Meatwad - 02-02-2009 05:24 AM 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 RE: IP change - ceco91 - 02-03-2009 04:48 AM 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 RE: IP change - Meatwad - 02-03-2009 05:32 AM 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. RE: IP change - ceco91 - 02-03-2009 06:21 AM 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). RE: IP change - Meatwad - 02-03-2009 07:36 AM 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 RE: IP change - sci2tech - 02-03-2009 07:53 AM If you use RC7 or later: http://www.isp-control.net/documentation/start/scripts/updatenightly#automated_version RE: IP change - Meatwad - 02-04-2009 02:31 AM thanks for help. the ispcp.conf was not in unix-format because i edited on my dekstop pc -.- thanks, } Meatwad |