[Freeipa-users] installation hickup

Rich Megginson rmeggins at redhat.com
Wed Jan 18 17:56:12 UTC 2012


On 01/18/2012 10:30 AM, Nigel Sollars wrote:
> Hi all,
>
> Ive been trying to install freeipa on centos 6.2.  all packages are 
> installed and DNS etc etc all straitened up.  the hick up arises on 
> the running of setup-ds.pl <http://setup-ds.pl>
>
> from the install log:
>
> 2012-01-18 12:13:40,007 DEBUG calling setup-ds.pl <http://setup-ds.pl>
> 2012-01-18 12:23:44,640 DEBUG args=/usr/sbin/setup-ds.pl 
> <http://setup-ds.pl> --silent --logfile - -f /tmp/tmpBJYIDo
> 2012-01-18 12:23:44,640 DEBUG stdout=Server failed to start !!! Please 
> check errors log for problems
> Possible timeout starting server: timeout=1326907423 now=1326907424
> [12/01/18:12:23:44] - [Setup] Info Could not start the directory 
> server using command '/usr/lib64/dirsrv/slapd-PKI-IPA/start-slapd'. 
>  The last line from the error log was '[18/Jan/2012:12:13:43 -0500] - 
> Failed to create semaphore for stats file 
> (/var/run/dirsrv/slapd-PKI-IPA.stats). Error 13.(Permission denied)
> '.  Error: Unknown error 256
> Could not start the directory server using command 
> '/usr/lib64/dirsrv/slapd-PKI-IPA/start-slapd'.  The last line from the 
> error log was '[18/Jan/2012:12:13:43 -0500] - Failed to create 
> semaphore for stats file (/var/run/dirsrv/slapd-PKI-IPA.stats). Error 
> 13.(Permission denied)
> '.  Error: Unknown error 256
> [12/01/18:12:23:44] - [Setup] Fatal Error: Could not create directory 
> server instance 'PKI-IPA'.
> Error: Could not create directory server instance 'PKI-IPA'.
> [12/01/18:12:23:44] - [Setup] Fatal Exiting . . .
> Log file is '-'
>
> Exiting . . .
> Log file is '-'
>
>
> 2012-01-18 12:23:44,640 DEBUG stderr=Server failed to start !!! Please 
> check errors log for problems
> Possible timeout starting server: timeout=1326907423 now=1326907424
>
> 2012-01-18 12:23:44,641 CRITICAL failed to restart ds instance Command 
> '/usr/sbin/setup-ds.pl <http://setup-ds.pl> --silent --logfile - -f 
> /tmp/tmpBJYIDo' returned non-zero exit status 1
> 2012-01-18 12:23:44,641 DEBUG   duration: 604 seconds
> 2012-01-18 12:23:44,641 DEBUG   [3/3]: restarting directory server
> 2012-01-18 12:23:45,784 DEBUG args=/sbin/service dirsrv restart PKI-IPA
> 2012-01-18 12:23:45,784 DEBUG stdout=Shutting down dirsrv:
>     PKI-IPA... server already stoppedESC[60G[ESC[0;31mFAILEDESC[0;39m]
>   *** Error: 1 instance(s) unsuccessfully 
> stoppedESC[60G[ESC[0;31mFAILEDESC[0;39m]
> Starting dirsrv:
>     PKI-IPA...ESC[60G[ESC[0;31mFAILEDESC[0;39m]
>   *** Warning: 1 instance(s) failed to start
>
> 2012-01-18 12:23:45,784 DEBUG stderr=
> 2012-01-18 12:23:45,825 DEBUG args=/sbin/service dirsrv status
> 2012-01-18 12:23:45,825 DEBUG stdout=dirsrv PKI-IPA is stopped
>
> 2012-01-18 12:23:45,825 DEBUG stderr=
> 2012-01-18 12:23:45,825 CRITICAL Failed to restart the directory 
> server. See the installation log for details.
> (END)
>
> from the errors log there:
>
> [18/Jan/2012:12:13:43 -0500] - 389-Directory/1.2.9.14 
> <http://1.2.9.14> B2011.342.117 starting up
> [18/Jan/2012:12:13:43 -0500] - Failed to create semaphore for stats 
> file (/var/run/dirsrv/slapd-PKI-IPA.stats). Error 13.(Permission denied)
> [18/Jan/2012:12:23:44 -0500] - 389-Directory/1.2.9.14 
> <http://1.2.9.14> B2011.342.117 starting up
> [18/Jan/2012:12:23:44 -0500] - Failed to create semaphore for stats 
> file (/var/run/dirsrv/slapd-PKI-IPA.stats). Error 13.(Permission denied)
sounds like a left over shm file from a previous install attempt
ls -al /dev/shm

you'll have to start over with an ipa-server-install --uninstall
if you then have left over sem.slapd-INST-NAME.stats files, remove them
>
> Any idea what the perms should be?,  seems that import and everything 
> else went fine, also any additional things to get this one working 
> would be certainly helpful.
>
>
> The package version used is 2.1.3.
>
> Thanks in advance
>
> Nigel Sollars
>
> -- 
> “Science is a differential equation. Religion is a boundary condition.”
>                                                                                                              
> Alan Turing
>
>
> _______________________________________________
> Freeipa-users mailing list
> Freeipa-users at redhat.com
> https://www.redhat.com/mailman/listinfo/freeipa-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/freeipa-users/attachments/20120118/9d91953a/attachment.htm>


More information about the Freeipa-users mailing list