From strace, and I'm not sure what of this is relevant so I hope
I'm
including enough:
open("/var/log/cobbler/tasks/2012-10-125_084725_import.log", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
fstat(3, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x7f3994c95000
lseek(3, 0, SEEK_CUR) = 0
read(3, "", 4096) = 0
select(0, NULL, NULL, NULL, {1, 0}) = 0 (Timeout)
lseek(3, 0, SEEK_SET) = 0
read(3, "", 4096) = 0
select(0, NULL, NULL, NULL, {1, 0}) = 0 (Timeout)
*These three lines repeated many times, until:*
lseek(3, 0, SEEK_SET) = 0
read(3, "Thu Oct 25 08:49:06 2012 - ERROR"..., 4096) = 55
write(1, "!!! TASK FAILED !!!\n", 20!!!TASK FAILED!!!
) = 20
lseek(3, 55, SEEK_SET) = 55
close(3) = 0
munmap(0x7f3994c95000, 4096) = 0
rt_sigaction(SIGINT, {SIG_DFL, [], SA_RESTORER, 0x3441e0efe0},
{0x3443f0c280, [], SA_RESTORER, 0x3441e0efe0}, 8) = 0
exit_group(1) = ?
+++ exited with 1 +++
#
On Thu, Oct 25, 2012 at 8:08 AM, Bret Wortman
<bret.wortman(a)damascusgrp.com>wrote:
#getenforce
Disabled
#
I'll give it a run with ulimit increased and report back with more details
or success. Thanks!
On Thu, Oct 25, 2012 at 7:53 AM, James Cammarata <jimi(a)sngx.net> wrote:
> On Thu, Oct 25, 2012 at 5:44 AM, Bret Wortman
> <bret.wortman(a)damascusgrp.com> wrote:
> > James,
> >
> > SELinux is disabled and not running:
> >
> > # systemctl status selinux.service
> > selinux.service
> > Loaded: error (Reason: No such file or directory)
> > Active: inactive (dead)
> >
>
> I believe you, but "getenforce" is the correct command to check for
> sure (selinux doesn't run as a service).
>
> > Fri Oct 19 14:06:06 2012 - INFO | error was: [Errno 9] Bad file
> descriptor
> > Fri Oct 19 14:06:06 2012 - INFO | No import managers found a valid
> signature
> > at the location specified
>
> This is the relevant error, "bad file descriptor". That probably means
> you're hitting a ulimit maximum, so try and change your maximum number
> of open files limit ("ulimit -n", which is only 1024 by default on
> most distributions) and try again. If that still fails, run the
> command with strace to see exactly where and what file descriptor it's
> failing on.
> _______________________________________________
> cobbler mailing list
> cobbler(a)lists.fedorahosted.org
>
https://lists.fedorahosted.org/mailman/listinfo/cobbler
>
--
Bret Wortman
The Damascus Group
Fairfax, VA
http://bretwortman.com/
http://twitter.com/BretWortman
--
Bret Wortman
The Damascus Group
Fairfax, VA
http://bretwortman.com/
http://twitter.com/BretWortman