New answers tagged amazon-ec2
/opt/tomcat is declared to be the home directory of the tomcat user, but belongs to the root user (with the tomcat user not having write permissions). Scrubbing the tutorial, especially the permissions section, I have mixed feelings towards the quality of the tutorial. It speaks about "giv[ing] the tomcat user write access to the conf directory" while ...
Yep a simple way it to fstab it and then mount it to say /var/www/html/files2/ then mkdir /var/www/html/files2/website then ln -s -d /var/www/html/website /var/www/html/files2/website
Ah, never mind, I finally found the problem - Atlassian had added a Xvfb wrapper script of their own (/usr/local/bin/Xvfb) that was blocking the signal send. For anyone who has this issue in the future, check and see if Xvfb is being executed directly or via a wrapper, and if it's a wrapper it will break xvfb-run.
Typically the solution would be to log in via console, but EC2 does not support that. Their typical solution is to stop the broken instance, detach its root disk, attach it to another instance, fix the problem, and then reattach it. The tutorial is here: https://aws.amazon.com/articles/5213606968661598
Running OpenGL applications inside a virtual machine is very likely not going to perform well. First of all, you cannot use hardware acceleration but have to fall back to a software renderer. This is what the first error message tells you: libGL error: failed to load driver: swrast Installing the Nvidia driver does not help as there is no Nvidia card ...
The -c flag tells g++ to compile your source code to object code, but stop short of linking it with the necessary libraries to create a standalone executable binary. From man gcc: -c Compile or assemble the source files, but do not link. The linking stage simply is not done. The ultimate output is in the form of an object file for each ...
Top 50 recent answers are included