Posts by harry15

    Hello,


    I use i-MSCP for clients on different servers (at the moment 2) located in
    different data centers. Each server has the backup of all important/necessary
    data (mysql-db's, /etc, /var/www ...) to restore the other.
    So in rare case that one has a hardware fault which takes a longer time to
    repair i must be able to get my clients websites up and running on the remaining server.


    The problem is that on both servers the client user ID's start with vu200x ...
    So it is not possible to restore the client data with user id vu2004 from server A
    on server B with the same user id, because this is already in use by another user with
    id vu2004 on server B.


    How can i set the starting id number on different servers, e.g. vu2000 on server A
    and vu3000 on server B, and so on, so that it is possible to use the backup of client data
    without troubles on any other server?



    Kind regards

    Hello,


    one of my clients asked me why his Apache log files (access.log) in his directory
    /logs are always start in the morning, ca. 6.30 , but they end at midnight 23.59 .


    I investigated this and found that the cronjob
    ("/var/www/imscp/engine/tools/imscp-httpd-logs-mngr")
    which seems doing the copy from /var/log/apache/... to users /logs directory is
    set to run "@daily", which means at midnight.
    But the system log rotate for Apache log files is done in the morning, 6.30 (+-).


    This explains why the time from midnight to 6.30 is always missing.


    How can i solve this?



    Kind regards



    System is :
    i-MSCP 1.2.2
    Ubuntu 14.04.2, kernel 3.13.0-53-generic
    Apache 2.4.7-1ubuntu4.4
    PHP 5.5.9-1ubuntu4.9 , Zend Engine v2.5.0 , ionCube PHP Loader + Intrusion Protection v5.0.7, Zend OPcache v7.0.3
    Perl v5.18.2 built for x86_64-linux-gnu-thread-multi

    Hello,


    @Ninos


    Yes i just tried with a new domain.


    Everything is fine now!


    The reason for all these troubles was simply i have
    put following lines:
    ---
    Header always set Strict-Transport-Security "max-age=63072000; includeSubDomains; preload"
    Header always set X-Frame-Options DENY
    ---
    in file:
    /etc/apache2/mods-available/ssl.conf


    Which is the wrong place.


    Since i moved them to:
    /etc/apache2/sites-available/domain.tld_ssl.conf
    file, everything is ok.


    This was also the reason for the blank, white page for statistic pages (see my first post).


    Thanks for helping


    Kind regards

    Hello,


    no it is when the account is created new.
    So i can not use "domain.tld/stats" because
    browser says wrong password.
    But then i checked with command "htpasswd -v ..."
    and it says its OK.
    Then i set password from control panel to the
    same it was, and then it is accepted by browser.


    Could this be a problem of firefox 38... ?


    Kind regards

    Hello,


    @flames


    Yes thats what we did now. This solves the problem with wrong
    password in .htpasswd.
    But why was password not correct the first time?
    This customer signed up on 8th this month. There was
    nothing changed in the meantime.


    I just checked this for a new domain i got some days ago
    (this is a fully managed account with web design).
    This has the same behavior, i needed to set the password for
    .htpasswd once more in control panel, and then statistics
    accept it.
    I have not had this before with the existing domains.


    Thanks for helping


    Kind regards

    Hello,


    a customer of me changed his control panel login password.


    He filled a support ticket, that for "domain.tld/stats" he can not
    login anymore.
    He's getting allways login error.


    I check his logfiles and there is shown:
    [Wed Jun 10 14:28:46.984224 2015] [auth_basic:error] [pid 30689:tid 140473241831168] [client 1.2.3.4:46704] AH01617: user domain.tld: authentication failure for "/stats/": Password Mismatch


    The reason was that the file:
    "/var/www/virtual/domain.tld/.htpasswd"
    has not changed.
    It seems that the password change of control panel has not
    included the change of password in ".htpasswd" for users.


    After i updated this, i checked the "Web statistics" of all
    domains.
    I see for all domains, execpt one, only "white" statistics page.
    The one i see statistics for, is the first domain listed in :
    /etc/apache2/sites-enabled


    Following is in access.log :
    There is first line : "GET /stats/ HTTP/1.1" 401 680 "-"
    all following "GET /stats ..." have response 200 code.


    Is there any miss-configuration?
    How to resolve this?



    Kind regards


    System is :
    Ubuntu 14.04.2, kernel 3.13.0-53-generic
    i-MSCP 1.2.2
    Apache 2.4.7-1ubuntu4.4
    PHP 5.5.9-1ubuntu4.9 , Zend Engine v2.5.0 , ionCube PHP Loader + Intrusion Protection v5.0.7, Zend OPcache v7.0.3
    Perl v5.18.2 built for x86_64-linux-gnu-thread-multi

    Hello


    I have boxbilling 4.17 and i-MSCP 1.2.2 installed on Ubuntu server 14.04


    But up to now all test client orders are in status "pending setup".


    After email verification of 1.st test clients email and then login
    and continue/finish order, i got an "internal server error"
    message.
    The 2nd test client sigup ended also in status "pending setup".


    So i enabled debug in bb-config.php .


    php_error.log then gives me following lines:


    [01-Jun-2015 13:58:28 America/Montreal] Account has been created. Please check your mailbox and confirm email address. 7777
    [01-Jun-2015 14:00:59 America/Montreal] PHP Fatal error: Class 'Box_Db' not found in /var/www/virtual/blahlahblah.com/htdocs/billing/bb-library/Server/Manager/Imscp.php on line 363
    [01-Jun-2015 14:08:10 America/Montreal] PHP Fatal error: Class 'Box_Db' not found in /var/www/virtual/blahlahblah.com/htdocs/billing/bb-library/Server/Manager/Imscp.php on line 363


    So i filled issue to github boxbilling.


    The answer was:
    ---
    Box_Db was used in BoxBilling 3.6 version.
    With new version Box_Db class is not used. So apparently Imscp.php file is not compatible with newer BoxBilling version. Please contact developer for more information.
    https://github.com/i-MSCP/plug…ng/Manager/Imscp.php#L361 this line should be changed to be compatible with BoxBilling 4+
    ---


    Anyone can help me?


    Kind regards

    Hello,
    i just have installed i-MSCP on my ded. server i want to use and now
    everything's working fine.
    For the testing phase, for server hardware and panel, i used a
    free domain name (...tk) to get all up and running in real world environment.
    So the FQDN during install was something like www.blahblah.tk.
    Now i do not want to install everything new from scratch with the correct
    new original domain name.


    Is there a possibility to change the FQDN for the installed server
    including all services without any trouble ?


    I could not find an answer with search in forum.


    Kind regards
    Harry