Questions related to Ubuntu Server, and server-related packages.

learn more… | top users | synonyms (2)

4
votes
1answer
37 views

Comment, Uncomment, change setting based on string, add line from terminal

I have to edit some files to uncomment a line, change a value on that line or uncomment a line. I am trying to do this through a bash script. I am trying to edit /etc/ssh/sshd_config and change ...
0
votes
1answer
46 views

Port is not open

This is could be a database issue but to check if related to network configuration. To start DB i USE : Running rethinkdb 2.3.4~0trusty (GCC 4.8.2)... Running on Linux 3.19.0-39-generic x86_64 ...
0
votes
2answers
28 views

Run Executable After login [duplicate]

So I have an executable (output of gcc compiling a C program), that I would like to run after login so it is the first thing a user sees upon login. It is a graphical menu that displays system ...
0
votes
0answers
12 views

Ubuntu Server - After reboot key always refused, until login

I installed Ubuntu Server and also configured the ssh server. I tried the "key system", so I have a public key in ~/.ssh/authorized_keys, and also configured this file in /etc/ssh/sshd_config. When I ...
0
votes
1answer
33 views

SSH : Could not resolve hostname 192.168.40.250:2080, Name or service not known

I just installed a centOS 6.5 web server on a VMWare. Now I' like to access it from my physical computer in order to use the LAMP stack i installed on it to host a web application am developping. But ...
0
votes
1answer
19 views

I started trying to install MariaDB MySQL. Now I have a mess, looks like I can't install packages now

First of all, I don't know very much about Ubuntu. It's Ubuntu 16.04 Server (64 bits). I needed to install a MySQL database, using apt-get install mariadb-server. It worked, it's been installed but ...
31
votes
3answers
40k views

How do I disable remote SSH login as root from a server?

For security purposes my company wants me to not allow anyone to be able to log into our Ubuntu server as root remotely over SSH. We still want the root account to exist, we just do not want it to be ...
7
votes
3answers
128 views

Can't locate a directory using “locate”? [duplicate]

I want to locate a directory in my system using "locate" command. I know there is a directory named "bench-repo". when I'm giving the following command it shows me the following error : locate: can ...
0
votes
0answers
11 views

Password authentication problem in scaleway server

I have two scaleway servers. When i used scp to transfer file it asked for password, upon typing the correct password it errors back saying "Permission denied".What might be the reason?
0
votes
1answer
18 views

Is `scp` for non sudo users executable?

Can non sudo users execute scp command while using two remote servers?
0
votes
0answers
34 views

network restart fail on Ubuntu server 16.04

In Ubuntu 16.04 server I want to change IP from /etc/network/interfaces and run sudo service networking restart and there is no error given but the IP didn't change. I also ran sudo systemctl ...
0
votes
2answers
70 views

Can't install mysql-server on 14.04

Ubuntu Server 14.04, everything on the server is fully updated. No matter what I try, I cannot get mysql-server to install. I followed all answers to this question, and I even tried sudo apt-get purge ...
1
vote
0answers
16 views

Glusterfs fstab

Currently I have 2 bricks that are replicated. I'm trying to mount a client to gluster. The only way I can get it to work is if I do this in the fstab: hostname:volume /test glusterfs defaults,...
0
votes
0answers
10 views

Ubuntu symmetric key cache ssl?

I'm trying to create a learning resource to demonstrate SSL pinning. I'm attempting to emulate a man-in-the-middle attack by having Apache switch between two different certificates at a set interval. ...
0
votes
0answers
19 views

While configuring phpmyadmin ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

I have attempting to set up a LAMP server over the past couple of days and I already have overcome some problems with apache2. But, every time I try to sudo apt-get install phpmyadmin, After I have ...
0
votes
2answers
5k views

Changing resolution in Ubuntu Server 12.04

I'm a linux newbie and I've now tried lots of different ways of doing this, but every single one fails somewhere - usually because they pertain to Ubuntu desktop rather than server and rely on ...
6
votes
0answers
116 views

16.04 server: enabling LDAP authentication causes systemd-logind to fail

I'm stumped here, sorry if I'm missing something obvious. I had a 16.04 server authenticating against LDAP that stopped working last time I ran updates, and I built a clean 16.04 server from scratch, ...
0
votes
1answer
5k views

phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection XAMPP

