[vchkpw] vadduser segfaulting when executed from script

2003-07-10 Thread Keith Bussey
Hi all,

My situation is the following:

FreeBSD 4.5-RELEASE
Vpopmail 5.3.12
PHP 4.2.1

Whenever I try to vadduser from my php script using 

`/u4/vpopmail/bin/vadduser [EMAIL PROTECTED] pass`;

I get the following error:

Segmentation fault - core dumped

I am running the script as root.

If I just type the same command not from in a script, it works fine.

Any ideas ? Thanks





-- 
Keith Bussey

Wisol, Inc.
Chief Technology Manager
(514) 398-9994 ext.225






Re: [vchkpw] vadduser segfaulting when executed from script

2003-07-10 Thread vol
If everything you say is true, it leads me to believe
there is a corruption in one of the data files somewhere.
Check to make sure /var/qmail/users/assign is correct
and that there is a single dot at the end of the file, etc.
Also check to make sure the vpasswd files in the domain
you're trying to add to are not corrupted.  That is where
I'd start.
Keith Bussey wrote:
Hi all,

My situation is the following:

FreeBSD 4.5-RELEASE
Vpopmail 5.3.12
PHP 4.2.1
Whenever I try to vadduser from my php script using 

`/u4/vpopmail/bin/vadduser [EMAIL PROTECTED] pass`;

I get the following error:

Segmentation fault - core dumped

I am running the script as root.

If I just type the same command not from in a script, it works fine.

Any ideas ? Thanks







--
mailto:[EMAIL PROTECTED]
Matt Brookings - Chief Technical Officer
Inter7 Internet Technologies, Inc.
www.inter7.com - 847-492-0470
Prices at http://www.inter7.com/prices