User login

GNU-Linux

Bringing a stressed Drupal site back to its feet

Before and after restart:

0 stedile:~# free
total used free shared buffers cached
Mem: 1343636 1309280 34356 0 1856 29692
-/+ buffers/cache: 1277732 65904
Swap: 524280 513244 11036
0 stedile:~# free
total used free shared buffers cached
Mem: 1343636 164676 1178960 0 7264 98000
-/+ buffers/cache: 59412 1284224
Swap: 524280 3992 520288

Agaric wants version control that lets Drupal core and contrib replace entire directories within our checkouts

As a small web design and development company, Agaric has a very specific need:

To have one part of a project under version control come from Drupal core, to have another part come from our selection of Drupal contributed modules including our own (and this would actually reside inside Drupal core), and to have the rest (theme, custom site-specific modules) be our own work and also reside inside the Drupal core directories.

We then want to be able to check out this conglomeration all at once to dev, test, and live.

Debian server not sending mail to recipients that share its domain name

In Agaric's case for this server, mail for the domain was in fact being handled elsewhere. The problem was the server thought it should do it, so it caught all the mail with its domain name and squashed it, saying "there's no user by this name."

Jan 8 11:01:31 stedile postfix/local[28262]: A35D064CFD: to=<Herrera@example.net>, orig_to=, relay=local, delay=0.12, delays=0.05/0.01/0/0.06, dsn=5.1.1, status=bounced (unknown user: "herrera")

Repairing a corrupted table, aftermath of Apache using up server resources and taking down MySQL

The Aftermath of MySQL Dying (briefly)

Duplicate entry for key 2 query: INSERT INTO locales_target (lid, locale, translation) VALUES

after the fact, on going to http://www.wsf2008.net/eng/admin/user/access

Access a server via another server

Oh, it's that easy...

Hello Marco,

Could you give your procedure for proxying through another server? Once we have it hooked up with our server we should be able to do that.

Thanks,

in this way.

1) (necessary if server restricts by IP adddress) send ip of server1 to server staff

2) from your machine's shell to server 1
ssh ben@server1

3) from server1's shell to destination server
ssh ben@destinationserver.example.com

Increase PHP allowed memory size limits

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 842489 bytes) in /var/www/wsf2008/includes/database.mysql.inc on line 380

If you have control of your own host:

ben@server:~$ sudo vi /etc/php5/apache2/php.ini

/Resource Limits plus RETURN to search
i to edit

;;;;;;;;;;;;;;;;;;;
; Resource Limits ;
;;;;;;;;;;;;;;;;;;;

Setting up a fresh Drupal installation from the Agaric repository.

For a new version of Drupal

From a computer with a local checkout of the subversion repository:

cd ~/workspace/repos/agaric/drupal-core/
wget http://ftp.drupal.org/files/projects/drupal-5.5.tar.gz
tar -xzf drupal-5.5.tar.gz
rm drupal-5.5.tar.gz
svn add drupal-5.5
svn commit -m "latest and greatest Drupal"

How to make patches that involve multiple files and adding new files

making multiple file patches:

when adding new files, I always used diff -urpN instead of just diff -urp, so that new files are also rolled inside the patch. But please double-check, that no other files got rolled-in accidentally (such as automated back-up files made by some text editors and such).

– JirkaRybka

http://drupal.org/patch

Resolution

Public key on a Debian server

http://www.debianadmin.com/ssh-your-debian-servers-without-password.html

To allow ServerA to SSH to ServerB without password, please try the following:

ssh-keygen -t rsa

Note: User here is root

This generates two files id_rsa.pub and id_rsa

Now, this needs to be copied to the authorized_keys file on ServerB

scp id_rsa.pub ServerB:~/.ssh/ServerA_rsa.pub

How to make server respond to e-mail verification requests

Request for help at May First People Link here: https://support.mayfirst.org/ticket/297

Hi Jamie,

You solved the problem of some e-mail servers (including an e-mail host of mine and another MayFirst member) requesting a verification of e-mail that one of the MayFirst servers wasn't responding to.

I knew I needed this for Stedile but I thought I could figure out what I needed to do from your e-mail. I was wrong!

Syndicate content