Hi,

thanks for the quick response,

I put SELinux into passive mode, and ran the uninstall ( again ), removed
/var/lib/dirsrv and /var/run/dirsrv.

in /dev/shm I have nothing, nothing is created there whilst installation
either, the directory remains empty.

re-running install fails the same as before, any other pointers would be
most welcome.  One other thing is this is a guest in Xen,  i run the
install with the -N option as suggested.

Nige

On Wed, Jan 18, 2012 at 12:56 PM, Rich Megginson <rmegg...@redhat.com>wrote:

> **
> 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
>
>  from the install log:
>
>  2012-01-18 12:13:40,007 DEBUG calling setup-ds.pl
> 2012-01-18 12:23:44,640 DEBUG args=/usr/sbin/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 --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 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 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 
> listFreeipa-users@redhat.comhttps://www.redhat.com/mailman/listinfo/freeipa-users
>
>
>


-- 
“Science is a differential equation. Religion is a boundary condition.”

Alan Turing
_______________________________________________
Freeipa-users mailing list
Freeipa-users@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-users

Reply via email to