2 problems after isntall Ispconfig 3.03. Help!!

Discussion in 'Installation/Configuration' started by wiss, Oct 31, 2010.

  1. wiss

    wiss Member

    Hy.

    I'm newbie in ISPconfig.

    I have a VM With OpenVZ and running ubuntu 10.04 + ISP CONFIG 3.03.

    I have 2 problems:
    1. Many logs cant access:
    Code:
    Unable to read /var/log/mail.log
    Unable to read /var/log/mail.warn
    Unable to read /var/log/messages
    2. I've installeed Roundcube and i have blank page in vhost. I only access /webmail in default domain of server.
    I follow this tutorial http://www.howtoforge.com/changing-from-squirrelmail-to-roundcube-on-your-ispconfig3-server and i've created alias for webmail because squirrelmail was not create wich like this
    http://www.howtoforge.com/forums/showpost.php?p=152426&postcount=4, and I've received mail form ext but i allways blank page.

    Anithyng more?

    PD: Sorry for my english...
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    1) Where do you get this error message?

    Additionally, please post the output of:

    ls -la /var/log
     
  3. wiss

    wiss Member

    BLANK PAGE:
    I've tested and now work, but only works if I select in PHP : disable, FastCGI or SuPHP why?

    Error files:

    *NOT EXIST**
     
  4. falko

    falko Super Moderator Howtoforge Staff

    Please post the outputs of
    Code:
    ls -la /var/log 
    and
    Code:
    cat /proc/user_beancounters
     
  5. wiss

    wiss Member

    var /log:
    Code:
    ls -la /var/log
    total 552
    drwxr-xr-x 12 root   root      4096 2010-10-31 06:47 .
    drwxr-xr-x 16 root   root      4096 2010-10-30 00:30 ..
    drwxr-x---  2 root   adm       4096 2010-10-31 06:25 apache2
    drwxr-xr-x  2 root   root      4096 2010-05-04 16:56 apt
    -rw-r-----  1 root   adm          0 2010-05-04 19:08 boot
    -rw-rw-r--  1 root   utmp         0 2010-05-04 16:01 btmp
    drwxr-xr-x  2 clamav clamav    4096 2010-10-31 06:25 clamav
    drwxr-xr-x  2 root   root      4096 2010-10-29 16:14 dbconfig-common
    -rw-r-----  1 root   adm          0 2010-05-04 19:08 dmesg
    -rw-r--r--  1 root   root    269483 2010-10-29 17:15 dpkg.log
    -rw-r-----  1 root   adm        117 2010-10-31 06:25 fail2ban.log
    -rw-r-----  1 root   adm       5186 2010-10-30 19:20 fail2ban.log.1
    -rw-r--r--  1 root   root    120168 2010-10-30 19:31 faillog
    -rw-r--r--  1 root   root       855 2010-10-29 16:14 fontconfig.log
    drwxr-xr-x  2 root   root      4096 2010-05-04 16:05 fsck
    prw-------  1 root   root         0 2010-10-30 19:14 init.fifo
    ----------  1 root   root        21 2010-10-30 19:20 init.log
    drwxr-xr-x  3 root   root      4096 2010-10-29 16:35 ispconfig
    -rw-r--r--  1 root   root     13497 2010-10-29 16:35 ispconfig_install.log
    -rw-rw-r--  1 root   utmp   1462044 2010-10-31 11:36 lastlog
    drwxr-s---  2 mysql  adm       4096 2010-10-31 06:25 mysql
    -rw-r-----  1 mysql  adm          0 2010-10-29 16:07 mysql.err
    -rw-r-----  1 mysql  adm          0 2010-10-31 06:25 mysql.log
    -rw-r-----  1 mysql  adm         20 2010-10-29 16:07 mysql.log.1.gz
    drwxr-xr-x  2 ntp    ntp       4096 2010-04-09 00:28 ntpstats
    drwxr-xr-x  2 root   root      4096 2010-10-29 17:20 pure-ftpd
    -rw-r--r--  1 root   root         0 2010-10-29 16:12 pycentral.log
    -rw-------  1 root   root      5401 2010-10-31 06:47 rkhunter.log
    -rw-------  1 root   root    123039 2010-10-30 23:02 rkhunter.log.1
    -rw-------  1 root   root      3247 2010-10-31 06:47 rkhunter.log.old
    drwxr-xr-x  2 root   root      4096 2009-11-07 22:24 suphp
    -rw-rw-r--  1 root   utmp     25728 2010-10-31 11:36 wtmp
    

    cat /proc/user_beancounters:
    Code:
    cat /proc/user_beancounters
    Version: 2.5
           uid  resource                     held              maxheld              barrier                limit              failcnt
          318:  kmemsize                 10184894             12567692  9223372036854775807  9223372036854775807                    0
                lockedpages                     0                  430               196608               196608                    0
                privvmpages                174601               195870               524288               536788                    0
                shmpages                     4615                 4631  9223372036854775807  9223372036854775807                    0
                dummy                           0                    0                    0                    0                    0
                numproc                        89                  109                 1024                 1024                    0
                physpages                   93147                99357                    0  9223372036854775807                    0
                vmguarpages                     0                    0               524288  9223372036854775807                    0
                oomguarpages                93148                99358               524288  9223372036854775807                    0
                numtcpsock                     29                   58  9223372036854775807  9223372036854775807                    0
                numflock                       17                   24  9223372036854775807  9223372036854775807                    0
                numpty                          1                    3                  255                  255                    0
                numsiginfo                      0                   14                 1024                 1024                    0
                tcpsndbuf                  717352              1079760  9223372036854775807  9223372036854775807                    0
                tcprcvbuf                  479496               772128  9223372036854775807  9223372036854775807                    0
                othersockbuf               218848               347872  9223372036854775807  9223372036854775807                    0
                dgramrcvbuf                     0                 8720  9223372036854775807  9223372036854775807                    0
                numothersock                  195                  230  9223372036854775807  9223372036854775807                    0
                dcachesize                 658944               765336  9223372036854775807  9223372036854775807                    0
                numfile                      2288                 3488  9223372036854775807  9223372036854775807                    0
                dummy                           0                    0                    0                    0                    0
                dummy                           0                    0                    0                    0                    0
                dummy                           0                    0                    0                    0                    0
                numiptent                      18                   18  9223372036854775807  9223372036854775807                    0
    
     
  6. falko

    falko Super Moderator Howtoforge Staff

    mail.log, mail.warn, and messages do not exist. Did you delete them manually?

    user_beancounters looks ok.
     
  7. wiss

    wiss Member

    Log files solved:

    Most templates of OpenVZ disables syslog on ubuntu containers; so I used rsyslog-ng

    Code:
    apt-get install syslog-ng
    And configuration:

    Code:
    nano /etc/syslog-ng/syslog-ng.conf
    bye.
     
    Last edited: Nov 3, 2010
  8. wiss

    wiss Member

    Vhost /webmail works with mod_php adn su_php:

    Vhost confg:

    Code:
    lias /webmail /usr/share/squirrelmail
    
    <Directory /usr/share/squirrelmail>
    
    		Options Indexes FollowSymLinks
    		DirectoryIndex index.php
    
    		# Authorize for setup
    			<IfModule mod_php4.c>
    				Order allow,deny
         				Allow from all
         				RemoveHandler .php .php3 .php4 .phtml
         				AddType application/x-httpd-php .php .php3 .php4 .phtml
         				php_admin_value open_basedir /usr/share/squirrelmail
         				php_admin_value upload_tmp_dir /usr/share/squirrelmail/temp
         				php_admin_value session.save_path /usr/share/squirrelmail/temp
         				DirectoryIndex index.php
    			</IfModule>
    			<IfModule mod_php5.c>
    				Order allow,deny
         				Allow from all
         				RemoveHandler .php .php3 .php4 .phtml
         				AddType application/x-httpd-php .php .php3 .php4 .phtml
         				php_admin_value open_basedir /usr/share/squirrelmail
         				php_admin_value upload_tmp_dir /usr/share/squirrelmail/temp
         				php_admin_value session.save_path /usr/share/squirrelmail/temp
         				DirectoryIndex index.php
    			</IfModule>
    </Directory>
    
    
    Thx all.
     

Share This Page