Is Python Required

Dec 26, 2008

I have Python on my server and it is using the most CPU and Memory on my server than any other process. I don't believe any of my clients use it so I am planning to delete it.

I am just wondering, does CentOS 5.2 (With cPanel) require Python, or is it not required so I can delete it without any problems caused?

View 14 Replies


ADVERTISEMENT

SSH/Python

Aug 8, 2007

I am following this guide to make my sitemap:
[url]

Here is the config file I am using (edited for my site):

Code:
<?xml version="1.0" encoding="UTF-8"?>
<!--
sitemap_gen.py example configuration script
This file specifies a set of sample input parameters for the
sitemap_gen.py client.
You should copy this file into "config.xml" and modify it for
your server.

********************************************************* -->

<!-- ** MODIFY **
The "site" node describes your basic web site.
Required attributes:
base_url - the top-level URL of the site being mapped
store_into - the webserver path to the desired output file.
This should end in '.xml' or '.xml.gz'
(the script will create this file)
Optional attributes:
verbose - an integer from 0 (quiet) to 3 (noisy) for
how much diagnostic output the script gives
suppress_search_engine_notify="1"
- disables notifying search engines about the new map
(same as the "testing" command-line argument.)
default_encoding
- names a character encoding to use for URLs and
file paths. (Example: "UTF-8")
-->
<site
base_url=[url]
store_into="domains/mydomain/public_html/sitemap.xml"
verbose="1"
>
<!-- ********************************************************
INPUTS
All the various nodes in this section control where the script
looks to find URLs.
MODIFY or DELETE these entries as appropriate for your server.
********************************************************* -->
<!-- ** MODIFY or DELETE **
"url" nodes specify individual URLs to include in the map.
Required attributes:
href - the URL
Optional attributes:
lastmod - timestamp of last modification (ISO8601 format)
changefreq - how often content at this URL is usually updated
priority - value 0.0 to 1.0 of relative importance in your site
-->
<url
href=[url]
changefreq="monthly"
priority="1"
/>

<url
href=[url]
changefreq="monthly"
priority="0.8"
/>

<url
href=[url]
changefreq="daily"
priority="0.8"
/>
<url
href=[url]
changefreq="yearly"
priority="0.8"
/>
<!-- ********************************************************
FILTERS
Filters specify wild-card patterns that the script compares
against all URLs it finds. Filters can be used to exclude
certain URLs from your Sitemap, for instance if you have
hidden content that you hope the search engines don't find.
Filters can be either type="wildcard", which means standard
path wildcards (* and ?) are used to compare against URLs,
or type="regexp", which means regular expressions are used
to compare.
Filters are applied in the order specified in this file.
An action="drop" filter causes exclusion of matching URLs.
An action="pass" filter causes inclusion of matching URLs,
shortcutting any other later filters that might also match.
If no filter at all matches a URL, the URL will be included.
Together you can build up fairly complex rules.
The default action is "drop".
The default type is "wildcard".
You can MODIFY or DELETE these entries as appropriate for
your site. However, unlike above, the example entries in
this section are not contrived and may be useful to you as
they are.
********************************************************* -->
<!-- Exclude URLs that end with a '~' (IE: emacs backup files) -->
<filter action="drop" type="wildcard" pattern="*~" />
<!-- Exclude URLs within UNIX-style hidden files or directories -->
<filter action="drop" type="regexp" pattern="/.[^/]*" />
</site>
I have put the config file and the python script file in the directory /domains/mydomain/public_html/

Now I am trying to run the script via SSH. I have logged in fine to the admin account, and I am running this command:

Code:
python domains/mydomain/public_html/sitemap_gen.py --config=config.xml
Here is what is returning:

Quote:

Reading configuration file: config.xml
[ERROR] Cannot read configuration file: config.xml
Configuration file errors -- exiting.

View 11 Replies View Related

Python On Virtuozzo

Jun 16, 2009

We are having an issue when trying to cache Fedora Core 10.

Code:

vzpkg create cache fedora-core-10-x86_64
Creation OS template cache for fedora-core-10-x86_64 template
Error: Python directory not found in /vz/pkgenv/rpm46x64
Error: Can't find environment directory /vz/pkgenv/rpm46x64: No such file or directory

The only recent changes that have been made is the Hostname. Before making this change, I was caching OS templates like it was christmas.

View 1 Replies View Related

Python On Centos 5.2

Mar 27, 2009

i have been thinking of getting dedicated server and was wondering is it easy to install python on CentOS or is it already installed?

View 8 Replies View Related

Django / Python

May 28, 2008

to enable these on a shared cpanel server (which is using php 5x, apache 2x, suphp)

python
mod_python
django

How can I enable all these 3 safely without any negative conflicts?

View 3 Replies View Related

