[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Jailkit-users] Re: display_errors
From: |
craig strom |
Subject: |
[Jailkit-users] Re: display_errors |
Date: |
Fri, 30 Nov 2007 15:20:02 +0000 |
>I don't understand. If the apache daemon is not running in the jail, how
>an the jail be a problem for php settings?
Thats what is confusing me as the websites within the jail runs php perfectly just they will not parse any errors,
bit more info about my setup, user get and ssh account & website. i have website one domain that is outside the jail and
mydomains.com/httpdocs/index.php (where the display_errors work)
could starting the apache within the jail fix hte error?
On Nov 30, 2007 7:37 AM, <
address@hidden> wrote:
Send Jailkit-users mailing list submissions to
address@hidden
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.nongnu.org/mailman/listinfo/jailkit-users
or, via email, send a message with subject or body 'help' to
address@hidden
You can reach the person managing the list at
address@hidden
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Jailkit-users digest..."
Today's Topics:
1. Re: Jailkit-users Digest, Vol 26, Issue 8 (craig strom)
2. Re: Re: Jailkit-users Digest, Vol 26, Issue 8 (Olivier Sessink)
3. jailkit login and connection problem (Manish Patel)
4. Re: jailkit login and connection problem (Olivier Sessink)
5. Re: jailkit login and connection problem (Manish Patel)
6. Re: jailkit login and connection problem (Olivier Sessink)
----------------------------------------------------------------------
Message: 1
Date: Thu, 29 Nov 2007 18:57:22 +0000
From: "craig strom" <address@hidden>
Subject: [Jailkit-users] Re: Jailkit-users Digest, Vol 26, Issue 8
To: address@hidden
Message-ID:
<address@hidden
>
Content-Type: text/plain; charset="iso-8859-1"
No its not. little unsure how to start it within the jail i tried the
jk_chrootlaunch -j /var/www/jail/web_users/ -x /usr/sbin/apachectl -- start
The command did not return any errors but it didn't seem to make any
difference to the error settings..
i have copid the php.ini over using jk_cp command
Ross
On Nov 29, 2007 5:02 PM, <
address@hidden> wrote:
> Send Jailkit-users mailing list submissions to
> address@hidden
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.nongnu.org/mailman/listinfo/jailkit-users
> or, via email, send a message with subject or body 'help' to
> address@hidden
>
> You can reach the person managing the list at
> address@hidden
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Jailkit-users digest..."
>
>
> Today's Topics:
>
> 1. Turn on display_errors (craig strom)
> 2. Re: Turn on display_errors (Olivier Sessink)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 28 Nov 2007 18:17:38 +0000
> From: "craig strom" <address@hidden>
> Subject: [Jailkit-users] Turn on display_errors
> To: address@hidden
> Message-ID:
> <address@hidden
>
> Content-Type: text/plain; charset="iso-8859-1"
>
> I am trying to turn on display_errors = on for php files in the chroot
> environment but i unsure how to do it as the php.ini
is not there and
> adding
> a .htaccess does not seem to make nay difference..
>
> Also if i set a
>
> *ini_set("error_reporting",E_ALL | E_PARSE | E_STRICT );*
> in the code no errors are returned
>
> Is there a way of activating this
>
> Rob
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
>
http://lists.gnu.org/pipermail/jailkit-users/attachments/20071128/e8df2f99/attachment.html
>
> ------------------------------
>
> Message: 2
> Date: Wed, 28 Nov 2007 20:10:00 +0100
> From: Olivier Sessink <
address@hidden>
> Subject: Re: [Jailkit-users] Turn on display_errors
> To: address@hidden
> Message-ID: <address@hidden>
> Content-Type: text/plain; charset=ISO-8859-1
>
> craig strom wrote:
> >
> >
> > I am trying to turn on display_errors = on for php files in the chroot
> > environment but i unsure how to do it as the php.ini is not there and
> > adding a .htaccess does not seem to make nay difference..
>
> is the webserver inside the chroot jail?
>
> then simply copy the php.ini into the jail as well.
>
> regards,
> Olivier
>
>
>
>
> ------------------------------
>
> _______________________________________________
> Jailkit-users mailing list
> address@hidden
>
http://lists.nongnu.org/mailman/listinfo/jailkit-users
>
>
> End of Jailkit-users Digest, Vol 26, Issue 8
> ********************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.gnu.org/pipermail/jailkit-users/attachments/20071129/e4e95b28/attachment.html
------------------------------
Message: 2
Date: Thu, 29 Nov 2007 22:22:04 +0100
From: Olivier Sessink <address@hidden>
Subject: Re: [Jailkit-users] Re: Jailkit-users Digest, Vol 26, Issue 8
To: address@hidden
Message-ID: <
address@hidden>
Content-Type: text/plain; charset=ISO-8859-1
craig strom wrote:
> No its not. little unsure how to start it within the jail i tried the
>
> jk_chrootlaunch -j /var/www/jail/web_users/ -x /usr/sbin/apachectl -- start
>
> The command did not return any errors but it didn't seem to make any
> difference to the error settings..
I suppose /var/www/jail/web_users/usr/sbin/apachectl exists?
anything in the logs?
> i have copid the php.ini over using jk_cp command
I don't understand. If the apache daemon is not running in the jail, how
can the jail be a problem for php settings?
Olivier
------------------------------
Message: 3
Date: Thu, 29 Nov 2007 16:34:12 -0500
From: "Manish Patel" <address@hidden>
Subject: [Jailkit-users] jailkit login and connection problem
To: address@hidden
Message-ID:
<address@hidden
>
Content-Type: text/plain; charset="iso-8859-1"
Hi everyone,
I have configured jailkit on freebsd server and the
problem is that I am not able get connect by doing sftp and the error I got
is
Error: Fatal: unable to initialise SFTP on server: could not connect
Error: Could not connect to server
when I ran the command
*jk_list* to test the services the answer I got is { *No jailed processes
found }* and the ps commands gives that process is running
ps -auxww | grep jk_socketd
nobody 69581 0.0 0.1 1436 1060 ?? Is 3:02PM
0:00.00/usr/sbin/jk_socketd
root 69932 0.0 0.0 348 208 p1 R+ 4:31PM 0:
00.00 grep
jk_socketd
Hope someone can help me to solve this problem.
Tanks
Manish
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.gnu.org/pipermail/jailkit-users/attachments/20071129/54b8b5a2/attachment.html
------------------------------
Message: 4
Date: Thu, 29 Nov 2007 22:58:44 +0100
From: Olivier Sessink <
address@hidden>
Subject: Re: [Jailkit-users] jailkit login and connection problem
To: address@hidden
Message-ID: <address@hidden>
Content-Type: text/plain; charset=ISO-8859-1
Manish Patel wrote:
> Hi everyone,
> I have configured jailkit on freebsd server and the
> problem is that I am not able get connect by doing sftp and the error I
> got is
> Error: Fatal: unable to initialise SFTP on server: could not connect
> Error: Could not connect to server
anything in the logs?
grep jk_ /var/log/*
regards,
Olivier
------------------------------
Message: 5
Date: Thu, 29 Nov 2007 18:52:48 -0800
From: "Manish Patel" <address@hidden>
Subject: Re: [Jailkit-users] jailkit login and connection problem
To:
address@hidden
Message-ID:
<address@hidden>
Content-Type: text/plain; charset="iso-8859-1"
I didn't got anything from /var/log/messages
On Nov 29, 2007 1:58 PM, Olivier Sessink <address@hidden>
wrote:
> Manish Patel wrote:
> > Hi everyone,
> > I have configured jailkit on freebsd server and the
> > problem is that I am not able get connect by doing sftp and the error I
> > got is
> > Error: Fatal: unable to initialise SFTP on server: could not connect
> > Error: Could not connect to server
>
> anything in the logs?
>
> grep jk_ /var/log/*
>
> regards,
> Olivier
>
>
>
> _______________________________________________
> Jailkit-users mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/jailkit-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.gnu.org/pipermail/jailkit-users/attachments/20071129/fefdc607/attachment.html
------------------------------
Message: 6
Date: Fri, 30 Nov 2007 08:37:25 +0100
From: Olivier Sessink <address@hidden>
Subject: Re: [Jailkit-users] jailkit login and connection problem
To: address@hidden
Message-ID: <address@hidden
>
Content-Type: text/plain; charset=ISO-8859-1
Manish Patel wrote:
> I didn't got anything from /var/log/messages
that means there is something wrong with your logging. You have
jk_socketd running, and jk_socketd puts a message in the logs at
startup. So at least that message should be visible. Normally also the
startup message from jk_chrootsh should be in the logs.
Could it be a different log file? Is syslogd running?
Olivier
------------------------------
_______________________________________________
Jailkit-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/jailkit-users
End of Jailkit-users Digest, Vol 26, Issue 9
********************************************
- [Jailkit-users] Re: display_errors,
craig strom <=