Current time: 04-30-2024, 10:09 PM Hello There, Guest! (LoginRegister)


Thread Closed 
ispCP Omega 1.0.2
Author Message
flotix Offline
Junior Member
*

Posts: 28
Joined: Jan 2009
Reputation: 0
Post: #41
RE: ispCP Omega 1.0.2
I replace all variables and its work
08-28-2009 01:54 AM
Find all posts by this user
grg Offline
Junior Member
*

Posts: 49
Joined: Sep 2008
Reputation: 0
Post: #42
RE: ispCP Omega 1.0.2
Again, another problem:

on my named.conf they were missing main zones entries (the address where ispcp is running).

I've restored the old file and i've solved the problem, but at this point i'm almost sure there is a bug in the update process... right?

EDIT:

i've created a script that launches a "diff" to check differences between all current files in 7etc7 and the files of the pre-update backup.

Those are modified files:

Quote:/etc/apache2/mods-available/fastcgi_ispcp.conf
22c22
< FastCgiIpcDir /var/lib/apache2/fastcgi
---
> FastCgiIpcDir /var/lib/apache2/fastcgi2
34c34
< FastCgiServer {PHP_STARTER_DIR}/master/php{PHP_VERSION}-fcgi-starter -user {APACHE_SUEXEC_USER_PREF}{APACHE_SUEXEC_MIN_UID} -group {APACHE_SUEXEC_USER_PREF}{APACHE_SUEXEC_MIN_GID} -idle-timeout 300
---
> FastCgiServer /var/www/fcgi/master/php5-fcgi-starter -user vu2000 -group vu2000 -idle-timeout 300
37c37
< # PHP{PHP_VERSION} SUPPORT
---
> # PHP5 SUPPORT
40c40
< AddHandler php-fastcgi .php .php{PHP_VERSION}
---
> AddHandler php-fastcgi .php .php5
42c42
< <Location /php{PHP_VERSION}/php{PHP_VERSION}-fcgi-starter>
---
> <Location /php5/php5-fcgi-starter>
47,48c47,48
< Action php-fastcgi /php{PHP_VERSION}/php{PHP_VERSION}-fcgi-starter
< AddType application/x-httpd-php .php .php{PHP_VERSION}
---
> Action php-fastcgi /php5/php5-fcgi-starter
> AddType application/x-httpd-php .php .php5

Quote:/etc/apache2/mods-available/fcgid_ispcp.conf
21c21
< AddHandler fcgid-script .php .php{PHP_VERSION}
---
> AddHandler fcgid-script .php .php5

Quote:/etc/ispcp/cron.d/working/ispcp
5c5
< @daily root {QUOTA_ROOT_DIR}/ispcp-dsk-quota &>{LOG_DIR}/ispcp-dsk-quota.log
---
> @daily root /var/www/ispcp/engine/quota/ispcp-dsk-quota &>/var/log/ispcp/ispcp-dsk-quota.log
8,10c8,10
< 0,30 * * * * root {TRAFF_ROOT_DIR}/ispcp-srv-traff &>{LOG_DIR}/ispcp-srv-traff.log
< 0,30 * * * * root {TRAFF_ROOT_DIR}/ispcp-vrl-traff &>{LOG_DIR}/ispcp-vrl-traff.log
< 15,45 * * * * root {TRAFF_ROOT_DIR}/ispcp-vrl-traff-correction &>{LOG_DIR}/ispcp-vrl-traff-correction.log
---
> 0,30 * * * * root /var/www/ispcp/engine/traffic/ispcp-srv-traff &>/var/log/ispcp/ispcp-srv-traff.log
> 0,30 * * * * root /var/www/ispcp/engine/traffic/ispcp-vrl-traff &>/var/log/ispcp/ispcp-vrl-traff.log
> 15,45 * * * * root /var/www/ispcp/engine/traffic/ispcp-vrl-traff-correction &>/var/log/ispcp/ispcp-vrl-traff-correction.log
13c13
< @daily root {TOOLS_ROOT_DIR}/ispcp-httpd-logs-mngr &>{LOG_DIR}/ispcp-httpd-logs-mngr.log
---
> @daily root /var/www/ispcp/engine/tools/ispcp-httpd-logs-mngr &>/var/log/ispcp/ispcp-httpd-logs-mngr.log
16,17c16,17
< @daily root {BACKUP_ROOT_DIR}/ispcp-backup-all yes &>{LOG_DIR}/ispcp-backup-all-mngr.log
< @daily root {BACKUP_ROOT_DIR}/ispcp-backup-ispcp noreport &>{LOG_DIR}/ispcp-backup-ispcp-mngr.log
---
> @daily root /var/www/ispcp/engine/backup/ispcp-backup-all yes &>/var/log/ispcp/ispcp-backup-all-mngr.log
> @daily root /var/www/ispcp/engine/backup/ispcp-backup-ispcp noreport &>/var/log/ispcp/ispcp-backup-ispcp-mngr.log
20c20
< @daily root find {CONF_DIR}/*/backup/* -maxdepth 0 -type f -mtime +7 -print | egrep '.*\.[0-9]+$' | xargs -r /bin/rm
---
> @daily root find /etc/ispcp/*/backup/* -maxdepth 0 -type f -mtime +7 -print | egrep '.*\.[0-9]+$' | xargs -r /bin/rm
23c23
< @daily root find {LOG_DIR}/* -maxdepth 1 -type f -mtime +14 -print | egrep '.*\.gz$' | xargs -r /bin/rm
---
> @daily root find /var/log/ispcp/* -maxdepth 1 -type f -mtime +14 -print | egrep '.*\.gz$' | xargs -r /bin/rm
26c26
< {AW-ENABLED}15 */6 * * * root {AWSTATS_ROOT_DIR}/awstats_updateall.pl now -awstatsprog={AWSTATS_ENGINE_DIR}/awstats.pl >/dev/null 2>&1
---
> #15 */6 * * * root /var/www/ispcp/engine/awstats/awstats_updateall.pl now -awstatsprog=/usr/lib/cgi-bin/awstats.pl >/dev/null 2>&1
29c29
< {RK-ENABLED}0 */12 * * * root {RKHUNTER} --cronjob --createlogfile {RKHUNTER_LOG} >/dev/null 2>&1
---
> 0 */12 * * * root /usr/bin/rkhunter --cronjob --createlogfile /var/log/rkhunter.log >/dev/null 2>&1
32c32
< {CR-ENABLED}0 */12 * * * root {CHKROOTKIT} &> {CHKROOTKIT_LOG}
---
> 0 */12 * * * root /usr/sbin/chkrootkit &> /var/log/chkrootkit.log
35c35
< 0,30 * * * * root {TOOLS_ROOT_DIR}/ispcpphptemp.sh >/dev/null 2>&1
---
> 0,30 * * * * root /var/www/ispcp/engine/tools/ispcpphptemp.sh >/dev/null 2>&1

