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

learn more… | top users | synonyms (2)

8
votes
2answers
2k views

filename encoding issue

I am getting a file with a faroese name and trying to save it in a PHP script: 2010_08_Útflutningur.xls In Ubuntu 10.04 LTS is saving it as: 2010_08_�tflutningur.xls (invalid encoding) I've ...
8
votes
5answers
10k views

Why is dhclient saying: “SIOCSIFADDR: Permission denied”?

I have encountered a very weird error on ubuntu-server (8.04), I have no idea why dhclient is not allowed to set the network settings! I'm not the one who installed the server in the first place, so i ...
8
votes
5answers
19k views

When Ubuntu Server restarts eth0 Doesn't come back up

Every time I restart my Ubuntu Server 11.10 I can't ssh into it because ETH0 doesn't come up automatically. I never had this problem before upgrading to 11.10. I have to login to the server and start ...
8
votes
2answers
7k views

Why do I see a CRON session opening and closing every hour in /var/log/auth.log?

I am quite fresh with Linux as a whole, so this may be a silly question - but I would still like to know the answer This morning when I look at my /var/log/auth.log (which I've been told to make a ...
8
votes
4answers
12k views

How to stop Apache access.log grooving every few seconds?

I installed a fresh Ubuntu 12.04 Server + Zend Server CE (MySQL / PHPmyadmin) from deb http://repos.zend.com/zend-server/5.6.0_ubuntu1204/deb server non-free Repository. My apache2/access.log looks ...
8
votes
1answer
5k views

How do I rerun Ubuntu Software Selection after installation is complete

I installed Ubuntu from the minimal CD (mini.iso). During the install, I was presented this feature ("Software Selection"): How do I launch it after install?
8
votes
2answers
11k views

AWStats: cannot access /var/log/apache2/access.log

I installed awstats on my new Ubuntu Lucid server, but when cron tries to run it as user www-data, it complains that cannot access /var/log/apache2/access.log: Permission denied. In ...
8
votes
1answer
10k views

How to set up PHP with Nginx, APC and PostgreSQL?

I use Ubuntu Server 10.10 and I would like to set up a web server environment with NginX, PHP 5.3.3, PostgreSQL and preferably APC and PHP Suhosin. I have already set up PostgreSQL with apt-get ...
8
votes
2answers
5k views

xclip on headless server

I've been using xclip to copy the output of bash commands like so: pwd | tr -d "\n" | xclip -selection c So that I can then paste the output into another terminal session. I was trying to use it ...
8
votes
2answers
88 views

Where should I be looking/learning about the changes between Ubuntu (server) editions?

I maintain a few Ubuntu servers and it works great... but, I now have notifications on a few that state there is a new release available and I should run do-release-upgrade. Since these servers were ...
8
votes
3answers
16k views

Stream video from ubuntu server to Android device

I have a ubuntu 12.04 headless server. I got alot of video on the server. Most of it is in x264 in .mkv. I have a samsung nexus phone, and a nexus 7 tablet. Whats my options when it comes to ...
8
votes
2answers
10k views

Can Ubuntu server connect to a WPA2 encrypted wireless network?

I'm planning to maybe install Ubuntu server on an old machine. But my question is: can I install Ubuntu server on a machine and have it connect to my home network - wirelessly? I can't use a cable in ...
8
votes
2answers
13k views

Step by Step Install of MAAS and JUJU

I am working on understanding the pieces that I am missing in being able to deploy Juju across the other MAAS nodes. I don't know If I have a step out of place, or missing a few. The MaaS server ...
8
votes
2answers
23k views

How can I host a domain/website on my new VPS?

I am an average Ubuntu user and currently i decided to strengthen my knowledge in Ubuntu. Since i am a web developer, lately i decided to setup my own web server powered by Ubuntu. I just bought an ...
8
votes
2answers
3k views

What is the minimum size of the LAMP server?

I installed server 10.10 with LAMP+OpenSSH. It is about 1.1GB. Can I reduce the total size of the server? AFTER SOME EXPERIMENTS The full LAMP server is under 1.0gb /dev/sda1 7.5G 914M ...
8
votes
2answers
2k views

ssh key administration for many users, servers

My company has some remote Ubuntu servers. The access to these servers is controlled by ssh keys. Managing these keys is quite a pain, especially when an employee leaves or joins the company. Is ...
8
votes
3answers
26k views

How to enable ufw firewall to allow icmp response?

I have a series of Ubuntu 10.04 servers and each one has ufw firewall enabled. I have allowed port 22 (for SSH) and 80 (if it's a webserver). My question is that I am trying to enable icmp echo ...
8
votes
2answers
3k views

Tons of general protection faults

I recently upgraded my home server from Ubuntu 10.04 to 12.04.1. It runs the linux-image-server kernel, x86_64 arch. There's nothing particularly unusual running, I think -- a deluge daemon, apache2, ...
8
votes
1answer
1k views

AppArmor denying a mount operation

How do I convince apparmor to allow this operation? [28763.284171] type=1400 audit(1344273461.387:192): apparmor="DENIED" operation="mount" info="failed type match" error=-13 parent=7101 ...
7
votes
6answers
15k views

SSH server not working (respawns until stopped)

I have a running Ubuntu Server 10.04.1. When I tried to login to the server via ssh, I could not. Instead, I got connection refused error. I tried to ping the machine and I got reply! So, the clear ...
7
votes
2answers
788 views

How do I upgrade to Ubuntu 10.04.1 LTS [duplicate]

I want upgrade from Ubuntu 10.04 LTS to Ubuntu 10.04.1 LTS. Is there a basic update? How do I do it?
7
votes
5answers
5k views

How to abort a stuck command in ubuntu server?

I know there is ctrl+c, but sometimes that doesn't work. In Ubuntu desktop I can just close the terminal window and open a new one when this happens, but how would this be solved using the CLI in ...
7
votes
5answers
8k views

How can I sync my home folder over network and internet?

I use my laptop with Ubuntu-desktop to do all my work, but I also have a low-end desktop over at my office just sitting there. I've decided I'm going to install Ubuntu-server on it and use it to ...
7
votes
2answers
62k views

How can I set my Ubuntu 12.04 LTS to boot to console without GUI? [duplicate]

So I installed Ubuntu server to run some tests on a VM. For various reasons I couldn't get a specific DEB file, and instead of using a shared folder I decided it would be a good idea to install ...
7
votes
3answers
7k views

How to use ubuntu server full screen in virtualbox?

I have installed Ubuntu server 12.4 in Oracle Virtual box, after completing installation, i cant use the Ubuntu server in full screen,guest additions present in virtual box will work in ubuntu ...
7
votes
5answers
64k views

SSH Permission denied (publickey)

I have tried searching previous questions for answers to my question but all of the answers that have been suggested previously haven't worked for me. I am trying to connect to a linode (running ...
7
votes
1answer
446 views

Is 97 processes on an Apache2 server normal?

I have 97 processing running, that's what top reports. I only have the base install + apache2 and php5. Could it really add that much stuff? Or does the ubuntu-desktop have like 300 processes? I ...
7
votes
4answers
12k views

How can I get ddclient to work with freedns?

I use the dynamic DNS service at freedns.afraid.org for my 12.04 server. I had assumed that the protocols would be standardised and that ddclient would just work, but apparently not. I get this ...
7
votes
4answers
21k views

How to disable GDM from being automatically started?

After Ubuntu Server 12.04 installation, I installed Xubuntu just to have a minimal GUI: sudo apt-get install x-window-system-core sudo apt-get install --no-install-recommends xubuntu-desktop gparted ...
7
votes
5answers
74k views

Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

I have mailserver configure using dovecot+postfix+mysql and it was runnig fine in the server(Ubuntu Server). But during last week it stopped working correctly. It doesn't send email. When I try to ...
7
votes
2answers
20k views

.sh script won't run [duplicate]

Possible Duplicate: How do I run .sh files in Terminal? I'm trying to install Craftbukkit on my Ubuntu 12.04 server. However, I'm having issues with step seven, which instructs me to run ...
7
votes
2answers
15k views

Forceably set permissions when running rsync

Currently I am backing up gigabytes and gigabytes of data from a live server to a backup server using an rsync/ssh combination script, allowing for automated operation every night with a cron job. ...
7
votes
3answers
2k views

How do I modify “/sys/kernel/mm/transparent_hugepage/enabled”

I use mongodb 3.0 and I find a warning: MongoDB shell version: 3.0.0 connecting to: test Server has startup warnings: 2015-03-13T16:28:29.405+0800 I CONTROL [initandlisten] ...
7
votes
1answer
2k views

Dynamic /etc/resolv.conf file?

I have several Ubuntu servers. Two of them are working as DNS servers. One of my name servers (let's call it DNS1) went down for maintenance. I sill had another DNS server running (DNS2). All other ...
7
votes
1answer
365 views

Why are certain things able to get through ufw firewall?

I should say up-front that I am TOTALLY new to Linux, Ubuntu, and the technical side of networking. I am setting up Ubuntu on a server computer and have learned a bit about configuring the ufw ...
7
votes
2answers
16k views

Which is better for a home media server: zfs or btrfs or LVM/md? [closed]

I'm looking at building a new home server and would like a flexible filesystem. Both btrfs and zfs are interesting. I want to be able to do soft raid and have flexible solution allowing me to expand ...
7
votes
3answers
3k views

Why is X11 a security risk in servers?

I remember reading that servers do not have a GUI because X11 is a security risk. Why?
7
votes
2answers
17k views

What server control panels are available for Ubuntu Server?

As a dedicated Ubuntu server or as a VPS, I am looking for a web control panel, something like cPanel which is something like a web administrator for a server. I have not used any on Linux since I do ...
7
votes
3answers
4k views

How can i limit disk space usage for one user?

Like.. User john123, you can only use 100mb of my harddisk. User jake155, you can only use 250mb of my harddisk.
7
votes
4answers
44k views

SSH error: Permission denied, please try again

I am new to ubuntu. Hence please forgive me if the question is too simple. I have a ubuntu server setup using amazon ec2 instance. I need to connect my desktop (which is also a ubuntu machine) to the ...
7
votes
3answers
3k views

'/'var/www/' vs '/home/$USER/public_html'

I recently started using Ubuntu as a LAMP server. I've come across plenty of tutorials that say to place the files at '/var/www/' and I've also seen others that put them in '/home/$USER/public_html/'. ...
7
votes
3answers
15k views

How to get Bus and Device relationship for a /dev/ttyUSB

I need to write an script for restart USB dongles. I have all tools but I can't link my /dev/ttyUSBx to physical BUS and DEVICE. An issue is that I have three dongles with the same id vendor and id ...
7
votes
3answers
4k views

Is there a secure web-shell for my server?

Following the security principle of trust no one, I can't use a service like http://www.serfish.com/. Is there a free software program that I can install on my Ubuntu server to give me secure shell ...
7
votes
2answers
6k views

Clock drift even though NTPD running

I'm having a problem with the clock drifting on my PC. I'M running Ubuntu 10.10 on an somewhat crusty IBM e-server (1.5GB RAM, 2.4GHz CPU) ntpd is running (started at run level 2) servers are ...
7
votes
2answers
293 views

Are there alternatives after the official support time stops?

I'm currently running Ubuntu 8.10 on a system. It works very good but I did a lot of tuning (it's a server) to get it working. I'm aware that I need to upgrade to a new LTS version of Ubuntu if I have ...
7
votes
2answers
1k views

Is the copy speed from ext4 to NTFS the same as from NTFS to NTFS?

I've created a file sharing server with Ubuntu server and samba, the drive for sharing is on ext4, but all the users are on windows 7/XP Would the copy speed be faster if the drive would be on NTFS?
7
votes
1answer
39k views

Give user write access to folder [duplicate]

How do i give the user 'testuser' write privileges on the folder: /var/www/test/public_html
7
votes
2answers
2k views

ext4 to btrfs conversion: how long can it take? space requirements?

I started btrfs-convert for my ext4 partitioned hdd. I did a fsck first which was fine. So since it is running over 4 hours now (1.) I wonder if it will ever finish ? I read multiple articles ...
7
votes
4answers
3k views

MaaS Enlistment through 12.04 installation CD fails

I am trying to enroll my nodes in my MaaS cluster. I am doing this by booting them from the 12.04 installation CD, and choosing the MAAS installation option. I'm only trying to set up one node right ...
7
votes
5answers
5k views

Single server, multiple users, each with his own virtual machine

Our school system has a low budget to update our computers, so I've thought maybe I could buy only one server (a powerful one) and hookup 30 students to one server. On the server should be 30 Ubuntu ...