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
ADVERTISEMENT
Mar 5, 2009
The short: Professional, honest, and competent. I've learned that when dealing with VPSes, if you want to be fancy you need to tolerate problems. While Icertainly had some interesting issues [url] with Ubiquity, besides a few of them they fall into the categories of 'stuff happens' and 'should get a dedicated server, instead'. It ran two of the most active adult communities in the world without a hitch. Except my members are addicted to them like crack and 15 minute lag issues are the end of the world for some : )
So now, four months after I left Acceleratedweb for Ubiquity [url]I am the proud owner of an overstock server from Ubiquity and am reviewing their VPS.
As the first link suggests - it wasn't my first shot with Ubiquity. I think that says a lot for making "If you ever want to come back." offers. They now have $125/month of my money, most of that guaranteed (I dislike having only one host so am probably going to try poking Futurehosting again after Lenny becomes a VPS install option there, or maybe Steadfast).
I really appreciate Ubiquity's patience with me while I learned how to self manage. I've come to detest control panels and have gotten rather good at it, especially after custom designing my own LAMP stack (handled over four thousand php page landings and forty thousand queries a minute from seventy connections... bad AJAX is a good DDOS simulation).
Typical Response Time: Ten minutes or so - pretty fast, though resolution can often be longer. The clock on vz010 is off by six hours on reboot. Very annoying.
General attitude: Not as individually detailed as AcceleratedWeb was, but this is okay, since I know more on my own now. Beyond that, they are generally pleasant compared to other VPS host's I've tried.
Server ping: Originally around 15 milliseconds. 40 now, and the same to my new server -
I wonder if echo requests or replies are throttled. I'm not sure if I'm a good judge here - the forums rarely take more than 2 mbps during any given minute unless I'm downloading a backup.
Server uptime: There was a crash a few days after I moved the forums to the VPS. November was around 99% with that, but otherwise it's closer to 99.8%, if you count occasional local outages. There is a router in between their network and their VPSes which sometimes goes haywire, which seems to be the main culprit.
Server speed: This is a bit tricky. Ubiquity only gives you access to one core. This may seem bad, but occasionally VPS members get hoggy, do you want one person out of thirty bringing your VPS down or one person out of four?
In the end, raw disk bandwidth is what counts for performance for me. The VPS server itself has a monstrous amount of RAM making this, usually, a non-issue. Occasionally though another VPSer would do something disk-heavy enough for us to suffer. "Get dedicated" <- we just did, that's why this review is here : )
Security: Ubiquity only took my root password when trying to diagnose the mystery disappearing disk space issue. They run a RAID and perform daily backups, and their control and billing software has no obvious security issues (though their billing software is plenty funky in other ways).
Price: Futurehosting is a bit more expensive but offers the future protect deal, while Ubiquity only permits one backup via the control panel. Pretty competitive for what is offered and allowed.
----
I did have issues with Ubiquity. Their DNS servers fritz occasionally. There was the mysterious disk issue that caused me to leave them in the first place. The server crash really made me grit my teeth. The system clock on vz010 gets set ahead 6 hours on reboot - very annoying (and the butt of a lot of time travel jokes on my forums). Even though that only happened twice. There are lag spike issues, but it never brought the forums down after the first time and even then it was resolved within 15 minutes.
Something I've learned and made it a bit of a mantra. Tolerate mistakes, cheap, do what you want - pick two. Or better, a good balance between them.
The support staff is both professional and, in general, technically competent. If something is over someone's head, it happens, it gets forwarded on and is generally dealt with. The only thing I really blame them for is letting vz010's clock be off for six hours after I notified them - but they were apparently rather busy.
----
I looked over dozens of VPSes for the criteria I wanted, and paid for several.
I needed a US host, in a fairly liberal state - I do not want my server hijacked by puritan authorities as had happened in Florida and Pennsylvania. I needed to host adult content, with an irc policy that makes sense. I needed to run Debian Lenny, and manage it on my own.
Out of all of them, Ubiquity was the only one that let me do everything I needed to, reliably and with confidence, for a price I could comfortably afford.
Not sure what else could matter, in the end. : )
View 0 Replies
View Related
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
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
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
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
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
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
View Related
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
Aug 26, 2007
how may in disable pytion in cpanel?
View 4 Replies
View Related
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
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
Oct 24, 2007
Any good stable, secure Linux web host providing the same you know of?
View 3 Replies
View Related
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
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
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
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
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
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
Jul 24, 2008
has anyone successfully updated from bind9.2.x to BIND 9.5.0-P1? Were there any problems regarding settings, zone files, etc etc? Can you explain the process in detail for the update? One of my customers wishing to have this done, is running CentOS, I assume yum would be the best course of actions?
View 14 Replies
View Related
Dec 13, 2007
An important cPanel update was released a short while ago - [url]
Please be sure to upgrade.
View 3 Replies
View Related
May 11, 2007
When you are hosting websites/game servers and then updates on your server pops up. What do you do? Restart the server and kick everyone off the server for 10min? Or leave it?
Whats the best course of action?
View 10 Replies
View Related
Nov 8, 2007
Lately we have been receiving a lot of complaints from our users who do not wish to update their scripts. I have been telling those users that they have to keep their scripts up to date if they want to avoid having that script exploited or used to send spam or other malicious intentions. The ramifications of a single user on a server not keeping their script up to date affects all of the users on the server.
I am just wondering how other hosting providers handle this. When a client threatens to leave because you don't allow them to run an outdated script, what actions do you take to try and keep the client?
View 10 Replies
View Related
Jul 17, 2007
I have a Windows VPS account with a well-known hosting company. According to their knowledgebase, they "apply Microsoft security updates directly from the hardware node. For this reason, they are not able to be applied from within your VPS."
I discovered this after attempting to apply a Service Pack on my VPS, which messed up my VPS. Now that I've learned this the hard way, here's my question: Is this true with other Windows VPS hosting companies too?
While I understand that I'm responsible for what I update on my VPS, I'm frustrated that the hosting company doesn't take more steps to prevent this from happening...
View 10 Replies
View Related
Nov 19, 2007
cPanel has released a very important update a short while ago. I don't normally post when updates are released, but this is one that should not be missed. More information can be found here:
[url]
and here:
[url](not sure when this will be updated).
Stay safe.
edit: the *second* I posted this, I found out there will be another tomorrow. Keep your eyes on layer1.cpanel.net.
View 14 Replies
View Related
Jul 26, 2007
I've been trying to get any reviews on ahosting.biz services here on the forum, but the last thread where the poster was complaining about the limits of emails sent from their reseller accounts failed to find anything. Any updates?
View 10 Replies
View Related
Aug 17, 2007
I have been with primaryvps since May and in last two months I was very busy... and then came back from vacation, it was working fine for a few days... indeed, I could access my server as late as last night. But then my server is down today, with empty page at primaryvps.com and there's nothing else.
So I got nervous and came here to check... and I realized that a lot of people had troubles with them, perhaps more than I did, but then are they really going out of business? As a customer I received no warning of any kind, though.
Any certain info on their current status would be appreciated. I wrote them (support and victor's email) but didn't get responses... In the past they replied very fast, so there's something strange going on for sure...
View 14 Replies
View Related
Nov 6, 2009
I'm running Plesk 9.2.2 & using the supplied AWStats install. Where will I find the configuration that dictates when AWStats will be updated? It's currently updating at 3.36am daily, & I'd like to set it to hourly. Can't find anything in the root or psaadm crontabs & not sure where else to look.
View 5 Replies
View Related
Oct 1, 2008
to install secuity patches for each VPS hosted on single host or appling it to host running multiple VPS is enough.
Does same applies to firewall related software..Use it for individual VPS on single host?
View 1 Replies
View Related
Nov 12, 2007
Basically I do all my updating now. I have a VPS with...*GASP*...godaddy and their policy is you do all the updating to your server yourself. They will not help you in any way unless you pay their "extra special services team" 80 bucks an hour.
Now, I'm not that much of a server genius, I can find my way around and do certain updates. I'm just tired of doing it and also have a huge fear that I'll screw something up.
Is there a company that will do a full switchover from godaddy to their service, does all the updates and installs programs for a small fee for you? I also need one that is comparable in price. I'm paying 52 bucks a month now.
View 5 Replies
View Related