what is fork?

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
User avatar
dev2dev
Cacti User
Posts: 60
Joined: Thu Nov 18, 2004 5:25 am
Location: Hyderabad, India
Contact:

what is fork?

Post by dev2dev »

I am frequently getting this error

Warning: exec() [function.exec]: Unable to fork [perl d:\cacti\scripts\query_unix_partitions.pl index] in d:\cacti\lib\functions.php on line 1150

Warning: exec() [function.exec]: Unable to fork [perl d:\cacti\scripts\query_unix_partitions.pl query device] in d:\cacti\lib\functions.php on line 1150

Warning: exec() [function.exec]: Unable to fork [perl d:\cacti\scripts\query_unix_partitions.pl query mount] in d:\cacti\lib\functions.php on line 1150

Warning: Cannot modify header information - headers already sent by (output started at d:\cacti\lib\functions.php:1150) in d:\cacti\host.php on line 75
some times it works some times its hangs up and some times works

what is the problem
Why me lord?
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

It is a kitchen utensil used by most americans. I frankly eat with my left hand. (I know that sounds offensive) Honestly, it likely means that the file does not exist.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
User avatar
dev2dev
Cacti User
Posts: 60
Joined: Thu Nov 18, 2004 5:25 am
Location: Hyderabad, India
Contact:

Post by dev2dev »

do you mean the pl files?
they are in correct locaiton
might be some other problem
Why me lord?
User avatar
bulek
Cacti Pro User
Posts: 854
Joined: Mon May 20, 2002 2:07 am
Location: Poland
Contact:

Post by bulek »

"Unable to fork" means it can't start a process (child process). In your case it is perl - either missing or Cacti can't find it.

- Piotr
gr
Posts: 1
Joined: Wed Feb 02, 2005 5:49 pm

Post by gr »

Try this

6. Give the IUSR_XXXX user read and execute permissions to the file
c:\winnt\system32\cmd.exe.

This point solve my problem
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests