Plesk 12.x / Linux :: Add New Programs To CHROOTED Environment
Sep 24, 2014
I am trying to add new programs to the CHROOTED environment via this post: URL....I downloaded the following file URL...., but it has errors. After adding execute permissions, the linux file will not run (errors posted below). I believe there is invalid formatting in the document. I have tried to correct it myself by removing unnecessary characters, but I am unable to get it working.update the file or attach a new copy to this message?
: command not found line 1:
: command not found line 3:
): No such file or directorywarning: setlocale: LC_ALL: cannot change locale (POSIX
): No such file or directorywarning: setlocale: LC_ALL: cannot change locale (POSIX
: command not found line 6:
./chroot_update.sh: line 14: syntax error near unexpected token `elif'
'/chroot_update.sh: line 14: `elif [ -f /etc/debian_version ]; then
View 1 Replies
ADVERTISEMENT
Mar 4, 2015
I'm Running Plesk 12 latest version. I've been partially followed that instructions to add php5 to a chrooted environment with success : [URL] .....
Code:
bash-4.3$ php --version
PHP 5.5.9-1ubuntu4.5 (cli) (built: Oct 29 2014 11:59:10)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies
This is how i did it, as root user :
Code:
./chroot_update.sh --add /usr/lib/php5
mkdir /var/www/vhosts/chroot/usr/share
cp -a /usr/share/zoneinfo /var/www/vhosts/chroot/usr/share
php -i | grep extension_dir
# returns : /usr/lib/php5/20121212/
[Code] .....
View 2 Replies
View Related
Jun 17, 2015
Since the migration from Plesk 11.5 to Plesk 12.0 the "chrooted" SFTP accounts do not work anymore. Along with the Plesk migration we have changed the operating system too. We've migrated from CentOS 6 (x86_64) to CentOS 7 (x86_64).
When trying to connect using SFTP on the command line I get the following error message: debug1: Exit status 127...When using an SFTP client such as WinSCP I get logged out immediately without any message.
The OpenSSH configuration is saying:
<...>
Subsystem sftp /usr/libexec/openssh/sftp-server
<...>
The mentioned binary from above does exist:
ls -l /usr/libexec/openssh/sftp-server
-rwxr-xr-x 1 root root 83984 2015-05-12 21:41:56 /usr/libexec/openssh/sftp-server
I have attached the debug output of the SFTP command (plesk_sftp_issue.txt).When I change the option "Access to the server over SSH" to "/bin/bash" the SFTP access works again. But when "chrooted" it stops working.
Plesk 12 under CentOS 7?
View 1 Replies
View Related
Oct 11, 2014
Tested with my own comilations as well as the Panda-packages:
- zend opcache configured in php 5.5 and 5.6
- php version assigned to test domains
php-info:
- cache active and running
real-life:
- site loads "normally" on initial load
- cache kicks in on reload - perfect
- 15 seconds later: cache is empty
bottom line: when then php-cgi process ends, the cache is killed too.
Why does it happened? How do I keep the cache persistent? Is it due to cgi/fcgi and fpm would solve it?
View 7 Replies
View Related
Dec 11, 2014
In plesk9 my customers had the option to send daily usage reports by e-mail. Only certain clients like this option. Using plesk11 I cannot find this option if I log in as a client. Has this feature been removed? And if so, can the administrator enable this option only for 1 or 2 clients?
View 2 Replies
View Related
May 7, 2008
i have a high end linux server, low load. i'm looking for ideas as to how i can get a windows 2003 machine hosted up onto it (i have a license already) on one of the machine's dedicated IPs, and set it up to host ASP based websites with MS access (have the license already too). Any tutorials or suggestions how this can be set up?
View 3 Replies
View Related
Mar 7, 2014
I am developing a php web application using Apache on CentOS6. I have set a custom environment variable in CentOS on command line by using: export test_var=3
View 1 Replies
View Related
May 28, 2014
The migration tool allows only migration from other Parallels environments. What is the best way to migrate from an IIS environment. I'm assuming the API can be used to simply create webspace subscriptions and set the resource limits, right?
View 2 Replies
View Related
May 5, 2008
On one of my servers, i created a chrooted shell environment in order to give out shell accounts, however i am wondering which linux commands i need in order for users to compile,install and run software like "eggdrop". I already added the most basic stuff, like "make, gcc, cc" but that does not seem to be enough. When i execute "./configure", it ends up in an endless loop which can only be ended by a root account.
View 9 Replies
View Related
Aug 3, 2009
I have a chrooted ftp user that I use on my server. I would like to run a cron job using this user that backs up my mySQL databases. When I execute the job, it complains about date and mysqldump not existing. I was able to fix the date problem simply by copying it from the actual /bin to the chrooted /bin. However, I can't simply copy mysqldump because it depends on several libraries. Anybody know how I can give this chrooted user access to commands that aren't in his chroot?
View 6 Replies
View Related
Nov 5, 2009
Any programs you recommend for monitoring? I am looking for something to add to keep an eye on my servers in addition to the third party services I am already using. Does not matter if it is linux or windows based.
View 10 Replies
View Related
Oct 15, 2009
I was curious to know if there's a way to protect memory for certain programs. I have a VPS that is fairly light on memory, and there's been a few occasions when a program/bug will go wild and eat up all the memory locking me out of ssh/webmin.
Is there any way I can protect certain memory for certain processes/programs. Ideally I'd like some way for ssh to stay up in all situations.
View 6 Replies
View Related
Oct 21, 2008
if you are vps hosting company with an affiliate program can you contact me,
View 0 Replies
View Related
May 2, 2007
I'm in the process of setting up a Windows VPS and I was wondering what FTP program you're using on your server?
Doing a quick search on Google I see there's a couple of free options available like Cesar FTP and FileZilla, but I would love to hear some recommendations and any advise on which ones I should stay away from (IE installation problems etc)
I know I could use the FTP client provided in IIS 6, but I would prefer to use something with more control and options.
View 14 Replies
View Related
Jun 12, 2008
- Cpanel (I do this everytime security releases are out)
- Firewall (Anyone know what the latest version for APF is, or how to figure it out?)
I know how to figure out what version I have, just not the latest release.
View 6 Replies
View Related
Jul 22, 2008
I am planning to create a hosting directory really soon and sign up affiliate accounts of the most popular hosting providers. What recommendations could you provide me with to make visitors become interested in ordering hosting from my website?
View 10 Replies
View Related
Jun 24, 2008
what I'd like to do is get a server set up that i could remote into and play games such as second life.And Leave it running etc. I would also like to be able to install other software on the server and run them just as i do with my home pc. Is that possible ? and if so what kind of setup do you suggest? Linux,windows.
View 5 Replies
View Related
Mar 7, 2007
I have a program that creates a new file each time someone (or somebot) accesses the page and stores these files in a specific directory on my server. I would like to delete these files once a week so I would schedule it as a cron job, but I can't find a program that will actually delete files from the server in a directory I specify. I have found some programs but they all require that the files to be deleted use a specific name and the files I want to delete have long random names. Does anyone have a recommendation for a small program like this?
View 3 Replies
View Related
Mar 1, 2007
I was wondering if there are affiliate programs that pay for referrals to free hosting sites? Preferably free hosting sites that would allow flash content.
View 7 Replies
View Related
Mar 27, 2007
what programmes should be installed in a dedicated server that will be used for irc hosting (shells etc) and will run FreeBSD OS?
some i have thought:
APF
identd
named
tcl
ftp
apache
View 5 Replies
View Related
May 9, 2013
I am migrating to apache httpd 2.4 on windows xp. The current server currently has exe programs that execute as cgi programs. When I try to use one of these links, apache just servers the programs as files for download. How do I configure my httpd.conf to run these instead of download them?
View 1 Replies
View Related
Nov 3, 2007
I initially wanted to set up a VPS because I want to build a web application. The first phase is to set up a development environment, testing environment and production server. For the development environment, I want to set up an SVN server for my code (one reason why I chose a vps instead of a shared server) as well as a bug tracking system. Each environment would be under subdomains, except the production server (development.domain.com, trac.domain.com, testing.domain.com).
My question is what is the best way to utilize my VPS for this type of environment? Should I create a client for each environment? Stick everything under my admin account? I'm sure this is a simple question, but I just want to make my system as organized as possible.
At the minimum, could someone point me in the direction of any resources?
View 5 Replies
View Related
Oct 5, 2009
I bought brand new server (2x i7 (8cores), 12GB DDR3, 4x1TB HDD etc...)
Well basically i want to divide my server into few VPS, so how can i start, which virtualization to use etc...
View 6 Replies
View Related
Mar 30, 2008
what others are doing within their hosting environment in which they are providing servers to their customers, either dedicated or shared. Do you build custom servers, use desktops or buy name brand like Dell, HP or IBM. I am curious as to why you take what approach you do. How large is your environment as far as servers go and how many customers you have.
Secondly are you currently taking advantage of virtualization technologies within your server environment. If so for what main purpose? Consolidation of server sprawl, availability, reduced hardware costs, heating/cooling, floor space, etc.
View 1 Replies
View Related
Jul 25, 2007
I am still in a thinking stage and will like to learn from your experience, and was wondering if any of you folks have a hybrid environment i.e. Linux and Proprietary systems and what kind of issues do you run into. And also, what pieces of technology you have - which are open source and which ones you have are proprietary and any changes you anticipate 1 year out.
View 1 Replies
View Related
Sep 27, 2007
I have 4 of these xeon servers, i want to setup a grid environment...
View 6 Replies
View Related
Mar 1, 2009
Anyone have any experience using R1Soft in a virtualized environment as the VPS provider rather than the VPS user?
I'm wanting to offer some solid bare metal backup. It is generally difficult to do sound backup procedures in dom0, since can sometimes suffer file corruption when backing up running domUs from outside of them, and I use LVM drives rather than disk images.
I've always heard backing up from inside domU is best.
R1Soft is an obvious option but the pricing seems quite high and I'm wondering what kind of CPU/disk usage impact it could have. Say you just have 16 virtual servers per box (2 per core)... that is 16 instances running, and ~$2400 just in licenses alone.
Anyone have any experience doing backups/CDP in a virtualized environment? You using R1Soft or something else? Inside domU or out?
I wish R1Soft offered monthly pricing, since then the upfront investment per customer isn't nearly as much.
View 3 Replies
View Related
Feb 15, 2008
I'm in the process of trying to document a process for setting up any new LAMP servers in our hosting environment and I was wondering if anyone had any input on software and best practices that they use in their environment and why. I.E.
PHP setup
Apache setup
Preferred Linux Distro
FTP program used
User creation guidelines
Default php.ini settings
Default site settings
etc.
View 2 Replies
View Related
Aug 10, 2008
Just find this piece of application, have any one tried and would like to share experience?
View 2 Replies
View Related
Mar 8, 2008
Pros/cons? Success stories? Security/stability? Tried w/ cPanel? Yes/no?
A good friend handed me a SLES disc awhile back and I'm loading it up now to give it a shot on a whitebox with one of my test domains and IP's. Anybody have anything to share?
View 2 Replies
View Related
Sep 2, 2008
I'm running SQL 2005 in my hosting environment, and plan on offering as part of my plans.
The one issue I'm having is any user can view all the databases. My main issue is I need to store client information (sorry, I only can afford one server) into the database. Basically I'm creating *all* the backend panels, management, etc in ASPNET/C#.
The database will have FTP, email, payment, etc stored it in. Should I hold off and only offer mySQL? I DO NOT want the users seeing my databases like that. They can't access them, but still. I don't know what Microsoft was thinking!
I was thinking about developing my own SQL Manager where you could execute scripts, edit/create tables, and do everything you needed right inside of your webbrowser. This is, of course, a lot of work when you can do it easily in SQL Manager express. I imagine my way would be easier since I could make a list of blocked commands, run a check on the commands the user is executing, and block them.
By the way, I'm running Windows 2008 x64 w/IIS7 and the entire panel will be custom made by me and two other programmers, with me being the lead developer.
View 13 Replies
View Related