Koozali.org: home of the SME Server

Problems accessing webmail/server-manager and other stuff

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Problems accessing webmail/server-manager and other stuff
« on: November 15, 2006, 03:11:40 PM »
After not being able to login to my server anymore neither as root nor as admin I have reset the password by using in to the single user mode at boot time. After that I rebooted my server and am now able to login again with root.

However I am still having trouble accessing SSL pages on my server, e.g. the server-manager and the webmail interface. The server-manager gives an access denied error even before prompting for a login, the webmail interface returns a login failed error. In my messages file I have found the following. The last things I have done before everything went wrong is installing and uninstalling sme-mldonkey (found somewhere in the forums) and mldonkey-backend (from atrpms).

When I try to access using ssh access for a non root user I am able to login but I receive the following error message:
Code: [Select]
login as: jonathan
Authenticating with public key "homer.snetram.nl"
Passphrase for key "homer.snetram.nl":
Last login: Wed Nov 15 15:07:05 2006 from 10.0.0.150
-bash: /etc/profile: Permission denied
[I have no name!@homer ~]$

Although it states permission denied I am able to login as user jonathan using ssh.

It is also not possible to access the domain from a Windows XP system as the same user (jonathan).

As I cannot access the server-manager I don't know how to restire my backup... maybe someone had a suggestion for that so I can restore my backup which maybe might solve my problems.

From the messages log file I read the following, but it doesn't make things clearer to me... does someone have a suggestion what can possibly be wrong?

Code: [Select]
Nov 15 15:00:11 homer slapcat: bdb_initialize: Sleepycat Software: Berkeley DB 4.2.52: (December  3, 2003)
Nov 15 15:00:12 homer slapcat: /etc/openldap/slapd.conf: line 18: schema checking disabled! your mileage may vary!
Nov 15 14:00:12 homer squid: Unable to open configuration file: /etc/squid/squid.conf: (13) Permission denied
Nov 15 15:00:13 homer slapd[12022]: @(#) $OpenLDAP: slapd 2.2.13 (Oct 18 2005 10:08:34) $       buildcentos@x8664-build:/home/buildcentos/rpmbuild/BUILD/openldap-2.2.13/openldap-2.2.13/build-servers/servers/slapd
Nov 15 15:00:13 homer slapd[12022]: daemon: IPv6 socket() failed errno=97 (Address family not supported by protocol)
Nov 15 15:00:13 homer slapd[12022]: bdb_initialize: Sleepycat Software: Berkeley DB 4.2.52: (December  3, 2003)
Nov 15 14:00:13 homer slapd[12022]: bdb_initialize: Sleepycat Software: Berkeley DB 4.2.52: (December  3, 2003)
Nov 15 14:00:13 homer slapd[12022]: could not open config file "/etc/openldap/slapd.conf": Permission denied (13)
Nov 15 14:00:13 homer slapd[12022]: slapd shutdown: freeing system resources.
Nov 15 14:00:13 homer slapd[12022]: slapd stopped.
Nov 15 14:00:13 homer slapd[12022]: connections_destroy: nothing to destroy.
Nov 15 15:00:13 homer slapcat: bdb_initialize: Sleepycat Software: Berkeley DB 4.2.52: (December  3, 2003)
Nov 15 15:00:13 homer slapcat: bdb_initialize: Sleepycat Software: Berkeley DB 4.2.52: (December  3, 2003)
Nov 15 14:00:13 homer squid: Unable to open configuration file: /etc/squid/squid.conf: (13) Permission denied
Nov 15 15:00:13 homer slapcat: /etc/openldap/slapd.conf: line 18: schema checking disabled! your mileage may vary!
Nov 15 14:00:14 homer squid: Unable to open configuration file: /etc/squid/squid.conf: (13) Permission denied
Nov 15 15:00:14 homer slapd[12033]: @(#) $OpenLDAP: slapd 2.2.13 (Oct 18 2005 10:08:34) $       buildcentos@x8664-build:/home/buildcentos/rpmbuild/BUILD/openldap-2.2.13/openldap-2.2.13/build-servers/servers/slapd
Nov 15 15:00:14 homer slapd[12033]: daemon: IPv6 socket() failed errno=97 (Address family not supported by protocol)
Nov 15 15:00:14 homer slapd[12033]: bdb_initialize: Sleepycat Software: Berkeley DB 4.2.52: (December  3, 2003)
Nov 15 14:00:14 homer slapd[12033]: bdb_initialize: Sleepycat Software: Berkeley DB 4.2.52: (December  3, 2003)
Nov 15 14:00:14 homer slapd[12033]: could not open config file "/etc/openldap/slapd.conf": Permission denied (13)
Nov 15 14:00:14 homer slapd[12033]: slapd shutdown: freeing system resources.
Nov 15 14:00:14 homer slapd[12033]: slapd stopped.
Nov 15 14:00:14 homer slapd[12033]: connections_destroy: nothing to destroy.
Nov 15 15:00:14 homer slapcat: bdb_initialize: Sleepycat Software: Berkeley DB 4.2.52: (December  3, 2003)
Nov 15 15:00:14 homer slapcat: bdb_initialize: Sleepycat Software: Berkeley DB 4.2.52: (December  3, 2003)
Nov 15 15:00:15 homer slapcat: /etc/openldap/slapd.conf: line 18: schema checking disabled! your mileage may vary!
Nov 15 14:00:15 homer squid: Unable to open configuration file: /etc/squid/squid.conf: (13) Permission denied
Nov 15 15:00:16 homer slapd[12043]: @(#) $OpenLDAP: slapd 2.2.13 (Oct 18 2005 10:08:34) $       buildcentos@x8664-build:/home/buildcentos/rpmbuild/BUILD/openldap-2.2.13/openldap-2.2.13/build-servers/servers/slapd
Nov 15 15:00:16 homer slapd[12043]: daemon: IPv6 socket() failed errno=97 (Address family not supported by protocol)
Nov 15 15:00:16 homer slapd[12043]: bdb_initialize: Sleepycat Software: Berkeley DB 4.2.52: (December  3, 2003)
Nov 15 14:00:16 homer slapd[12043]: bdb_initialize: Sleepycat Software: Berkeley DB 4.2.52: (December  3, 2003)
Nov 15 14:00:16 homer slapd[12043]: could not open config file "/etc/openldap/slapd.conf": Permission denied (13)
Nov 15 14:00:16 homer slapd[12043]: slapd shutdown: freeing system resources.
Nov 15 14:00:16 homer slapd[12043]: slapd stopped.
Nov 15 14:00:16 homer slapd[12043]: connections_destroy: nothing to destroy.
Nov 15 15:00:16 homer slapcat: bdb_initialize: Sleepycat Software: Berkeley DB 4.2.52: (December  3, 2003)
Nov 15 15:00:16 homer slapcat: bdb_initialize: Sleepycat Software: Berkeley DB 4.2.52: (December  3, 2003)
Nov 15 15:00:16 homer slapcat: /etc/openldap/slapd.conf: line 18: schema checking disabled! your mileage may vary!
Nov 15 14:00:16 homer squid: Unable to open configuration file: /etc/squid/squid.conf: (13) Permission denied
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)