<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[OCS Solutions Forums]]></title>
	<link rel="self" href="http://forums.ocssolutions.com/feed/atom/"/>
	<updated>2010-03-25T14:03:03Z</updated>
	<generator>PunBB</generator>
	<id>http://forums.ocssolutions.com/</id>
		<entry>
			<title type="html"><![CDATA[Shell scripts using cron/rake]]></title>
			<link rel="alternate" href="http://forums.ocssolutions.com/topic/16/shell-scripts-using-cronrake/new/posts/"/>
			<summary type="html"><![CDATA[<p>I had a script running &quot;rake log:clear&quot; daily to clear out my Ruby on Rails log files, and it worked fine. This was kicked off by cron.</p><p>Eventually it quit working and&nbsp; the email notification I got was not a success message but the error message &quot;rake: command not found&quot;.</p><p>The response from technical support was:<br />&nbsp; Make sure that your script uses: #!/bin/bash<br />&nbsp; instead of: #!/bin/sh</p>]]></summary>
			<author>
				<name><![CDATA[rob]]></name>
				<uri>http://forums.ocssolutions.com/user/57/</uri>
			</author>
			<updated>2010-03-25T14:03:03Z</updated>
			<id>http://forums.ocssolutions.com/topic/16/shell-scripts-using-cronrake/new/posts/</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Backing Up the Databases]]></title>
			<link rel="alternate" href="http://forums.ocssolutions.com/topic/15/backing-up-the-databases/new/posts/"/>
			<summary type="html"><![CDATA[<p>Hi Robert</p><p><strong>BACKING UP DATABASES</strong><br />At my previous host I backed up my MySQL databases in the cPanel under &quot;Files&gt;Backups&gt;Partial Backups&gt;Download a MySQL Database Backup&quot;. Using this backup method I could very quickly and simply backup all my database files one right after another... boom .... boom .... boom, etc., very quick and easy. Restoring databases is almost as simple. Just hit the Browse&nbsp; button right there and upload and restore each database.&nbsp; I really like this method of backup and restore. No fuss, no hassle.</p><p><strong>PROBLEM:</strong><br />However, when I try to use the above backup method, the download file is only 20 bytes, instead of the several megabytes of the full-size database backup file. I have the same result on all the database files I try to back up. Is there some way to get this backup method working?</p><div class="quotebox"><cite>rob wrote:</cite><blockquote><p>Stephen,<br />We do have some guides on using the command line to backup and restore MySQL databases, located here:<br /><a href="http://wiki.ocssolutions.com/Importing_and_Exporting_MySQL_Databases">http://wiki.ocssolutions.com/Importing_ &#133; _Databases</a></p></blockquote></div><p>I have not used command line instructions very much, if at all. I am still trying to figure out what this page means. I&#039;m going have to read it more carefully and try to figure out what the instructions mean. For one thing, where do I enter those command line commands?</p><p><strong>phpMyAdmin</strong><br />I have used phpMyAdmin to export and import files to and from my computer, (although I&#039;m not certain which all options/checkboxes I&#039;m supposed to select.) and also to copy the contents of one database to another. (A great way to make a copy of the files to use for the test site). When trying to export a database as a backup, there are some many checkboxes to choose from, I&#039;m not to sure which to choose. I&#039;m still trying to study this out.<br />I did find this article <a href="http://fragments.turtlemeat.com/image2-mysql-database-backup-restore-phpmyadmin.php">How to backup your Mysql database with phpMyAdmin</a>. This tutorial shows different checkboxes that are marked in the phpMyAdmin export window than what comes up when I go to the Export window in my phpMyAmin Window. So I&#039;m a little confused as to which checkboxes should be chosen.</p><p>I really like my original version of backing up the databases because there are no checkboxes and no special keyboard commands. I really like just being able to click on a link and then start downloading the database files.</p><p><strong>PUTTY</strong><br />I have downloaded and installed puTTY, but am still struggling with it. It seems such a complicated way (that I haven&#039;t yet been able to figure out just to do a simple database backup. I&#039;m trying to learn how to use puTTy and I&#039;m trying to follow the instructions in you Wiki. So far I haven&#039;t yet got it figured out.</p><p><strong>MY PURPOSE</strong><br />Since I can&#039;t get my preferred method of database-backup to work, I&#039;m experimenting with your other two methods that you suggested,&nbsp; trying out both PuTTy and the phpMyAdmin to find some way that will be relatively easy to back up all my databases each time. Perhaps there&#039;s a way to easily or automatically backup that databases that I don&#039;t yet know about. </p><div class="quotebox"><cite>rob wrote:</cite><blockquote><p>Downloading and uploading large files can be a pain as well, but using tools like Tar and Zip might make this easier:<br /><a href="http://wiki.ocssolutions.com/Using_Tar_and_Zip_to_Upload_or_Download_Large_Websites">http://wiki.ocssolutions.com/Using_Tar_ &#133; e_Websites</a></p></blockquote></div><p>I am very familiar with ftp using Filezilla and have used it quite a bit. I have usually used Filezilla to download individual files, archived folders, and the website Full Backup.</p><p>Best Wishes,<br />Stephen</p>]]></summary>
			<author>
				<name><![CDATA[rob]]></name>
				<uri>http://forums.ocssolutions.com/user/52/</uri>
			</author>
			<updated>2010-01-15T07:10:20Z</updated>
			<id>http://forums.ocssolutions.com/topic/15/backing-up-the-databases/new/posts/</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Accessing Your Control Panel]]></title>
			<link rel="alternate" href="http://forums.ocssolutions.com/topic/14/accessing-your-control-panel/new/posts/"/>
			<summary type="html"><![CDATA[<p>Your control panel lets you control nearly every aspect of your website, including e-mail addresses, databases, statistics, and more.</p><p><strong>cPanel</strong></p><p>cPanel customers can use:</p><div class="codebox"><pre><code>http://www.yoursite.com/cpanel</code></pre></div><p>where yoursite.com is your domain name.&nbsp; You will be redirected to a secure link.</p><p>If you haven&#039;t moved your website yet, please use the link in your welcome letter.</p><p><strong>Webmin</strong></p><p>Webmin customers can use:</p><div class="codebox"><pre><code>http://www.yoursite.com:10000</code></pre></div><p>where yoursite.com is your domain name.&nbsp; You will be redirected to a secure link.</p><p>As with cPanel, if you haven&#039;t moved your website yet, please use the link in your welcome letter.</p>]]></summary>
			<author>
				<name><![CDATA[rob]]></name>
				<uri>http://forums.ocssolutions.com/user/2/</uri>
			</author>
			<updated>2009-12-23T02:48:44Z</updated>
			<id>http://forums.ocssolutions.com/topic/14/accessing-your-control-panel/new/posts/</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[How do I create and use a "hosts" file]]></title>
			<link rel="alternate" href="http://forums.ocssolutions.com/topic/13/how-do-i-create-and-use-a-hosts-file/new/posts/"/>
			<summary type="html"><![CDATA[<p>I read that to test that a website works (before transfering the domain name) that it is helpful to use a hosts file. I read your wiki article &quot;How to Use a Hosts File here: <a href="http://wiki.ocssolutions.com/How_to_use_the_Hosts_File">http://wiki.ocssolutions.com/How_to_use_the_Hosts_File</a> . However, there is no Hosts file in the Etc/host directory of my website.&nbsp; How can I create one to test out my Drupal websites (after I get them uploaded)? What should they be named, and what is the extension of the file name? Should the file have anything in it besides those two lines of code list on : <a href="http://wiki.ocssolutions.com/How_to_use_the_Hosts_File">http://wiki.ocssolutions.com/How_to_use_the_Hosts_File</a></p><div class="codebox"><pre><code>67.15.64.79 yoursite.com
67.15.64.79 www.yoursite.com</code></pre></div><p>Best Wishes,<br />Stephen</p>]]></summary>
			<author>
				<name><![CDATA[rob]]></name>
				<uri>http://forums.ocssolutions.com/user/52/</uri>
			</author>
			<updated>2009-12-23T02:41:46Z</updated>
			<id>http://forums.ocssolutions.com/topic/13/how-do-i-create-and-use-a-hosts-file/new/posts/</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[How do I find and log into my WHM control panel?]]></title>
			<link rel="alternate" href="http://forums.ocssolutions.com/topic/11/how-do-i-find-and-log-into-my-whm-control-panel/new/posts/"/>
			<summary type="html"><![CDATA[<p>Hi,<br />&nbsp; I just signed up for a Bronzed Shared Hosting account (which is said to have &quot;cPanel/WHM with Fantastico&quot;) and have received my &quot;Web Hosting Welcome Letter&quot; which had my account and password information. I&#039;ve logged in and saw my familiar cPanel. However, I saw no reference to the WHM in the welcome and information email. My question is, How to I find and log into the WHM for my account. <br />Note: I do not yet have my domain name transferred to this account yet. I want to wait on that until I get the website set up and make sure everything works before I transfer the Domain name.</p><p>Best Wishes,<br />Stephen</p>]]></summary>
			<author>
				<name><![CDATA[rob]]></name>
				<uri>http://forums.ocssolutions.com/user/52/</uri>
			</author>
			<updated>2009-12-23T02:40:43Z</updated>
			<id>http://forums.ocssolutions.com/topic/11/how-do-i-find-and-log-into-my-whm-control-panel/new/posts/</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Moving from my old host to new account on OcsSolutions the Slow way]]></title>
			<link rel="alternate" href="http://forums.ocssolutions.com/topic/12/moving-from-my-old-host-to-new-account-on-ocssolutions-the-slow-way/new/posts/"/>
			<summary type="html"><![CDATA[<p>I&#039;m mainly putting this here for others who might be in my same situation. (I&#039;m also hoping that the staff can tell me a quicker and easier way <em>(without having to incur additional fees)</em>, but not expecting it. </p><p>In my conversation in the sales support ticket area Robert had said,<br /></p><div class="quotebox"><blockquote><p>As for moving your site, you essentially have 3 options:<br />1) Move the files via FTP and the databases via phpMyAdmin yourself<br />2) Take a backup via cPanel, download the backup file, then restore it in cPanel - this is probably the easiest and I&#039;d recommend this route<br />3) Pay us to move it</p></blockquote></div><p>Here is my situation. #2 above is not an option, as describe below.<br />cPanel (supposedly) allows these types of backups:</p><p><strong>A. Full Back</strong><br /></p><div class="quotebox"><blockquote><p>A full backup includes all of the files in your home directory, your MySQL Databases, and your email forwarders and filters. You can backup your account to preserve your data or to move your account to another cPanel server.</p></blockquote></div><p><strong>B. Partial Backups</strong><br /></p><div class="quotebox"><blockquote><p>Download a Home Directory Backup</p></blockquote></div><p><strong>C. Database Backups</strong><br /></p><div class="quotebox"><blockquote><p>Download a MySQL Database Backup</p></blockquote></div><p><strong>But this is the Reality</strong><br />I&#039;ve tried before, and even earlier today, to do a &quot;B. Partial Backups - Download a Home Directory Backup&quot; via cPanel Backups. (This method does not create a backup file in my website files, but instead always creates and simultaneously downloads the backup file directly to my computer.&nbsp; Most, if not all, of the time I&#039;ve tried to do this Partial Backup of the home directory, the download breaks in the middle of the download and I only get a partial (sometimes 1/2 to 2/3, more or less) of the backup file. When I try to extract the downloaded file, I get a message that says,&nbsp; <br /></p><div class="quotebox"><blockquote><p>Data error in &#039;backup-winterssewing.com-12-14-2009.tar&#039;. File is broken</p></blockquote></div><p> </p><p><strong>Restoring Full or Partial Backups Not Possible</strong><br />If the Partial backup would create a backup file to my computer, I could ftp it to my computer, but I can find no way to do this.</p><p>I can do a Full Backup to my websites home directory and I can ftp them to my computer. However, I have no way to upload and extract them and quickly get my website quickly going again.</p><p><strong>The Slower, but possible, way to transfer from old host to the new host.</strong><br />This leaves me to do this.<br />1. Backup each database to my computer.<br />2. Create a new user and new databases (which are named the same as on the old account) on my new account.<br />3. Restore each database.<br />4. On my old host in the files section, I can either archive all the files in the public_html/www files section into one large archive file, then ftp that to my computer, and then upload or ftp that to the new cpanel account and extract that whole file into the&nbsp; </p><p>OR I can archive each of my websites in that public_html/www files section into a separate archive file and then ftp each to my computer and then upload and extract each on to the public_html files section of the new account.<br />5. I also need to create an archive of the files in the non-public area, ftp them to my computer and then upload and extract them to the non-public area of the home directory.&nbsp; <br />6. I need to make sure all the databases are still connected to each Drupal installation. Since I named my account the same as it was on the old host, I would imagine that everything should work here.<br />7. Then I need to test each website to make sure it is working. (more about that in another message.)<br />8. When I&#039;m pretty sure that the websites are working, then I need to change the Domains to point to these new websites.</p><p>Best Wishes<br />Stephen</p>]]></summary>
			<author>
				<name><![CDATA[rob]]></name>
				<uri>http://forums.ocssolutions.com/user/52/</uri>
			</author>
			<updated>2009-12-23T02:39:34Z</updated>
			<id>http://forums.ocssolutions.com/topic/12/moving-from-my-old-host-to-new-account-on-ocssolutions-the-slow-way/new/posts/</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Rebooting Your VDS]]></title>
			<link rel="alternate" href="http://forums.ocssolutions.com/topic/7/rebooting-your-vds/new/posts/"/>
			<summary type="html"><![CDATA[<p>If you need to reboot your VDS, simply use the &#039;reboot&#039; command via SSH, or the reboot functionality in Webmin or cPanel.</p><p>If you cannot access your server and need to reboot it, you can perform an automatic reboot here:</p><p><a href="https://secure.ocssolutions.com/reboot.html">https://secure.ocssolutions.com/reboot.html</a></p><p>Please note that if your credentials don&#039;t match, the automatic reboot won&#039;t take place and we&#039;ll perform the reboot manually upon verification for your account security.</p>]]></summary>
			<author>
				<name><![CDATA[rob]]></name>
				<uri>http://forums.ocssolutions.com/user/2/</uri>
			</author>
			<updated>2009-11-07T01:40:28Z</updated>
			<id>http://forums.ocssolutions.com/topic/7/rebooting-your-vds/new/posts/</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Sending mail trough python app]]></title>
			<link rel="alternate" href="http://forums.ocssolutions.com/topic/6/sending-mail-trough-python-app/new/posts/"/>
			<summary type="html"><![CDATA[<p>Hi all,</p><p>I am playing with django but can&#039;t get it to send any emails...<br />When i try to send a mail trough python and run in it in ssh all goes well and the mail just works and gets send.<br />But when i use the same script in django i get an error namely: unable to select on socket.</p><p>Has anybody got a clue what might go wrong?</p><p>Your Sincerely,</p><p>Tom</p>]]></summary>
			<author>
				<name><![CDATA[rob]]></name>
				<uri>http://forums.ocssolutions.com/user/37/</uri>
			</author>
			<updated>2009-11-07T01:38:28Z</updated>
			<id>http://forums.ocssolutions.com/topic/6/sending-mail-trough-python-app/new/posts/</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Setting up Webdav]]></title>
			<link rel="alternate" href="http://forums.ocssolutions.com/topic/4/setting-up-webdav/new/posts/"/>
			<summary type="html"><![CDATA[<p>How do you set up webdav on the server?&nbsp; I couldnt find any instructions on the site.</p>]]></summary>
			<author>
				<name><![CDATA[rob]]></name>
				<uri>http://forums.ocssolutions.com/user/32/</uri>
			</author>
			<updated>2009-10-28T23:59:49Z</updated>
			<id>http://forums.ocssolutions.com/topic/4/setting-up-webdav/new/posts/</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Postgresql]]></title>
			<link rel="alternate" href="http://forums.ocssolutions.com/topic/5/postgresql/new/posts/"/>
			<summary type="html"><![CDATA[<p>Hi all,</p><p>Since i have a shared hosting account i guess i need to post my question here.<br />Because of some unknown reason i can&#039;t login into phppgadmin or my postgre database trough an app, no matter which combination of username or passwords i try.<br />What is the reason for it, or how can i fix this?</p><p>Greetings,</p><p>Tom Sleebe</p>]]></summary>
			<author>
				<name><![CDATA[rob]]></name>
				<uri>http://forums.ocssolutions.com/user/37/</uri>
			</author>
			<updated>2009-10-28T22:52:45Z</updated>
			<id>http://forums.ocssolutions.com/topic/5/postgresql/new/posts/</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Setting up email in PHP]]></title>
			<link rel="alternate" href="http://forums.ocssolutions.com/topic/3/setting-up-email-in-php/new/posts/"/>
			<summary type="html"><![CDATA[<p>I&#039;m trying to send email from a PHP / codeigniter app.&nbsp; I&#039;m running into some problems - I&#039;m not sure about the email settings (e.g.&nbsp; smtp server, etc).&nbsp; Also are there any php config setting that need to be set?</p><p>The email appears to be sending,&nbsp; according to my debug statement output:</p><p>220 smtp104.sbc.mail.gq1.yahoo.com ESMTP <br />hello: 250-smtp104.sbc.mail.gq1.yahoo.com<br />250-AUTH LOGIN PLAIN XYMCOOKIE<br />250-PIPELINING<br />250 8BITMIME<br />from: 250 ok<br />to: 250 ok<br />data: 354 go ahead</p><br /><p>The error,&nbsp; right after the above message,&nbsp; I get when trying to send is:</p><p>451 See <a href="http://pobox.com/~djb/docs/smtplf.html.">http://pobox.com/~djb/docs/smtplf.html.</a> <br />The following SMTP error was encountered: 451 See <a href="http://pobox.com/~djb/docs/smtplf.html.">http://pobox.com/~djb/docs/smtplf.html.</a> <br />Unable to send email using PHP SMTP. Your server might not be configured to send mail using this method.</p><p>I went to the url and added linefeeds but that didnt seem to help any.<br />Any ideas about this??</p><p>thanks,<br />Dave</p>]]></summary>
			<author>
				<name><![CDATA[DaveP]]></name>
				<uri>http://forums.ocssolutions.com/user/32/</uri>
			</author>
			<updated>2009-10-14T14:05:26Z</updated>
			<id>http://forums.ocssolutions.com/topic/3/setting-up-email-in-php/new/posts/</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Welcome to the new OCS Solutions forums!]]></title>
			<link rel="alternate" href="http://forums.ocssolutions.com/topic/2/welcome-to-the-new-ocs-solutions-forums/new/posts/"/>
			<summary type="html"><![CDATA[<p>After several iterations and internal testing trials, we have finally settled on a suitable forum software and layout for our online community.</p><p>Unfortunately you will have to re-register if you had an account before.&nbsp; We encourage you to NOT use the same password you use on your hosting account on the forums for security reasons.</p><p>Please remember that while OCS staff moderates these forums, it is not suitable for emergency help requests.&nbsp; For that, please open a ticket @ <a href="http://www.ocssolutions.com/contact.php">http://www.ocssolutions.com/contact.php</a></p>]]></summary>
			<author>
				<name><![CDATA[rob]]></name>
				<uri>http://forums.ocssolutions.com/user/2/</uri>
			</author>
			<updated>2009-08-02T21:57:38Z</updated>
			<id>http://forums.ocssolutions.com/topic/2/welcome-to-the-new-ocs-solutions-forums/new/posts/</id>
		</entry>
</feed>
