Questions tagged [ubuntu]

Ubuntu Linux is a Debian derivative that aims to bring Linux mainstream. Questions on this site should generally refer to Ubuntu Server. Note that http://askubuntu.com is specifically dedicated to Ubuntu questions.

Filter by
Sorted by
Tagged with
1 vote
0 answers
201 views

Ubuntu web host update strategy

I have a couple of questions regarding best practices for updating an ubuntu web server. A server that is hosting a live website that would be very problematic should the server "go down". I am a ...
-5 votes
1 answer
3k views

How to undo rm -rf? [closed]

How we can undo rm -rf command ? For example, I have Application folder. And I have remove it by rm -rf Application But it was my mistake and want to recovery or want that Application Folder. But ...
5 votes
1 answer
3k views

Get a list of the licences of all packages on Ubuntu system [closed]

I want to check what licenses all the packages on my system is running under. It seems like this information is located in /usr/share/doc/package/copyright However this file seems like it does not ...
0 votes
1 answer
622 views

Merging 2 ubuntu repositories into a single offline repository

I am currently running apt-mirror to have a local, offline copy of the entire ubuntu repository (both 32&64), from ubuntu 9.04 to 13.10. Old releases are being apt-mirrored from old-relases.ubuntu....
0 votes
1 answer
644 views

Amazon EC2 Micro Instance - Public DNS Not Accessible

I have created a micro instance with Ubuntu OS at Amazon EC2. But I am not able to access public DNS even after installing LAMP Server. At my apache.conf I can see(no document configuration id ...
1 vote
2 answers
104 views

Why server writes much more than reading the disk

I'm running one Ruby on Rails application, I use Passenger Nginx, Ruby on Rails 3.2, search gem Sunspot (which uses Solr as its search engine). My application works ok with around 6K active users but ...
1 vote
1 answer
3k views

X-Amavis-Alert: BAD HEADER SECTION, MIME error: error: couldn't parse head;

i get this error: X-Amavis-Alert: BAD HEADER SECTION, MIME error: error: couldn't parse head; when sending an email with a pdf attached to a roundcube webmail, if i send the same mail to gmail i have ...
0 votes
2 answers
2k views

iptables causes infinite loop of GET request

I am trying to reroute HTTP traffic from 80 to 8080 to be used by Burp Suite. Using iptables, my command was: iptables -t nat -A OUTPUT -p tcp --dport 80 -j DNAT --to 127.0.0.1:8080 By doing so, ...
7 votes
7 answers
16k views

how to merge two ext3 partitions on ubuntu from command line?

I have a partition /dev/sdb1 and a partition /dev/sdb2 They are both in /etc/fstab with proper UUIDs and mounted as /opt and /home I'd like to merge them without losing any files Can this be done ...
-1 votes
1 answer
322 views

how to install kanbanzilla for existing bugzilla 4.2

Currently I am running bugzilla 4.2 with Testopia 2.5 on Apache2, Perl 5.14. Mysql 5.5. I tried to follow the Bugzilla REST API but it showed errors when I tried to start the server BzApi, in # script/...
8 votes
2 answers
11k views

Removing default "ubuntu" user from Ubuntu Install on EC2

I am playing around with Amazons EC2 new free tier plan and noticed the default ubuntu install comes with a user ubuntu that is preconfigured to work with your key you are provided from AWS. One ...
1 vote
2 answers
7k views

Can Nagios monitor a service only by hostname?

I have two hosts server1 and server2 where I do manual fail over. The C record master-server then points to the one which is the master. Only the master host should have a certain service checked. It ...
0 votes
1 answer
98 views

Where are create separeted VirtualHost in Apache compiled from source

Because I have a lot of VirtualHosts in the file /etc/apche247/conf/extra/httdp-vhost.conf, this file is extensive and unorganized. I know some ways to create the VirtualHost dynamic, but in the ...
0 votes
1 answer
61 views

Is it needed to use local DNS cacher in EC2 / VPC?

Seems like AWS internal DNS is already a very low latency one, e.g. On ec2 dig google.com | grep "Query time" ;; Query time: 0 msec So do we really need to use another DNS cacher?
0 votes
1 answer
147 views

Is secure pptp not possible on Ubuntu?

From [1], it was said that 1) All users and providers of PPTP VPN solutions should immediately start migrating to a different VPN protocol. PPTP traffic should be considered unencrypted. ...
2 votes
2 answers
13k views

SFTP "Could not connect to server error"

I'm having problems connecting to my server via SFTP. I can SSH in to the system perfectly fine, but for some odd reason, i'm not able to SFTP (which I used to be able to). I have cleared ALL my ...
6 votes
1 answer
5k views

