Welcome to SimonLane.Com

Welcome to my blog site.
My blogs are categorised and indexed under 'Content' in the menu on the left hand side.
The technical content is intended more for my own reference than as a proper blog or public reference. However, I have made it available to everyone just in case it proves useful to you.

suhosin / POST variable limit exceeded

Whilst trying to update Permissions in Drupal, I seemed to reach a limit where I was unable to add more restrictions. After investigating this, I found the following entries in the system and httpd log files:
/var/log/httpd/error_log
[Wed Mar 04 18:20:06 2009] [error] [client xxx.xxx.xxx.xxx] ALERT - configured POST variable limit exceeded - dropped variable 'form_id' (attacker '192...........
/var/log/messages

Drupal Permissions Issues: A Debugging Checklist

This is a copy of a document first published at JuliaKM.com

http://www.juliakm.com/drupal-permissions-issues-debugging-checklist

 

 

Every once in awhile, when working on a Drupal site, my content either disappears or I cannot log-in. At this point, I usually get rather angry and start thinking of worse case scenarios. What if I can never log into my site again? What if anonymous users can't read articles?

 

VMWare Infrastructure Client

VMWare Infrastructure Client provides a much nicer view of your Server than the standard web interface. It is quicker to use, and provides information in a useful graphical format.

VMWare Infrastructure Client is supplied as part of VMWare Server 2. You can download the client application to your PC by entering the following URL into your browser:

https://VMserver:8333/client/VMware-viclient.exe

VMWare Server 2 Performance

VMWare Server 2 creates a file in the VM Guest working dir which is either a copy of the Guests memory, or something to do with heavy I/O usage. Either way, the file can be quite large and can significantly reduce the I/O performance of your hard disc. The reads and writes to this file on my server were so large that the performance of my disc was reduced to about 300k/sec. I needed to move this file to another disc, and hence another filesystem. 

To do this, edit the /etc/vmware/config file.

LVM Recovery

To show all the md devices for a set of disks

mdadm --examine --scan /dev/sdb1 /dev/sdb2 /dev/sda1 /dev/hda1

Activate the md device:

mdadm -A --auto=md /dev/md1

To search for all Volume Groups

vgscan

To activate a Volume Group

vgchange vm_vg -a y

To check a logical volume filesystem formatted as jfs

jfs_fsck /dev/vm_vg/vm_lv

Mount the filesystem

mount /dev/vm_vg/vm_lv /vm_servers

Additional information can be found at:

Add raid device to LV and extend jfs filesystem

Create the md1 device as a mirror from two disks

mdadm --create --verbose /dev/md1 --level=mirror --raid-devices=2 /dev/sdb2 /dev/hda1

create lvm disks from md devices

Create device md0 as a mirror, with two disk devices

mdadm --create --verbose /dev/md0 --level=mirror --raid-devices=2 /dev/sda1 /dev/sdb1

Display the status

cat /proc/mdstat

Create a physical volume on md0

pvcreate /dev/md0

Create a Volume Group vm_vg from the device md0

vgcreate vm_vg /dev/md0

Display the Volume Group

vgdisplay

VMWare tools installation for Mandriva

Copy of web page taken from [http://netfortius.wordpress.com/2008/09/11/vmware-tools-installation-for-mandriva/] on 29.09.2008

 

 VMWare tools installation for Mandriva

Syndicate content