ispCP - Board - Support
[r1386 - Bugreport] Subdomain Error - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Update/Upgrade (/forum-44.html)
+--- Thread: [r1386 - Bugreport] Subdomain Error (/thread-4742.html)

Pages: 1 2


[r1386 - Bugreport] Subdomain Error - gOOvER - 10-21-2008 12:12 AM

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.


RE: [r1386 - Bugreport] Subdomain Error - sci2tech - 10-21-2008 01:57 AM

(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.


RE: [r1386 - Bugreport] Subdomain Error - gOOvER - 10-21-2008 06:45 AM

(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


RE: [r1386 - Bugreport] Subdomain Error - sci2tech - 10-22-2008 01:06 AM

(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


RE: [r1386 - Bugreport] Subdomain Error - pikkuveli - 10-22-2008 01:28 AM

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


RE: [r1386 - Bugreport] Subdomain Error - sci2tech - 10-22-2008 02:05 AM

(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?


RE: [r1386 - Bugreport] Subdomain Error - gOOvER - 10-22-2008 02:32 AM

That's the same as I have Smile. In /etc/ispcp/proftpd the /working is missing Wink


RE: [r1386 - Bugreport] Subdomain Error - pikkuveli - 10-22-2008 03:26 AM

(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...


RE: [r1386 - Bugreport] Subdomain Error - gOOvER - 10-22-2008 03:29 AM

Did you make a new install or is this an update from an earlier nightly?


RE: [r1386 - Bugreport] Subdomain Error - sci2tech - 10-22-2008 03:54 AM

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.