How to configure GRUB loader after apt-get upgrade on Ubuntu 12.04

I have a box with Ubuntu 12.04, and just did a apt-get upgrade. I'm presented with a dialogue to update my GRUB bootloader, but with the following message: The GRUB boot loader was previously ...
6 votes
3 answers
26k views

How to parallelize the scp command?

I need to scp the files from machineB and machineC to machineA. I am running my below shell script from machineA. I have setup the ssh keys properly. If the files are not there in machineB, then it ...
0 votes
2 answers
494 views

How can I get django-registration emails sent?

I have a Django project on a Saucy EC2 instance, with a site's registration handled via django-registration, and after a few minutes and a few tries to register different email addresses, I am not ...
6 votes
1 answer
5k views

Ubuntu syslog: After log rotation nothing is written on /var/log/syslog

I've been running a Ubuntu VPS for a few weeks now, so a couple of monthly log rotations took place yestarday. For things like /var/log/wtmp things look as expected: logfile has recent entries, while ...
1 vote
3 answers
2k views

Reverse SSH Tunnel from windows to ubuntu to serve SQL server

just as the question says, I am currently trying to establish a reversed SSH connection from a Windows server behind a NAT to a hosted Ubuntu VPS. I'm pretty much a total beginner in Linux and SSH. I'...
4 votes
2 answers
4k views

How to handle IP's with manual failover?

I have two identical storage hosts where the master is the only one the users can access. If the master fails, then I want to manually change the DHCP address, so instead of master points to 10.10.10....
1 vote
2 answers
4k views

Should you use a private hostname or public hostname as server hostname?

Assume you have a web server and database server, the web server is publicly accessible, while the database is only used by the web server, their DNS is web.example.com web-internal.example.com db-...
1 vote
1 answer
408 views

OpenLDAP - ACL "set" notation not matching properly

I've got to set up an externally-anonymous accessible LDAP directory on an Ubuntu 12.04 Server, and I want to keep authentication and internal data in a different subtree. Example of the LDAP layout ...
4 votes
3 answers
21k views

Why is UDP slower than TCP on Ubuntu Server?

I transfer data between two Ubuntu Servers (12.04) via iperf on 1Gb LAN. iperf -s <-> iperf -c <addr> -n2G TCP speed = 925 Mbits/sec iperf -su <-> iperf -uc<addr>...
1 vote
1 answer
3k views

Is there a syntax error or other error in this Apache site configuration?

I have a Django Gunicorn server running on an Ubuntu VPS at 0.0.0.0:8000, and while there are some problems with it, it appears to be accepting localhost connections. I have the following in my sites-...
0 votes
1 answer
68 views

view/kill a Windows O/S processes from Ubuntu Server

Is there a Ubuntu version of Sysinternals Process Utilities, which allows Window users to view/control remote processes? I already know I can setup cygwin on Windows and use ssh to remote in. All I'm ...
0 votes
2 answers
3k views

chroot: can't resolve domain names [closed]

i can't resolve domain names in chrooted environment - in the normal shell it works fine. i'm using plesk 11.5 and my chroot environment contains the following: https://gist.github.com/xarem/...
4 votes
2 answers
5k views

How to read `top`. Process list says processes have swap but overview says no swap is being used

I am using top to monitor my server. The swap row reads Swap: 1044220k total, 0k used, 1044220k free, 148544k cached I have hit O p to sort by swap. PID USER PR NI VIRT RES ...
0 votes
1 answer
2k views

Why is Ubuntu/Linux /proc/mounts lying to me?

I've got a broken HDD for the rootfs - this probably caused the filesystem to be mounted read-only... however /proc/mounts still says it's mounted rw: $ cat /proc/mounts rootfs / rootfs rw 0 0 ...
1 vote
1 answer
65 views

Issues with newly copied EC2 instance

I have an EC2 t1.micro instance running in the Oregon zone, and I wanted to copy that instance and make an m1.medium instance on the Northern Virginia zone. I created an AMI, clicked copy, and ...
-3 votes
1 answer
419 views

How to recover public key password? [closed]

I created a new instance of a server on my VPS provider and when I was doing the initial server setup it prompted me for a password, which I don't remember. Is there anything I can do in this ...
0 votes
1 answer
708 views

Sendmail has stopped working. Need advice with error message

So my server has stopped sending emails. Taking a look in /var/mail/www-data gave me some clues. The Diagnostic-Code shows this: Diagnostic-Code: SMTP; 553 5.1.8 Sender address <www-data@ip-10-33-...
1 vote
1 answer
1k views

