<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
> <channel><title>Comments on: CentOS / Redhat Enterprise Linux Setup Lighttpd in Chroot Jail</title> <atom:link href="http://www.cyberciti.biz/tips/centos-rhel-lighttpd-chroot-jail-installation-howto.html/feed" rel="self" type="application/rss+xml" /><link>http://www.cyberciti.biz/tips/centos-rhel-lighttpd-chroot-jail-installation-howto.html</link> <description>This is a Linux sys admin journal by Vivek about sys admin work, Linux tips &#38; tricks, hacks, news and more.</description> <lastBuildDate>Fri, 10 Feb 2012 20:37:43 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: Ali Aghabagheri</title><link>http://www.cyberciti.biz/tips/centos-rhel-lighttpd-chroot-jail-installation-howto.html#comment-176012</link> <dc:creator>Ali Aghabagheri</dc:creator> <pubDate>Thu, 24 Nov 2011 13:35:08 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/centos-rhel-lighttpd-chroot-jail-installation-howto.html#comment-176012</guid> <description>Hi,
thanks. the jail works perfectly. php pages communicates successfully with mysql server. But just phpmyadmin loads a white page.
My issue is phpmyadmin that doesn&#039;t work in the jail.
I don&#039;t know why?. I debug it with strace and copied all of the required libraries to the jail.
please give me a clue?
My test environment is as follows:
CentOs -latest version
httpd- latest version
mysql- latest version
php- latest version
phpmyadmin- latest version
regards,
Ali Aghabagheri</description> <content:encoded><![CDATA[<p>Hi,</p><p>thanks. the jail works perfectly. php pages communicates successfully with mysql server. But just phpmyadmin loads a white page.</p><p>My issue is phpmyadmin that doesn&#8217;t work in the jail.<br
/> I don&#8217;t know why?. I debug it with strace and copied all of the required libraries to the jail.<br
/> please give me a clue?</p><p>My test environment is as follows:<br
/> CentOs -latest version<br
/> httpd- latest version<br
/> mysql- latest version<br
/> php- latest version<br
/> phpmyadmin- latest version</p><p>regards,<br
/> Ali Aghabagheri</p> ]]></content:encoded> </item> <item><title>By: Miki</title><link>http://www.cyberciti.biz/tips/centos-rhel-lighttpd-chroot-jail-installation-howto.html#comment-161439</link> <dc:creator>Miki</dc:creator> <pubDate>Sun, 21 Nov 2010 13:28:25 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/centos-rhel-lighttpd-chroot-jail-installation-howto.html#comment-161439</guid> <description>Step # 4: Install php in jail
I&#039;m getting an error &quot;cannot stat `/lib64/libsepol.so.1)&#039;: No such file or directory&quot;
and file is there.</description> <content:encoded><![CDATA[<p>Step # 4: Install php in jail</p><p>I&#8217;m getting an error &#8220;cannot stat `/lib64/libsepol.so.1)&#8217;: No such file or directory&#8221;<br
/> and file is there.</p> ]]></content:encoded> </item> <item><title>By: James Shailes</title><link>http://www.cyberciti.biz/tips/centos-rhel-lighttpd-chroot-jail-installation-howto.html#comment-154366</link> <dc:creator>James Shailes</dc:creator> <pubDate>Thu, 18 Mar 2010 23:14:42 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/centos-rhel-lighttpd-chroot-jail-installation-howto.html#comment-154366</guid> <description>Same problem as Steve, I&#039;ll keep you posted if I find a fix.</description> <content:encoded><![CDATA[<p>Same problem as Steve, I&#8217;ll keep you posted if I find a fix.</p> ]]></content:encoded> </item> <item><title>By: Steve Zip</title><link>http://www.cyberciti.biz/tips/centos-rhel-lighttpd-chroot-jail-installation-howto.html#comment-153830</link> <dc:creator>Steve Zip</dc:creator> <pubDate>Sun, 21 Feb 2010 06:48:19 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/centos-rhel-lighttpd-chroot-jail-installation-howto.html#comment-153830</guid> <description>Starting lighttpd: 2010-02-21 01:36:28: (configfile.c.1178) base-docroot doesn&#039;t exist: /webroot/home/lighttpd/default/
2010-02-21 01:36:28: (server.c.584) setting default values failed
[FAILED]
Followed the tutorial to the T, and I don&#039;t see where this directory is created. I tried to create this directory myself:
mkdir /webroot/home/lighttpd/default
mkdir: cannot create directory `/webroot/home/lighttpd/default&#039;: File exists
So does this directory exist or what? If it exists, than what&#039;s the problem with lighttpd?</description> <content:encoded><![CDATA[<p>Starting lighttpd: 2010-02-21 01:36:28: (configfile.c.1178) base-docroot doesn&#8217;t exist: /webroot/home/lighttpd/default/<br
/> 2010-02-21 01:36:28: (server.c.584) setting default values failed<br
/> [FAILED]</p><p>Followed the tutorial to the T, and I don&#8217;t see where this directory is created. I tried to create this directory myself:</p><p> mkdir /webroot/home/lighttpd/default<br
/> mkdir: cannot create directory `/webroot/home/lighttpd/default&#8217;: File exists</p><p>So does this directory exist or what? If it exists, than what&#8217;s the problem with lighttpd?</p> ]]></content:encoded> </item> <item><title>By: Alexandre Haguiar</title><link>http://www.cyberciti.biz/tips/centos-rhel-lighttpd-chroot-jail-installation-howto.html#comment-149198</link> <dc:creator>Alexandre Haguiar</dc:creator> <pubDate>Sun, 28 Jun 2009 13:20:43 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/centos-rhel-lighttpd-chroot-jail-installation-howto.html#comment-149198</guid> <description>If you are using lua and mod_magnet you have to follow this step:
# cd /webroot/usr/bin
# cp /usr/bin/lua .
# l2chroot lua</description> <content:encoded><![CDATA[<p>If you are using lua and mod_magnet you have to follow this step:</p><p># cd /webroot/usr/bin<br
/> # cp /usr/bin/lua .<br
/> # l2chroot lua</p> ]]></content:encoded> </item> <item><title>By: Vivek Gite</title><link>http://www.cyberciti.biz/tips/centos-rhel-lighttpd-chroot-jail-installation-howto.html#comment-148967</link> <dc:creator>Vivek Gite</dc:creator> <pubDate>Mon, 15 Jun 2009 13:15:23 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/centos-rhel-lighttpd-chroot-jail-installation-howto.html#comment-148967</guid> <description>@ alex
No, I don&#039;t. yum command is used to install mysql-server. However, customization setting up mysql root password, database, accounts is not covered as those are site specific config options.</description> <content:encoded><![CDATA[<p>@ alex</p><p>No, I don&#8217;t. yum command is used to install mysql-server. However, customization setting up mysql root password, database, accounts is not covered as those are site specific config options.</p> ]]></content:encoded> </item> <item><title>By: alex</title><link>http://www.cyberciti.biz/tips/centos-rhel-lighttpd-chroot-jail-installation-howto.html#comment-148964</link> <dc:creator>alex</dc:creator> <pubDate>Mon, 15 Jun 2009 11:25:28 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/centos-rhel-lighttpd-chroot-jail-installation-howto.html#comment-148964</guid> <description>Hey, you&#039;ve missed the &quot;how to setup mysql&quot; instructions, and mysql wont work...</description> <content:encoded><![CDATA[<p>Hey, you&#8217;ve missed the &#8220;how to setup mysql&#8221; instructions, and mysql wont work&#8230;</p> ]]></content:encoded> </item> <item><title>By: MM</title><link>http://www.cyberciti.biz/tips/centos-rhel-lighttpd-chroot-jail-installation-howto.html#comment-145153</link> <dc:creator>MM</dc:creator> <pubDate>Thu, 02 Oct 2008 03:05:03 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/centos-rhel-lighttpd-chroot-jail-installation-howto.html#comment-145153</guid> <description>I needed to copy the /lib/libnss_dns.so.2 to my chroot &quot;/lib&quot; directory becouse the php-cgi wasn&#039;t able to resolve names in fsockopen/fopen/etc.
(php_network_getaddresses: getaddrinfo failed)
Thanks!
[]s, MM</description> <content:encoded><![CDATA[<p>I needed to copy the /lib/libnss_dns.so.2 to my chroot &#8220;/lib&#8221; directory becouse the php-cgi wasn&#8217;t able to resolve names in fsockopen/fopen/etc.</p><p>(php_network_getaddresses: getaddrinfo failed)</p><p>Thanks!</p><p>[]s, MM</p> ]]></content:encoded> </item> <item><title>By: Nitz</title><link>http://www.cyberciti.biz/tips/centos-rhel-lighttpd-chroot-jail-installation-howto.html#comment-144429</link> <dc:creator>Nitz</dc:creator> <pubDate>Mon, 21 Jul 2008 08:57:56 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/centos-rhel-lighttpd-chroot-jail-installation-howto.html#comment-144429</guid> <description>error message Starting lighttpd: 2008-07-21 08:51:44: (configfile.c.1136) base-docroot doesn&#039;t exist: /home/lighttpd/default/
fix:
vi /etc/lighttpd/lighttpd.conf
server.document-root = &quot;/home/lighttpd/default/&quot;
needs to be;
server.document-root = &quot;home/lighttpd/default/&quot;</description> <content:encoded><![CDATA[<p>error message Starting lighttpd: 2008-07-21 08:51:44: (configfile.c.1136) base-docroot doesn&#8217;t exist: /home/lighttpd/default/</p><p>fix:<br
/> vi /etc/lighttpd/lighttpd.conf<br
/> server.document-root = &#8220;/home/lighttpd/default/&#8221;</p><p>needs to be;<br
/> server.document-root = &#8220;home/lighttpd/default/&#8221;</p> ]]></content:encoded> </item> <item><title>By: Arnaud D</title><link>http://www.cyberciti.biz/tips/centos-rhel-lighttpd-chroot-jail-installation-howto.html#comment-142041</link> <dc:creator>Arnaud D</dc:creator> <pubDate>Mon, 03 Dec 2007 13:32:14 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/centos-rhel-lighttpd-chroot-jail-installation-howto.html#comment-142041</guid> <description>Hmm do I have to copy my website files from the old /var/www/docroot to the new /chroot/var/www/docroot
? If I let my files to the /var/www/docroot i get 404, if I move them to /chroot/var/www/docroot, lighttpd displays &quot;No input files specified&quot; and if I place them to both location in same time looks like working :/ crazy problem.
And I have another behaviour, can&#039;t stop services as explained here: http://www.cyberciti.biz/tips/howto-setup-lighttpd-php-mysql-chrooted-jail.html#comment-142040</description> <content:encoded><![CDATA[<p>Hmm do I have to copy my website files from the old /var/www/docroot to the new /chroot/var/www/docroot</p><p>? If I let my files to the /var/www/docroot i get 404, if I move them to /chroot/var/www/docroot, lighttpd displays &#8220;No input files specified&#8221; and if I place them to both location in same time looks like working :/ crazy problem.</p><p>And I have another behaviour, can&#8217;t stop services as explained here: <a
href="http://www.cyberciti.biz/tips/howto-setup-lighttpd-php-mysql-chrooted-jail.html#comment-142040" rel="nofollow">http://www.cyberciti.biz/tips/howto-setup-lighttpd-php-mysql-chrooted-jail.html#comment-142040</a></p> ]]></content:encoded> </item> </channel> </rss>
