PDA

View Full Version : Update 2.2.8


vpns2000
8th December 2006, 15:47
Hello,
i have Update on new Version and have mor and mor Proplems.

1.)

Im have in version 2.2.7 a Domain with external Mailserver and no Emailaccount ind ISP.
Jet have the Problem that in my Postfix local-name the Domain exitst.
I have manual delite this Domain and after restart from Postfix is the Domain in the File exist!!

2.)

I Create a new Domain with ISP, wait 3 Day`s and type in my Browser the Doaminname.com/stats. The Brauser popub for User and PW komme, Type the user or PW and press enter. After press enter komme the same popub, i retype the user or PW and Press enter and see the same.

I Connet as ADMIN in my ISP and look in the Domaindirektory /web/stats or awstats via webftp and se the Directory is empty.

Please Help me.
Thanks.

falko
9th December 2006, 15:21
What's in Vhosts_ispconfig.conf and in /etc/postfix/local-host-names? What is/are the names of the domains that are causing problems?

vpns2000
9th December 2006, 18:44
Hello,

2.)

her is the Output from my Vhost:


<VirtualHost 194.152.112.113:80>
ServerName www.traumhonig.eu:80
ServerAdmin webmaster@traumhonig.eu
DocumentRoot /home/www/web43/web
ServerAlias www.honigtraum.eu www.honigtraum.com www.traumhonig.com honigtraum.eu traumhonig.eu honigtraum.com traumhonig.com
DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Default.htm default.htm
ScriptAlias /cgi-bin/ /home/www/web43/cgi-bin/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
ErrorLog /home/www/web43/log/error.log
AddType application/x-httpd-php .php .php3 .php4 .php5
<Files *.php>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
<Files *.php3>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
<Files *.php4>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
<Files *.php5>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
php_admin_flag safe_mode On
php_admin_value open_basedir /home/www/web43/
php_admin_value file_uploads 1
php_admin_value upload_tmp_dir /home/www/web43/phptmp/
php_admin_value session.save_path /home/www/web43/phptmp/
Alias /error/ "/home/www/web43/web/error/"
ErrorDocument 400 /error/invalidSyntax.html
ErrorDocument 401 /error/authorizationRequired.html
ErrorDocument 403 /error/forbidden.html
ErrorDocument 404 /error/fileNotFound.html
ErrorDocument 405 /error/methodNotAllowed.html
ErrorDocument 500 /error/internalServerError.html
ErrorDocument 503 /error/overloaded.html
AliasMatch ^/~([^/]+)(/(.*))? /home/www/web43/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /home/www/web43/user/$1/web/$3
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www\.honigtraum\.eu [NC]
RewriteRule ^/(.*) http://www.traumhonig.eu/$1 [L,R]
RewriteCond %{HTTP_HOST} ^www\.honigtraum\.com [NC]
RewriteRule ^/(.*) http://www.traumhonig.eu/$1 [L,R]
RewriteCond %{HTTP_HOST} ^www\.traumhonig\.com [NC]
RewriteRule ^/(.*) http://www.traumhonig.eu/$1 [L,R]
RewriteCond %{HTTP_HOST} ^honigtraum\.eu [NC]
RewriteRule ^/(.*) http://www.traumhonig.eu/$1 [L,R]
RewriteCond %{HTTP_HOST} ^honigtraum\.com [NC]
RewriteRule ^/(.*) http://www.traumhonig.eu/$1 [L,R]
RewriteCond %{HTTP_HOST} ^traumhonig\.com [NC]
RewriteRule ^/(.*) http://www.traumhonig.eu/$1 [L,R]
</VirtualHost>


By this Domain is the Stats or Awstats empty.
I have 3x new create the Domain with the same result.
--------------------------------------------------------------

1.)

Hear is the Output from /etc/postfix/local-host-names:


###################################
#
# ISPConfig local-host-names Configuration File
# Version 1.0
#
###################################
localhost
ns1.bbedv.com
localhost.ns1.bbedv.com
localhost.bbedv.com
localhost.localdomain
www.goldenangels.at
www.bbedv.com
www.traumhonig.eu
goldenangels.at
www.honigtraum.eu

### Problem Domain ####
bondiconsult.com

##################

bbedv.com
www.honigtraum.com
www.traumhonig.com
honigtraum.eu
traumhonig.eu
honigtraum.com
traumhonig.com
#### MAKE MANUAL ENTRIES BELOW THIS LINE! ####


With this Domain "bondiconsult.com" have i Problem.
This Domain have a seperat Mailserver.
I have not make entris emailadress for this Domain.
Wenn i type a Email on the Adress then bekomm a Error with "No local user present"

Thanks for Help.

falko
10th December 2006, 15:27
Hello,

2.)

her is the Output from my Vhost:


<VirtualHost 194.152.112.113:80>
ServerName www.traumhonig.eu:80
ServerAdmin webmaster@traumhonig.eu
DocumentRoot /home/www/web43/web
ServerAlias www.honigtraum.eu www.honigtraum.com www.traumhonig.com honigtraum.eu traumhonig.eu honigtraum.com traumhonig.com
DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Default.htm default.htm
ScriptAlias /cgi-bin/ /home/www/web43/cgi-bin/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
ErrorLog /home/www/web43/log/error.log
AddType application/x-httpd-php .php .php3 .php4 .php5
<Files *.php>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
<Files *.php3>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
<Files *.php4>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
<Files *.php5>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
php_admin_flag safe_mode On
php_admin_value open_basedir /home/www/web43/
php_admin_value file_uploads 1
php_admin_value upload_tmp_dir /home/www/web43/phptmp/
php_admin_value session.save_path /home/www/web43/phptmp/
Alias /error/ "/home/www/web43/web/error/"
ErrorDocument 400 /error/invalidSyntax.html
ErrorDocument 401 /error/authorizationRequired.html
ErrorDocument 403 /error/forbidden.html
ErrorDocument 404 /error/fileNotFound.html
ErrorDocument 405 /error/methodNotAllowed.html
ErrorDocument 500 /error/internalServerError.html
ErrorDocument 503 /error/overloaded.html
AliasMatch ^/~([^/]+)(/(.*))? /home/www/web43/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /home/www/web43/user/$1/web/$3
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www\.honigtraum\.eu [NC]
RewriteRule ^/(.*) http://www.traumhonig.eu/$1 [L,R]
RewriteCond %{HTTP_HOST} ^www\.honigtraum\.com [NC]
RewriteRule ^/(.*) http://www.traumhonig.eu/$1 [L,R]
RewriteCond %{HTTP_HOST} ^www\.traumhonig\.com [NC]
RewriteRule ^/(.*) http://www.traumhonig.eu/$1 [L,R]
RewriteCond %{HTTP_HOST} ^honigtraum\.eu [NC]
RewriteRule ^/(.*) http://www.traumhonig.eu/$1 [L,R]
RewriteCond %{HTTP_HOST} ^honigtraum\.com [NC]
RewriteRule ^/(.*) http://www.traumhonig.eu/$1 [L,R]
RewriteCond %{HTTP_HOST} ^traumhonig\.com [NC]
RewriteRule ^/(.*) http://www.traumhonig.eu/$1 [L,R]
</VirtualHost>


By this Domain is the Stats or Awstats empty.
I have 3x new create the Domain with the same result.
What is the output of ls -la /home/www/web43/log/2006/12/ and ls -la /home/www/web43/log/?




1.)

Hear is the Output from /etc/postfix/local-host-names:


###################################
#
# ISPConfig local-host-names Configuration File
# Version 1.0
#
###################################
localhost
ns1.bbedv.com
localhost.ns1.bbedv.com
localhost.bbedv.com
localhost.localdomain
www.goldenangels.at
www.bbedv.com
www.traumhonig.eu
goldenangels.at
www.honigtraum.eu

### Problem Domain ####
bondiconsult.com

##################

bbedv.com
www.honigtraum.com
www.traumhonig.com
honigtraum.eu
traumhonig.eu
honigtraum.com
traumhonig.com
#### MAKE MANUAL ENTRIES BELOW THIS LINE! ####


With this Domain "bondiconsult.com" have i Problem.
This Domain have a seperat Mailserver.
I have not make entris emailadress for this Domain.
Wenn i type a Email on the Adress then bekomm a Error with "No local user present"

Thanks for Help.You must set the domain bondiconsult.com to "External Mailserver" under Co-Domains (it's on the bondiconsult.com Options tab). I assume you set www.bondiconsult.com to "External Mailserver"?

vpns2000
10th December 2006, 23:10
Hello,
THANKYOU For your Help.
The Problem with my Postfix is FIXED.

THANK YOU

The Problem with awstart is oöway pressent.

The Output from ls -la /home/www/web43/log/2006/12/ is:

[root@ns1 ~]# ls -la /home/www/web43/log/2006/12/
ls: /home/www/web43/log/2006/12/: Datei oder Verzeichnis nicht gefunden


The Output from ls -la /home/www/web43/log/ is:


[root@ns1 ~]# ls -la /home/www/web43/log/
insgesamt 12
drwxr-xr-x 2 ispweb43_office web43 4096 7. Dez 20:38 .
drwxr-xr-x 9 ispweb43_office web43 4096 7. Dez 20:31 ..
-rw-r--r-- 1 ispweb43_office web43 2753 10. Dez 01:42 error.log
-r-------- 1 root root 0 6. Dez 09:46 .no_delete
-rw-r--r-- 1 root root 0 7. Dez 20:38 @web.log


Thx

Alfred

till
11th December 2006, 11:30
This looks like your logs.php script is never run. Please double check that you dont have error messages in the syslog. Do you get error messages, when you run:

/root/ispconfig/php/php -q /root/ispconfig/scripts/shell/logs.php

vpns2000
11th December 2006, 11:43
Hello Till,
Thankyou for your Help.

The Output is from Script:


[root@ns1 ~]# /root/ispconfig/php/php -q /root/ispconfig/scripts/shell/logs.php

Warning: readlink(): Invalid argument in /root/ispconfig/scripts/shell/logs.php on line 125

Warning: readlink(): Invalid argument in /root/ispconfig/scripts/shell/logs.php on line 125


Thanks
Alfred

till
11th December 2006, 11:58
Thats fine. Please check again with the command:

ls -la /home/www/web43/log/2006/12/

vpns2000
11th December 2006, 12:07
Hello Till,
The Output is


[root@ns1 /]# ls -la /home/www/web43/log/2006/12/
ls: /home/www/web43/log/2006/12/: Datei oder Verzeichnis nicht gefunden


I kan creat this manual??


THX

falko
12th December 2006, 14:46
[root@ns1 ~]# ls -la /home/www/web43/log/
insgesamt 12
drwxr-xr-x 2 ispweb43_office web43 4096 7. Dez 20:38 .
drwxr-xr-x 9 ispweb43_office web43 4096 7. Dez 20:31 ..
-rw-r--r-- 1 ispweb43_office web43 2753 10. Dez 01:42 error.log
-r-------- 1 root root 0 6. Dez 09:46 .no_delete
-rw-r--r-- 1 root root 0 7. Dez 20:38 @web.log


Is it really /home/www/web43/log/@web.log? If so, delete it and run
/root/ispconfig/php/php -q /root/ispconfig/scripts/shell/logs.php
again.
What's in error.log?

vpns2000
13th December 2006, 02:18
Hello Falko,
I have delete the File and Run this :

/root/ispconfig/php/php -q /root/ispconfig/scripts/shell/logs.php

The Result is the same.

Warning: readlink(): Invalid argument in /root/ispconfig/scripts/shell/logs.php on line 125

Warning: readlink(): Invalid argument in /root/ispconfig/scripts/shell/logs.php on line 125


I have look in my adet Direktorys and found in all the same File: @web.log

Is this not korrekt ???

Thanks

till
13th December 2006, 11:39
The warnings are normal. Please check with the command "tail" if you have the latest log lines in the web.log files.

vpns2000
13th December 2006, 21:20
Hello,
i have the problem fixed :) .
I delete the @web.log and create a new file with not (@).
Then run all Cronejobs new and all funktional is wonderfull.

Thank you.
Alfred