confixx apache reload geht nur manuell?!

Plesk, Confixx, Froxlor, SysCP, SeCoTo, IspCP, etc.
Post Reply
openeye
Posts: 13
Joined: 2004-05-17 02:27

confixx apache reload geht nur manuell?!

Post by openeye »

hallo,


ich habe folgendes problem:


die updatezeit für den apache 2 webserver steht bei mir auf 2 minuten.

jedoch werden subdomains, die ich in confixx erstelle, erst übernommen, wenn ich ihn manuell über das apachectl script lade.

da ich als pfad zum updatescript bei der installation von confixx /etc/init.d/apache2 angegeben habe, und dort auch einen link auf die apachectl gesetzt habe, müsste alles funzen. so restarte ich ihn auch immer.

gibt es eine möglichkeit zu sehen und evtl. zu ändern, wo confixx versucht, den apache zu restarten?
logfiles dazu hab ich auch nicht gefunden...

hab ich bis jetzt noch nix zu gefunden...

danke schonmal im vorraus!


viele grüße

openeye
antondollmaier
Posts: 485
Joined: 2004-03-30 10:06

Re: confixx apache reload geht nur manuell?!

Post by antondollmaier »

confixx_main.conf ...

da gibts ne variable für das reloaden und für das restarten vom indianer ...


restart wird gemacht, wenn der reload nix brachte ...
openeye
Posts: 13
Joined: 2004-05-17 02:27

Re: confixx apache reload geht nur manuell?!

Post by openeye »

server1:~# locate confixx_main.conf
server1:~# locate confixx*main
server1:~# locate confixx*conf
/etc/apache2/conf/confixx_mhost.conf
/root/confixx_mhost.conf
/etc/apache2/conf/confixx_vhost.conf
/root/confixx_vhost.conf
server1:~#


da is wohl nix 8O
giffi
Posts: 140
Joined: 2003-05-17 14:52

Re: confixx apache reload geht nur manuell?!

Post by giffi »

Die confixx_main.conf befindet sich unter /root/confixx/

Giffi
openeye
Posts: 13
Joined: 2004-05-17 02:27

Re: confixx apache reload geht nur manuell?!

Post by openeye »

$pm_apache_reload = '/etc/init.d/apache2 reload';
$pm_apache_start = '/etc/init.d/apache2 start';


hm den reload selber gibts bei mir nicht XD

sollte da dann evtl. restart rein?

würd ich mal annehmen...
antondollmaier
Posts: 485
Joined: 2004-03-30 10:06

Re: confixx apache reload geht nur manuell?!

Post by antondollmaier »

ähm ...

schau mal in die apache-docs, da wird einem erklärt, wie man den apache "vorsichtig" reloadet ...

ansonsten gibts noch die forensuche und google ...


mfg,
Anton


btw:

Code: Select all

updatedb
das hilft sehr gut, bevor man locate nutzt ... oder gleich find nehmen ...
openeye
Posts: 13
Joined: 2004-05-17 02:27

Re: confixx apache reload geht nur manuell?!

Post by openeye »

na ja nur wenn ich selber nicht

Code: Select all

/etc/init.d/apache2 reload
ausführen kann, kann es confixx wohl auch nicht...

und updatedb benutze ich generell vor jeder suche, wenn ich mir nicht sicher bin, dass die datei schon länger existiert
antondollmaier
Posts: 485
Joined: 2004-03-30 10:06

Re: confixx apache reload geht nur manuell?!

Post by antondollmaier »

hmm ... könnte es sein, dass updatedb das root-homeverzeichnis nicht mit-indiziert??

hab das nämlich grad bei mir ausprobiert, da hat er auch nur einen treffer gehabt ... und das war das backup der datei ...

bei "find / -name confixx_main.conf" gabs sofort den richtigen treffer ... aber das is jetzt shcon genug offtopic ... ;)


mfg,
Anton
captaincrunch
Userprojekt
Userprojekt
Posts: 7066
Joined: 2002-10-09 14:30
Location: Dorsten
Contact:

Re: confixx apache reload geht nur manuell?!

Post by captaincrunch »

hmm ... könnte es sein, dass updatedb das root-homeverzeichnis nicht mit-indiziert??
Genau so ist es. Ansonsten könnte sich schließlich jeder User anschauen, was unter /root so alles liegt. ;)
DebianHowTo
echo "[q]sa[ln0=aln256%Pln256/snlbx]sb729901041524823122snlbxq"|dc
openeye
Posts: 13
Joined: 2004-05-17 02:27

Re: confixx apache reload geht nur manuell?!

Post by openeye »

hehe ach so, dann bedanke ich mich recht herzlich.

in nem anderen aktuellen thread hab ich nun auch die lösung gefunden.


viele grüße

openeye
Post Reply