> Morgan Stewart wrote:
>
> I've just built a new FreeBSD 4.0 box and brought over my previous FreeBSD 2.2 configuration of Majordomo.
>
> The result has been a nightmare of permissions errors that make no sense to me.
That is probably one of the reasons 4.0 was not widely distributed I suppose. The announcement was that you really have to be a beta tester to be willing to run the 4.0 version right now.
>
> I have a user created named majordom with a GID & UID of 54. The wrapper under config-test gives me a complete thumbs up if I'm in the homedir, yet even when I make everything world readable/writable I still get told that there is Permission Denied.
This might be a clue. First, you must be in the homedir for wrapper to work, or the instructions would not tell you to cd to it before running ./wrapper config-test. Second, sendmail will bark at you if any directory it uses is group or world writable.
Did you run the config-test as root, majordom, and/or "some other user"? Root can usally run anything, majordomo should be able to run it's own scripts successfully, but the big test is as a non-majordomo user.
>
> An example:
>
> MAJORDOMO ABORT (mj_majordomo)!!
>
> While running with an effective uid of 1 and an effective gid of 1 1 1, Majordomo
>
> ran into the following problems:
>
> Unable to write to log file, check permissions on /usr/local/majordomo/Log
What is the owner and group of /usr/local/majordomo/Log? Is it 664? Are /, /usr, /usr/local, and /usr/local/majordomo all 755?
>
> I'm unclear why majordomo is running with a uid of 1 and a gid of 1 1 1 because those are the id's of the user daemon.
This sounds like a wrapper problem. What was the uid.gid on the old system?
>
> I have tried recompiling Majordomo 1.94.4, but to no avail. I'm guessing that the problem might be related to the newer version of perl and some path switching because when I do a cnfig-test from outside of my homedir I get the following error:
Did you `make wrapper`, `make install`, `make install-wrapper` as the root user? Does "Makefile" know where perl really lives? Does majordomo have /usr/libdata, and /usr/local/lib in it's path?
>
> Can't locate majordomo_version.pl in @INC (@INC contains: /usr/libdata/perl/5.0003/mach /usr/libdata/perl/5.00503
> /usr/local/lib/perl5/site_perl/5.005/i386-freebsd /usr/local/lib/perl5/site_perl/5.005 .) at /usr/local/majordomo/config-test line 140.
>
> Any suggestions? I'm not on the listserv anymore so please include a reply to me directly.
Since you moved rather than creating majordomo, are all the directories, ownerships, and permissions the same across both machines?
I hope these questions (or your answers to them) help you find the problem.
Good luck,
Dan Liston
References:
|
|