mistake! :P

Discussion in 'General' started by erosbk, Aug 3, 2011.

  1. erosbk

    erosbk New Member

    In my production server, working with file:

    /usr/local/ispconfig/server/plugins-available/apache2_plugin.inc.php

    I added this line in the middle of the code (line 897, inside the if). I put this line:

    Code:
                    if($data["new"]["stats_type"] == 'awstats' && $data["new"]["type"] == "vhost") {
                            $this->awstats_update($data,$web_config);
    
    copy("/usr/local/ispconfig/server/conf-custom/index.php.awstats","/usr/local/ispconfig/server/conf-custom/index.php");
    <script language="javascript">alert('El mensaje que quieras');</script>
    
                    }
    
    After that, I tried to change password and awstats...

    Right now, in monitor the I can see status of main server (is in green, but with no data). And I have 8 jobs in queue...

    I rebooted server, but the problem persist =/

    Could some one help me please? xD
     
  2. erosbk

    erosbk New Member

    Fixed

    Just run server.sh, it seems that closes because another instance was running, and created/removed some lock file, and well.. it is working like a charm right now xD

    I will never will try changes on a production server again... for the next 60 seconds xD

    Thanks! xD
     

Share This Page