Set up Ubuntu to kill off Apache child processes when memory usage reaches 90%

My situation is following: We run Magento Professional on a 15Gb ram instance, rackspace. When running htop, we could see that 'apache2 -k start' keeps spawning more child processes, some of them ...
1 vote
0 answers
336 views

(111 connection refused) while connecting to upstream

I have a ubuntu 13.10 server with nginx and php5-fpm installed, the server has just been started and as such i am sure it is not a buffer or connection overload issue. I have set the site config in ...
0 votes
1 answer
360 views

error when adding FTP port on iptables rule

I am trying to add FTP port on my iptable configuration which I suspect the reason I cannot access my FTP via FileZilla. /etc/iptables.firewall.rules *filter # Allow all loopback (lo0) traffic and ...
0 votes
0 answers
276 views

Severe performance issues sharing openvpn client connection to LAN clients virtualbox

I am trying to set up an internal network in Virtualbox in order to share an openvpn client tunnel with multiple VMs acting as clients that should be completely isolated from everything except for the ...
1 vote
1 answer
670 views

IO performance with a FUSE mount [duplicate]

Is there any way to measure performance on a FUSE-based mount that is mounted via long-running executable (no device is used, nor /etc/fstab entry added)?
4 votes
4 answers
2k views

How to set the date forward on a linux server and prevent it from resetting back to the correct time

I need to set the time on an Ubuntu Server forward 1 week, and keep it there (this is for a testing environment with date-specific conditions which need to be tested/verified by the stakeholders), ...
2 votes
1 answer
369 views

Puppet agent freeze on Ubuntu

I have 40 Ubuntu 12.04 servers. These servers are managed with puppet. Sometimes I have problem with puppet agent. puppet agent spawn child process (sh) and this process fails. Sh is zombie process. ...
2 votes
2 answers
954 views

vps: smtp working on server client (roundcube) but cannot be configured on desktop client

I've bought a VPS and installed Ubuntu 12.04 on it. I'm using Zpanel for my Control panel and everything seems to be configured well. I can even send and receive mails on my server itself, via the ...
0 votes
2 answers
1k views

how does openvpn decide which interface to get IP addrs from

Using ubuntu 10.04 on both ends. We have a client and server machine on the SAME network attempting to make a vpn connection. We use the config files from here and made minimal changes. The server ...
0 votes
1 answer
573 views

What is the best way to redundantly back up to external hdd so that one of the hdds can be unplugged daily to be taken off site?

The problem I've got is that I have a Ubuntu 13.10 instance, running ownCloud, and I want to keep redundant backups of the data directory from ownCloud on two external drives (1tb, USB3). The plan is ...
0 votes
2 answers
6k views

nginx does not seem to load memcached module for php

I have an Ubuntu machine with nginx and memcache running, and I'm trying to use PHP with Memcached. I'm getting Fatal error: Class 'Memcached' not found. The ini file is loaded from /etc/php5/fpm/php....
3 votes
2 answers
6k views

Postfix: Allow unauthenticated incoming mail, but only authenticated outgoing mail?

I'm new to the world of mail server's and have been working on setting up my own via Postfix on Ubuntu 11.10. So far, I have SASL authentication working over TLS so that's good; I'm worrying about ...
0 votes
3 answers
3k views

Server is accessible through domain name from Outside, but not from inside the Intranet

I have an apache webserver / mailserver (running on Ubuntu) setup like following: Speedport Router with NAT for all required ports DynDNS to get the domain name by using a non-static IP address The ...
1 vote
1 answer
755 views

Issues with MySQL restart on running through a crontab scheduler

I have written a shell script which starts MySQL when its killed/terminated. I am running this shell script using a crontab. My cron looks for the script file named mysql.sh under /root/mysql.sh ...
0 votes
1 answer
2k views

Binding a php script with a apache startup script

I want a php script to be executed when apache server starts and keeps on running till apache server stops. How to bind a php script to apache startup script so that the script should be executed as ...
1 vote
1 answer
769 views

2 servers with 2 ip adresses cant ping each other

I rent 2 root servers from my provider that run Ubuntu 12.04.01 LTS. I ordered a second ip for each of them and configure them in /etc/network/interfaces as follows: iface eth0:1 inet static ...
2 votes
3 answers
32k views

How to start Apache server automatically?

I want to manually install Apache server. I've compiled it into: /server/apache http.conf configured correctly. It works. I can open up a browser and navigate to localhost and I can see "It works ...

1
201 202
203
204 205
332