Dear Aravind,

It is updatedb (not updateuserdb).  It is to update the slocate
database, which is a common linux tool for fast file search. 

On my system makeuserdb is a soft link.  Softlink is just an alias. You
can have a real file 'abcd' and you can call it with multiple names. In
M$windows it is shortcut.

The softlinks should resolve to actual locations.  Also check that you
are executing as "root" user as and when necessary.

"makeuserdb" is a simple perl script, if you have any scripting
knowledge, please open it and see what is missing.

The message is saying that the dbfile is a symbolic link(softlink) where
it should be a real file.

In my script the files are:
$dbfile="/etc/userdb"
$datfile="/etc/userdb.dat";

These files should be actual files not symbolic links.

In your case, you are using /home/guntha/imap/sbin/userdb which is a
command(perl script) from your source installation. Leave it alone, use
some other location, may be /home/guntha/etc/userdb

Go through the perl scripts and check the variables $dbfile $datfile
etc..


 /usr/lib/courier-imap/share/makeuserdb

[EMAIL PROTECTED] ~# ls -l /usr/lib/courier-imap/sbin/makeuserdb
lrwxrwxrwx    1 bin      bin            38 Feb 14 12:14
/usr/lib/courier-imap/sbin/makeuserdb ->
/usr/lib/courier-imap/share/makeuserdb

And

ls -l /usr/lib/courier-imap/sbin/userdb
lrwxrwxrwx    1 bin      bin            34 Feb 14 12:14
/usr/lib/courier-imap/sbin/userdb -> /usr/lib/courier-imap/share/userdb


Regards,
Madhav.

On Mon, 2004-04-19 at 19:00, Guntha Aravind babu wrote:
> hi madhav das,
> 
> thanks for the reply.i tried to follow u r steps for
> running updateuserdb first,but i am getting as
> permission denied.
> my makeuserdb is present at 
> /home/guntha/courier-imap/sbin/makeuserdb. 
> when i try to run makeuserdb also it says ERROR: Wrong
> makeuserdb command.
>        (/home/guntha/imap/sbin/userdb is a symbolic
> link).
> 
> what does this mean can u help me please.
> 
> thanks and regards
> aravind 
> 
> 
> 
> 
> --- Madhav Das <[EMAIL PROTECTED]> wrote: > Dear
> Aravind,
> > 
> > >From a rpm install it is at 
> > /usr/lib/courier-imap/sbin/makeuserdb, but it will
> > vary according to
> > your installation from source.
> > 
> > Run "updatedb" and after it finishes run "locate
> > makeuserdb"
> > 
> > Regards,
> > Madhav.
> > 
> > On Sun, 2004-04-18 at 20:36, Guntha Aravind babu
> > wrote:
> > > Hi all,
> > >  
> > > I have installed courier imap server and i have
> > created an account for
> > > single user in userdb.but when i try to run
> > "makeuserdb",i get as
> > > command not found.what can be the mistake can any
> > one help me.
> > >  
> > > regards
> > > aravind
> > > 
> > > 
> > >
> >
> ______________________________________________________________________
> > > Yahoo! Messenger - Communicate instantly..."Ping"
> > your friends today!
> > > Download Messenger Now
> > 
> > 
> > 
> >
> -------------------------------------------------------
> > This SF.Net email is sponsored by: IBM Linux
> > Tutorials
> > Free Linux tutorial presented by Daniel Robbins,
> > President and CEO of
> > GenToo technologies. Learn everything from
> > fundamentals to system
> >
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> > _______________________________________________
> > courier-users mailing list
> > [EMAIL PROTECTED]
> > Unsubscribe:
> https://lists.sourceforge.net/lists/listinfo/courier-users
> 
> 
>       
>       
>               
> ____________________________________________________________
> Yahoo! Messenger - Communicate instantly..."Ping" 
> your friends today! Download Messenger Now 
> http://uk.messenger.yahoo.com/download/index.html
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> _______________________________________________
> courier-users mailing list
> [EMAIL PROTECTED]
> Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to