Plesk 11.x / Linux :: Installing Git In Chroot?

Sep 30, 2014

I have customers that want the git program to be able to pull/push their github repos. I've copied all of the files in the git rpm into the site's chroot but whenever they try to pull down their repo via ssl they get this message:

error: while accessing https://github.com/USERNAME/PROJECT.git/info/refs

fatal: HTTP request failed

We have gotten ssh to work with git but the ssl issue still isn't working.

View 1 Replies


ADVERTISEMENT

Plesk 12.x / Linux :: Define Path In Chroot

Sep 24, 2014

Where can I define the $PATH in chroot permanent ?

If i use "export PATH=$PATH:/usr/libexec" in the shell - its ok for this session, but in a new Session the modified $PATH-Variable ist reset to:

"echo $PATH"
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"

View 1 Replies View Related

Plesk 12.x / Linux :: Command Line Mail In Chroot?

Feb 23, 2015

Is there any way for a client to use command line mail in a script. Client has ssh access via chromed environment.

Wants their script to be able to send an email on completion.

plesk 12 on Centos6.6

View 6 Replies View Related

Plesk 12.x / Linux :: Update Of Chroot Commands After Upgrade

Sep 30, 2014

After update of some system commands, there is now difference between the system-wide command and the equivalent that is located in the chroot template directory (and the command that is in the domain's bin dir).

Is there a command/utility that can update the commands (and all libraries that they depend on), that we have in our chroot template directory /var/www/vhosts/chroot?

View 2 Replies View Related

Plesk 12.x / Linux :: Chroot -> Too Many Levels Of Symbolic Links

Aug 27, 2014

I am testing out Plesk control panel 12 - looks promising, but the moment I hit chroot-ed environment, many things go wrong.

Set up:

Virutal server, running linux (64 bit Ubuntu 14.04 Server LTS);
Plesk Control Panel 12.0.18, Update #14;
Currently running on a trial license;
Brand new installation on a dedicated server;

I have two disks, one is for system stuff, plus plesk; second disk is supposed to be dedicated to /var and /home

root@testthing:/var/log# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/vda1 40G 8.7G 29G 24% /
....
/dev/vdb1 493G 2.9G 465G 1% /disk2

[Code] .....

(to save place, I've removed the regular stuff that is everywhere and makes not difference for this case ... I think)

The plesk installation went just fine; update ran fine; I can register customers, their websites run fine ... as long as they get no shell at all, or regular shell to the server.

BUT: we need to jail all our customers under chroot. If that is not possible, we can't use Plesk.

I created a Service plan cloned form the Default domain plan and changed only to give the users ssh access to the server with a chroot env.

When I try to register a new client with this new service plan, it fails with lots of error messages (one per directory it tries to make), like this:

chrootmng: cannot set permissions for "/var/www/vhosts/demowh1.blah.blah/lib":Too many levels of symbolic links
...
Dropping the GUI and xperimenting in a shell, as root: If I run:
root@testthing:/usr/local/psa/admin/sbin# ./chrootmng --create --source=/var/www/vhosts/chroot/ --target=/var/www/vhosts/demowh1.blah.blah
open_basedir_with_nofollow: opeat failed: `var', Too many levels of symbolic links

[Code] ....

But, if I run it like this:

root@testthing:/usr/local/psa/admin/sbin# ./chrootmng --create --source=/var/www/vhosts/chroot/ --target=/disk2/var/www/vhosts/demowh1.blah.blah

It proceeds to make a copy of all directories where it should.

So, at this point I am pretty sure that the problem is my link between /var and /disk2.

Still, I want to keep the user data on a separate disk from the system/plesk data.

View 4 Replies View Related

Plesk 12.x / Linux :: Installing Mcrypt On Linux Centos 5.5 PHP 5.3.3

Jun 20, 2014

I am trying to install Magento on my apache server. I am running into the dreaded mcrypt issue as Magento needs it to run. I have now been googling for the past few hours and have gotten nowhere.

Here are my details:

Linux
Centos 5.5
PHP 5.3.3
x86_64
Plesk 12

I have tried installing all sorts of different repos and it just isn't working.

When I try to install using # yum install php-mcrypt I get the following:

Loaded plugins: fastestmirror
Package php-mysql is obsoleted by php-mysqlnd, trying to install php-mysqlnd-5.5.13-3.el5.remi.x86_64 instead
--> Processing Dependency: php53-gd for package: psa-php53-configurator
--> Processing Dependency: php53-imap for package: psa-php53-configurator

[Code].....

View 6 Replies View Related

Plesk Automation :: Chroot Directories Ssh Access Forbidden

Apr 7, 2014

I've a problem with the chroot directories under /var/www/vhosts/domainxy.com. The options I've configured is "Access to the server over SSH -> Forbidden", After creating a webspace there are no chroot directories. But if I change the system user username under hosting settings, the directories will be created. But I don't want this, because the option I choosed is "Forbidden" and my customers are irritated about this directories. Can I prevent this behabiour?

View 1 Replies View Related

Plesk 11.x / Linux :: Installing SSL For Mail Service?

Dec 12, 2014

Installing my SSL for mail service, my SSL is already install for website...

View 1 Replies View Related

Plesk 12.x / Linux :: Installing Magento (Centos 7)

Oct 11, 2014

I am trying to install a magento on Plesk Version 12.0.18 Update #19 / CentOS Linux 7.0.1406 (Core).

Plesk is reporting that it cant install magento because php-mcrypt is missing. So I tried the following:

Code:

1) rpm -ivh [URL] ....
2) yum update
3) yum install php-mcrypt

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: ftp.plusline.de
* epel: mirror.23media.de
* extras: ftp.plusline.de
* updates: mirror.netcologne.de

[Code] ......

What can i do to install mcrypt without breaking other dependencies ?

View 5 Replies View Related

Plesk 12.x / Linux :: Installing Web Host With CloudLinux?

Sep 10, 2014

How do I go about installing Web Host with CloudLinux? I can't find the tutorial. I have the Web Host + CloudLinux VPS license.

View 3 Replies View Related

Plesk 12.x / Linux :: Error Installing WordPress Via Applications

Jul 25, 2014

I just tried to install wordpress on Ubuntu 12.04.4 LTS Plesk 12.0.18 #9 via

Plesk -> Domains -> domain.tld -> Applications -> WordPress -> InstallClick to expand...

View 2 Replies View Related

Plesk 12.x / Linux :: Installing Joomla - Wrong Version Of PHP / Can't Allow SSH

Aug 18, 2014

I'm new to Plesk - I've inherited a web site for a local social club so have just been handed login and password. I believe I have version 11.0.9 and as I can see mention of an Apache webserver I'm guessing its linux.

So - I want to redesign and use Joomla so I can share the content updating with others.

I can't install Joomla as I have PHP 5.1 and need 5.3. I have no 'server' or any sort of option I can find (and I've looked everywhere!) to find a command line or somewhere I can run things.

When I try to allow SSH access the option says Forbidden and there is no option to change it.

View 1 Replies View Related

Plesk 12.x / Linux :: Installing SPDY Module For Nginx?

Sep 17, 2014

How do I go about installing the spdy module for nginx? I understand it's now part of nginx 1.6 which comes with Plesk 12 but when I add the directive

Code:
listen 443 ssl spdy;

I get an error saying "nginx: [emerg] the "spdy" parameter requires ngxhttpspdy_module".

View 6 Replies View Related

Plesk 12.x / Linux :: Request For Instruction On Correctly Installing APC

Oct 6, 2014

I would like to install APCu (Alternative PHP Cache) & ZendOptimizer on plesk v12, I just wanted to know if there is any instructions for installing it correctly in a manner that will not cause issues with plesk updates.

View 5 Replies View Related

Plesk 11.x / Linux :: Installing Multiple PHP Versions Fails Due To Dependencies

May 27, 2014

According to: URL....I tried to install php 5.3...Before able to .configure php source, i must install several dependencies. I resolved most of them but installing libmcrypt-devel gives the following error:

---> Package libmcrypt-devel.x86_64 0:2.5.7-5.el6.art will be installed
--> Processing Dependency: libmcrypt = 2.5.7-5.el6.art for package: libmcrypt-devel-2.5.7-5.el6.art.x86_64
--> Finished Dependency Resolution
Error: Package: libmcrypt-devel-2.5.7-5.el6.art.x86_64 (atomic)
Requires: libmcrypt = 2.5.7-5.el6.art
Installed: libmcrypt-2.5.8-9.el6.x86_64 (@PSA_10_4_4-thirdparty)
libmcrypt = 2.5.8-9.el6
Available: libmcrypt-2.5.7-5.el6.art.x86_64 (atomic)
libmcrypt = 2.5.7-5.el6.art

You could try using --skip-broken to work around the problem...You could try running: rpm -Va --nofiles --nodiges.

View 4 Replies View Related

Plesk 12.x / Linux :: Sieve Does Not Work After Upgrade To 12.0.18 And Installing Dovecot

Dec 1, 2014

i use Plesk on a vserver which was offering it in version 11.x, i upgraded to 12.0.18, then i installed Dovecote on the panel. Everything went fine. Mail server is working.BUT sieve does not allow me to login and create filters.I tried telnet against 4190, and it works:

Connected to mail.xxxxxxxx.xxx.
Escape character is '^]'.
"IMPLEMENTATION" "Dovecot Pigeonhole"
"SIEVE" "fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date ihave imapflags notify"
"NOTIFY" "mailto"
"SASL" "PLAIN LOGIN DIGEST-MD5 CRAM-MD5"
"STARTTLS"
"VERSION" "1.0"
OK "Dovecot ready."

But when i use my sieve plugin for thunderbird OR access plesk's webmailclient Roundcube opening the filter module, it doesnt work. On Thunderbird i see the loading animation, thats it. On Roundcube it says "Unable to connect to sieve server".

Looks like something is missing. I can definitely access 4190 on my server from anywhere. So no firewall issue. I didnt change anything on configs, since plesk is handling it.Roundcube log doesnt give me anything. I dont even see logs added (to syslog or mail.*) while i try to connect.

View 4 Replies View Related

Plesk 12.x / Linux :: Locked Out From Panel After Installing Additional PHP-versions

Jun 25, 2015

For some application-testing I installed PHP 5.5 and PHP 5.6 alongside the existing PHP 5.3 installation. To do that I used the web-interface of the Plesk-installer.

Installing the software went well, or at least didn't show any errors.

After installing I went back to the login-page to get back into the portal, but that didn't work.

I am using the right username and password and don't see any errors, I just keep getting the login-screen and no errors. Logging in through SSH is working as it should. Only access to Plesk on 8443 seems to be denied.

Server reboot didn't work, restarting Plesk-services didn't work...

How can I restore this so I can get back to work?

This Plesk-installation is on a CentOS 6 server on which I have full rights.

View 2 Replies View Related

Plesk 11.x / Linux :: Installing Fail2bain And Configurator (nginx 1.5 Not Found)

Nov 30, 2014

I have Plesk Panel 11.5.30 # 48 installed on my rented vServer, which is virtualized with Parallels Virtual Automation / Plesk Power Panel. I cannot upgrade to Plesk Panel 12.x because my contract just includes a license for 11.x.

Installing fail2ban 0.8.6-3wheezy3 trough Power Panel works, but installing its configurator "plesk-fail2ban-configurator 12.0.18-debian7.0.build1200140526.11" fails.

Operation with the Container "*.*.de" is finished with errors: Can not install packages: ' vzpkg install -q -p * plesk-fail2ban-configurator' exec failed - W: Failed to fetch http://autoinstall.plesk.com/debian/NGINX1.5/dists/wheezy/all/binary-amd64/Packages 404 Not Found
W: Failed to fetch http://autoinstall.plesk.com/debian/NGINX1.5/dists/wheezy/all/binary-i386/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
Error: /usr/bin/apt-get failed, exitcode=100
Error: Can not update metadata for pp11.5-nginx. Skipped.
E: Unable to locate package plesk-fail2ban-configurator
Error: /usr/bin/apt-get failed, exitcode=100
.
Click to expand...

View 1 Replies View Related

Plesk 11.x / Linux :: Https Redirect To Http After Installing SSL Certificate

May 15, 2014

After installing a RapidSSL certificate in a subdomain, https redirects automatically to http,

Plesk 11.5 with debian and last version openssl

Why https redirect to http when I setup the certificate?

View 1 Replies View Related

Plesk 12.x / Linux :: Backup Stopped Working After Installing AfterLogic WebMail Pro 7

Jun 13, 2014

I am getting this error after installing the AfterLogic WebMail Pro_7 app on a domain.

I removed the app but AfterLogic still appears in the list of available Webmail options. I am getting the error even after changing all my domains to use Roundcube.

backup_info_1406131330.xml:
Line 423 error: Element 'external-webmail': This element is not expected.

My backups since the day I installed that app are no longer valid.

View 2 Replies View Related

Plesk 12.x / Linux :: Error Installing Application From Application Installer

Oct 13, 2014

whenever one of my customers tries to install an application from the application installer, they get an error that looks like this.

Error: Installation of WordPress at http://*******.com/wordpress failed. Non-zero exit status returned by script. Output stream: 'PHP Warning: mysql_connect(): Access denied for user 'ndari_wordpres_7'@'aeris.jdrepo.com' (using password: YES) in /opt/psa/var/apspackages/apscatalogSTqEEM.zip7b3ca133-9714-5d/cache/scripts/db-util.php on line 66 '.

Error stream: 'PHP Warning: mysql_connect(): Access denied for user 'ndari_wordpres_7'@'aeris.jdrepo.com' (using password: YES) in /opt/psa/var/apspackages/apscatalogSTqEEM.zip7b3ca133-9714-5d/cache/scripts/db-util.php on line 66 '.Click to expand...

View 2 Replies View Related

Named In Chroot

Oct 12, 2009

It has been a long time since I setup named, and I need some help as I'm just not getting it this time around. I'm running named on CentOS under Chroot

IP Space is; 216.201.80.96/28
Gateway is 216.201.80.97
Netmask is 255.255.255.240
Useable IP Space is 216.201.80.100 - 110

named.conf
---
key "rndckey" {
algorithm hmac-md5;
// secret is xx'ed out for this posting
secret "xxxxxxxxxxxxxx";
};

controls {
inet 127.0.0.1 allow { 127.0.0.1; } keys { "rndckey"; };
inet 216.201.80.101 allow { 216.201.80.101; } keys { "rndckey"; };
};

options {
directory "/var/named";
pid-file "/var/run/named/named.pid";

recursion yes;

allow-recursion {
127.0.0.1;
216.201.80.101;
};
listen-on {
127.0.0.1;
216.201.80.101;
};
query-source address * port 53;

version "REFUSED";

allow-query {
127.0.0.1;
216.201.80.101;
};
};

server 216.201.80.101 {
keys { rndckey; };
};

zone "." IN {
type hint;
file "named.ca";
};

zone "cheapdatamining.com" IN {
type master;
file "data/cheapdatamining.com.zone";
allow-update { none; };
};

cheapdatamining.com.zone
--------------------------
$TTL 38400
@ IN SOA ns1.cheapdatamining.com. admin.cheapdatamining.com (
2008090335 ; Serial
10800 ; Refresh after 3 hours
3600 ; Retry after 1 hour
604800 ; Expire after 1 week
86400 ) ; Minimum TTL 1 day

cheapdatamining.com.INNS ns1.cheapdatamining.com.
cheapdatamining.com.INNSns2.cheapdatamining.com.
ns1.cheapdatamining.com.IN A 216.201.80.101
ns2.cheapdatamining.com. IN A 216.201.80.102

resolv.conf on server.
--------------
search cheapdatamining.com
nameserver 216.201.80.101
nameserver 216.201.80.102

Got the domain sitting at godaddy with ns1 and ns2 pointing to 216.201.80.101/102

Everything looks good as far as I can see, local nslookup on the loopback is fine, and iptables are good.

View 0 Replies View Related

Chroot Apache

Apr 29, 2007

Is anyone using a chroot apache to offer shared hosting, with CGI, PHP etc... all working fine?

View 2 Replies View Related

Chroot Configuration In CentOS 5

Jan 6, 2009

I am trying to configure chroot for my Apache 2.2.8 + PHP 5.2.8 + MySQL 5.0.51 + CentOS 5.1 using the article at: [url]

I have moved most of the files that are required by Apache to run.

I want to move PHP, MySQL also into chroot jail along with Apache.

How can I know the list of files that are needed by my Apache? It is asking for some of the files in the /usr/bin, /lib, /usr/local/lib, /usr/lib folders.

Somehow, I moved most of the files that are required by Apache to the chroot jail and finally I got httpd: bad user name daemon error.

And in CentOS, I don't have the file /etc/passwords and the command pwd_mkdb.

View 0 Replies View Related

Installing RoR On Linux

Jan 3, 2007

Quote:

Originally Posted by tanfwc

yum install gcc

hi tanfwc, opened up a new thread so where do I type this in? after these lines?

Quote:

cd /usr/local/src
wget ftp://ftp.ruby-lang.org/pub/ruby/sta...y-1.8.4.tar.gz (or latest stable version)
tar xvzf ruby-1.8.4.tar.gz
cd ruby-1.8.

View 12 Replies View Related

Change Chroot FTP User Path

Jan 23, 2009

I'm using Plesk on my server and its a pain in the @** to create FTP users. So I found this article on adding chrooted FTP users. I successfully added a user, but would like to change the path now, how can I do this?

View 2 Replies View Related

Installing Virtual Windows On A Linux Box

Jan 12, 2009

i have a dedicated box with centos.. i wold like to install VmWare workstation and a virtual windows image in vmware program, and then i wold like to make remote desktop on windows image from vmware..

View 2 Replies View Related

Installing MRTG In My Linux Server

Jul 24, 2009

I tried installing MRTG in my Linux Server by using help from -

[url]

What i have done till now is -

cd /usr/local/src
gunzip -c mrtg-2.16.2.tar.gz | tar xvf -
cd mrtg-2.16.2

./configure --prefix=/usr/local/mrtg-2

make

make install
After this i am unable to understand what to do, and how to start MRTG graphs.

* the next last step says,

CONFIGURATION

The next step is to configure mrtg for monitoring a network device. This is done by creating an mrtg.cfg file which defines what you want to monitor. Luckily, you don't have to dive straight in and start writing your own configuration file all by yourself. Together with mrtg you also got a copy of cfgmaker. This is a script you can point at a router of your choice; it will create a mrtg configuration file for you. You can find the script in the bin subdirectory.

cfgmaker --global 'WorkDir: /home/httpd/mrtg'
--global 'Options[_]: bits,growright'
--output /home/mrtg/cfg/mrtg.cfg
community@router.abc.xyz

This example above will create an mrtg config file in /home/mrtg/cfg assuming this is a directory visible on your webserver. You can read all about cfgmaker in cfgmaker. One area you might want to look at is the possibility of using --ifref=ip to prevent interface renumbering troubles from catching you.

^^ this is what i am not able to understand.

When i ran the script, (below mention) it gave many errors, how to resolve them ?

[root@c bin]# ./cfgmaker --global 'WorkDir: /home/httpd/mrtg' --global 'Options[_]: bits,growright' output /home/mrtg/cfg/mrtg.cfg eth0
Error:
can't resolve "output" to IP address
at /usr/local/mrtg-2/bin/../lib/mrtg2/SNMP_util.pm line 428
SNMPWALK Problem for public@output::::::v4only
at ./cfgmaker line 950
WARNING: Skipping public@output: as no info could be retrieved

Error:
can't resolve "/home/mrtg/cfg/mrtg.cfg" to IP address
at /usr/local/mrtg-2/bin/../lib/mrtg2/SNMP_util.pm line 428
SNMPWALK Problem for public@/home/mrtg/cfg/mrtg.cfg::::::v4only
at ./cfgmaker line 950
WARNING: Skipping public@/home/mrtg/cfg/mrtg.cfg: as no info could be retrieved

Error:
can't resolve "eth0" to IP address
at /usr/local/mrtg-2/bin/../lib/mrtg2/SNMP_util.pm line 428
SNMPWALK Problem for public@eth0::::::v4only
at ./cfgmaker line 950
WARNING: Skipping public@eth0: as no info could be retrieved

# Created by
# ./cfgmaker --global "WorkDir: /home/httpd/mrtg" --global "Options[_]: bits,growright" output /home/mrtg/cfg/mrtg.cfg eth0

### Global Config Options

# for UNIX
# WorkDir: /home/http/mrtg

# or for NT
# WorkDir: c:mrtgdata

### Global Defaults

# to get bits instead of bytes and graphs growing to the right
# Options[_]: growright, bits

EnableIPv6: no
WorkDir: /home/httpd/mrtg
Options[_]: bits,growright

View 2 Replies View Related

Installing Windowx X64 With VMWare On A Linux MAchine

Aug 17, 2007

I was wondering if anyone can help me out or point me to a guide that will allow me to to create a Windows 2003 x64 Virtual MAchine using VMWare server on a CentOS or Redhat installation.

View 6 Replies View Related

Installing PHP, Ffmpeg And Things On Debian GNU/Linux 4.0

May 14, 2009

I have a shared hosting account on dreamhost
It has php and others installed but it allows custom installations for a number of reasons (control of the php.ini file, ...).

I have shell and ftp access to /home/username/ where my websites are
(/home/username/domain.ltd)

I installed php 5.2.9 under /home/username/php5,
I also installed ffmpeg but I ran into troubles installing ffmpeg-php.

Now I would like to start over, I'm not very advanced in this and I probably messed some stuff up. It seemed like a good idea to ask for some general advice before going at it again.

First, I was wondering about the filesystem I needed to set up, like the bin, tmp, lib, ... directories. Which ones do I need and what should go in them.
And how exactly do I let the system know these folders are there and it should look there for some commands. When I used phpize, it used the default one instead of the one in my custom php folder. Is the export command all there is to it?

When I install PHP, where should I install it and do I need to point it to my directories (bin, lib, etc...) instead of the ones in the host's root.
I noticed when installing ffmpeg-php it still looked for the default ones at some points:

HTML Code:
"checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend..."
I don't know if this is normal behaviour or not, I'm just basically writing everything I am unsure about.

I got my website to use the custom PHP by editting the htaccess file

Also,
what would be the best approach to remove the things I currently installed, I suppose remove the php5 directory is not enough.

View 0 Replies View Related

Installing Yum On CentOS + Plesk (Virtuozzo) VPS

Jul 21, 2008

I found this tutorial on how to install yum. The only issue is, we have CentOS 5. Is there a more recent article with the latest files needed to install yum on CentOS5 / Plesk VPS?

[url]

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved