Current time: 11-22-2024, 05:09 AM Hello There, Guest! (LoginRegister)


Post Reply 
deleted domain in ispcp.conf
Author Message
Raro Offline
Junior Member
*

Posts: 10
Joined: Jul 2007
Reputation: 0
Post: #1
deleted domain in ispcp.conf
Hi all

I have a problem with a couple of domains which i deleted. They keep reappearing in the ispcp.conf apache file.
I checked the ispcp database and in the domain table they can't be found. But somehow ispcp is generating the deleted domains in the config file.
As a temporary fix i delete the lines of the domain from this config file, but on each change in ispcp the lines are regerated so this is getting annoying.

Can anyone help me solving this irritating issue
02-24-2013 05:19 AM
Find all posts by this user Quote this message in a reply
goov Offline
Junior Member
*

Posts: 52
Joined: Dec 2012
Reputation: 0
Post: #2
RE: deleted domain in ispcp.conf
ispCP is a dead Project. use one of the Forkes Wink


http://www. i - m s c p . net
02-24-2013 06:55 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Raro Offline
Junior Member
*

Posts: 10
Joined: Jul 2007
Reputation: 0
Post: #3
RE: deleted domain in ispcp.conf
well since your suggestion is based on the ispcp code, it prolly has the same issue doens't it Wink
02-24-2013 11:37 PM
Find all posts by this user Quote this message in a reply
goov Offline
Junior Member
*

Posts: 52
Joined: Dec 2012
Reputation: 0
Post: #4
RE: deleted domain in ispcp.conf
Maybe, Maybe not Wink
02-25-2013 03:09 AM
Visit this user's website Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #5
RE: deleted domain in ispcp.conf
@raro
check the working copy:

/etc/ispcp/apache/working/httpd.conf

if the deleted domains are there, then something went wrong with the deletion... - but then you should look in the ispcp-logs from the deletion date... maybe there you will find something...

/J
02-25-2013 11:52 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Raro Offline
Junior Member
*

Posts: 10
Joined: Jul 2007
Reputation: 0
Post: #6
RE: deleted domain in ispcp.conf
(02-25-2013 11:52 AM)joximu Wrote:  @raro
check the working copy:

/etc/ispcp/apache/working/httpd.conf

if the deleted domains are there, then something went wrong with the deletion... - but then you should look in the ispcp-logs from the deletion date... maybe there you will find something...

/J

HeY Joximu
Thanx for your reply

I checked /etc/apache2/sites-available/ispcp.conf (i don't have your file), and it seems all deleted domains are in there.
Since it's too long ago i can't really check the logs anymore.
I still think that there must be some file db or something, since i can't find the deleted domains in the mysql db.

You got any more hints i can use?
btw when i delete a already "deleted" domain from the /etc/apache2/sites-available/ispcp.conf it is regenerated again after making a change in the ispcp control panel, again, this domain is no where to be found in the mysql db
(This post was last modified: 05-08-2013 11:42 PM by Raro.)
05-08-2013 11:38 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #7
RE: deleted domain in ispcp.conf
Hi.

Can you please post the output of the following commands...


# ls -la /etc/apache2/sites-enabled/ispcp.conf

# ls -la /etc/apache2/sites-available/ispcp.conf

# ls -la /etc/ispcp/apache/working/ispcp.conf


With this information, maybe I can help you...

/J
05-17-2013 01:52 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Raro Offline
Junior Member
*

Posts: 10
Joined: Jul 2007
Reputation: 0
Post: #8
RE: deleted domain in ispcp.conf
lrwxrwxrwx 1 xxx xxx 29 2010-06-29 16:14 /etc/apache2/sites-enabled/ispcp.conf -> ../sites-available/ispcp.conf

-rw-r--r-- 1 xxx xxx 884048 2013-05-13 13:10 /etc/apache2/sites-available/ispcp.conf

-rw-r--r-- 1 xxx xxx 922757 2013-05-13 13:01 /etc/ispcp/apache/working/ispcp.conf
And note that the first file has a different timestamp because i have to edit it all the time
(This post was last modified: 05-17-2013 03:07 AM by Raro.)
05-17-2013 03:05 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #9
RE: deleted domain in ispcp.conf
ok, not only the timestamp is different... also the size.

If the domains are really deleted in ispcp (have a look in the ispcp-database...) - then you better make your manual changes on the "working copy"... then they are persistent... :-)

/J

ps: working copy is the third file... /etc/ispcp/apache/working/ispcp.conf ...
(This post was last modified: 05-20-2013 05:33 AM by joximu.)
05-20-2013 05:29 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Raro Offline
Junior Member
*

Posts: 10
Joined: Jul 2007
Reputation: 0
Post: #10
RE: deleted domain in ispcp.conf
Thanx joximu

That did the trick!!!
Retested it by adding a subdomain, and it seems the files are updated correctly now Smile

This saves me a lot of trouble, thanx again!
05-20-2013 08:48 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)