Execute Cgi On Lxadmin Setup
Feb 2, 2008
I'm trying to get a Movable Type installation working. Centos under HyperVM and Lxadmin...
Correct Perl version is installed. Cgi script in MT calls correct Perl install.
Perhaps it's an issue that I'm running through Lxadmin?
I run through the install - no problem. But when trying to access my install, I get a 500 error.
I'm not getting anything in the logs. Absolutely nothing on the Six Apart side.
SElinux in not running. I've tried forcing with .htaccess:
<Directory /path-to-movabletype>
Options Indexes ExecCGI
</Directory>
Has anyone been through this... or perhaps just some feedback.
It's a common problem - but the solution isn't typical apparently (for me that is).
[url]
View 1 Replies
ADVERTISEMENT
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
Jan 24, 2014
I am 3 days new to figuring out how to get Perl scripts to run on my Windows XP box. I downloaded and installed the Apache installation file "httpd-2.0.65-win32-x86-openssl-0.9.8y.msi" and the "strawberry-perl-5.18.2.1-32bit.msi" from the perl.org site in hopes that I could get a feedback form to work for a web site that I am working on.
Out of the many pages that I have viewed online of how to configure the Apache Server, nothing has given any favorable results with their explanations.
My last attempt was [URL] ..... where I could not get the example to work. I did the changes to the Apache file "Edit the Apache httpd.conf Configuration File" fairly easily but I must be having problems with the test.pl because I can't get it to work.
I used a different version of Perl (Strawbery from perl.org because it installed without giving me an error pop up after installation) and after copy pasting the script, in an attempt to get it working, I ended up changing it in hopes that I could get it working, shown below.
#!/strawberry/bin/perl.exe
print "Content-type: text/html; charset=iso-8859-1
";
print "<phtml>";
print "<body>";
print "Test Page";
print "</body>";
print "</html>";
This is what the site says to create the program with:
#!/perl/bin/perl
print "Content-type: text/html; charset=iso-8859-1
";
print "<phtml>";
print "<body>";
print "Test Page";
print "</body>";
print "</html>";
where I assumed that "#!" meant the "C:" drive and substituted the first "/perl" with the folder the Strawbery Perl had installed itself to and left the second "/perl" in the first line thinking that it was referring to the executable in the "C:strawberryperlbin" folder.
This is the error I get when trying to get the script to run when typing "localhost/test.pl" in the address bar.
"Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
........"
Know how I can change the title of this post to read "Configuring Apache HTTP Server 2.0 to run Perl in Windows"?
View 1 Replies
View Related
Aug 1, 2008
I have learnt it is harder to setup than I initially expected (since I have just moved from a shared hosting service). I am in need of some help setting up my DNS servers, as I am very confused. Here is most of the info I know:
1) I am running HyperVM
2) I've installed LXAdmin
3) I own the domain (purchased from xeodomains.com) runemart.com
4) My VPS hostname is: vps.runemart.com
5) I know my IP
6) My host has said:
'For VPS customers that have a HyperVM login you can now host forward DNS on the DNS servers rdns1.vaserv.com (US)rdns2.vaserv.com (UK'
And I am unsure what this means/how to do it.
I am not sure if I need some more information to set up my DNS, however I am sure that I can get it if I do.
Now, my questions begin. Firstly, I need to point my domain - runemart.com - somewhere. I believe I need to set up my DNS via HyperVM or LXAdmin so that they are something like: ns1.runemart.com and ns2.runemart.com. Though, is this correct? Am I able to set up my own actual domain name servers, or will my domain have to point at something like rdns2.vaserv.com?
If anyone can assist me in this I would be very greatful, as I am waiting to get my website running. This is all I will ask for now, I will take it one step at a time =).
View 14 Replies
View Related
Apr 21, 2009
I saw a vps plan without any control panel.
Virtuozzo based VPS comes with no control panel. I am wondering if it is easy to install Lxadmin or not? and is it all the same as lxadmin preinstalled by providers for operating?
I used a vps for several months with lxadmin, can deal with lxadmin well. so still want to have it.
View 4 Replies
View Related
Nov 14, 2008
how do you setup LxAdmin/VPS's once HyperVM OpenVZ is installed..I got it installed from the server company, and want to know how to license HyperVM's.
View 7 Replies
View Related
Jun 8, 2009
LxAdmin recently changed their name to Kloxo, which also introduced some new features.
I've setup a Kloxo cluster, with the main server on 1 server, and all the others (mail, dns, web) on another server - still testing it out.
Then I created a package in Kloxo with some limits and gave it a name. Then, I went into WHMCS, and added the product, and chose LxAdmin from the modules drop-down.
I then proceeded to add the package name in, and told WHMCS to "Get the available choices from the server" and then I get the following error:
Quote:
Fatal Error. Got a non-object from the server:
I've tested it with 2 different WHMCS installations
View 0 Replies
View Related
May 11, 2009
I rebuilt my VPS (again) today and noticed something different. Instead of the usual "Install LxAdmin" icon in HyperVM I read "Install Kloxo."
I looked at the demo and everything looked the same. Has anyone noticed any definite differences between the two? Has anything significant changed apart from the name?
View 3 Replies
View Related
Nov 18, 2007
I'm trying to write some scripts that automate the installation of a website with a content management system. This includes creating domains, installing databases etc via plesk API.
Now we have it creating the domains and databases via plesk, this is not the issue. It's permission problems issuing commands on the server.
I need to have the script install the cms and this requires writing files to a folder on the server owned by a user which is created with the domain.
e.g.
user creates timsdomain.com with ftp user name tim
Plesk makes directory on webserver called ~/vhosts/timsdomain.com/
inside this directory is a folder called httpdocs.
All the files within this folder are owned by tim.
Now my script (running as 'apache' in a folder owned by 'admin') needs to write/edit files to this directory as the user tim (or whatever user was created when the domain was set up).
How can I do this from a php script?
My idea would be to log in as the new user and then start issuing commands but I don't know how to login a user from a script.
I've tried exec, exec_shell etc
trying to log in via script as the new user using sudo/su/suid etc but they all ask for a password (for obvious reasons) but I cannot see a way to send the password to the command with the script. Ssh?
Here's some pseudocode that demonstrates what I'm trying to do, if you can think of a better way I'm all ears.
Code:
//User Fills in CMS/Domain information which becomes Form_Data
//uses plesk to create blank domain, create email addresses and empty database
Make_Domain(Form_Data) {
Plesk = Get_Plesk_Object();
Plesk.Create_Domain();
Plesk.Create_Database();
Build_CMS(Form_Data);
}
//HERE IS WHERE I AM HAVING TROUBLE: I can't figure out how to change the user so I can install files to a
// different directory other than the current user's directory (admin)
Build_CMS(Form_Data) {
change_to_user(Form_Data.ftp_username, FormData.ftp_password);
unpack_CMS_archive_into(user_directory); //eg unpack cms.tar into 'timsdomain.com' (if the above command didn't switch the current directory to users home directory)
//initialises CMS config files and installs CMS data to database
Run_Install_Scripts_On_Server(Form_Data);
//albeit complex, most important part of script
Confirm_Tim_Is_Awesome();
}
Confirm_Tim_Is_Awesome() {
while (getTim().has_moustache()) {
echo "<em>You're still awesome. </em>";
}
View 14 Replies
View Related
Nov 15, 2007
I'm trying to write some scripts that automate the installation of a website with a content management system. This includes creating domains, installing databases etc via plesk API.
Now we have it creating the domains and databases via plesk, this is not the issue. It's permission problems issuing commands on the server.
I need to have the script install the cms and this requires writing files to a folder on the server owned by a user which is created with the domain.
e.g.
user creates timsdomain.com with ftp user name tim
Plesk makes directory on webserver called ~/vhosts/timsdomain.com/
inside this directory is a folder called httpdocs.
All the files within this folder are owned by tim.
Now my script (running as 'apache' in a folder owned by 'admin') needs to write/edit files to this directory as the user tim (or whatever user was created when the domain was set up).
How can I do this from a php script?
My idea would be to log in as the new user and then start issuing commands but I don't know how to login a user from a script.
I've tried exec, exec_shell etc
trying to log in via script as the new user using sudo/su/suid etc but they all ask for a password (for obvious reasons) but I cannot see a way to send the password to the command with the script. Ssh?
I don't know. Help
Here's some pseudocode that demonstrates what I'm trying to do, if you can think of a better way I'm all ears.
Code:
//User Fills in CMS/Domain information which becomes Form_Data
//uses plesk to create blank domain, create email addresses and empty database
Make_Domain(Form_Data) {
Plesk = Get_Plesk_Object();
Plesk.Create_Domain();
Plesk.Create_Database();
Build_CMS(Form_Data);
}
//HERE IS WHERE I AM HAVING TROUBLE: I can't figure out how to change the user so I can install files to a
// different directory other than the current user's directory (admin)
Build_CMS(Form_Data) {
change_to_user(Form_Data.ftp_username, FormData.ftp_password);
unpack_CMS_archive_into(user_directory); //eg unpack cms.tar into 'timsdomain.com' (if the above command didn't switch the current directory to users home directory)
//initialises CMS config files and installs CMS data to database
Run_Install_Scripts_On_Server(Form_Data);
//albeit complex, most important part of script
Confirm_Tim_Is_Awesome();
}
Confirm_Tim_Is_Awesome() {
while (getTim().has_moustache()) {
echo "<em>You're still awesome. </em>";
}
}
View 2 Replies
View Related
Aug 30, 2013
If any GET request are coming on Apache I want execute my "try.pl". I used "Script" directive for execute script "Script GET /cgi-bin/try.pl ....
View 2 Replies
View Related
Feb 19, 2015
My OS is CentOS 5.8.
Plesk is 11.0.9.
Having problems with failed daily domain backups. All databases that have been created by Plesk cannot be backed up, thus backup fails with the following message:
<?xml version="1.0" encoding="UTF-8"?>
<execution-result status="error" log-location="/usr/local/psa/PMM/sessions/2015-02-19-044701.875/migration.result">
[Code]...
View 4 Replies
View Related
Apr 6, 2015
I'm not been able to start plesk although web and mail services are running.I'm getting the error unable to execute php_handlers_control.I've patched and updated plesk with command line and bootstrap repair and I'm getting this errors:
==> Checking for: mail_responder_restore... fail
/usr/lib64/plesk-9.0/mail_restore: line 820: 17063 Illegal instruction /usr/local/psa//admin/sbin/mailmng-service --restart-service
Errors occured in mail restore procedure
Some utilities have exited with errors:
/usr/lib64/plesk-9.0/mail_auth_dump
/usr/lib64/plesk-9.0/mail_responder_restore
I get Illegal Instruction When I run :
# /usr/local/psa/admin/sbin/mailmng-service --restart-service
Illegal instruction
Also I switched from postfix to qmail and back using the command line with no luck.
/usr/local/psa/admin/bin/mailmng --features
runs without problems.....
/usr/local/psa/admin/logs/panel.log:
[06-Apr-2015 12:47:25 America/New_York] PleskUtilException: '/usr/local/psa/admin/bin/php_handlers_control' '--list-json' failed with code 4.
[code]....
View 8 Replies
View Related
Jul 31, 2008
As my clients' needs expand, they're asking for chroot ssh/sftp setup. I'm currently on a dedicated Linux setup but don't really have the time to set up a whole new box with full virtualization or investigate a full chroot solution (baby on the way), and to be honest it would be less hassle to move to a new provider than worry about down time with sites.
What I'm looking for:
- linux hosting
- hosting for 30+ accounts, some with several domains
- at least 6 IP addresses for SSL certs
- each account in a full chroot environment (ssh/sftp/ftp) so they can't poke around each others' files, or each account set up in a virtual machine setup (ie: openvz)
- maildir
- spamassassin
- php 5, mysql, perl 5.8.8
- suexec apache would be nice
View 3 Replies
View Related
Apr 1, 2009
LXAdmin is having REALLY odd DNS problems.
server has been reachable and up constantly, but DNS is NOT working for RANDOM people. No errors anywhere, no log entries, no reasons at all. Using Bind.
All my own tests, and few of friend's tests works fine, and then for a few doesn't work at all.
These problems started suddenly last week.
View 2 Replies
View Related
May 4, 2008
For those who used it for a long time now. Do you think it is suited for critical development and professional websites. What about stability .. and scalability ?
What about migrating from Cpanel. Easy?
View 14 Replies
View Related
Oct 25, 2007
my LXadmin..
1st. I have a domain registered at domainsite.com.
2nd. I want to be able to setup my site in LXadmin.
There are 5 ip's
**.**.**.33
**.**.**.34
**.**.**.35
**.**.**.36
and one default web address, **.**.**.101
1st. I went and setup a ns1.mysite.com & ns2.mysite.com
2nd. I went to my registrar and setup custom nameservers
with the above ns's and I used the first 2 ip's.
All I can see is the apache of the default "root"
I can login through ftp and see the actual files though.
I have a little offer if someone can help me. If you can help me get this working I can set you up with space 5gigs or w/e. I am totally confused, I almost feel like cancelling this account.
If anyone knows about HyperVM & LXadmin then let me know and I would love your help. You must be very serious and truthful because I am going to provide you with logins and stuff to help me....
Please help if you can. Oh and its VPS, 40 gig & 600 gig bandwidth.
View 6 Replies
View Related
Jun 6, 2007
I just playing with lxadmin.
I noticed, that FTP settings looks there quite.... strange.
I created users (let's say his name is 'usr' with few domains: domain1.com, domain2.com).
I can't just login to ftp using username usr and his pass - I need to create FTP users for all domai names - so, I can't manage more domainnames within one session. It is normal, or maybe I made something wrong - if so, how to fix that.
View 4 Replies
View Related
Jun 6, 2009
which ones best though?
View 24 Replies
View Related
May 20, 2009
I am new with VPS, i was trying to install LXA on my new VPS after rebuilding it
This is what i typed in SSH
wget [url]
sh kloxo-install-master.sh
It worked out fine initially. It went on installing, updating, downloading and so on..
But finally got stuck at this point
11:02:43 (379 KB/s) - `lxawstats4400.tar.gz' saved [1143518/1143518]
Downloading Installappdata
error reading information on service gpm: No such file or directory
rm -rf /var/lib/mysql
View 3 Replies
View Related
Oct 12, 2009
This is to receive reviews about each of them for a VPS of:
60 GB of space
1 TB of traffic
Which is better LXadmin or Cpanel?
View 14 Replies
View Related
Aug 2, 2009
We've had a request to assist a transfer from LxAdmin to DirectAdmin.
We don't mind moving all the files and MySQL manually, however our main concern is copying the old emails.
All the settings (ie. mail forwarders, cron jobs) can be re-created.
how to move the MailDir from LxAdmin to DirectAdmin?
View 3 Replies
View Related
May 13, 2009
I just moved from shared to vps and I bought a managed vps with lxadmin. I have no idea how to access my lxadmin. All I was given was the ip of the vps
View 6 Replies
View Related
May 15, 2009
which of them is better on kloxo - lxadmin VPS?
APF or CSF OR OTHER?
View 6 Replies
View Related
Jun 26, 2009
i have a php script .this script worked in localhost and other hosting.
but dont work in my server.
my server in linux , lxadmin.
i a newbie from lxadmin.
this script run in browser. when user fill the need and press Botton, script must
connect to google server and Give My needs .
But afther the press botton , no do happend.
i think php.ini or server need to configure for this scripts.
View 3 Replies
View Related
May 14, 2009
i want to install lxadmin
i have run this comand:
#echo 0 >/selinux/enforce
#wget http://download.lxlabs.com/download/...tall-master.sh
#sh ./kloxo-install-master.sh
but http://ip:7777
is not up. h have disable iptables.
View 10 Replies
View Related
May 13, 2008
Does any one know of any link/url to a working demo of LxAdmin? Because LxLabs demo is always out of order I wanted to give LxAdmin a trial before ordering a Xen VPS from VPSLink. It irritates me that LxAdmin demo is never working
View 2 Replies
View Related
Jul 7, 2008
I recently purchased a VPS and was wondering which control panel I should ask my provider to install. Both are free, but I was wondering which one you guys preferred?
Also, which one uses less system resources (like RAM, etc)?
View 14 Replies
View Related