We've seen a similar error here.  You'd have to be running Manager trunk or
beta 3.0 to be affected though.  The solution is in trunk as of r10997.

--- trunk/openvas-manager/src/manage_sql.c      2011-05-25 07:02:06 UTC (rev 
10995)
+++ trunk/openvas-manager/src/manage_sql.c      2011-05-25 08:16:52 UTC (rev 
10996)
@@ -14287,7 +14287,7 @@

                   g_free (command);

-                  while (wait (&status) < 0)
+                  while (waitpid (pid, &status, 0) < 0)
                     {
                       if (errno == ECHILD)
                         {

--- trunk/openvas-manager/src/manage_sql.c      2011-05-25 08:16:52 UTC (rev 
10996)
+++ trunk/openvas-manager/src/manage_sql.c      2011-05-25 08:27:45 UTC (rev 
10997)
@@ -13837,7 +13837,7 @@

                   g_free (command);

-                  while (wait (&status) < 0)
+                  while (waitpid (pid, &status, 0) < 0)
                     {
                       if (errno == ECHILD)
                         {

--
Greenbone Networks GmbH
Neuer Graben 17, 49074 Osnabrueck, Germany | AG Osnabrueck, HR B 202460
Executive Directors: Lukas Grunwald, Dr. Jan-Oliver Wagner
_______________________________________________
Openvas-discuss mailing list
[email protected]
http://lists.wald.intevation.org/mailman/listinfo/openvas-discuss

Reply via email to