CKB:Cryptshare Server running on Hyper V is not available: Unterschied zwischen den Versionen

Aus Cryptshare Documentation
Wechseln zu:Navigation, Suche
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
 
Zeile 1: Zeile 1:
    
    


== Applies to: ==
== Applies to ==
{{NoteBox|title=|content=All versions of Cryptshare Server running on Hyper-V.
{{NoteBox|title=|content=All versions of Cryptshare Server running on Hyper-V.
}}
}}


== Symptom: ==
== Symptom ==
Cryptshare Server is not available in web browser and over SSH connection. On the console multiple errors are shown
Cryptshare Server is not available in web browser and over SSH connection. On the console multiple errors are shown


[[File:65673087.png]]
[[File:65673087.png]]


== Cause: ==
== Cause ==
File permissions have been changed on the file system.
File permissions have been changed on the file system.


== Solution: ==
== Solution ==
Please follow the instructions:
Please follow the instructions:
* create a snapshot of your VM
* create a snapshot of your VM
* log in as '''root''' on the console
* log in as '''root''' on the console
* run the following commands, to reset permissions and owners to default settings for each installed package   
* run the following commands, to reset permissions and owners to default settings for each installed package   
'''for p in $(rpm -qa); do rpm --setperms $p; done'''   
'''for p in $(rpm -qa); do rpm --setperms $p; done'''   
'''for p in $(rpm -qa); do rpm --setugids $p; done'''
'''for p in $(rpm -qa); do rpm --setugids $p; done'''
{{InfoBox|title=|content=It will take a couple of minutes and a lot of messages about missing permissions and files will be shown, but please ignore these messages.
{{InfoBox|title=|content=It will take a couple of minutes and a lot of messages about missing permissions and files will be shown, but please ignore these messages.
}}
}}

Aktuelle Version vom 30. Dezember 2022, 16:52 Uhr


Applies to

All versions of Cryptshare Server running on Hyper-V.

Symptom

Cryptshare Server is not available in web browser and over SSH connection. On the console multiple errors are shown

65673087.png

Cause

File permissions have been changed on the file system.

Solution

Please follow the instructions:

  • create a snapshot of your VM
  • log in as root on the console
  • run the following commands, to reset permissions and owners to default settings for each installed package
for p in $(rpm -qa); do rpm --setperms $p; done  
for p in $(rpm -qa); do rpm --setugids $p; done
It will take a couple of minutes and a lot of messages about missing permissions and files will be shown, but please ignore these messages.
  • run following commands to change permissions for Cryptshare service

chmod 755 /etc/init.d/cryptshare

  • type reboot to restart the VM
  • after the restart try to connect via SSH again