Cannot run the reconstruct command
Dears, i am a new user for Netscape Messaging Server.
i have login as root account of linux server, switch to the directory
/usr/netscape/server4/bin/msg/admin/bin, and execute the reconstruct command.
such as "./reconstruct -o", but it cannot run, and show the message following:
ERROR: must run command as the messaging server user
and same as running mboxutil command.
is anybody can help me.
thanks.
[452 byte] By [
BettyYang] at [2007-11-26 9:17:16]

# 1
Hi,
As the error suggests, you need to be the mail-server user to run those particular commands. The uid is install dependant (by default it is mailsrv).
To get the uid, run the following command:
configutil -o local.serveruid
Then run:
su <uid from previous command>
e.g.
su mailsrv
Now that you are the correct user, you should be able to run the reconstruct/mboxutil commands.
Cheers,
Shane.
# 2
Just feel like adding my $.02 worth.
Netscape Messaging Server? On Linux?
Really?
First, Netscape Messaging Server was discontinued several years ago. There is no longer a Netscape Messaging Server. The last version was 4.15p7.
If you're really running that, you SHOULD upgrade as immediately as possible, as there are many security and other issues that you are likely to be seeing.
Messaging Server (now known as Sun Java Enterprise Messaging Server) is at version 6.2. .. .
# 3
Hi,
Thank you for your answer very much.
I have try the command
configutil -o local.serveruid
and the reply uid is nobody.
Then run
su nobody
then it reply : This account is currently not available.
but i have check the /etc/passwd file, there is noboy in it.
so, is there any method i can do it?
thanks.
ps. my OS is Linux 8.x
Betty.
# 4
Thanks for help.I have solve the problem.by change the shell of nobody account in the /etc/passwdfrom /bin/nologin to /sbin/bash, so it can be login.then the reconstruct , mboxutil ... commands all can run.thanks help again.Betty.