Some Bugs - New i-mscp User

  • Hi,


    i only used ISPCP 1.07 before. And yesterday i start using i-mscp on a hosteurope vserver. 64 Bit Debian 6. Hosteurope use Parallels Virtuozzo.



    I found some Bugs, maybe you can help me to solv them:


    1. After install i get the error: "46.163.119.201 is already attached to venet0:0 Consider remove from network configuration and let i-MSCP handle it ".
    But panel does work.


    This is the interfaces file in /etc/network/:

    Code
    1. # This configuration file is auto-generated.# WARNING: Do not edit this file, otherwise your changes will be lost.# Please edit template /etc/network/interfaces.template instead.auto loiface lo inet loopback address 127.0.0.1 netmask 255.0.0.0 broadcast 127.255.255.255 up ip route replace 127.0.0.0/8 dev lo# Auto generated venet0 interfacesauto venet0iface venet0 inet static address 127.0.0.1 netmask 255.255.255.255 broadcast 0.0.0.0 up route add -net 191.255.255.1 netmask 255.255.255.255 dev venet0 up route add default gw 191.255.255.1auto venet0:0iface venet0:0 inet static address 46.163.XXX.XXX netmask 255.255.255.255


    46.163.XXX.XXX is my external ip adress.


    2. On installation i select Awstats dynamic. But the Stats does not Work. All Data are clear.


    3. In panel, when i generate a new password for a customer, the password is not sended to his emailacc. Maybe when i create a customer, its also not send.


    4. When i enter a false password, i get the following via e-mail:


    5. In my mail.log is a wrong part of hostname in front of every entry:
    Jan 19 20:38:46 lvps46-163-XXX-XXX



    I am very happy about I-MSCP. It looks very good, so thanks that you work on it ;)


    Best regards,


    ElitePilot

  • hi,


    for this error -> 46.163.119.201 is already attached to venet0:0 Consider remove from network configuration and let i-MSCP handle it ".


    it's normal for the moment, i have the same problem in OPEN VZ contaner but it's not important. If i-mscp doesnt work i think it another problem.


    post here output of : "ifconfig"


    Your i-mscp panel Work or not at this moment ?
    What version are you install ?
    Is install from sctrach ? or ispcp 1.0.7 update to i-mscp ?

    Debian 6 with proxmox 2 - OpenVZ - KVM
    I-mscp 1.0.3.0 migrate from ispcp 1.0.7
    dovecot + zarafa + z-push + maia mail guard + apacheITK

    Edited once, last by krok ().


  • i-MSCP try to manage aditional ip`s using ifconfig. When an ip was already added as alias to a network card an warning is issued since panel will not manage that ip. Nothing wrong just a reminder. Certainly not a bug but expected behaviour.


    2. On installation i select Awstats dynamic. But the Stats does not Work. All Data are clear.

    Can you add some details? Is cron added to /etc/cron.d/imscp? In generated config file for apache (/etc/apache2/sites-enabled/xxxxxxx.tld.conf) are data for awstats prezent? Did that website get any hit?

    3. In panel, when i generate a new password for a customer, the password is not sended to his emailacc. Maybe when i create a customer, its also not send.

    Please open a ticket ( http://trac.i-mscp.net ) and will be fixed for RC1 (scheduled in 2 weeks). Same for point 4.



    5. In my mail.log is a wrong part of hostname in front of every entry:
    Jan 19 20:38:46 lvps46-163-XXX-XXX

    can you post /etc/postfix/{master/main}.cf ? and hostname -A output?

  • 2. Cronfile "imscp" in "/etc/cron.d" looks so:

    Code
    1. # delayed tasks START.# Quota@daily root umask 027; /var/www/imscp/engine/quota/imscp-dsk-quota &>/var/log/imscp/imscp-dsk-quota.log# Traffic0,30 * * * * root umask 027; /var/www/imscp/engine/traffic/imscp-srv-traff &>/var/log/imscp/imscp-srv-traff.log0,30 * * * * root umask 027; /var/www/imscp/engine/traffic/imscp-vrl-traff &>/var/log/imscp/imscp-vrl-traff.log# customer logs@daily root umask 027; /var/www/imscp/engine/tools/imscp-httpd-logs-mngr &>/var/log/imscp/imscp-httpd-logs-mngr.log# Backup for all the customers' data depending of the domain properties@daily root umask 027; /var/www/imscp/engine/backup/imscp-backup-all yes &>/var/log/imscp/imscp-backup-all-mngr.log# Backup for i-MSCP database and all /etc/imscp/* configuration files@daily root umask 027; /var/www/imscp/engine/backup/imscp-backup-imscp noreport &>/var/log/imscp/imscp-backup-imscp-mngr.log# Remove config backups older than seven days@daily root find /etc/imscp/*/backup/* -maxdepth 0 -type f -mtime +7 -print | egrep '.*\.[0-9]+$' | xargs -r /bin/rm# Remove Daemon Logs older than 14 days (except .gz files)@daily root find /var/log/imscp/* -maxdepth 1 -type f -mtime +14 -print | egrep '.*\.gz$' | xargs -r /bin/rm# AWStats#15 */6 * * * root /var/www/imscp/engine/awstats/awstats_updateall.pl now -awstatsprog=/usr/lib/cgi-bin/awstats.pl >/dev/null 2>&1# Rootkit Hunter@weekly root /usr/bin/rkhunter --cronjob --createlogfile /var/log/rkhunter.log.root --display-logfile 1>/var/log/rkhunter.log 2>/dev/null# Chkrootkit@weekly root /usr/sbin/chkrootkit 1>/var/log/chkrootkit.log 2&>1# Look for and purge old sessions every 30 minutes0,30 * * * * root /var/www/imscp/engine/tools/imscp-del-tmp >/dev/null 2>&1# Delete old apache logfiles weekly@weekly root /var/www/imscp/engine/tools/imscp-del-logs >/dev/null 2>&1# [{DMN_NAME}]:{CRONJOB_ID} custom task START.# [{DMN_NAME}]:{CRONJOB_ID} custom task END.# [{TASKID}] custom task START.# [{TASKID}] custom task END.# delayed tasks END.


    The apache conf file part from awstats of the Domain looks so:

    Code
    1. # SECTION awstats support BEGIN. # SECTION awstats dynamic BEGIN. ProxyRequests Off <Proxy *> Order deny,allow Allow from all </Proxy> ProxyPass /stats http://localhost/stats/domain.tdl ProxyPassReverse /stats http://localhost/stats/domain.tdl <Location /stats> <IfModule mod_rewrite.c> RewriteEngine on RewriteRule ^(.+)\?config=([^\?\&]+)(.*) $1\?config=domain.tdl&$3 [NC,L] </IfModule> AuthType Basic AuthName "Statistics for domain domain.tdl" AuthUserFile /var/www/virtual/domain.tdl/.htpasswd AuthGroupFile /var/www/virtual/domain.tdl/.htgroup Require group statistics </Location> # SECTION awstats dynamic END. # SECTION awstats support END.


    Currently it runs the default page of i mscp. I make traffic by my self.
    But the Stats are clear.


    5.
    master.cf:

    Code
    1. # ====================================================================# i-MSCP Internet - Multi Server Control Panel## @copyright 2010-2012 by i-MSCP | http://www.i-mscp.net# @link http://www.i-mscp.net# @author i-MSCP Team# ====================================================================## Postfix master process configuration file. For details on the format# of the file, see the master(5) manual page (command: "man 5 master").## Do not forget to execute "postfix reload" after editing this file.## ==========================================================================# service type private unpriv chroot wakeup maxproc command + args# (yes) (yes) (yes) (never) (100)# ==========================================================================# Uncomment the second line below when unsing AMaViSsmtp inet n - - - - smtpd# -o receive_override_options=no_address_mappingssubmission inet n - - - - smtpd# -o smtpd_tls_security_level=encrypt -o smtpd_sasl_auth_enable=yes -o smtpd_client_restrictions=permit_sasl_authenticated,reject# -o milter_macro_daemon_name=ORIGINATING#smtps inet n - - - - smtpd -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes -o smtpd_client_restrictions=permit_sasl_authenticated,reject# -o milter_macro_daemon_name=ORIGINATING#628 inet n - - - - qmqpdpickup fifo n - - 60 1 pickupcleanup unix n - - - 0 cleanupqmgr fifo n - n 300 1 qmgr#qmgr fifo n - - 300 1 oqmgrtlsmgr unix - - - 1000? 1 tlsmgrrewrite unix - - - - - trivial-rewritebounce unix - - - - 0 bouncedefer unix - - - - 0 bouncetrace unix - - - - 0 bounceverify unix - - - - 1 verifyflush unix n - - 1000? 0 flushproxymap unix - - n - - proxymapproxywrite unix - - n - 1 proxymapsmtp unix - - - - - smtp# When relaying mail as backup MX, disable fallback_relay to avoid MX loopsrelay unix - - - - - smtp -o smtp_fallback_relay=# -o smtp_helo_timeout=5 -o smtp_connect_timeout=5showq unix n - - - - showqerror unix - - - - - errorretry unix - - - - - errordiscard unix - - - - - discardlocal unix - n n - - localvirtual unix - n n - - virtuallmtp unix - - - - - lmtpanvil unix - - - - 1 anvilscache unix - - - - 1 scache## ====================================================================# Interfaces to non-Postfix software. Be sure to examine the manual# pages of the non-Postfix software to find out what options it wants.## Many of the following services use the Postfix pipe(8) delivery# agent. See the pipe(8) man page for information about ${recipient}# and other message envelope options.# ====================================================================## maildrop. See the Postfix MAILDROP_README file for details.# Also specify in main.cf: maildrop_destination_recipient_limit=1#maildrop unix - n n - - pipe flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient}## See the Postfix UUCP_README file for configuration details.#uucp unix - n n - - pipe flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)## Other external delivery methods.#ifmail unix - n n - - pipe flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)bsmtp unix - n n - - pipe flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipientscalemail-backend unix - n n - 2 pipe flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension}mailman unix - n n - - pipe flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py ${nexthop} ${user}# for AMaViS and spam filter supportamavis unix - - n - 2 smtp -o smtp_data_done_timeout=1200 -o smtp_send_xforward_command=yes -o disable_dns_lookups=yeslocalhost:10025 inet n - n - - smtpd -o content_filter= -o local_recipient_maps= -o relay_recipient_maps= -o smtpd_restriction_classes= -o smtpd_client_restrictions= -o smtpd_helo_restrictions= -o smtpd_sender_restrictions= -o smtpd_recipient_restrictions=permit_mynetworks,reject -o smtpd_override_options=no_address_mappings -o mynetworks=127.0.0.0/8 -o strict_rfc821_envelopes=yes# i-MSCP autoresponderimscp-arpl unix - n n - - pipe flags=O user=vmail:imscp argv=/var/www/imscp/engine/messenger/imscp-arpl-msgr $recipient


    main.cf:

    Code
    1. # ====================================================================# i-MSCP Internet - Multi Server Control Panel## @copyright 2010-2012 by i-MSCP | http://www.i-mscp.net# @link http://www.i-mscp.net# @author i-MSCP Team# Postfix directory settings; These are critical for normal Postfix MTA functionallitycommand_directory = /usr/sbindaemon_directory = /usr/lib/postfix# Some common configuration parametersinet_protocols = ipv4, ipv6inet_interfaces = allmynetworks_style = hostmyhostname = server.domain.tdlmydomain = server.domain.tdl.localmyorigin = $myhostnamesmtpd_banner = $myhostname ESMTP i-MSCP 1.0.1.6 Managedsetgid_group = postdrop# Receiving messages parametersmydestination = $myhostname, $mydomainappend_dot_mydomain = noappend_at_myorigin = yeslocal_transport = localtransport_maps = hash:/etc/postfix/imscp/transportalias_maps = hash:/etc/aliasesalias_database = hash:/etc/aliases# Delivering local messages parametersmail_spool_directory = /var/mail# Mailboxquota# => 0 for unlimited# => 104857600 for 100 MBmailbox_size_limit = 0mailbox_command = procmail -a "$EXTENSION"# Message size limit# => 0 for unlimited# => 104857600 for 100 MBmessage_size_limit = 0biff = norecipient_delimiter = +local_destination_recipient_limit = 1local_recipient_maps = unix:passwd.byname $alias_database# i-MSCP Autoresponder parametersimscp-arpl_destination_recipient_limit = 1# Delivering virtual messages parametersvirtual_mailbox_base = /var/mail/virtualvirtual_mailbox_limit = 0virtual_mailbox_domains = hash:/etc/postfix/imscp/domainsvirtual_mailbox_maps = hash:/etc/postfix/imscp/mailboxesvirtual_alias_maps = hash:/etc/postfix/imscp/aliasesvirtual_minimum_uid = 999virtual_uid_maps = static:999virtual_gid_maps = static:8# SASL parameterssmtpd_sasl_auth_enable = yessmtpd_sasl_security_options = noanonymousbroken_sasl_auth_clients = yessmtpd_sasl_authenticated_header = yessmtpd_helo_required = yessmtpd_helo_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_invalid_helo_hostname, reject_non_fqdn_helo_hostnamesmtpd_sender_restrictions = reject_non_fqdn_sender, reject_unknown_sender_domain, permit_mynetworks, permit_sasl_authenticatedsmtpd_recipient_restrictions = reject_non_fqdn_recipient, reject_unknown_recipient_domain, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, reject_unlisted_recipient, check_policy_service inet:127.0.0.1:12525, check_policy_service inet:127.0.0.1:10023, permitsmtpd_data_restrictions = reject_multi_recipient_bounce, reject_unauth_pipelining# TLS parameterssmtpd_tls_security_level = maysmtpd_tls_loglevel = 2smtpd_tls_cert_file = /etc/imscp/server.domain.tdl.pemsmtpd_tls_key_file = /etc/imscp/server.domain.tdl.pemsmtpd_tls_auth_only = nosmtpd_tls_received_header = yes# AMaViS parameters; activate, if available/used#content_filter = amavis:[127.0.0.1]:10024# Quota support; activate, if available/used#virtual_create_maildirsize = yes#virtual_mailbox_extended = yes#virtual_mailbox_limit_maps = mysql:/etc/postfix/mysql_virtual_mailbox_limit_maps.cf#virtual_mailbox_limit_override = yes#virtual_maildir_limit_message = "The user you're trying to reach is over mailbox quota."#virtual_overquota_bounce = yessmtpd_sasl_local_domain =virtual_transport = virtual


    hostname -A output:

    Code
    1. server.domain.tdl.local server.domain.tdl

    Edited once, last by ElitePilot ().

  • For awstats I did found the problem and i`ve fixed. Please test rb8638ad

    Edited once, last by oldev01 ().