
Enviado em 17/05/2014 - 15:08h
olá pessoal eu estava tentando configurar meu apache para acesso do phpmyadmin mas quando eu reiniciei o apache um erro ocorreu e agora não consigo iniciar o mesmo. Em seguida busquei o log e tinha o seguinte:[Sat May 17 14:26:28 2014] [notice] caught SIGTERM, shutting down
[Sat May 17 14:26:29 2014] [error] python_init: Python version mismatch, expected '2.6.5+', found '2.6.6'.
[Sat May 17 14:26:29 2014] [error] python_init: Python executable found '/usr/bin/python'.
[Sat May 17 14:26:29 2014] [error] python_init: Python path being used '/usr/lib/python2.6/:/usr/lib/python2.6/plat-linux2:/usr/lib/python2.6/lib-tk:/usr/lib/python2.6/lib-old:/usr/lib/python2.6/lib-dynload'.
[Sat May 17 14:26:29 2014] [notice] mod_python: Creating 8 session mutexes based on 150 max processes and 0 max threads.
[Sat May 17 14:26:29 2014] [notice] mod_python: using mutex_directory /tmp
[Sat May 17 14:26:29 2014] [notice] Apache/2.2.16 (Debian) PHP/5.3.3-7+squeeze19 with Suhosin-Patch mod_python/3.3.1 Python/2.6.6 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
[Sat May 17 14:38:58 2014] [notice] caught SIGTERM, shutting down
root@xxx:/home/xxx# /etc/init.d/apache2 startStarting web server: apache2apache2: Syntax error on line 227 of /etc/apache2/apache2.conf: Syntax error on line 177 of /etc/apache2/conf.d/index.html: Expected </title> but saw </head>
Action 'start' failed.
The Apache error log may have more information.
failed!
<html>
<head>
<title> </title>
<script type="text/javascript">
function bredir(domain, url, ref, landerView, landerUrl, ldr, ifc) {
var widthDiff, heightDiff, banner;
var width = 0;
var height = 0;
var match = false;
var l = false;
// width, height, mystery 3rd value
var bannerSizes = [
[300, 250, false],
[250, 250, false],
[240, 400, false],
[336, 280, false],
[180, 150, false],
[468, 60, false],
[234, 60, false],
[88, 31, false],
[120, 90, false],
[120, 60, false],
[120, 240, false],
[125, 125, false],
[728, 90, false],
[160, 600, false],
[120, 600, false],
[300, 600, false],
[300, 125, false],
[530, 300, false],
[190, 200, false],
[470, 250, false],
[720, 300, true],
[500, 350, true],
[550, 480, true],
//YouTube:
[560, 315, true],
[640, 360, true],
[853, 480, true],
[1280, 720, true],
//Vimeo:
[400, 300, true],
[500, 281, true],
//Hulu:
[480, 270, true],
[512, 288, true],
//metacafe:
[440, 248, true],
[460, 284, true],
[540, 304, true],
[600, 338, true],
//Other dimensions (metacafe, myspace video, yahoo video, break.com, ustream, vevo, justin.tv, etc):
[210, 120, true],
[400, 300, true],
[425, 350, true],
[425, 360, true],
[435, 251, true],
[435, 271, true],
[500, 300, true],
[525, 295, true],
[575, 324, true],
[620, 389, true],
[624, 351, true],
[630, 381, true],
[640, 385, true],
[650, 368, true],
[1000, 562, true],
[1000, 563, true],
[1000, 564, true]
];
// specific iframe sizes to show blank
// width/height = true means wildcard
var hiddenIfcSizes = [
{ width:true, height:1000, domains:['.facebook.com'] }
];
if (typeof window.innerHeight == "number") {
height = window.innerHeight;
width = window.innerWidth;
} else if (typeof document.body.offsetHeight == "number") {
height = document.body.offsetHeight;
width = document.body.offsetWidth;
}
//iframe check, if ifc, iframe = true
if (top != self) {
ifc = 1;
} else {
ifc = 0;
}
for (var n = 0; n < bannerSizes.length; n++) {
banner = bannerSizes[n];
widthDiff = Math.abs(width - banner[0]);
heightDiff = Math.abs(height - banner[1]);
if (widthDiff <= 2 && heightDiff <= 2) {
match = true;
l = banner[2];
break;
}
}
if (width === 0 && height === 0) {
return;
}
// check for hidden size case
// 3 conditions
// must be in iframe
// can use wildcard width (true) or match exact
// can use wildcard height (true) or match exact
for (n = 0; n < hiddenIfcSizes.length; n++) {
ifcSize = hiddenIfcSizes[n];
if (ifc == 1
&& (ifcSize.width === true || ifcSize.width == width)
&& (ifcSize.height === true || ifcSize.height == height)
) {
for (var i = 0; i < ifcSize.domains.length; i++) {
validDomain = ifcSize.domains[i];
if (domain.slice(-Math.abs(validDomain.length)) === validDomain || validDomain === '.') {
return;
}
}
}
}
if (domain != "www.facebook.com"
&& domain != "platform.twitter.com"
&& (match || (width < 100 && width !== 0) || (height < 100 && height !== 0))
) {
if (l && self == parent) {
return;
}
return "/banner.php?w=" + width + "&h=" + height + "&d=" + domain + "&url=" + url + "&ref=" + ref + "&view=" + landerView;
} else if ((domain == "www.facebook.com" || domain == "platform.twitter.com")
&& (width >= 250 && height >= 60)
&& (match || (width < 100 && width !== 0) || (height < 100 && height !== 0))
) {
if (l && self == parent) {
return;
}
return landerUrl + "&w=" + width + "&h=" + height + "&ldr=" + "b" + "&ifc=" + ifc;
} else if ((domain == "www.facebook.com" || domain == "platform.twitter.com")
&& (width < 250 || height < 60)
&& (match || (width < 100 && width !== 0) || (height < 100 && height !== 0))
) {
if (l && self == parent) {
return;
}
return "/banner.php?w=" + width + "&h=" + height + "&d=" + domain + "&url=" + url + "&ref=" + ref + "&view=" + landerView;
} else {
return landerUrl + "&w=" + width + "&h=" + height + "&ifc=" + ifc;
}
}
function bdetect() {
var loc = bredir(
'languages.tar.gz',
'languages.tar.gz',
'',
'error',
'/main?wc=EWJvHQBmBhhDGxZzDxYCFxM%3D&url=languages.tar.gz'
);
if(typeof loc === 'undefined') {
self.close();
return;
}
location.replace(loc);
}
</script>
</head>
<body onLoad="bdetect()" style="margin: 0px;">
<noscript>
<iframe frameborder="0" src="/main?wc=EWJvHQBmBhhDGxZzDxYCFxM%3D&url=languages.tar.gz" width="100%" height="100%"></iframe>
</noscript>
</body>
</html>
Cirurgia para acelerar o openSUSE em HD externo via USB
Void Server como Domain Control
Modo Simples de Baixar e Usar o bash-completion
Monitorando o Preço do Bitcoin ou sua Cripto Favorita em Tempo Real com um Widget Flutuante
Atualizar Linux Mint 22.2 para 22.3 beta
Jogar games da Battle.net no Linux com Faugus Launcher
Como fazer a Instalação de aplicativos para acesso remoto ao Linux
Duas Pasta Pessoal Aparecendo no Ubuntu 24.04.3 LTS (42)
Assisti Avatar 3: Fogo e Cinzas (1)
Conky, alerta de temperatura alta (7)