Where is the script that modifies all those "variables" so that i can launch it to fix everything?
(This post was last modified: 09-12-2009 07:06 PM by grg.)
09-12-2009 05:34 PM
Visit this user's website Find all posts by this user
leha Offline
Junior Member
*

Posts: 36
Joined: Mar 2009
Reputation: 0
Post: #43
Sad RE: ispCP Omega 1.0.2
Please help me! not working my admin panel after update.. http://login.hostnes.com/ Sad
09-13-2009 08:00 PM
Find all posts by this user
simple Offline
Junior Member
**
Graph Team

Posts: 143
Joined: Dec 2006
Reputation: 0
Post: #44
RE: ispCP Omega 1.0.2
Access via IP works: http://87.118.94.45/
Seems like you need your old /etc/apache2/sites-available/master.conf - compare that with the current settings and configure accordingly Smile
09-13-2009 08:04 PM
Visit this user's website Find all posts by this user
leha Offline
Junior Member
*

Posts: 36
Joined: Mar 2009
Reputation: 0
Post: #45
RE: ispCP Omega 1.0.2
wow! well that even though both can. I have 00_master.conf it include to the httpd.conf, it seems to be my settings, but why they do not work? what can be done?
09-14-2009 05:28 AM
Find all posts by this user
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #46
RE: ispCP Omega 1.0.2
the hostname login.hostnes.com cannot be resolved (to an IP) - so you need to set an entry in the zone-file. Have a look in the bind zone files.

/J
09-14-2009 05:24 PM
Visit this user's website Find all posts by this user
leha Offline
Junior Member
*

Posts: 36
Joined: Mar 2009
Reputation: 0
Post: #47
RE: ispCP Omega 1.0.2
ok, help me please where to find them? ill update that resulted in a lot of problems ((
09-14-2009 05:28 PM
Find all posts by this user
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #48
RE: ispCP Omega 1.0.2
have a look /var/cache/bind/*
09-14-2009 05:47 PM
Visit this user's website Find all posts by this user
leha Offline
Junior Member
*

Posts: 36
Joined: Mar 2009
Reputation: 0
Post: #49
RE: ispCP Omega 1.0.2
there is a file login.hostnes.com it:

$TTL 12H
$ORIGIN login.hostnes.com.
@ IN SOA ns1.login.hostnes.com. postmaster.login.hostnes.com. (
; dmn [login.hostnes.com] timestamp entry BEGIN.
2009022700 ; Serial
; dmn [login.hostnes.com] timestamp entry END.
8H ; Refresh
15M ; Retry
4W ; Expire
3H ; Minimum TTL
)
IN NS ns1.login.hostnes.com.
IN NS ns2.login.hostnes.com.
IN MX 10 mail.login.hostnes.com.

login.hostnes.com. IN A 87.118.94.45
www IN A 87.118.94.45
login.hostnes.com. IN TXT "v=spf1 a mx ip4:87.118.94.45 ~all"
localhost IN A 127.0.0.1
mail IN A 87.118.94.45
ns1 IN A 87.118.94.45
ns2 IN A 87.118.95.45
; CNAME for mail transfer
imap IN CNAME mail
pop IN CNAME mail
pop3 IN CNAME mail
relay IN CNAME mail
smtp IN CNAME mail
; CNAME for web transfer
ftp IN CNAME www
; sub [{SUB_NAME}] entry BEGIN.
; sub [{SUB_NAME}] entry END.
09-14-2009 09:23 PM
Find all posts by this user
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #50
RE: ispCP Omega 1.0.2
hm, but then you also need a hostnes.com.

Because otherwise the chain is not continued... you tell your registrar where are the dns for hostnes.com - and theese servers (normally there are two *different* servers) they should be able to resolve all *.hostnes.com (or give new NS entries for login.hostnes.com).

Please read some documentation about DNS

/J
09-14-2009 09:39 PM
Visit this user's website Find all posts by this user
Thread Closed 


Forum Jump:


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