pureadmin start issue

360 views
Skip to first unread message

S.A.McG...@gmail.com

unread,
Sep 3, 2007, 10:36:13 PM9/3/07
to Pureadmin Discussions
I have loaded pure-ftpd and pureadmin. I can launch Pure admin just
fine, however when i try to start the server on my ubuntu box from
Pureadmin, i get the following error:

PureAdmin was unable to stop the server because the execution of "/etc/
init.d" failed.
Error reported was: Failed to execute child process "/etc/
init.d" (Permission denied)

I am running this as root by the following command

sudo pureadmin

S

Isak Savo

unread,
Sep 4, 2007, 3:27:50 AM9/4/07
to pureadmin-...@googlegroups.com
2007/9/4, S.A.McG...@gmail.com <S.A.McG...@gmail.com>:

>
> I have loaded pure-ftpd and pureadmin. I can launch Pure admin just
> fine, however when i try to start the server on my ubuntu box from
> Pureadmin, i get the following error:
>
> PureAdmin was unable to stop the server because the execution of "/etc/
> init.d" failed.
> Error reported was: Failed to execute child process "/etc/
> init.d" (Permission denied)

Looks like a bug. I will look into it later tonight and see if I can
reproduce it (I'm also on ubuntu).

Can you check if you have a file called
/etc/init.d/pure-ftpd (or similar)
on your system?

> I am running this as root by the following command
>
> sudo pureadmin
>

Ok. You don't have to run sudo first, since pureadmin will ask you for
password anyway. But its ok.

-Isak

S.A.McG...@gmail.com

unread,
Sep 4, 2007, 11:59:04 PM9/4/07
to Pureadmin Discussions
Isak,

Thank you for looking into this. I am running Ubuntu Desktop 6.x
version. I do have a etc/init.d/pure-ftpd-mysql file. Let me know if
you need any other information. Also do you know of another way to
keep the Unable to retrieve information about server activities.
Permission denied from coming up other than inputting this line in
sudo mkdir /var/run/pure-ftpd

Scott

On Sep 4, 2:27 am, "Isak Savo" <isak.s...@gmail.com> wrote:
> 2007/9/4, S.A.McGilliv...@gmail.com <S.A.McGilliv...@gmail.com>:

Isak Savo

unread,
Sep 5, 2007, 4:03:20 PM9/5/07
to pureadmin-...@googlegroups.com
2007/9/5, S.A.McG...@gmail.com <S.A.McG...@gmail.com>:

>
> Isak,
>
> Thank you for looking into this. I am running Ubuntu Desktop 6.x
> version. I do have a etc/init.d/pure-ftpd-mysql file. Let me know if
> you need any other information.

You could create a symbolic link to "pure-ftpd":

cd /etc/init.d/
sudo ln -s pure-ftpd-mysql pure-ftpd

That should give you the possibility to start/stop the server from
within pureadmin. I've also fixed in svn (see below) so that this link
is not needed anymore.

I see that you are using mysql for user account management. This means
you won't be able to used Pureadmin's user account manager.

> Also do you know of another way to
> keep the Unable to retrieve information about server activities.
> Permission denied from coming up other than inputting this line in
> sudo mkdir /var/run/pure-ftpd

Not in the version you are running. I have fixed it in the latest
development code (not released yet, but it's available through SVN). I
should probably make a release, but I've been both lazy and busy. If
you want, you can grab the source from svn (should work pretty well),
more info here:

http://sourceforge.net/svn/?group_id=91005
and
http://purify.sourceforge.net/index.php?page=download#devel

If you don't want to download and install from source, you can just
put that line into /etc/rc.local

-Isak

S.A.McG...@gmail.com

unread,
Sep 5, 2007, 10:25:18 PM9/5/07
to Pureadmin Discussions
is there a work in place to allow the user management to work with
mysql?

scott

On Sep 5, 3:03 pm, "Isak Savo" <isak.s...@gmail.com> wrote:
> 2007/9/5, S.A.McGilliv...@gmail.com <S.A.McGilliv...@gmail.com>:


>
>
>
> > Isak,
>
> > Thank you for looking into this. I am running Ubuntu Desktop 6.x
> > version. I do have a etc/init.d/pure-ftpd-mysql file. Let me know if
> > you need any other information.
>
> You could create a symbolic link to "pure-ftpd":
>
> cd /etc/init.d/
> sudo ln -s pure-ftpd-mysql pure-ftpd
>
> That should give you the possibility to start/stop the server from
> within pureadmin. I've also fixed in svn (see below) so that this link
> is not needed anymore.
>
> I see that you are using mysql for user account management. This means
> you won't be able to used Pureadmin's user account manager.
>
> > Also do you know of another way to
> > keep the Unable to retrieve information about server activities.
> > Permission denied from coming up other than inputting this line in
> > sudo mkdir /var/run/pure-ftpd
>
> Not in the version you are running. I have fixed it in the latest
> development code (not released yet, but it's available through SVN). I
> should probably make a release, but I've been both lazy and busy. If
> you want, you can grab the source from svn (should work pretty well),
> more info here:
>
> http://sourceforge.net/svn/?group_id=91005

> andhttp://purify.sourceforge.net/index.php?page=download#devel

Isak Savo

unread,
Sep 6, 2007, 7:24:37 AM9/6/07
to pureadmin-...@googlegroups.com
2007/9/6, S.A.McG...@gmail.com <S.A.McG...@gmail.com>:

>
> is there a work in place to allow the user management to work with
> mysql?

I have been doing some initial coding on it, but it's kind of hard to
solve in an universal way. I can pretty easily make it work on my
system, but all distributions are doing this in different ways. That's
the main reason I've been put off on doing the work. Plus, I don't use
mysql for storing user details (puredb - the "standard" format can
easily handle thousands of users)

-Isak

S.A.McG...@gmail.com

unread,
Sep 6, 2007, 7:07:28 PM9/6/07
to Pureadmin Discussions
Ok, so if i installed pure-ftp minus the mysql components, i could
then use your user manager and allow that to handle my virtual users.
I may just have to give that a whirl

thanks
scott

On Sep 6, 6:24 am, "Isak Savo" <isak.s...@gmail.com> wrote:
> 2007/9/6, S.A.McGilliv...@gmail.com <S.A.McGilliv...@gmail.com>:

Reply all
Reply to author
Forward
0 new messages