Hi i am intend to connect phpMyAdmin, i have install XAMPP but i change the port using this guide Cannot start XAMPP on Ubuntu 11.10 I use this URL to enter phpMyAdmin http://localhost:2145/...
3
votes
1answer
66k views

connect: Network is unreachable? - ping

When I attempt to ping google's dns or any outside the network I get connect: Network is unreachable? I can't update either which I put down to this I am new to networking... And Ubuntu. But these ...
0
votes
0answers
16 views

How to set local ubuntu machine as DNS server and test it?

i am working on ubuntu 14.04 LTS, i want to set this machine as DNS server and then check if this works or not. for ex - if i search for any site in this machine it first check the DNS server i ...
0
votes
0answers
34 views

Install error for Mysql-Server

I try to install mysql-server and phpMyAdmin, after first instalation i have an error for log with user root ...and after this, error #2002 - No such file or directory. Ok, I tried to uninstall mysql-...
-1
votes
2answers
118 views

Ubuntu Server 16.04 GUI (xfce4)

I want to install xfce4 on my Ubuntu Server 16.04. The Problem is that the Server stopped working with the Command apt-get install xubuntu-desktop So i read that i can install xfce4 apt-get install ...
3
votes
3answers
4k views

Cannot login into new install of OpenLDAP

In Oracle VM Virtualbox I installed a fresh new copy of Ubuntu Server 14.04.1 64 bit version, with OpenSSH installed as well. Steps I done: sudo apt-get install slapd ldap-utils nano /etc/ldap/ldap....
0
votes
0answers
37 views

Error 404 while running a dynamic web project on tomcat

I get following error message when I run my web project on Eclipse Neon. The requested resource is not available (Error 404 title) I have used this guide for Apache Tomcat8 installation I have made ...
1
vote
1answer
2k views

Where is the dc=example,dc=com ldap dit?

I am following the server guide for ubuntu 14.04 LTS and I am trying to setup ldap but I have a problem. There is supposed to be a dit named dc=example,dc=com but when I type ldapsearch -x -LLL -H ...
0
votes
0answers
13 views

Running an LXC in parallel to an LXD

I'm a newbie to LXDs. I have an LXC which should start a few services upon its creation. Its works as expected on a machine having no LXDs but if an LXD is running on the same box, services within the ...
1
vote
2answers
15k views

Installing Gnome Classic on Ubuntu Server 12.04.1 64bit

I've installed Ubuntu Server Edition and setup open ssh,samba and lamp on my home desktop just to work on LAN. I also want setup a GUI on it for daily use. I've already performed the following sudo ...
20
votes
8answers
62k views

Create USB installer to install Ubuntu from the command line?

I'm trying to create a bootable USB image to install Ubuntu on a new computer. I have done this before following the "create USB drive" instructions for Ubuntu desktop, but I don't have an Ubuntu ...
1
vote
1answer
2k views

Failed to bring up eth2 - Ubuntu 16.04

I set up an Ubuntu 16.04 server as guest in Virtualbox. The server uses 3 interfaces in the network settings: Host-only, NAT, Bridged The /etc/network/interfaces file is set as following: # This ...
0
votes
0answers
7 views

Service with no limit at boot runs for too long and does not stop

A service at startup has been going on for 20 minutes (and counting) but I cannot stop it at boot, is there a way to stop it? ( it is LXC Network Bridge Setup) EDIT: OpenBSD Secure Shell server also ...
0
votes
1answer
20 views

Unzip a Windows Archive on Ubuntu Server?

I zipped archive on Windows but I cannot unzip it on Ubuntu I tried 7z (tar) I tried .7z but everytime I get error. I tried sudo apt-get install unzip but I get this error everytime: root@ip-172-31-...
0
votes
1answer
78 views

Linksys WUSB6100M

I'm using Ubuntu 16.04 server and trying to make my Linksys WUSB6100M wireless adapter to work. I can't really find anything on the internet either on what drivers to use to get this adapter to work. ...
1
vote
3answers
10k views

tomcat7 server - can't install into Eclipse Kepler?

I installed: Eclipse Kepler Tomcat7 at /usr/local/tomcat7 When I start tomcat $CATALINA_HOME/bin/startup.sh and go to myIp:8080 I see correct page And now when I want to add tomcat7 at eclipse ...
0
votes
1answer
5k views

samba share from ubuntu vm fails with 'force user'