Python Host

Nov 24, 2008

I currently host my site with Sharkspace [url] and have been very very pleased. I would recommend them without any hesitation. PHP, MySQL, Cpanel, great and affordable hosting packages.....

However, I want to start developping using Python and the Django framework.
With Sharkspace, Mod_python is not enabled. Django framework cannot be used on their shared hosting servers.

So, I need recommendations on a host who has Mod_python enabled (LoadModule python_module modules/mod_python.so)and allows Django to be installed.

I was told by Sharkspace that Django requires root access. I am not very familar with this framework as I have been using PHP and Zend Framework up until this point.

View 7 Replies View Related

Mysql-python

Mar 2, 2007

If a shared hosting server has mod_python enabled, can we assume that it also has the MySQLdb module installed?

I mean, whats the point in having mod_python if theres no way to connect to a database?

View 0 Replies View Related

Adventures In Updates-Yum/python Fun

Dec 27, 2007

this only shows up in Centos 5, it seems.

You do the good ole "yum update"

and...something very bad happens:
Loading "installonlyn" plugin
>> Loading "rhnplugin" plugin
>>
>>
>> Could not find any working storages.

Ok..this is one of the times google fails me..I guess because this is a fairly new problem.

If you are lucky:

Visit the rpm repo of your choice..manually download:

python-sqlite*
and
sqlite*

and force a re-install:

rpm -ivh python-sqlite* --force
rpm -ivh sqlite* --force

Sadly..I did find that..and it was tried..and did not work for me.

The fix? Ohhh...you gonna love this:

I completely removed python and everything that depends on it.

Drastic? Oh yeah. But after wasting two days with fixes that did not help...I figured this was the only way. Drastic measures were called for.

It was. It worked. You put everything back..and it is fine.

Oh..I noticed yum.3.2.1is available..and decided to give that a shot as well. It is fine.

Certainly not as much fun as the time I decided to attempt a upgrade of glib2 on a vps..but close.

View 1 Replies View Related

Disable Python In Cpanel

Aug 26, 2007

how may in disable pytion in cpanel?

View 4 Replies View Related

Need A Hosting Provider For Python, CGI, Lot Of Emails

Feb 13, 2009

I plan to develop a nice website in Python,AJAX with backend as mySQL database. This website is gonna send out a lot of notifications depending on the kind of activities that every account/logins does.

I am not very sure whats the business going to be for this website but would want to wait for few months after launching.

So, Please suggest me a cheap Hosting provider who can help me host my code in Python , MySQL database and also allow 100s of emails every day. I would also want to register a domain for my website too. Would everything comes as package?

I should also have 100GB space atleast to be prepared to grow !

I have not hosted any of my code yet though have written a lot which runs in my system only. Please guide me folks! thank you.

View 7 Replies View Related

Python Error On Virtuozzo Container

Oct 22, 2009

