Archive for the ‘none’ Category

comment the line HWADDR in /etc/sysconfig/network-scripts/ifcfg-eth0
change /etc/udev/rules.d/70-persistent-net.rules -> delete eth0 and modify eth1->eth0, reboot
all should be in place

sql query
UPDATE wp_posts
SET comment_status = ‘closed’, ping_status = ‘closed’;

[root@mail2 ~]# /sbin/ip route change default dev venet0 src 6x.x.1x.39

on destination go to folder what needs to be migrated
this works if email have same path
CT-109172-bash-4.1# scp -rp root@8…9:`pwd`/* ./; chown -R popuser.popuser *

config file /etc/sysconfig/vz

## Network traffic parameters
TRAFFIC_SHAPING=”yes”
BANDWIDTH=”eth0:100000″
TOTALRATE=”*:1:10000″
RATE=”*:1:8″

to restart shaper: service vz shaperrestart

for 64-bit wget http://download.pa.parallels.com/pva/downloads/linux/x86_64/pva_mn-linux-x86_64-4.6-1879.tar.gz
tar -xvzf pva_mn-linux-x86_64-4.6-1879.tar.gz -C /root/pva-extract
cd /root/pva-extract
./pva-setup -v –install – follow the instructions, select pva-mn, install

for CT in $(vzlist -H -o ctid); do echo “== CT $CT ==”; vzctl exec $CT command; done

# /usr/local/psa/bin/admin –show-password

problem description: when logging in to horde and trying to go to the inbox you either get a blank page or a pop-up to save mailbox.php (can also be sidebar.php or others)

solution:
add export USE_ZEND_ALLOC=0 to /etc/apache2/envvars (on deb/ubuntu) or to /etc/sysconfig/httpd (red hat flavours)
restart httpd