I set up osTicket on a FreeBSD server and wanted to have it served by nginx and FastCGI. I ran into some problems with the approaches other people described and even with the recipe found on the nginx website. These problems resulted in errors logged as FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream when I tried to upload an attachment to a ticket that I created on the client's side (not on the agent's side, i.e. /scp). The client/reporter received something like File Upload error <filename-here> undefined400 in an alert box. Additionally the WYSIWYG icons in the issue description area were missing.
One of my machines is a Lenovo Thinkpad T420s running Sabayon Linux. Since a long time I experienced issues with my USB mouse and keyboard after resuming from standby, while the notebook and the input devices were plugged into the dock. Both devices stuttered occasionally, i.e. the first key stroke or move of the mouse were not recognized. Sometimes I was able to fix the issues by disconnecting and reconnecting the dock’s power connector. Sometimes only a restart helped.
After doing lots of research in the web, I stumbled over a mailinglist post that suggested to remove the package laptop-mode-tools, if installed.
Guess what, the particular package was installed, I removed it and the issues have not reappeared since then.
Wie Netzpolitik berichtet, soll die Bundesregierung die Vorratsdatenspeicherung bereits zur ihrer Kabinettssitzung am 27. Mai auf den Weg bringen. Bis Ende Juni soll das Gesetz durch den Bundestag, damit es noch vor der Sommerpause am 3. Juli beschlossen werden kann.
Every year we have several ways to donate our hard-earned money for charity. We hope to help children in the third world, support efforts to treat deceases or rescue the wildlife. Well, or we just spend it for lots of socks, ties, champagne and fireworks.
This year again, I am going to support one or more of the following organizations/projects in their effort to protect freedom, privacy, the right to informational self-determination and/or a free and open (digital) society.
What about you?
Jedes Jahr können wir auf vielfältigen Wegen unser hartverdientes Geld für wohltätige Zwecke spenden. Wir hoffen damit Kindern in der Dritten Welt zu helfen, unterstützen die Bemühungen Krankheiten zu heilen oder die Tierwelt zu retten. Gut, wir können es natürlich auch einfach für Socken, Schlipse, Champagner und Böller ausgeben.
Ich werde in diesem Jahr wieder eine oder mehrere der folgenden Organisationen/Projekte in ihrem Bestreben unterstützen, die Freiheit, Privatsphäre, das Recht auf informationelle Selbstbestimmung und/oder eine freie und offene (digitale) Gesellschaft zu bewahren und zu fördern.
Updated 19.12.2014: Added some organizations Updated 20.12.2014: Added La Quadrature du Net, the french non-profit organzation defends the rights and the freedom of citizens on the internet. It is running extremely short of money and faces an operational shutdown within the next two weeks, according to a blog post (FR) of one of its founders and current president Philippe Aigrain.
The Python framework web2py is pretty powerful when it comes to automagical form and data handling. A quite common use case in an application is the need to manage a business object that might have many relations to some other business object, e.g. one package might consist of many components. If you use one database table for each object there are at least two approaches to create a many-to-many relation in web2py.
After the last weekly update of my Sabayon Notebook I encountered a high CPU load of one core caused by syslog-ng. The process was literally flooding /var/log/messages and within a couple of minutes tens of Megabyte accumulated. logrotate did not help. The messages were months old, it appeared as syslog-ng would be processing old logs from somewhere else.
I knew that journald was active too, complementing syslog-ng I thought. Some ddg searches later I stumbled over a Gentoo bug report confirming my issue.
Instead of masking syslog-ng-3.6.1 I headed to #sabayon and asked around. Someone explicitly mentioned that syslog-ng is likely pulling logs from journald.
I ended up editing /etc/syslog-ng/syslog-ng.conf and replacing the default source src: