Project

General

Profile

Anomalie #6161

StartAll ne démarre pas les services

Added by Emmanuel GARETTE about 10 years ago. Updated almost 10 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Category:
-
Start date:
10/01/2013
Due date:
10/04/2013
% Done:

100%

Spent time:
Distribution:
EOLE 2.4

Description

StartAll ne fait, aujourd'hui, que lister les services désactivés. Il ne cherche pas à démarrer les services.

root@eolebase:~# /etc/init.d/nginx status
 * nginx is not running
root@eolebase:~# StartAll
Traceback (most recent call last):
  File "/usr/bin/StartAll", line 11, in <module>
    service_all('restart', network=True)
  File "/usr/lib/python2.7/dist-packages/pyeole/decorator.py", line 192, in wrapper
    return self.decorate(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/pyeole/decorator.py", line 439, in decorate
    ret = self.decorated(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/pyeole/service/__init__.py", line 473, in service_all
    manage_services(action)
  File "/usr/lib/python2.7/dist-packages/pyeole/service/__init__.py", line 138, in manage_services
    manage_service(action, name=names, container=container)
  File "/usr/lib/python2.7/dist-packages/pyeole/service/__init__.py", line 170, in manage_service
    _manage_service(action, services=names, ctx=ctx)
  File "/usr/lib/python2.7/dist-packages/pyeole/service/__init__.py", line 278, in _manage_service
    raise ServiceError(failures)
pyeole.service.error.ServiceError: Apache enabled file links to wrong configuration for service 000-default in root: /etc/apache2/sites-enabled/000-default => /etc/apache2/sites-available/default
Service squid2 disabled
Service clamav-daemon disabled
Service smbd disabled
Service nmbd disabled
Service winbind disabled
Service krb5-admin-server disabled
Service krb5-kdc disabled
Service tftpd-hpa disabled
Service isc-dhcp-server disabled
Service isc-dhcp-relay disabled
Service eole-sso disabled
Service nut disabled
root@eolebase:~# /etc/init.d/nginx status
 * nginx is not running

Alors qu'il est bien redémarré après un reconfigure :

root@eolebase:~# reconfigure
[...]
root@eolebase:~# /etc/init.d/nginx status
 * nginx is running

Related issues

Related to python-pyeole - Anomalie #6160: Erreur à la mise en place d'un service apache Fermé 10/21/2013 10/25/2013

Associated revisions

Revision 073139fa (diff)
Added by Daniel Dehennin almost 10 years ago

Mise à jour du wrapper « StartAll »

  • bin/StartAll: Wrapper shell qui stop tous les services puis ne démarre
    que ceux qui sont activés.

Fixes: #6161 @10m

History

#1 Updated by Daniel Dehennin almost 10 years ago

  • Due date set to 10/04/2013
  • Status changed from Nouveau to Accepté
  • Assigned To set to Daniel Dehennin
  • Start date set to 10/01/2013

Il y a trop de wrapper ;-)

#2 Updated by Daniel Dehennin almost 10 years ago

  • Status changed from Accepté to Résolu
  • % Done changed from 0 to 100

#3 Updated by Joël Cuissinat almost 10 years ago

  • Status changed from Résolu to Fermé

OK dans creole 2.4.0-192

Also available in: Atom PDF