[Eisfair] Erledigt - Re: Probleme nach heutigem Update auf php7 Version 1.1.10

Marcus Roeckrath marcus.roeckrath at gmx.de
Fr Okt 25 23:32:07 CEST 2019


Hallo Dirk,

Marcus Roeckrath wrote:

>> /etc/init.d/apache stop; sleep 5; /etc/init.d/apache2
>> start; /etc/init.d/apache2 status
> 
> Typo:
> 
> /etc/init.d/apache2 stop; ...

Vor der Statusabfrage baruchts auch eine kurze Pause.

eis # /etc/init.d/apache2 stop; sleep 1; /etc/init.d/apache2 start ; sleep
1; /etc/init.d/apache2 status
 * Stopping Apache ...                                                                    
[  OK  ]
 * Starting Apache ...                                                                    
[  OK  ]
Apache is running with pid: 6789

Eine Pause von einer Sekunde zwischen stop und start reicht hier
zuverlässig.

Ohne diese schlägts fehl:


eis # /etc/init.d/apache2 stop; /etc/init.d/apache2 start ; sleep
1; /etc/init.d/apache2 status
 * Stopping Apache ...                                                                    
[  OK  ]
 * Apache is already running!                                                             
[  OK  ]
Apache is not running

-- 
Gruss Marcus


Mehr Informationen über die Mailingliste Eisfair