Disabling shared memory prevents ssh login

I’m setting up a new Linode server and following steps from here: https://help.ubuntu.com/community/StricterDefaults 2 times now if I follow the following steps: Edit /etc/fstab Add this line: tmpfs /dev/shm tmpfs defaults,ro 0 0 Reboot After reboot I’m no longer able to ssh into the server. In /etc/fstab, its indicated in the format comment that the … Read more

Apache Reverse Proxy via mod_proxy_ajp not routing requests to Tomcat

I have two instances of Apache and Tomcat7 installed. One on my Macbook Pro with Mountain Lion and the other in a VirtualBox VM on that Mac with Ubuntu Server 12.10. Both have the same VirtualHost configuration and server.xml configuration. Everything works fine on my Mac but on the Ubuntu VM I get “File does … Read more

Ubuntu 12.10 virtualhost conflict

I have 2 sites on my server. One I access via my IP, x.x.x.x/site1. The other is a registered domain name, www.mysite.com. Initially, I had only my /etc/apache/sites-available/default file available but when I tried loading either of the sites above I just got my /var/www/index.html output. I included a new virtualhost for mysite.com with the … Read more

do-release-upgrade skipped a version – how to specify a release?

I have a experienced a slightly odd behaviuour in the Ubuntu upgrade utility and am lefting wanting to know. Also I am trying to replicate an environment as closely as possible, and upgrading from 12.10 to 13.04 may be relevant. I downloaded 12.10.4 server, installed it as close to “defaults” as possible, and ran do-release-upgrade … Read more

ubuntu 12.10 openldap issue Invalid DN syntax (34)”

I’m following: https://help.ubuntu.com/12.10/serverguide/openldap-server.html and when I get to the part that says ldapsearch -x -LLL -H ldap:/// -b dc=example,dc=com dn I get: Invalid DN syntax (34) Additional information: invalid DN I noticed: sudo ldapsearch -Q -LLL -Y EXTERNAL -H ldapi:/// -b cn=config dn dn: cn=config dn: cn=schema,cn=config dn: olcDatabase={-1}frontend,cn=config dn: olcDatabase={0}config,cn=config Thanks for any help … Read more

Ubuntu Server crashes on file transfers

Upon transferring some files across server disks I lost connection and the server crashed. Plugging in a Screen showed no response at all. I had to reset the Server, which then boots normally. At first I thought it was Samba, but I verified today that it also happens when issuing move commands via SSH. I’m … Read more

Removing MongoDB from Ubuntu

I recently started to mess with setting up ReplicaSets. After some testing and playing, I was wanting to remove MongoDB and all settings, and start with a fresh install on all systems to get it set-up for production mode. I assumed sudo apt-get –purge remove mongodb mongodb-clients mongodb-server mongodb-dev mongodb-10gen followed by sudo apt-get autoremove … Read more

Creating VLANs between network namespaces [closed]

Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for Server Fault. Closed 7 years ago. Locked. There are disputes about this question’s content being resolved at this time. It is not currently accepting new answers or interactions. I want to implement … Read more

installing mysql5.6.12 in ubuntu 12.10 error:/etc/mysql/conf.d is missing

I am trying to install mysql in ubuntu 12.10. Downloaded ‘MySQL-5.6.12-1.linux_glibc2.5.i386.rpm-bundle’ from http://dev.mysql.com/downloads/mysql/. Extracted it and tried to install using rpm -i MySQL-server-5.6.12-1.linux_glibc2.5.i386. Since it was not possible, used sudo alien -i MySQL-server-5.6.12-1.linux_glibc2.5.i386. Did the same for all the other files inside the directory MySQL-5.6.12-1.linux_glibc2.5.i386.rpm-bundle. Then tried ‘mysql’ command in terminal, but it showed error … Read more