ubuntu-12.04

GitLab email notifications not sending

你。 提交于 2019-12-12 07:29:22
问题 I just recently install GitLab v5.0 on an Ubuntu 12.04 server and am now having issues with email notifications. I can't get GitLab to send any emails of any kind. I've got my config/environments/production.rb file setup to use sendmail as the transport service: config.action_mailer.delivery_method = :sendmail config.action_mailer.perform_deliveries = true config.action_mailer.raise_delivery_errors = true And I can manually use sendmail successfully from the shell as described here: http:/

not able to access port(11444 & 5072 ) externally(using Ubuntu on Google compute Engine)

独自空忆成欢 提交于 2019-12-12 06:07:12
问题 Proto Recv-Q Send-Q Local Address Foreign Address State PID tcp 0 0 ip:11080 0.0:* LISTEN - tcp 0 0 ip:5070 0.0:* LISTEN - tcp 0 0 ip:5071 0.0:* LISTEN - tcp 0 0 **127.0.0.1:5072** 0.0:* LISTEN - tcp 0 0 ip:11443 0.0:* LISTEN - tcp 0 0 **127.0.0.1:11444** 0.0:* LISTEN - Not able to access port (11444 & 5072) externally. Only working on Local Host not remotely. We are using Ubuntu on Google Compute Engine. Firewall rules Added 回答1: As the netstat output shows, your services listening on port

How to install and configure LAMP on ubuntu 12.04

不打扰是莪最后的温柔 提交于 2019-12-12 04:46:58
问题 Could somebody please tell me how to install and configure LAMP on ubuntu 12.04 ? Is there a package similar to WAMP Server that is all-in-one ? I have tried to install from command line ,PHP,MySQL work but apache gives me this after sudo service apache2 restart * Restarting web server apache2 no listening sockets available, shutting down Unable to open logs Action 'start' failed. And I think probably I did something wrong when installing ! Thank you ! 回答1: You can follow tutorial from below

Tryton client doesn't connect via Internet port 8000

送分小仙女□ 提交于 2019-12-12 04:43:50
问题 I have Tryton ERP working locally on a VM, functioning correctly. However, the client cannot connect to it via internet. nmap reports port 8000 to be "closed", that is, nothing is listening there. ~# nmap -PN -p 8000 <IP> Starting Nmap 5.21 ( http://nmap.org ) at 2014-03-05 12:29 EST Nmap scan report for <IP> Host is up (0.00017s latency). PORT STATE SERVICE 8000/tcp closed http-alt However, my trytond.conf file looks correct, having jsonrpc = *:8000 and the database connection parameters. (A

Ubuntu 12.04LTS on EC2 shuts down after user-data script

99封情书 提交于 2019-12-12 04:41:36
问题 I am having a problem with my EC2 instance running Ubuntu 12.04LTS shutting down after the user-data script is executed. Its running behind an ELB and the health checks seem to be working. In the system log, after some of the health checks, there is a "Checking for unattended-updates:" note then shutting down for power off. Below is part of the system log. user-data: Using MemoryStore for the Session user-data: Using MemoryStore for the data store user-data: OAuth 2.0 Authorization Server

ocl-facedetect sample of opencv 2.4.6.1

前提是你 提交于 2019-12-12 04:35:21
问题 ![enter image description here][1]On Ubuntu 12.04 LTS with NVidia GeForce 8 series GPU card, I am trying to run the ocl-facedetect sample of OpenCV 2.4.6.1 and seeing following error: $./ocl-example-facedetect -t haarcascade_frontalface_alt.xml -i friends.jpg In image read loop0 ~~~~ Loading convertC3C4 Building source:./convertC3C4_GeForce 8600 GT -D GENTYPE4=uchar4.clb ~~~~ Loading RGB2Gray Building source:./RGB2Gray_GeForce 8600 GT -D DEPTH_0.clb ~~~~ Loading resizeLN_C1_D0 Building source

Google-chrome can't locally view my webGL Three.js webpages in Ubuntu

柔情痞子 提交于 2019-12-12 04:01:05
问题 chrome://gpu shows green for everything and "WebGL: Hardware accelerated WebGL multisampling: Hardware accelerated" my version is: Google Chrome 31.0.1650.63 and I've set the flag " Override software rendering list Mac, Windows, Linux, Chrome OS, Android Overrides the built-in software rendering list and enables GPU-acceleration on unsupported system configurations. #ignore-gpu-blacklist " to enabled. But if I ' File -> Open -> index.html ' where the index.html has webGL and three.js I see

Use gnome-screensaver-command on python

纵饮孤独 提交于 2019-12-12 03:53:23
问题 I have the following code to check whether the screen is locked or not (using gnome-screensaver) gnome-screensaver-command -q | grep "is active" From this link, https://askubuntu.com/questions/17679/how-can-i-put-the-display-to-sleep-on-screen-lock there is a code on using it on a shell script. But how do I use the code in python? And store it in a varaiable whether if it is active or not. 回答1: You can also talk to the gnome-screensaver via D-Bus: import dbus def screensaver_active(): bus =

when installing statsmodels, I get the following error:RuntimeError: dictionary changed size during iteration

為{幸葍}努か 提交于 2019-12-12 02:49:42
问题 I have read a lot of posts about this error, and the reason I am posting this is because I get the error when trying to install statsmodels package, and not one of my programs. how do I correct the error when installing a package? $ sudo pip3 install statsmodels Downloading/unpacking statsmodels Downloading statsmodels-0.5.0.tar.gz (5.5MB): 5.5MB downloaded Running setup.py (path:/tmp/pip_build_root/statsmodels/setup.py) egg_info for package statsmodels Traceback (most recent call last): File

install barnyard2 ubuntu 12.04

折月煮酒 提交于 2019-12-12 02:45:03
问题 I trying to install barnyard2 in ubuntu 12.04 32-bit I'm configure using syntax: ./configure --with-mysql-libraries=/usr/lib/x86_64-linux-gnu and when I trying to compile daq-1.1.1 using a makefile, I encountered the following errors: make[3]: Leaving directory /root/snortinstall/barnyard2/src' make[2]: Leaving directory /root/snortinstall/barnyard2/src' Making all in etc make[2]: Entering directory /root/snortinstall/barnyard2/etc' make[2]: Nothing to be done for all'. make[2]: Leaving