Red Hat Bugzilla – Bug 223838
Canna server will not start
Last modified: 2007-12-18 00:47:53 EST
Description of problem:
After installing canna, "service canna start" produces this message:
Starting Canna server: cannaserver: -u flag specified, but canna not run as root
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install Canna
2. service canna start (or reboot)
The Canna server fails to start.
The Canna server should start.
Well, sorry, it looks like there are no canna user in your box, which means
%post somehow failed during the installation.
Please make sure if canna user has been added. if not, please attach the
installation log if you have. it would be helpful to solve your problem.
Oops, I meant %pre, but anyway ;)
I found the problem. Once upon a time, I had openais installed. It created a
user named "ais" with ID 39. When I uninstalled it, apparently it left user ais
behind. Anyway, the entry is still in /etc/passwd. So when the Canna package
tried to create user 39, it failed. You should probably check whether openais
still wants uid 39; if so, either it or the Canna package will have to change
the requested uid.
Deleting the ais user manually and reinstalling Canna did the trick. Thanks!
*** Bug 235591 has been marked as a duplicate of this bug. ***
Note that http://fedoraproject.org/wiki/PackageUserCreation is not the official
package user/group creation guideline doc -
http://fedoraproject.org/wiki/PackagingDrafts/UsersAndGroups is (currently
ratified, pending for writeup in the packaging guidelines)
Aha. thanks for your info.
should be fixed in 3.7p3-21.fc6.
it is fixed and showing no error, tested with following package: