Koozali.org: home of the SME Server

keine Webanmeldung (server-manager) möglich

Offline scheune1070

  • 10
  • +0/-0
keine Webanmeldung (server-manager) möglich
« on: July 27, 2023, 09:58:47 PM »
Hallo zusammen,

leider kann ich mich nicht mehr mit den admin Login-Daten über den Server-manager anmelden.
Fehlermeldung: invalid Benutzername oder Passwort

Per ssh mit root komme ich ins System.

Ich habe über die Konsole das admin-Passwort geändert. Brachte aber auch keine Veränderung. Mittlerweile habe ich das admin Passwort dem Ursprünglichen wieder angepasst.

Hat jemand eine Idee ?

Danke

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: keine Webanmeldung (server-manager) möglich
« Reply #1 on: July 27, 2023, 11:17:56 PM »
Diese Probleme treten normalerweise nicht von selbst auf......

Erzählen Sie uns etwas über Ihren Server.  Welche Version? 

Was haben Sie als letztes getan, bevor Sie ausgesperrt wurden?

Haben Sie Fehler in Ihren Protokollen?

===========

These problems don't usually appear by themselves...

Tell us something about your server.  Which version?

What was the last thing you did before you got locked out?

Do you have errors in your logs?


https://wiki.koozali.org/How_to_report_a_problem#Searching_logs_for_errors
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline scheune1070

  • 10
  • +0/-0
Re: keine Webanmeldung (server-manager) möglich
« Reply #2 on: July 28, 2023, 11:30:33 AM »
Version 10.1

Der Fehler besteht schon etwas länger. Ich habe zuletzt eine LDAP Anbindung zum Server getestet. Kann mich aber leider nicht mehr daran erinnern (schon zu lange her) ob oder wenn, welche Einstellungen ich verändert habe

Anbei ein paar Infos & Fehlermeldungen:
Jul 27 21:01:14 sme1 kernel: [    0.871886] BERT: Boot Error Record Table support is disabled. Enable it by using                                                                  bert_enable as kernel parameter.
Jul 27 21:01:14 sme1 kernel: [    0.889794] random: systemd: uninitialized urand  om read (16 bytes read)                                                                         
Jul 27 23:46:42 sme1 kernel: Warning: Intel Processor - this hardware has not undergone upstream testing.                                                                            Please consult http://wiki.centos.org/FAQ for more information

/var/log/secure:Jul 27 21:27:35 sme1 pwauth: pam_ldap(pwauth:auth): error opening connection to nslcd: No such file or directory
/var/log/secure:Jul 27 21:27:47 sme1 pwauth: pam_ldap(pwauth:account): error opening connection to nslcd: No such file or directory
/var/log/secure-20230723:Jul 23 03:20:02 sme1 CROND[31148]: pam_ldap(crond:session): error opening connection to nslcd: Datei oder Verzeichnis nicht gefunden

/sbin/e-smith/audittools/newrpms
Extra-Pakete
GeoIP.x86_64                             1.6.12-9.el7.sme           @smecontribs
GeoIP-GeoLite-data.noarch                2018.06-7.el7.sme          @smecontribs
GeoIP-GeoLite-data-extra.noarch          2018.06-7.el7.sme          @smecontribs
remi-libzip.x86_64                       1.9.2-2.el7.remi           @remi-safe
smeserver-crontab_manager.noarch         2.4-7.el7.sme              @smecontribs
smeserver-hwinfo.noarch                  1.2-5.el7.sme              @smecontribs

/sbin/e-smith/audittools/repositories
base: enabled
centosplus: disabled
extras: disabled
fasttrack: disabled
remi-safe: enabled
smeaddons: enabled
smecontribs: disabled
smedev: disabled
smeextras: enabled
smeos: enabled
smetest: disabled
smeupdates: enabled
smeupdates-testing: disabled
updates: enabled


Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: keine Webanmeldung (server-manager) möglich
« Reply #3 on: July 28, 2023, 02:50:24 PM »
Hmmm.

Quote
Der Fehler besteht schon etwas länger.

Warum haben Sie nicht versucht, das Problem sofort zu beheben?

Ich bin mir nicht sicher, ob es per se einen Fehler gibt. Ich denke, dass dies etwas oder mehrere Dinge sind, die Sie in der Vergangenheit getan haben und die Sie immer wieder verfolgen.

Sie müssen uns viel mehr über die Geschichte Ihres Servers erzählen. Gehen Sie so weit zurück, wie Sie sich erinnern. Füllen Sie die Lücken aus, denn es gibt einige Dinge, die hier keinen Sinn ergeben.

Versionen, Upgrades usw. Wir müssen wissen, was passiert ist, bevor dies passiert ist. Sie können es uns genauso gut sagen, da wir es irgendwann auf die eine oder andere Weise herausfinden werden.

Wenn wir nicht aufpassen, werden wir eines davon haben

https://xyproblem.info/

Hatten Sie in Version 9 eine LDAP-Authentifizierung eingerichtet? Wenn ja, wie haben Sie es „rückgängig gemacht“?

Das ist ungewöhnlich. War dies Ihr Versuch, sich über LDAP anzumelden?

Quote
pwauth: pam_ldap(pwauth:auth): error opening connection to nslcd: No such file or directory

Ich bin mir nicht sicher, ob es sich um Ihr fehlgeschlagenes Passwort handelt, aber wir sollten wissen, was passiert ist.

=====================

Hmmm.

Quote
Der Fehler besteht schon etwas länger.

Why didn't you look at fixing it immediately?

I'm not sure there is a bug, per se. I think that this is some thing, or some things, that you have done in the past that have come back to haunt you.

You need to tell us a lot more about the history of your server. Go as far back as you remember. Fill in the gaps as there are several things that make no sense here.

Versions, upgrades, etc. We need to know what went on before this occurred. You may as well tell us as we will find out one way or another, eventually.

If we are not careful we will have one of these

https://xyproblem.info/

Did you have LDAP authentication setup on v9? If so, how did you 'undo' it?

This is unusual. Was this your attempt at LDAP login?

Quote
pwauth: pam_ldap(pwauth:auth): error opening connection to nslcd: No such file or directory

I am not sure it relates to your failed password but we ought to know what went on.

...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline Jean-Philippe Pialasse

  • *
  • 2,747
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: keine Webanmeldung (server-manager) möglich
« Reply #4 on: July 29, 2023, 04:13:20 PM »
server-manager and few other web based access rely on pwauth to login users.

seems you have configured something for pam or nslcd and it cause issues  /etc/nslcd.conf could be a start then the content of all the pam configuration files might need a check.
default nslcd.conf usually only contains comments and suggestion of config

Offline scheune1070

  • 10
  • +0/-0
Re: keine Webanmeldung (server-manager) möglich
« Reply #5 on: July 29, 2023, 07:53:27 PM »
Vielen Dank für die bisherige Unterstützung.

Ich habe mir ein Backupfile erstellt und werde mich evtl. zu einem anderen Zeitpunkt nochmal damit beschäftigen.
Heute habe ich eine neue Server-Installation vorgenommen.

Vielen Dank nochmal.

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: keine Webanmeldung (server-manager) möglich
« Reply #6 on: July 29, 2023, 08:20:00 PM »
Ich bin traurig, dass wir das Problem nicht entdeckt haben.  Ich hoffe, Ihr Backup behebt das Problem ...

=========

It is sad that we have not discovered the issue. I hope your backup fixes the problem...
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation