Bug 26280 - univention-management-console-module-udm deaktiviert apache site univention-directory-manager nicht
univention-management-console-module-udm deaktiviert apache site univention-d...
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UMC (Generic)
UCS 3.0
Other Linux
: P5 normal (vote)
: UCS 3.0-2
Assigned To: Stefan Gohmann
Janek Walkenhorst
: interim-1
Depends on:
Blocks: 26332
  Show dependency treegraph
 
Reported: 2012-02-28 14:02 CET by Felix Botner
Modified: 2012-07-20 15:24 CEST (History)
2 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Botner univentionstaff 2012-02-28 14:02:34 CET
Im postinst von univention-management-console-module-udm wird "a2ensite univention-directory-manager" ausgeführt. Jedoch wird die Seite bei der Deinstallation nicht wieder entfernt. Damit gibt es einen toten Link /etc/apache2/sites-enabled/univention-directory-manager -> ../sites-available/univention-directory-manager
und der apache startet nicht mehr:

/etc/init.d/apache2 start
Starting web server: apache2apache2: Syntax error on line 230 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/sites-enabled/univention-directory-manager: No such file or directory
Action 'start' failed.
The Apache error log may have more information.
 failed!


Auftreten kann das z.B. wenn ein System als Master ohne Join installiert wird. Über univention-system-setup-boot wird dann daraus ein Basissystem, wobei der UDM entfernt wird.
Comment 1 Nico Gulden univentionstaff 2012-03-27 16:28:45 CEST
Auch in Amazon EC2 mit ami-891129fd beobachtet, nachdem über System Setup eine Instanz mit der Systemrolle Slave erstellt und in die Domäne gejoint wurde. Nach einem Neustart der Instanz ist UMC nicht erreichbar, weil der Apache2 mit der bereits berichteten Fehlermeldung abbricht. Nach Abschluss von System Setup (ohne Neustart) funktioniert es noch. 

Per SSH-Zugriff kann der tote Symlink /etc/apache2/sites-enabled/univention-directory-manager entfernt und Apache2 neugestartet werden.
Comment 2 Stefan Gohmann univentionstaff 2012-03-27 16:51:11 CEST
In 3.0-2 und system-setup3.0-1 behoben.
Comment 3 Janek Walkenhorst univentionstaff 2012-03-29 16:46:52 CEST
Die site wird entfernt, Apache funktioniert noch, Changelog OK
Comment 4 Stefan Gohmann univentionstaff 2012-07-20 15:24:56 CEST
UCS 3.0-2 has been released: 
  http://forum.univention.de/viewtopic.php?f=54&t=1905

If this error occurs again, please use "Clone This Bug".