ubuntu-12.04

What is the proper permission configuration of sendmail

柔情痞子 提交于 2019-12-07 18:37:31
问题 This question comes from a problem much similar to this https://serverfault.com/questions/320607/ubuntu-jaunty-sendmail-php-mail-premission-errors But those answers don't solve my problem I have a php application which is using PHPMailer to send emails. I installed sendmail on my ubuntu 12.04 LTS with sudo apt-get install sendmail sudo sendmailconfig But the application failed to send any mail. In the mail.err it says: Apr 14 00:31:42 AY sendmail[32241]: NOQUEUE: SYSERR(www-data): can not

ReviewBoard installation on ubuntu 12.04

喜欢而已 提交于 2019-12-07 17:58:52
问题 I'm trying to install ReviewBoard on ubuntu 12.04 using easy_install. http://www.reviewboard.org/docs/manual/1.7/admin/installation/linux/ I tried above instruction step by step, but stucked in easy_install ReviewBoard Error message is this: Traceback (most recent call last): File "/usr/local/bin/easy_install", line 9, in <module> load_entry_point('distribute', 'console_scripts', 'easy_install')() File "/usr/local/lib/python2.7/dist-packages/setuptools-0.8-py2.7.egg/pkg_resources.py", line

Compiling VIM with breakindent patch

本秂侑毒 提交于 2019-12-07 15:17:28
In Ubuntu 12.04 Precise the only way to get breakindent patch working in VIM seems to be compiling VIM itself after patching it. Here's what I've done: Install pbuilder and create local environment sudo apt-get install pbuilder debootstrap sudo pbuilder create --debootstrapopts --variant=buildd Get the sources sudo apt-get source vim Patch them with breakindent patch retrieved from the official repo cd vim-7.3.429 patch -p1 < vim-breakindent.patch sudo pbuilder build vim_7.3.429-2ubuntu2.1.dsc Pbuilder correctly generates deb packages but, after installing them, no breakindent option is

Glusterfs Not Replicating data

折月煮酒 提交于 2019-12-07 09:38:20
问题 I have a glusterfs setup with two nodes (Node1 and Node2). I see connection has made between two connection. Problem is when I create some folders on Node1 it does not replicate it on Node2. Please suggest me to overcome if any one had fixed it? If I mount it on some other server as glusterfs client and create files and folders then its replicating to glusterfs nodes. Is this behavior normal? Volume Name: testvol Type: Replicate Status: Started Number of Bricks: 2 Transport-type: tcp Bricks:

OpenGL Tutorial Error

杀马特。学长 韩版系。学妹 提交于 2019-12-07 08:02:34
问题 I managed to build the tutorials from here but when executing them an error occurs: X Error of failed request: BadRequest (invalid request code or no such operation) Major opcode of failed request: 154 (GLX) Minor opcode of failed request: 34 () Serial number of failed request: 34 Current serial number in output stream: 33 Google told me that this error is related to the graphics driver somehow, so maybe information about my system is useful; I am using Ubuntu 12.04 64 bit on a Samsung 700Z7C

Getting root privileges in ansible

旧巷老猫 提交于 2019-12-07 07:43:17
问题 I have the following task in ansible: - file: "state=directory path=/servers/repo" sudo: yes name: "Create the base site directory." which should run as my user but with root privileges. But even though my user is a sudoer it fails with Sorry, user sofiab is not allowed to execute '/bin/sh -c echo SUDO-SUCCESS-amlzcqzchzpjsgkllckjhjfednpjgevj; LANG=C LC_CTYPE=C /usr/bin/python /home/sofiab/.ansible/tmp/ansible-tmp-1409321488.66-202796192861545/file; rm -rf /home/sofiab/.ansible/tmp/ansible

virtualenv is not compatible with this system or executable

狂风中的少年 提交于 2019-12-07 07:39:08
问题 I am rather new to Linux (Ubuntu) and installing (Python) packages. I'm having trouble with mkvirtualenv and can not solve it: ~$ mkvirtualenv mysite70 New python executable in mysite70/bin/python Traceback (most recent call last): File "/usr/lib/python2.7/site.py", line 562, in <module> main() File "/usr/lib/python2.7/site.py", line 544, in main known_paths = addusersitepackages(known_paths) File "/usr/lib/python2.7/site.py", line 271, in addusersitepackages user_site = getusersitepackages()

How to downgrade PHP version from 5.3 to 5.2 in Ubuntu 12.04?

萝らか妹 提交于 2019-12-07 06:40:30
问题 I have freshly installed Ubuntu 12.04 and I have installed PHP as well. By default, it is installed with version 5.3.10 but my PHP project doesn't support PHP v5.3.10. I want to downgrade PHP version to 5.2. How can I do it? 回答1: You would have to uninstall PHP and then reinstall an older version. However if your working on a project that your going to sell, or give to clients, or whatever the case my suggestion would be take out any functionality thats actually breaking between 5.2x and 5.3x

Relocate without relocate in subversion?

喜夏-厌秋 提交于 2019-12-07 04:11:59
问题 I need to switch the base URL of my working copy in subversion. According to the manual for 1.7 I should be able to use svn relocate. http://svnbook.red-bean.com/en/1.7/svn.ref.svn.c.relocate.html However, on Ubuntu Linux 12.04 I have version 1.6 which doesn't appear to have the relocate command. Is there a way to accomplish this in subversion 1.6 or by some other method? 回答1: I found the answer I was looking for. It's just a matter of running svn switch --relocate OLD_URL NEW_URL It looks

Android Bluetooth Client and Server Won't Connect

不羁的心 提交于 2019-12-07 03:46:23
I am currently trying to create an app that connects Google Glass(client) to my computer(python server). I would like to send simple strings. I have tried multiple ways but haven't had much luck. I am currently using some sample code I found. After running both, i get the message "In onResume() and an exception occurred during write: Socket Closed" on Glass, and my computer(HP Pavillion Dv6 running Ubuntu 12.04 with Bluetooth Dongle) completely freezes. One time the GUI itself crashed and I was looking at a stack trace on the console(that scary black screen). Here is the client code: import