Errors

87 posts in Errors

Malformed or invalid time zone in working hours XML in mailbox

· errors, misc, windows

This error might be caused by changing this setting.

When having this error in OWA, ECP or Outlook:

You can fix this by setting the correct time zone in Outlook (you cannot change it through ECP – you need Outlook):

File > Options > Calendar > Time Zone section

Label: YourCity (e.g. Brussels) Time Zone: YourTimeZone (e.g. UTC+1 Brussels).

Be sure to pick the correct time zone and fill in a label.

Exchange error 0x6d9

· errors, software, windows

I noticed my “Offline Address Book” was no longer automatically updating.

Running “get-offlineaddressbook |fl” in the EMS showed it last updated somewhere 16th November 2010.

Trying to manually update it through EMC (“Organizational Configuration > Mailbox > Offline Address Book > right click Default Offline Address Book > click update”) it gave me this error:

 --------------------------------------------------------
 Microsoft Exchange Error
 --------------------------------------------------------
 Action 'Update' could not be performed on object 'Default Offline Address Book'.
 Default Offline Address Book
 Failed
 Error:
 Failed to generate the content of the offline address book
 '\Default Offline Address Book'.
 Two possible reasons for the failure are that the System Attendant Service is not running or
 you do not have permission to perform this operation. Error message :
 'Error 0x6d9 (There are no more endpoints available from the endpoint mapper) from RpcEpResolveBinding'.
 Error 0x6d9 (There are no more endpoints available from the endpoint mapper) from RpcEpResolveBinding
 --------------------------------------------------------
 OK
 --------------------------------------------------------
 --------------------------------------------------------
 Microsoft Exchange Error
 --------------------------------------------------------
 Action 'Update' could not be performed on object
 'Default Offline Address Book'.
 Default Offline Address BookFailedError:Failed to generate the content of the
 offline address book '\Default Offline Address Book'. Two possible reasons for
 the failure are that the System Attendant Service is not running or you do not
 have permission to perform this operation. Error message :
 'Error 0x6d9 (There are no more endpoints available from the endpoint mapper) from RpcEpResolveBinding'.
 Error 0x6d9 (There are no more endpoints available from the endpoint mapper) from RpcEpResolveBinding
 --------------------------------------------------------
 OK
 --------------------------------------------------------

I googled for quite a while trying to find a fix, but nothing useful could be found.

Tomcat: javax.servlet.ServletException issues

· errors, linux, software

javax.servlet.ServletException
org.apache.catalina.security.SecurityUtil.execute
(SecurityUtil.java:294)

Solution:

Create 20servlets.policy:

nano -w /etc/tomcat5.5/policy.d/20servlets.policy

And add:

grant codeBase "file:${catalina.base}/webapps/-" {
permission java.security.AllPermission;
};

And restart Tomcat

/etc/init.d/tomcat5.5 restart

Xen: PTY allocation request failed

· errors, linux, software, virtualisation

$ ssh vm3.rootspirit.com -l root
root@vm3.rootspirit.com's password:
PTY allocation request failed on channel 0
stdin: is not a tty
Solution:
Kill the DomU (xm console *might* work, but somehow rarely works for me).
mkdir /tmp/disk
mount /path/to/disk.img /tmp/disk
chroot /tmp/disk /bin/bash
=> in chroot env
nano -w /etc/fstab
And add (though this is probably not needed):
none            /dev/pts      devpts    defaults        0   0
And install udev:
apt-get install udev
Clean up, and restart DomU
exit
umount /tmp/disk
xm create /path/to/xen/vm.cfg
Should do the trick. :)

Xen: Failed to find an unused loop device

· errors, linux, software, virtualisation

I had to start a new Xen domU this afternoon,

xm create vm#.domain

But this resulted in following error:

Error: Device 5632 (vbd) could not be connected. Failed to find an unused loop device

Solution:

Create /etc/modprobe.d/local-loop.conf with this content:

options loop max_loop=64

Turn off all DomUs, yes, bummer. You’ll need to reload the loop module which won’t work if Xen is still using them. xm list should only display Domain-0.

SugarCRM: issue saving locales

· errors, software, www

SugarCRM (community edition; version 6.0.2) has been giving me a bunch of issues like being unable to change the locale settings (“Locales” under “Administration”) as well as “Display module icon as favicon” (“System Settings”).

Changing the US format (yyyy/mm/dd) to EU (dd/mm/yyyy) and every other setting on that page wasn’t actually saved/remembered upon hitting save.

Editing it manually in config.php wasn’t an option either, as it got overwritten every single time. I could of course change permission, and make it unwritable by the webserver, but that would make the rest of the admin panel useless (everything else isn’t configurable anymore).

nginx + fastcgi PHP

· errors, linux, software, www

I recently migrated vm1 to nginx instead of lighttpd. Just for the sake of playing and testing around.

As there’s a PHP page as well, I had to set up fastcgi with PHP. I mainly followed this tutorial to try to get PHP working.

However, every PHP page I visited returned following error:

No input file specified.

As I was fairly sure it was path (or variable) related, I played around with:

VMware Server and kernel 2.6.33

· errors, linux

Trying to recompile the VMware Server 2.0.2 on kernel 2.6.33 I came upon these two errors:

# uname -a Linux Sauron 2.6.33 #1 SMP Tue Mar 9 15:09:05 CET 2010 x86_64 AMD Opteron(tm) Processor 248 AuthenticAMD GNU/Linux

This is a Gentoo machine.

Error 1:

The directory of kernel headers (version @@VMWARE@@ UTS_RELEASE) does not match
your running kernel (version 2.6.33).  Even if the module were to compile
successfully, it would not load into the running kernel.
What is the location of the directory of C header files that match your running kernel? [/usr/src/linux/include]

This can be resolved by editing version.h (usually in /usr/src/linux/include/linux) and adding this line:

OpenVPN packet drops

· errors, linux, networking, software

I recently started to notice following error messages on my openVPN server.

ovpn-server[6306]: vpn.rootspirit.com/85.234.x.y:62068 MULTI: packet dropped due to output saturation (multi_process_incoming_tun)
This basically means that the TUN or TAP interface is making more packets than the real (TCP) interface can handle.

As I need to run OpenVPN using the TCP protocol (instead of the faster UDP protocol; as UDP is often blocked in networks I use my VPN in) I experimented by increasing the tcp-queue-limit. The default is 64, and I’ve set it to 256. So far, everything still seems to be working fine (but more packets will be queued before being dropped by OpenVPN, requiring less retransmissions).

Linux gateway/router + unable to access certain (HTTPS) sites

· errors, linux, networking

I’ve had an issue for a while, being unable to access certain websites such as https://fon.com, but also certain parts of the Apple, Fortis and Microsoft site, while other (https) websites worked fine.

Running Wireshark I found that only about 5ish packets got transferred, and all other data to that website abruptly stopped.

I’m using ADSL (EDPnet), which has an MTU of 1492, however, I was able to access all websites from the router (using lynx, for example), but not from any other PC within the network.