Romanian PC Forum Sabitech Media - web design, gazduire web, promovare, seo, logo design si branding


Go Back   Romanian PC Forum > Forum General > Webmaster's Section > Servere si Administrare

Servere si Administrare Totul despre servere si administrarea lor...


Reply
 
Thread Tools
Old 17.09.2012, 10:26   #1
XVanish
RPC Administrator
 
XVanish's Avatar
 
Join Date: 03.06.2008
Location: Baia Mare
Age: 37
Posts: 5,965
Thanks: 3,662
Thanked 3,376 Times in 1,985 Posts
Send a message via Yahoo to XVanish Send a message via Skype™ to XVanish
Default Alarm clock >> autorepair recoverymgmt

De cateva zile tot primesc e-mail-uri de la server, de genul:
Subiect:
Quote:
Cron <root@nume_server> /usr/local/cpanel/scripts/autorepair recoverymgmt >/dev/null 2>&1
Mesaj:
Quote:
/bin/sh: line 1: 28764 Alarm clock /usr/local/cpanel/scripts/autorepair recoverymgmt > /dev/null 2>&1
Banuiesc ca numarul acela (care se tot schimba) e PID-ul sau vreun port... Nu stiu care e problema, pe net ziceau ca nu e mare lucru insa daca persista sa investighez. E posibil sa incerce sa incarce ceva si dureaza prea mult...

In /usr/local/cpanel/scripts/autorepair am asa:
Quote:
#!/usr/bin/perl
# cpanel - autorepair Copyright(c) 2010 cPanel, Inc.
# All rights Reserved. # copyright@cpanel.net http://cpanel.net
# This code is subject to the cPanel license. Unauthorized copying is prohibited

BEGIN { unshift @INC, '/usr/local/cpanel'; }

use Cpanel::HttpRequest ();
use Cpanel::Errors ();
use Cpanel::Config::Sources ();

my $sources = Cpanel::Config::Sources::loadcpsources();
$| = 1;

my $script = 'autorepair';
if ( $ARGV[0] ) {
$script = $ARGV[0];
}

$script =~ s/\///g;

my $httpClient = Cpanel::HttpRequest->new( 'hideOutput' => 1 );

print "Requesting script ... ";
my $autofix = $httpClient->request(
'host' => $sources->{'HTTPUPDATE'},
'url' => '/autofixer2/' . $script,
'protocol' => 0,
);
if ( $autofix eq '' ) {
Cpanel::Errors::deaderror("Problem downloading script $script! Please verify the script's name.");
}
print "Done\n";
print "Auto Repair is running...";
my $perlpid = open( PERL, "|/usr/bin/perl" );
print PERL $autofix;
close(PERL);
waitpid( $perlpid, 1 );
print "...Auto Repair is done.\n";
Stiti careva care e cauza acestor alarme?
__________________
Internetul e distractie, nu pierde controlul!


Foloseste Google si YouTube inainte de a pune intrebari stupide!
XVanish is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
The global debt clock Alin99 Offtopic 1 16.08.2011 01:16

 
Advertisement




camere foto digitale

aparate foto digitale


Partner Links
Sabitech Media - dezvoltare web, servicii media

RSP Forum - sateliti.info
Comunitate Satelitara






All times are GMT +2. The time now is 06:53.


Powered by vBulletin® - © Jelsoft Enterprises Ltd.
~ Copyright © 2007-2015 Romanian PC Forum ~
Toate drepturile rezervate

Romanian Sattelites Provider Wi-Fi Magazin