J'ai installé addons-serveur et autoshutdown. Je n'ai pas réussi à faire fonctionner Autoshutdown et ai désinstallé ces 2 adoons. Apparement Autoshutdown a laisser des traces en l'occurence /home/httpd/cgi-bin/shutdown.cgi. Ma page https ipcop/système/Arrêter étant blanche. Je trouve un fichier shutdown dans un coin et fais le remplacement.
Ma page s'ouvre mais toutes actions n'ont aucun effet. Impossible de rebooter/arrêter ni même programmer. Voici ce que m'indique mon /var/log/httpd/error_log:
- Code: Tout sélectionner
[Sat Feb 21 11:11:03 2009] shutdown.cgi: Name "General::adminmanualurl" used only once: possible typo at /home/httpd/cgi-bin/shutdown.cgi line 138.
[Sat Feb 21 11:11:03 2009] shutdown.cgi: \1 better written as $1 at /var/ipcop/header.pl line 669.
[Sat Feb 21 11:11:03 2009] shutdown.cgi: \2 better written as $2 at /var/ipcop/header.pl line 669.
[Sat Feb 21 11:11:03 2009] shutdown.cgi: Use of uninitialized value in concatenation (.) or string at /var/ipcop/header.pl line 281.
[Sat Feb 21 11:11:03 2009] shutdown.cgi: Use of uninitialized value in concatenation (.) or string at /var/ipcop/header.pl line 281.
[Sat Feb 21 11:11:03 2009] shutdown.cgi: Use of uninitialized value in concatenation (.) or string at /var/ipcop/header.pl line 281.
[Sat Feb 21 11:11:03 2009] shutdown.cgi: Use of uninitialized value in concatenation (.) or string at /var/ipcop/header.pl line 281.
[Sat Feb 21 11:11:03 2009] shutdown.cgi: Use of uninitialized value in concatenation (.) or string at /var/ipcop/header.pl line 281.
[Sat Feb 21 11:11:03 2009] shutdown.cgi: Use of uninitialized value in concatenation (.) or string at /var/ipcop/header.pl line 281.
[Sat Feb 21 11:11:03 2009] shutdown.cgi: Use of uninitialized value in concatenation (.) or string at /var/ipcop/header.pl line 281.
[Sat Feb 21 11:11:03 2009] shutdown.cgi: Use of uninitialized value in length at /var/ipcop/header.pl line 281.
[Sat Feb 21 11:11:03 2009] shutdown.cgi: Use of uninitialized value in concatenation (.) or string at /var/ipcop/header.pl line 281.
Couldn't clear group list: Operation not permitted
[Sat Feb 21 11:11:03 2009] shutdown.cgi: Use of uninitialized value in concatenation (.) or string at /home/httpd/cgi-bin/shutdown.cgi line 138.
[Sat Feb 21 11:11:03 2009] shutdown.cgi: Use of uninitialized value in concatenation (.) or string at /home/httpd/cgi-bin/shutdown.cgi line 138.
[Sat Feb 21 11:11:03 2009] shutdown.cgi: Use of uninitialized value in concatenation (.) or string at /home/httpd/cgi-bin/shutdown.cgi line 138.
[Sat Feb 21 11:11:03 2009] shutdown.cgi: Use of uninitialized value in concatenation (.) or string at /home/httpd/cgi-bin/shutdown.cgi line 138.
[Sat Feb 21 11:11:03 2009] shutdown.cgi: Use of uninitialized value in concatenation (.) or string at /home/httpd/cgi-bin/shutdown.cgi line 138.
[Sat Feb 21 11:11:03 2009] shutdown.cgi: Use of uninitialized value in concatenation (.) or string at /home/httpd/cgi-bin/shutdown.cgi line 138.
[Sat Feb 21 11:11:03 2009] shutdown.cgi: Use of uninitialized value in concatenation (.) or string at /home/httpd/cgi-bin/shutdown.cgi line 138.
[Sat Feb 21 11:11:03 2009] shutdown.cgi: Use of uninitialized value in concatenation (.) or string at /home/httpd/cgi-bin/shutdown.cgi line 138.
[Sat Feb 21 11:11:03 2009] shutdown.cgi: Use of uninitialized value in concatenation (.) or string at /home/httpd/cgi-bin/shutdown.cgi line 138.
[Sat Feb 21 11:11:03 2009] shutdown.cgi: Use of uninitialized value in string eq at /var/ipcop/header.pl line 586.
/home/httpd/cgi-bin/shutdown.cgi line 138 donne:
- Code: Tout sélectionner
print "<td align='left' width='15%' class='base' valign='top' rowspan='2'>", &select_hour_var("TIME", $reboot_at);
print <<END
Line 138 est print <<END
/var/ipcop/header.pl line 669:
- Code: Tout sélectionner
$speed =~ s/(\d+) (\d+)/\1kbits \2kbits/;
/var/ipcop/header.pl line 281:
- Code: Tout sélectionner
if (@{$k2}[1] eq "$URI[0]\?$URI[1]" || (@{$k2}[1] eq $URI[0] && length($URI[1]) == 0)) {
/var/ipcop/header.pl line 586:
if ( ( $pppsettings{'METHOD'} eq 'DHCP' && $netsettings{'RED_TYPE'} ne 'PPTP') || $netsettings{'RED_TYPE'} eq 'DHCP' ) {
Je ne suis qu'un utilisateur et ne comprends pas le Perl ni aucun autre language.
Si quelqu'un savait déchiffrer les erreurs ? En espérant qu'il n'y en ai pas d'autres à la suite
Merci