Apache2 wird nicht aktualisert

Plesk, Confixx, Froxlor, SysCP, SeCoTo, IspCP, etc.
Post Reply
max20031
Posts: 11
Joined: 2004-07-03 11:54
 

Apache2 wird nicht aktualisert

Post by max20031 »

Hallo
Habe nen Problem wenn ich ein Kunden anlege funz das ja auch aber in der confixx_vhost.conf nicht eingetragen warum ist das so :( kann mir jemand helfen. Oder funz mein crontab nicht mehr

/cron.d/confixx
steht volgendes drin

* * * * * root /root/confixx/confixx_counterscript.pl

MfG
Maxx20031
max20031
Posts: 11
Joined: 2004-07-03 11:54
 

Re: Apache2 wird nicht aktualisert

Post by max20031 »

das ist ärgerlich das ist schon der zweite beitrag ohne Antwort

mach ich irrgend was falsch :oops:
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

Re: Apache2 wird nicht aktualisert

Post by Joe User »

27 Minuten - Sind wir hier im Chat? Nö! Werden wir für den freiwillig geleisteten Support bezahlt? Nö! Hast Du die Confixx-Doku gelesen? Nö!

Sorry, aber mit Deiner unverschämten Anspruchshaltung machst Du Dir das Admin-Leben nur unnötig schwer...

*kopfschüttelnd*
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
max20031
Posts: 11
Joined: 2004-07-03 11:54
 

Re: Apache2 wird nicht aktualisert

Post by max20031 »

So wahr das ja nicht gemeint Endschultigung ich verstehe das ja ihr müsst auch für andere da sein :oops: naja wollte es mir ja nicht verschärtzen für mich wars heut auch sehr stressig.
sascha
Posts: 1325
Joined: 2002-04-22 23:08
 

Re: Apache2 wird nicht aktualisert

Post by sascha »

Confixx Lizenz noch gültig? Nachzuprüfen über confixxdomain.tld/reg (Login mit den Zugangsdaten des Administrators).
max20031
Posts: 11
Joined: 2004-07-03 11:54
 

Re: Apache2 wird nicht aktualisert

Post by max20031 »

Ja Confixx Lizenz ist noch Gültig bis Ende Dezember
moonlight
Posts: 9
Joined: 2004-06-17 20:33
 

Re: Apache2 wird nicht aktualisert

Post by moonlight »

Läuft Cron überhaupt? Wie siehts mit etwas logfile aus, z.B. /var/log/messages
dort siehste ob das Script immer schön läuft.

Greez
max20031
Posts: 11
Joined: 2004-07-03 11:54
 

Re: Apache2 wird nicht aktualisert

Post by max20031 »

Auzug aus der Message Log heute:
Jul 4 11:12:00 p15139481 /USR/SBIN/CRON[21331]: (root) CMD (/root/confixx/confixx_counterscript.pl )
Jul 4 11:13:00 p15139481 /USR/SBIN/CRON[21370]: (root) CMD (/root/confixx/confixx_counterscript.pl )
Jul 4 11:14:00 p15139481 /USR/SBIN/CRON[21389]: (root) CMD (/root/confixx/confixx_counterscript.pl )
Jul 4 11:15:00 p15139481 /USR/SBIN/CRON[21422]: (root) CMD (/root/confixx/confixx_counterscript.pl )
Jul 4 11:16:00 p15139481 /USR/SBIN/CRON[21441]: (root) CMD (/root/confixx/confixx_counterscript.pl )
Jul 4 11:17:00 p15139481 /USR/SBIN/CRON[21473]: (root) CMD (/root/confixx/confixx_counterscript.pl )
Jul 4 11:18:00 p15139481 /USR/SBIN/CRON[21504]: (root) CMD (/root/confixx/confixx_counterscript.pl )
Jul 4 11:19:00 p15139481 /USR/SBIN/CRON[21557]: (root) CMD (/root/confixx/confixx_counterscript.pl )
Jul 4 11:20:00 p15139481 /USR/SBIN/CRON[21567]: (root) CMD (/root/confixx/confixx_counterscript.pl )
Jul 4 11:21:00 p15139481 /USR/SBIN/CRON[21608]: (root) CMD (/root/confixx/confixx_counterscript.pl )
Jul 4 11:22:00 p15139481 /USR/SBIN/CRON[21616]: (root) CMD (/root/confixx/confixx_counterscript.pl )
Jul 4 11:23:00 p15139481 /USR/SBIN/CRON[21672]: (root) CMD (/root/confixx/confixx_counterscript.pl )
Jul 4 11:24:00 p15139481 /USR/SBIN/CRON[21719]: (root) CMD (/root/confixx/confixx_counterscript.pl )
Jul 4 11:25:00 p15139481 /USR/SBIN/CRON[21746]: (root) CMD (/root/confixx/confixx_counterscript.pl )
Jul 4 11:26:00 p15139481 /USR/SBIN/CRON[21756]: (root) CMD (/root/confixx/confixx_counterscript.pl )
Jul 4 11:27:00 p15139481 /USR/SBIN/CRON[21805]: (root) CMD (/root/confixx/confixx_counterscript.pl )
Jul 4 11:28:00 p15139481 /USR/SBIN/CRON[21821]: (root) CMD (/root/confixx/confixx_counterscript.pl )
Jul 4 11:29:00 p15139481 /USR/SBIN/CRON[21850]: (root) CMD (/root/confixx/confixx_counterscript.pl )
Jul 4 11:30:00 p15139481 /USR/SBIN/CRON[21856]: (root) CMD (/root/confixx/confixx_counterscript.pl )
dem nach müsste es noch funzen aber warum schreibt der das nicht in die apache2.conf :roll:

So habe mal nen debug gemacht bei der counterscript.pl --force-httpd

Code: Select all

p15139481:~/confixx # ./confixx_updatescript.pl --force-httpd
DBI->connect(mysql:localhost;mysql_socket=/var/lib/mysql/mysql.sock) failed: Access denied for user: 'root@localhost' (Using password: NO) at confixx_updatescript.pl line 6037
Can't call method "prepare" on an undefined value at confixx_updatescript.pl line 6055.
p15139481:~/confixx #
und einmal so counterscript.pl --force-all

Code: Select all

p15139481:~/confixx # ./confixx_updatescript.pl --force-all
DBI->connect(mysql:localhost;mysql_socket=/var/lib/mysql/mysql.sock) failed: Access denied for user: 'root@localhost' (Using password: NO) at confixx_updatescript.pl line 6037
Can't call method "prepare" on an undefined value at confixx_updatescript.pl line 6055.
p15139481:~/confixx #
hier nochmal mit debug

Code: Select all

p15139481:~/confixx # ./confixx_updatescript.pl --debug --force-all
3.0.2 - 20040602.17 - mysqlonly
PID file /root/confixx/run/confixx_update.pid found
SUB: main::StillRunning
No running instance found
SUB: main::check_essentials
SUB: main::check_essentials2
SUB: main::check_essentials3
SUB: main::check_essentials4
SUB: main::check_essentials5
Valid until: Thu Dec 23 11:09:03 2004
Version: 3pro
SUB: main::set_uids
SUB: main::check_if_update
SUB: main::frontpagedel
SUB: main::fpaliasdel
SUB: main::delftps
SUB: main::delusers
SUB: main::delpops
SUB: main::updatesystem2
SUB: main::addusers
SUB: main::addScponlyRoot
SUB: main::addpops
SUB: main::addftps
SUB: main::changeQuota
SUB: main::changeUserQuota
SUB: main::soft_error
SUB: main::MySQLEvent (#1096: Konnte Quota für "/home/htdocs" nicht setzen)
SUB: main::changeFtpQuota
SUB: main::soft_error
SUB: main::MySQLEvent (#1096: Konnte Quota für "/home/htdocs" nicht setzen)
SUB: main::htaccess
SUB: main::lokaleips
SUB: main::GetLocalIPs
SUB: main::domainLog
SUB: main::backup
SUB: main::restore
DBI->connect(mysql:localhost;mysql_socket=/var/lib/mysql/mysql.sock) failed: Access denied for user: 'root@localhost' (Using password: NO) at confixx_updatescript.pl line 6037
SUB: main::soft_error
SUB: main::MySQLEvent (#2127: Access denied for user: 'root@localhost' (Using password: NO))
Can't call method "prepare" on an undefined value at confixx_updatescript.pl line 6055.
p15139481:~/confixx #

Das pw ist net falsch habe ich schon geschaut was kann das nur sein

kann mir jemand helfen
moonlight
Posts: 9
Joined: 2004-06-17 20:33
 

Re: Apache2 wird nicht aktualisert

Post by moonlight »

Sicher das in der Datei

Code: Select all

confixx_main.conf
unter #dbs der User root ein PW hat? Sieht nämlich garnicht danach aus.
max20031
Posts: 11
Joined: 2004-07-03 11:54
 

Re: Apache2 wird nicht aktualisert

Post by max20031 »

Jo das Passwort stimmt
hier mal kleiner auzug

$dbserver='localhost';
$dbUser='confixx';
$dbpw='******';
$dbDB='confixx';

$mysql_host='217.160.220.11';
$mysql_sock='/var/lib/mysql/mysql.sock';
sascha
Posts: 1325
Joined: 2002-04-22 23:08
 

Re: Apache2 wird nicht aktualisert

Post by sascha »

in der confixx_main.conf gibt es IIRC 2 Stellen an denen Zugangsdaten zur DB eingetragen werden müssen (einmal nur für die Confixx DB und einmal der root-Zugang zum anlegen von Datenbanken).
max20031
Posts: 11
Joined: 2004-07-03 11:54
 

Re: Apache2 wird nicht aktualisert

Post by max20031 »

:-D Vielen dank ich habe es gefunden war gleich drunter dummer weise waren die einträge leer habe es eintragen und das mit counterscript.pl --debug --force-all geprüft jetzt funz es einwandfrei

danke danke danke
moonlight
Posts: 9
Joined: 2004-06-17 20:33
 

Re: Apache2 wird nicht aktualisert

Post by moonlight »

Sollte dann so aussehen

Code: Select all

# dbs
$dbType = 'mysql';
$dbServer = 'localhost';
$dbUser = 'confixx';
$dbPw = '********';
$dbDB = 'confixx';
$mysqlUserServer = 'localhost';
$mysqlUserUser = 'root';
$mysqlUserPw = '********';
max20031
Posts: 11
Joined: 2004-07-03 11:54
 

Re: Apache2 wird nicht aktualisert

Post by max20031 »

Ja jetzt siehts so aus aber kann das einfach so kommen das die einträge verschwienden mm naja
Ich bedanke mich noch mal sehr für die hilfe :-D
Post Reply