ommapsmtp refuses to work after new installation

Discuss installation of Scalix software

Moderators: ScalixSupport, admin

Clemens
Posts: 68
Joined: Fri Dec 23, 2005 3:20 pm

Postby Clemens » Tue May 23, 2006 4:55 pm

Interesting:

# strace -f sendmail -C /etc/sendmail.cf -bt 2>&1 | grep ommap
# 3,0 user@example.com
bash: 3,0: command not found

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

Postby ScalixSupport » Tue May 23, 2006 4:56 pm

It looks like you don't have strace installed. It's a useful tool. Any chance you can install it ?

Cheers

Dave

Clemens
Posts: 68
Joined: Fri Dec 23, 2005 3:20 pm

Postby Clemens » Tue May 23, 2006 5:00 pm

Sure thing... :-)

after installing strace:

# strace -f sendmail -C /etc/sendmail.cf -bt 2>&1 | grep ommap
3,0 user@example.com
[pid 22586] stat("/opt/scalix/bin/ommapsmtp", {st_mode=S_IFREG|S_ISGID|0555, st_size=15234, ...}) = 0
[pid 22586] execve("/opt/scalix/bin/ommapsmtp", ["/opt/scalix/bin/ommapsmtp", "user<@example.com>"], [/* 1 var */]) = -1 EPERM (Operation not permitted)
[pid 22586] write(1, "/opt/scalix/bin/ommapsmtp: canno"..., 64 <unfinished ...>
[pid 22540] <... read resumed> "/opt/scalix/bin/ommapsmtp: canno"..., 2047) = 64

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

Postby ScalixSupport » Tue May 23, 2006 5:03 pm

That's more interesting. That seems to indicate that there is a permissions problem with the binary.

Are you running as root ?

Cheers

Dave

Clemens
Posts: 68
Joined: Fri Dec 23, 2005 3:20 pm

Postby Clemens » Tue May 23, 2006 5:07 pm

Yes, I'm logged in as root! :-(

# whoami
root

Clemens
Posts: 68
Joined: Fri Dec 23, 2005 3:20 pm

Postby Clemens » Tue May 23, 2006 5:12 pm

I think you just gave me the answer... it's like that now:

# strace -f sendmail -C /etc/sendmail.cf -bt 2>&1 | grep ommap
3,0 user@example.com
[pid 23458] stat("/opt/scalix/bin/ommapsmtp", {st_mode=S_IFREG|S_ISGID|0555, st_size=15234, ...}) = 0
[pid 23458] execve("/opt/scalix/bin/ommapsmtp", ["/opt/scalix/bin/ommapsmtp", "user<@example.com>"], [/* 1 var */]) = 0

does this output look better?

I installed the AppArmor config menu in yast and turned it off
apparently it was on by default???

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

Postby ScalixSupport » Tue May 23, 2006 5:13 pm

That's better.

Cheers

Dave

Clemens
Posts: 68
Joined: Fri Dec 23, 2005 3:20 pm

Postby Clemens » Tue May 23, 2006 5:19 pm

Thank you very, very much! :D
Clemens


Return to “Installation”



Who is online

Users browsing this forum: No registered users and 6 guests