Problem with AWSTATS - changing dynamic / static?

  • hiya,


    first of all, excellent piece of software - migration from ispcp to imscp works great. I will do later some comments from thing that where not clear during installation/after installation.


    now, my problem:


    user a)
    has domain aaa.de as standard domain.
    he also has bbb.de as alias domain.


    now, if i call http://www.aaa.de/stats it works properly and it shows me the stats of aaa.de.
    if i call http://www.bbb.de/stats he gives me a 404 Error.


    I believe that this problems occurs because i set AWSTATS in ispcp to static and i choose during imscp installation dynamic. so, how can i fix that? switching awstats back to static? but how can i do this? just re-run setup? i dont want to spoil everything again...


    thx for any help on this...


    cheers,


    jack


  • just run: perl /usr/local/src/imscp/imscp-autoinstall -r


    Or (More fast)


    Code
    1. # cd /var/www/imscp/engine/setup
    2. # perl imscp-setup -r


    The imscp-setup script will only reconfigure the whole. imscp-autoinstall is more for new install and update.


    Thanks for using i-MSCP.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

    Edited once, last by Nuxwin ().

  • After i did: perl /usr/local/src/imscp/imscp-autoinstall -r


    It seems to be stuck here:


    Performing step 24 from total of 28


    Rebuilding all customers configuration files:


    Saying it is at 85% since 15 minutes now - all websites are down atm - i see no activity in "htop" ... ahhhhhhhhh


    any suggestions?


    cheers,


    jack


  • Hello ;


    Try to see via ps aux if any child from the perl script is running to know what is the command that is so long.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • As cool mentioned it i got the disco-msg from putty - i restarted the session and the skript - this time it ended correct - but it did not let me choose awstats (dynamic/static) again ...

  • Re ;


    You migrated from ispCP to the stable i-MSCP version, right ? If yes, the -r option is not available in this version (will be ignored). You must so :


    Edit both /etc/imscp/imscp.conf and /etc/imscp/imscp.old.conf manually and replace the value of the AWSTATS_MODE parameter (Should be 1 for static).


    And then, run:


    Code
    1. # cd /var/www/imscp/engine/setup
    2. # perl imscp-setup


    Thanks you for using i-MSCP

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

    Edited once, last by Nuxwin ().


  • Same Problem, could not choose dynamic/static for awstats - but got an error message after performing it:


    [ ERRORS ]


    iMSCP::Debug::__ANON__: Unknown option: r


    root@mutter /var/www/imscp/engine/setup #


    cheers,


    jack
    [hr]


    ah, thx - i will try that ;)


    cheers,


    jack

    Edited once, last by JackD7 ().

  • badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206