For those of you who are unaware of the difference between a Megabyte (MB) and a Megabit (Mb), here’s a quick 101: In my line of work, I often hear people confuse the two or even think that they’re the same. There are 8 bits that go to make up a byte, so 10Mb != […]
Read MoreWarning: send(Net/SMTP.php) [function.send]: failed to open stream: No such file or directory in /usr/local/lib/php/Mail/smtp.php on line 206 Warning: send() [function.include]: Failed opening ‘Net/SMTP.php’ for inclusion (include_path=’/usr/local/cpanel/base/horde/lib:.:/usr/lib/php:/usr/local/lib/php’) in /usr/local/lib/php/Mail/smtp.php on line 206 Annoying, yeah? # pear install Net_SMTP voilà! Share on FacebookTweet
Read MoreSo your IMAP mail is failing. Your e-mail client disconnects with an error related to bad authentication or simply “connection closed by remote server”. Check your mail logs, and you find: May 25 17:52:43 vps imapd: Failed to create cache file: maildirwatch (someone@somewhere.com) May 25 17:52:43 vps imapd: Error: Input/output error May 25 17:52:43 vps […]
Read MoreI came across this strange issue from a Tier II escalation today. A Virtuozzo based virtual server had a problem with the apache web server refusing to start: # service httpd restart [Sat May 15 16:41:13 2010] [warn] NameVirtualHost x.x.x.x:80 has no VirtualHosts httpd not running, trying to start Lets see if it’s actually started: […]
Read More“Open Source Tripwire® software is a security and data integrity tool useful for monitoring and alerting on specific file change(s) on a range of systems. The project is based on code originally contributed by Tripwire, Inc. in 2000.” A crude yet effective intrusion detection system such as Tripwire can alert systems administrators to possible intrusion […]
Read MoreYes folks, Ubuntu 10.04 is here. It’s suppose to be noticeably faster than 9.10, on any system. I’ve tested it on almost every device I have, from netbooks, to notebooks, to desktops, and high end servers. Two words: It’s awesome. Along with many new features, including a “Me Menu” and Ubuntu Software Center 2.0. Also […]
Read MoreDisclaimer: ALWAYS BACKUP YOUR DATA WHEN MAKING ANY CHANGES TO ANY FILE SYSTEMS. I will not be held responsible for any damage that you may incur as a result of following these instructions, and this should be used for informational purposes only, and as an outline of a process that worked for me on my […]
Read MoreI’ve started testing Ubuntu 10.04 beta 1, the server edition on an older model Dell Poweredge, as well as the desktop edition on my Dell Inspiron laptop. So far, so good. The fresh install onto an ext4 file system was simple and efficient. For those of you who aren’t willing to “fresh” install it, I’d […]
Read MoreEasyapache accepts custom flags in compiling, all of which can be added globally or using the following files supporting various environments: * Apache 1.3.x – /var/cpanel/easy/apache/rawopts/Apache1 * Apache 2.0.x – /var/cpanel/easy/apache/rawopts/Apache2 * Apache 2.2.x – /var/cpanel/easy/apache/rawopts/Apache2_2 * All PHP 4.x versions – /var/cpanel/easy/apache/rawopts/all_php4 * All PHP 5.x versions – /var/cpanel/easy/apache/rawopts/all_php5 * Mod_suPHP – /var/cpanel/easy/apache/rawopts/all_suphp * […]
Read MoreCame across this rather annoying error when importing a rather large database into mySQL. Here’s an easy fix: Open mySQL console as root: mysql> set global max_allowed_packet=1000000000; mysql> set global net_buffer_length=1000000; Then import your database: # mysql db_name < sqldump.sql Done. Share on FacebookTweet
Read More
Erik
Wednesday, June 23, 2010
linux administration - tips, notes and projects
No Comment