Category Archives: Sys Admin - Page 2

WebDAV server on CentOS – Provider encountered an error while streaming a multistatus PROPFIND response

I’ve encountered this error when trying to connect to web dav enabled folder.
I saw some web posts to add :

RewriteEngine Off

However that did not work for me, I finally traced it back to SElinux, I was using a custom folder and needed to change the permissions :

[user@server]>sudo stat -Z -c %C /var/webdav
user_u:object_r:user_home_dir_t

Compared to /var/www

[user@server]>sudo stat -Z -c %C /var/www
system_u:object_r:httpd_sys_content_t

A change of SElinux permissions and all was well :

[user@server]> chcon -R -u system_u -r object_r -t httpd_sys_content_t /var/webdav

OpenVPN & Windows 7 dont play nice when no default GW is specified

Symptom : Openvpn network shows as “unidentified network” and is grayed out ( you cant click it to change the network location )

Solution : add these lines to your config :

# NLA issues
route-metric 512
route 0.0.0.0 0.0.0.0

restart your connection

make sure the openvpn network is either “home” or “work” network :

Regenrate KEY on Bold 9700

# On the Home screen or in a folder, click the Options icon.
# Click Security Options.
# Click Information.
# Highlight the desktop service.
# Press the Menu key.
# Click Regenerate Encryption Key

MySQL Replication skip record

SET GLOBAL SQL_SLAVE_SKIP_COUNTER=1;
START SLAVE;
SHOW SLAVE STATUS;

[Note] Slave I/O thread: Failed reading log event, reconnecting to retry, log ‘server-bin.000001′ at postion

I’ve got this on one of my mysql powerdns replication slaves. I restored the server from another slave and forgot to change the server-id in my.cnf.
hope it saves someone sometime …