CAN'T RESTORE USER!!

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Tue Jun 20, 2006 10:02 pm

Oh, and follow running the omcheck.out script with

ompatchom

Best not to have users on the system while performing these tasks.

Regards,
Don

leigh
Posts: 109
Joined: Tue Feb 07, 2006 11:35 pm
Location: At my desk.
Contact:

Postby leigh » Tue Jun 20, 2006 10:49 pm

OK, done that. It took quite a while.
Same deal, though. Here's the fatal log:

Code: Select all

ERROR                   IMAP Server Da(IMAP Server Pr) Wed Jun 21 12:34:14 2006
[OM 24070] Debug message for Lab use :
imapCreateAdminSocket: Could not bind to socket /var/opt/scalix/temp/imap-admin.12345 Error was: Permission denied
User Name: Leigh M. Sharpe / mail, pacificwireless/CN=Leigh Sharpe
Pid of logging process: 12345


SERIOUS ERROR           IMAP Server Da(IMAP Server Pr) Wed Jun 21 12:34:14 2006
[OM 24070] Debug message for Lab use :
imapCoreServer:Failed to create admin socket:
User Name: Leigh M. Sharpe / mail, pacificwireless/CN=Leigh Sharpe
Pid of logging process: 12345



Then I ran ompatchom (I read the post before you added the last post.)
I no longer get the errors in the log, but I still can't log in with webmail (incorrect user name and password.).
POP3 is OK, SAC allows me to log in OK.
Can't log in through the outlook connector.

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Wed Jun 21, 2006 4:02 am

Hi,

what OS is this on specifically and have you disabled SELinux?

Thanks,

Sascha.

leigh
Posts: 109
Joined: Tue Feb 07, 2006 11:35 pm
Location: At my desk.
Contact:

Postby leigh » Wed Jun 21, 2006 6:43 am

FC4.
I haven't specifically disabled SELinux, but it's only on if that's the default.

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Wed Jun 21, 2006 7:08 am

I just had our docs person running around the office screaming and then going into cardiac arrest.

f you are not a Selinux user, you need to switch off Selinux. It comes switched on in Fedora Core 4 (FC4) and Red Hat Linux (Red Hat Enterprise Linux 4).

1. Switch selinux off in
/etc/sysconfig/selinux

2. Change 'SELINUX=enforcing' to
'SELINUX=disabled' or 'SELINUX=permissive'.

3. Reboot.

Please refer to the release notes.

Cheers,

Sascha.

leigh
Posts: 109
Joined: Tue Feb 07, 2006 11:35 pm
Location: At my desk.
Contact:

Postby leigh » Wed Jun 21, 2006 7:27 am

I just had our docs person running around the office screaming and then going into cardiac arrest.

Better call him an ambulance.

"You're an ambulance...."
Sorry, it had to be done.


SELinux appears to be off:

Code: Select all

[root@scalix ~]# cat /etc/sysconfig/selinux
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
#       enforcinfg - SELinux security policy is enforced.
#       permissive - SELinux prints warnings instead of enforcing.
#       disabled - No SELinux policy is loaded.
SELINUX=disabled

# SELINUXTYPE= can take one of these two values:
#       targeted - Only targeted network daemons are protected.
#       strict - Full SELinux protection.
SELINUXTYPE=strict


I also tried changing SELINUX=strict to SELINUX=targeted and rebooting. Same behaviour.

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Wed Jun 21, 2006 7:33 am

just for kicks, what does lsof -i tcp:143 give us?

Sascha.

leigh
Posts: 109
Joined: Tue Feb 07, 2006 11:35 pm
Location: At my desk.
Contact:

Postby leigh » Wed Jun 21, 2006 7:34 am

Code: Select all

[root@scalix ~]# lsof -i tcp:143
COMMAND    PID USER   FD   TYPE DEVICE SIZE NODE NAME
in.imap41 2333 root    4u  IPv4   6770       TCP *:imap (LISTEN)
[root@scalix ~]#

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Wed Jun 21, 2006 8:00 am

It's definately permissions. OK, so here's another idea.

su to scalix and cd to var/opt/scalix/temp. Check for /imap-admin.12345 and ls -al it. If it does not exist,try touching it manually as the Scalix user. Who owns that directory?

Also try another telnet localhost 143 and use

.login username password

and paste back what that gives you.

Sascha.

leigh
Posts: 109
Joined: Tue Feb 07, 2006 11:35 pm
Location: At my desk.
Contact:

Postby leigh » Wed Jun 21, 2006 6:44 pm

imap-admin.12345 didn't exist. imap-admin.10800 did, though.
I touched imap-admin.12345 and made sure it was owned by scalix. Not sure what permissions it should be, but I left it as the default of rw-r--r--.
Telnet to localhost:143 gives this:

Code: Select all

[root@scalix temp]# telnet localhost 143
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
* OK Scalix IMAP server 10.0.1.3 ready on scalix.pacificwireless.com.au
.login myusername mypasswd
.login BAD unrecognised command

The temp directory is owned by scalix.

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Wed Jun 21, 2006 6:55 pm

Hi,

it's dot space login user password

Sascha.

leigh
Posts: 109
Joined: Tue Feb 07, 2006 11:35 pm
Location: At my desk.
Contact:

Postby leigh » Wed Jun 21, 2006 6:57 pm

Oops.

Code: Select all

[root@scalix ~]# telnet localhost 143
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
* OK Scalix IMAP server 10.0.1.3 ready on scalix.pacificwireless.com.au
. login myusername mypasswd
. NO LOGIN failure, service unavailable
Connection closed by foreign host.
[root@scalix ~]#

Looking at the IMAP daemon log in SAC, this message appears at the same time:

Code: Select all

WARNING                        IMAP Server Da(IMAP Server Pr) 06.22.06 08:56:40
[SYS 13] Permission denied
File Name: /var/opt/scalix/sys/dir.index.lk
User Name: Leigh M. Sharpe / mail, pacificwireless/CN=Leigh Sharpe
        -> imapLogin1
        -> imapual_signon
        -> imapual_connect
        -> ual_OpenTraceFile
        <- ual_OpenTraceFile
        -> ual_OpenTraceFile
        <- ual_OpenTraceFile
        -> ual_SendMessage
        <- ual_SendMessage
        -> ual_RecvReply
        -> ual_Init
        -> InitDBSArea
        <- InitDBSArea
        -> ul_OpenUL
        <- /build/10.0.1.3/src/lib/ombase/os/os_open.c:120[1,13]
        <- /build/10.0.1.3/src/lib/ombase/os/os_open.c:120[1,13]

leigh
Posts: 109
Joined: Tue Feb 07, 2006 11:35 pm
Location: At my desk.
Contact:

Postby leigh » Wed Jun 21, 2006 7:04 pm

Still the same.

Code: Select all

[root@scalix ~]# telnet localhost 143
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
* OK Scalix IMAP server 10.0.1.3 ready on scalix.pacificwireless.com.au
. login "myusername" mypasswd
. NO LOGIN failure, service unavailable
Connection closed by foreign host.
[root@scalix ~]#

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Wed Jun 21, 2006 7:12 pm

This has been a going problem for several days now. You might want to consider purchasing a support incident. We will be able to give this issue a high priority and the resolution will be much quicker.

Regards,
Don


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 1 guest