View Single Post
  #3  
Old 16th April 2012, 12:37
veneficus veneficus is offline
Junior Member
 
Join Date: Mar 2012
Posts: 16
Thanks: 1
Thanked 1 Time in 1 Post
Default

basically i did, to have di .conf file, : cp /etc/awstats/awstats.model.conf /etc/httpd/conf.d/awstats.conf


after that i just commented all the instruction given by the bse file because all of them give a failed starting of apache.

i used also the command: /usr/local/ispconfig/server/cron_daily.php

that now gives this error:
Code:
  /usr/local/ispconfig/server/cron_daily.php
/usr/local/ispconfig/server/cron_daily.php: line 1: ?php: No such file or direct                                                                                           ory
/usr/local/ispconfig/server/cron_daily.php: line 3: /aquota.gruop: Permission de                                                                                           nied
/usr/local/ispconfig/server/cron_daily.php: line 4: syntax error near unexpected                                                                                            token `c'
/usr/local/ispconfig/server/cron_daily.php: line 4: `Copyright (c) 2007, Till Br                                                                                           ehm, projektfarm Gmbh'
here's first lines of your file :
Code:
<?php

/*
Copyright (c) 2007, Till Brehm, projektfarm Gmbh
All rights reserved.

Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:

    * Redistributions of source code must retain the above copyright notice,
      this list of conditions and the following disclaimer.
    * Redistributions in binary form must reproduce the above copyright notice,
      this list of conditions and the following disclaimer in the documentation
      and/or other materials provided with the distribution.
    * Neither the name of ISPConfig nor the names of its contributors
      may be used to endorse or promote products derived from this software without
      specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

define('SCRIPT_PATH', dirname($_SERVER["SCRIPT_FILENAME"]));
require(SCRIPT_PATH."/lib/config.inc.php");
require(SCRIPT_PATH."/lib/app.inc.php");

set_time_limit(0);

// make sure server_id is always an int
$conf['server_id'] = intval($conf['server_id']);


// Load required base-classes
$app->uses('ini_parser,file,services,getconf');
i can't regenerate di site awstats.conf file because it will stop my apache server, maybe i can try doing it this night.

please help, if you need some kind of access on it i can also create you in pm a user with shell access.

thanks

Last edited by veneficus; 16th April 2012 at 12:39. Reason: forgot a part of the needed infos
Reply With Quote