Current time: 11-25-2024, 02:38 PM Hello There, Guest! (LoginRegister)


Post Reply 
[r1386 - Bugreport] Subdomain Error
Author Message
gOOvER Offline
Banned

Posts: 3,561
Joined: Jul 2007
Post: #1
[r1386 - Bugreport] Subdomain Error
So, i now i also can't post Tickets, because i'm a Spammer Tongue

After Upgrading to r1386, i can't reach my Subdomains. Error:

Code:
store_file() | ERROR: Can't open file |/etc/ispcp/proftpd/working/<sub>.<domain>.<tld>.conf| for writing: file not found

The /working wasn't created during Site rebuild.
10-21-2008 12:12 AM
Visit this user's website 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: #2
RE: [r1386 - Bugreport] Subdomain Error
(10-21-2008 12:12 AM)gOOvER Wrote:  So, i now i also can't post Tickets, because i'm a Spammer Tongue

After Upgrading to r1386, i can't reach my Subdomains. Error:

Code:
store_file() | ERROR: Can't open file |/etc/ispcp/proftpd/working/<sub>.<domain>.<tld>.conf| for writing: file not found

The /working wasn't created during Site rebuild.
This folder working is not created during rebuilding. I must update nightly update script to do so. But I installed a fresh new ispcp and is created Wink. Try to do a make and inspect content of /tmp/ispcp/etc/ispcp and see if is created or not.
10-21-2008 01:57 AM
Visit this user's website Find all posts by this user Quote this message in a reply
gOOvER Offline
Banned

Posts: 3,561
Joined: Jul 2007
Post: #3
RE: [r1386 - Bugreport] Subdomain Error
(10-21-2008 01:57 AM)sci2tech Wrote:  
(10-21-2008 12:12 AM)gOOvER Wrote:  So, i now i also can't post Tickets, because i'm a Spammer Tongue

After Upgrading to r1386, i can't reach my Subdomains. Error:

Code:
store_file() | ERROR: Can't open file |/etc/ispcp/proftpd/working/<sub>.<domain>.<tld>.conf| for writing: file not found

The /working wasn't created during Site rebuild.
This folder working is not created during rebuilding. I must update nightly update script to do so. But I installed a fresh new ispcp and is created Wink. Try to do a make and inspect content of /tmp/ispcp/etc/ispcp and see if is created or not.