While Installing Applications on VPS Container On virtuozzo I`am running Into a error given below.

Operation install with the Env(s) "web209" is finished with errors: Can not install packages: exec failed: Error: python-devel conflicts with python < 2.4.3-27.el5 Error: Missing Dependency: gnutls = 1.4.1-3.el5_2.1 is needed by package gnutls-devel Error: Missing Dependency: nspr = 4.7.4-1.el5_3.1 is needed by package nspr-devel Error: /usr/share/vzyum/bin/yum failed, exitcode=1 .

View 0 Replies View Related

Linux Host Supporting Ruby, Php 5 And Python

Oct 24, 2007

Any good stable, secure Linux web host providing the same you know of?

View 3 Replies View Related

Apache :: Recognizing Files Coded In Python

Jan 31, 2015

I have installed mod_python and the mods-enabled directory in the Apache2 directory looks correct (links to the available directory and the .load file), but I can't get Apache2 to process Python coded files.

I am missing something, but don't know what.

View 4 Replies View Related

CGI Scripts(Perl/Python) Are Not Able To Run On Plesk Windows Server 2003

Jun 23, 2008

I have a Windows 2003 dedicated Server with Plesk Control panel

I am not able to execute CGI scripts(Perl/Python/CGI) on it

when I try to execute on it

I get these errors:

Access denied to invalid credentials 401 Error

Error is 401.3 ACL restrictions....

what I tried is

I have tried to change IIS settings for IUSR_name

and also I tried editing in httpdconf file for CGI settings and restarted the server...

but all of no use

I am executing these scripts in CGI-BIN folder and outside of it..

View 9 Replies View Related

Plesk 12.x / Linux :: Backup Restore Error - Python Is Not Supported

Aug 19, 2014

I cant restore my back up. Get following warnings:

Warning:

php_version 5.3 is not supported. It will be replaced with php_version 5.4 for the following service plans: Unlimited, Admin Simple, Default Domain, Default Simple, Web Presence Builder, SiteBuilder

Warning:

python is not supported. It will be disabled for the following objects: Service plan 'Unlimited', Service plan 'Admin Simple', Service plan 'Default Domain', Service plan 'Default Simple'

Warning:

The component fail2ban is not installed. It will be disabled for the following objects: Server settings

Warning:

php_version 5.3 is not supported. It will be replaced with php_version 5.4 for the following websites: swen.flugzeugbilder.orgClick to expand...

View 3 Replies View Related

Plesk 12.x / Windows :: Slow Website Performance With Perl And Python Installed On IIS

Jan 3, 2015

I noticed that all my client websites were as slow as a snail snot before uninstalling perl and Python.

Is it normal that perl and python components slowing down IIS?

I search online, it is a common scenerio for those two to slow down IIS.

After I uninstalled perl and python as well as awstat, the site are working as fast as before.

View 2 Replies View Related

Plesk 11.x / Linux :: Python Permissions To Write Files In Another Web Space On Same Server

May 15, 2014

I have a python script that generates images and is able to write them into a directory on the same web space

However, I would like the same script to write files into another directory located in the web space of another domain on the same server.

For example, script lives here...
/var/www/vhosts/domain1.com/httpdocs/scripts/myscript.py

this works...
/var/www/vhosts/domain1.com/httpdocs/scripts/images/

this fails...
/var/www/vhosts/domain2.com/httpdocs/web/images/

The directory structure already exists, so there is no need to create any new directories

I have tried setting permissions for the destination "images" directory to 777 and that didn't work.

Do I need to specify something within Plesk to enable it to write to another directory?

View 6 Replies View Related

Plesk 12.x / Windows :: Disable Php Perl Python For Resellers While Create Plan

May 19, 2015

we use plesk 12 and server 2012 r2 i want know how can i disable php perl python cgi that resellers can not enable it for their users when add new plan, i do not want my users and users resellers access to php perl python cgi,

View 1 Replies View Related

How To Get Rid Of Authorization Required

Jan 25, 2007

I have folders / files on my website that I want people to be able to access, but when I try to access them via a browser I get a login prompt, "Your not welcomed here", and a 401 Authorization Required page. How can I make it (using SSH or FTP) so that these files are viewable from the browser? My server is running Fedora.

View 7 Replies View Related

Well Supported VPS Required

Nov 3, 2007

I moved a web site i developed from shared hosting at fasthosts due to performance issues and beacause I needed a more flexible platform.

I decided to go with webfusion as i'd seen them in the press everywhere.

Everything was working fine and performance was good - however the emails sent from the site (worked fine on shared hosting)- using php mail bounced. was getting ...

<sal@goldplateuk.com>:
213.171.216.118 does not like recipient.
Remote host said: 550 <anonymous@lvps212-241-216-214.vps.webfusion.co.uk>:
Sender address rejected: Domain not found
Giving up on 213.171.216.118.

However - sending to a hotmail address would work.

I referred to support - first line said they'd have to talk to second line support and get back to me.

Eventually - they called back and basically said everything looks ok on the server - they don't know why it's happening - do some analysis of your own - go on google.

Generally support isn't too hot - 2 days for a reply on a ticket. To cut a long story short -

does anyone know of a VPS host who would know what was wrong and would be able to help someone who is new to the VPS scene as i need to move host fast as the customer wants this resolved asap.
£25/month top budget.

View 3 Replies View Related

Mailserver / Admin Required

Aug 1, 2008

I'm having some serious issues.. I moved to a new dedicated server company and found out that the IP block I was on was blacklisted with 5 anti-spam lists.

However, the company is great and they have managed to get the IP block out of every single black list.

However, I am still having issues. My server does not seem to be listed on any blacklists but emails sent out to various places, get bounced back with the following types of errors.

Any suggestions or advice? Any server administrators who think they can fix this? Please PM me with your quote.

Code:
SMTP error from remote mail server after initial connection:
host umip1.um.edu.my [202.185.111.224]: 554 umip1.um.edu.my

Code:
SMTP error from remote mail server after initial connection:
host mailfilter.hi-light.com.tw [210.71.187.212]:
554-IP650-02.hibox.hinet.net
554 Your access to this mail system has been rejected due to the
sending MTA's poor reputation.

Code:
SMTP error from remote mail server after initial connection:
host gateway.kaf.com.my [203.109.48.229]: 554-gateway.kaf.com.my
554 Connections from your server *ip removed* are being refused due to poor reputation.

View 5 Replies View Related

Mod_rewrite - Restart Required

Apr 11, 2008

i have a bunch of rewrite rules that work fine on my dev server but when i upload to production server they dont work. is a restart of apache required?

im on a dedicated box so this shouldnt be a problem, but how do people on shared accounts do this then?

View 1 Replies View Related

Curses RPM For CENTOS4.4 Required

Jul 11, 2007

I am using CentOS release 4.4 (Final) with Plesk 8 Hosting Control Panel. I want to install MTOP for MySQL monitoring which requires Curses.

[root@cll mtop-0.6.6]# perl Makefile.PL
Warning: prerequisite Curses 0 not found.
Writing Makefile for mtop

I need Curses rpm for CentOS 4.4, please give me that rpm so I can proceed next.

I also need Term::ReadKey 2.1 rpm for CENTOS4.4

View 2 Replies View Related

RegEx Required For WordPress URL Redirection

Nov 5, 2009

With new installation of WordPress, I started Permalinks as "/%year%/%monthnum%/%day%/%postname%/", but now I've decided to change it to "/%postname%/"

Existing URLs
Code:
[url]
New URLs
Code:
[url]

but I don't want to break existing URL, so I decided to have a new rule defined to do this, here is how my .htaccess currently look...

Code:
RewriteEngine On
RewriteBase /

RewriteRule ^([0-9])/([0-9])/([0-9])/([0-9a-zA-Z-]+/)$ /$4 [R]

#uploaded files
RewriteRule ^(.*/)?files/$ index.php [L]
RewriteCond %{REQUEST_URI} !.*wp-content/plugins.*
RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [L]

View 1 Replies View Related

Rack Space Required In GlobalSwitch 1 Or 2

Jul 27, 2009

We are an established owner of three data centres outside of London. We are looking at either a half or full lockable rack in either Global Switch 1 or 2 (ideally with 24/7 managed hands) in order to terminate a backhaul circuit there.

We are also interested in a similar arrangement in TH-E.

We only require around 2 amps as the space will only house an edge router and switch for inter/cross connects.

View 9 Replies View Related

Good Dedicated Server Required

Oct 24, 2008

Due to problems with our current hosting company we are desperate to move our site to a dedicated server.

I am a UK based company with a .co.uk website.

Can anyone recommend a company?

How long does the change over take?

How much down time can I expect during the change over period?

View 11 Replies View Related

Low Cost VPS Engine Required - Hypervm Or Other

Jun 13, 2008

I require a VPS system for my main dedicated (Softlayer, 4GB ram - to become 8gb ram after implementation, Dual Xeon 4 CPU).

I need to decide whether to use HyperVM (Lxlabs) or some other sort of system (Not Viruozzo had a bad experience with them a few months ago). I want something good and easy setup and efficient. I don't require EYE-CANDY.

I need to know what you recommend and what is easy to setup. I could also pay a third party organization for setting it up (if they have the knack for it and experience).

I would like to know everyone's experience (hosts and users) on what they like or prefer (except Virtuozzo/Parallel which I wont even consider anymore).

Also my main server has CPanel with around 100 web sites already on. Can I install hypervm or such on the existing server or do I need a fresh server for the same. The VPS accounts based on hypervm or such will end up having cpanel vps licensing anyhow since I am pro-CPanel (anti Parallel) (No plesk)

View 2 Replies View Related

Best Email Hosting (no Web Or Other Required) Provider

Jul 25, 2008

Wondering anyone can share experience of best email hosting provider?

current our website sends around 500 email per day (user rego, password, invoice etc) and we use google apps, but it is very unreliable and often blocked by hotmail.

our requirements will be
- high throughput for smtp outgoing
- US based, ideally TX based
- support alias

we do NOT need thousands account, around 15 will be enough,

View 3 Replies View Related

Hosting Required To Support Php 5.2* + And PDO_MYSQL

Aug 4, 2007

My current host has just shafted me by discontinuing PDO_MYSQL support on my setup without warning (my sites now don't work and they won't do anything to rectify it).

I found another host and asked sales about the PHP version and whether PDO_MYSQL was available and was given mis-information, so I'm now cancelling the service I signed up for this morning.

I need:

PDO_MYSQL (most people only support PDO with sqllite!).
PHP 5.2*+
Ability to install pear modules.

View 5 Replies View Related

Windows Host Required For Developer

Oct 30, 2007

Ive been searching around recently for a webhost to setup my online development area. The following are my requirements, so if you could point me in the right direction i would be extremly grateful!

Windows Hosting (durr! at least 2 gig space/50 gig bw).
ASP.NET 2.0 & AJAX 1.0 (3.5 would be even better, but i can wait until it comes out of BETA).
SQL 2000/2005 (I will need upto 10 databases, but none of these stupid 100mb database limits. I would prefer if space as taken out of my web space.
ISAPI_REWRITE module (i like to make pretty urls!).

I would prefer UK based servers, but i'll make do with US.

View 11 Replies View Related







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