I'm a bit of a noob with ubuntu, please be patient ;) I have two ubuntu VM's (server running in VirtualBox, as development machines). The older box (ubuntu 12.04 LTS) is running samba just fine and ...
-3
votes
0answers
19 views

When I ran a restart this is what I get

* Restarting web server apache2 [fail] * The apache2 configtest failed. Output of config test was: AH00526: Syntax error on line 3 of /etc/apache2/mods-...
0
votes
0answers
24 views

What could block a port on a fresh install of 16.04?

I need to share port 18090 on my local are network, however something is blocking it. netstat -ltn shows that 127.0.0.1:18090 is listening. I have issued both sudo ufw disable and sudo /etc/init.d/...
0
votes
1answer
29 views

Can't boot into ubuntu server; target filesystem doesn't have requested /sbin/init

I haven't used my ubuntu server for a few weeks now but I haven't done anything with it since I last successfully used it. I use it as mostly a media server. After trying to access it from my windows ...
2
votes
1answer
20 views

Shrink too large VDI

So, I accidentally enlarged a 48GB .vhd disk to 120TB, instead of 120GB in Virtualbox. Realizing the error, I am now trying to bring it down to 120GB; however for obvious reason, modifyvm --resize is ...
0
votes
0answers
26 views

Accessing Ubuntu server installed in VM from Host Win 10

I tried to search for this but i am not able to find it out, may because of my less searching skills. please help me with this. I Installed Ubuntu Server 16.04 LTS in VMPlayer and which is an 64 bit ...
-1
votes
1answer
38 views

SSH Authentication Problem

i'm currently trying to setup a few virtualboxes (ubuntu 15.10) to simulat a network i'm developing some software for. For this i need to setup a SSH connection, this is working, but i can login ...
1
vote
2answers
113 views

Complete loss of networking in new Ubuntu install

I've been setting up a new install of Ubuntu on a Raspberry Pi 3. I started with the image from here, updated and upgraded all packages, upgraded the distro, and upgraded the rPi firmware. All was ...
1
vote
0answers
23 views

14.04: Cannot start postgresql service

I got this issue on starting postgresql. It was working fine yesterday. But all of a sudden it cannot connect. I tried to connect to phppgadmin initially and it did not find servers So I thought I ...
1
vote
2answers
37 views

MongoDB connection error AND Insufficient free space for journal files

I installed a VMWare Ubuntu 64-bit virtual machine and grunt with mongoDB. Everything worked fine and one day when I typed "grunt serve" as always, I got: Debugger listening on port 5858 Express ...
0
votes
2answers
7k views

Unable to execute command start-all.sh in Hadoop

GUYS I'm using this tutorial How to install Hadoop? I mean the one made by Luis Alvarado in one of the comments .. So I'm on Ubuntu 13.10 64bit Hadoop version is 2.2.0 Actually I'm a total newbie ...
0
votes
1answer
129 views

Apache2 fails to start on boot with Ubuntu 16.04

I have just created a new Ubuntu 16.04 server (on digital ocean, if it matters). I have set up Apache2, and it runs correctly, but on every restart it fails to boot. I get the following from ...
-1
votes
0answers
20 views

Problems with SSH Proxycommand

i have some problems with the ssh proxycommand. The authentication on the proxy works fine, but when i want to login to the remote-host it fails. The problem seems to be, that the proxy tries to login ...
12
votes
3answers
42k views

Cannot install mysql-server-5.5/the following packages have unmet dependicies

I'm a newbie here so please bear with me. I'm using ubuntu 14.04. I tried entering mysql with the following command: mysql -u root -p and I got the following message: The program mysql can be ...
4
votes
2answers
2k views

How do I get dropbear to actually work with initramfs?

Bounty Bounty Bounty Bounty! So I'm trying to unlock a headless server running an encrypted version of Ubuntu 14.04. It is a virgin 14.04.2 install with all updates as of writing. I went thtrough ...
1
vote
0answers
52 views

SSH Connection to Ubuntu Server fails with Connection closed <ip> [preauth]

Newly installed Ubuntu Server 16.04, have done the update and upgrades. Running sudo service ssh status says it is up and running. I marked OpenSSH-server during the installation. But I cannot ...
-1
votes
0answers
15 views

Cannot access image from ubuntu server

Hi i have deployed a java web application on jboss under ubuntu server. In my application i have saved image inside jboss/welcome-content/test.jpg. Now i want to access the image by typing link on the ...