It was created during make, but it's not created when you are using the Updatescript Smile
10-21-2008 06:45 AM
Visit this user's website 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: #4
RE: [r1386 - Bugreport] Subdomain Error
(10-21-2008 06:45 AM)gOOvER Wrote:  It was created during make, but it's not created when you are using the Updatescript Smile
Nightly update script is limited. I`ll start working on a new version than will update more (all if possible) config files Wink
10-22-2008 01:06 AM
Visit this user's website Find all posts by this user Quote this message in a reply
pikkuveli Offline


Posts: 3
Joined: Feb 2007
Reputation: 0
Post: #5
RE: [r1386 - Bugreport] Subdomain Error
My subdomain not work, main domain work perfect but control panel to inform to be a state subdomain address status is now "Unknown error"

my revision last night 21.10.2008
10-22-2008 01:28 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: [r1386 - Bugreport] Subdomain Error
(10-22-2008 01:28 AM)pikkuveli Wrote:  My subdomain not work, main domain work perfect but control panel to inform to be a state subdomain address status is now "Unknown error"

my revision last night 21.10.2008

Did you perform database update?
10-22-2008 02:05 AM
Visit this user's website Find all posts by this user Quote this message in a reply
gOOvER Offline
Banned

Posts: 3,561
Joined: Jul 2007
Post: #7
RE: [r1386 - Bugreport] Subdomain Error
That's the same as I have Smile. In /etc/ispcp/proftpd the /working is missing Wink
10-22-2008 02:32 AM
Visit this user's website Find all posts by this user Quote this message in a reply
pikkuveli Offline


Posts: 3
Joined: Feb 2007
Reputation: 0
Post: #8
RE: [r1386 - Bugreport] Subdomain Error
(10-22-2008 02:05 AM)sci2tech Wrote:  
(10-22-2008 01:28 AM)pikkuveli Wrote:  My subdomain not work, main domain work perfect but control panel to inform to be a state subdomain address status is now "Unknown error"

my revision last night 21.10.2008

Did you perform database update?

yes i do...
10-22-2008 03:26 AM
Find all posts by this user Quote this message in a reply
gOOvER Offline
Banned

Posts: 3,561
Joined: Jul 2007
Post: #9
RE: [r1386 - Bugreport] Subdomain Error
Did you make a new install or is this an update from an earlier nightly?
10-22-2008 03:29 AM
Visit this user's website 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: [r1386 - Bugreport] Subdomain Error
In /etc/ispcp/proftpd you must have following folders:
Code:
backup
parts
working
In /etc/ispcp/proftpd/parts/you must have one file named proftpd.conf.tpl with following content:
Code:
<Directory {PATH}/backups>
<Limit RMD RNTO DELE XRMD>
  DenyAll
</Limit>
</Directory>
<Directory {PATH}/backups/*>
<Limit RMD RNTO DELE XRMD>
    AllowAll
</Limit>
</Directory>

<Directory {PATH}/cgi-bin>
<Limit RMD RNTO DELE XRMD>
  DenyAll
</Limit>
</Directory>
<Directory {PATH}/cgi-bin/*>
<Limit RMD RNTO DELE XRMD>
    AllowAll
</Limit>
</Directory>

<Directory {PATH}/htdocs>
<Limit RMD RNTO DELE XRMD>
  DenyAll
</Limit>
</Directory>
<Directory {PATH}/htdocs/*>
<Limit RMD RNTO DELE XRMD>
    AllowAll
</Limit>
</Directory>

<Directory {PATH}/errors>
<Limit RMD RNTO DELE XRMD>
  DenyAll
</Limit>
</Directory>
<Directory {PATH}/errors/*>
<Limit RMD RNTO DELE XRMD>
    AllowAll
</Limit>
</Directory>

<Directory {PATH}/logs>
<Limit RMD RNTO DELE XRMD>
  DenyAll
</Limit>
</Directory>
<Directory {PATH}/logs/*>
<Limit RMD RNTO DELE XRMD>
    AllowAll
</Limit>
</Directory>

<Directory {PATH}/phptmp>
<Limit RMD RNTO DELE XRMD>
  DenyAll
</Limit>
</Directory>
<Directory {PATH}/phptmp/*>
<Limit RMD RNTO DELE XRMD>
    AllowAll
</Limit>
</Directory>

<Directory {PATH}/statistics>
<Limit RMD RNTO DELE XRMD>
  DenyAll
</Limit>
</Directory>
<Directory {PATH}/statistics/*>
<Limit RMD RNTO DELE XRMD>
    AllowAll
</Limit>
</Directory>
In /etc/proftpd you mus have following folder: ispcp. In /etc/proftpd/ispcp you mast have one file named root_domain.conf with following content:
Code:
<Directory ~/backups>
<Limit RMD RNTO DELE XRMD>
  DenyAll
</Limit>
</Directory>
<Directory /var/www/virtual/cms.eu.bogus/backups/*>
<Limit RMD RNTO DELE XRMD>
    AllowAll
</Limit>
</Directory>

<Directory ~/cgi-bin>
<Limit RMD RNTO DELE XRMD>
  DenyAll
</Limit>
</Directory>
<Directory ~/cgi-bin/*>
<Limit RMD RNTO DELE XRMD>
    AllowAll
</Limit>
</Directory>

<Directory ~/htdocs>
<Limit RMD RNTO DELE XRMD>
  DenyAll
</Limit>
</Directory>
<Directory ~/htdocs/*>
<Limit RMD RNTO DELE XRMD>
    AllowAll
</Limit>
</Directory>

<Directory ~/errors>
<Limit RMD RNTO DELE XRMD>
  DenyAll
</Limit>
</Directory>
<Directory ~/errors/*>
<Limit RMD RNTO DELE XRMD>
    AllowAll
</Limit>
</Directory>

<Directory ~/logs>
<Limit RMD RNTO DELE XRMD>
  DenyAll
</Limit>
</Directory>
<Directory ~/logs/*>
<Limit RMD RNTO DELE XRMD>
    AllowAll
</Limit>
</Directory>

<Directory ~/phptmp>
<Limit RMD RNTO DELE XRMD>
  DenyAll
</Limit>
</Directory>
<Directory ~/phptmp/*>
<Limit RMD RNTO DELE XRMD>
    AllowAll
</Limit>
</Directory>

<Directory ~/statistics>
<Limit RMD RNTO DELE XRMD>
  DenyAll
</Limit>
</Directory>
<Directory ~/statistics/*>
<Limit RMD RNTO DELE XRMD>
    AllowAll
</Limit>
</Directory>
Also in proftpd.conf you must have following line:
Code:
Include /etc/proftpd/ispcp/*
/etc/proftpd/ispcp, /etc/ispcp/proftpd/parts, /etc/ispcp/proftpd/working folders, and /etc/proftpd/ispcp/root_domain.conf Are not created by nighly update script (only a fres install will do this). Also Include /etc/proftpd/ispcp/* is added only by a fresh install, not by update nightly script.
10-22-2008 03:54 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: 2 Guest(s)