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
1 answer
101 views

How to apt-get install a package for Ubuntu Quantal from Ubuntu Precise 12.04

On Ubuntu Precise 12.04, the package osm2pgsql is currently at 0.70.5+r25090-2ubuntu2. However I need to install a newer version 0.80 but apt-get update does not provide the newer version. Question: ...
Nyxynyx's user avatar
  • 1,479
5 votes
2 answers
3k views

How can I automate a new linux server's initial setup?

Every time I setup a new server, I follow a series of steps on each server in order to get updates, set passwd, remove login via root user, customize a familiar environment (bashrc) and secure the ...
CommonCents's user avatar
1 vote
1 answer
1k views

ubuntu bind reverse look up fails

When I test my reverse zone from local machine by host ip, it says it is ok. 1.2.3.4.in-addr.arpa domain name pointer host.domain.co. however when i use tools like mxtoolbox or dnsstuff i get these ...
tito_santana's user avatar
0 votes
1 answer
2k views

Use $HOSTNAME in upstart script

(Can|how do) I use $HOSTNAME in an Ubuntu upstart script like this: start on started foo stop on stopped foo exec someexecutable -n "$HOSTNAME""_bb"
RickyA's user avatar
  • 300
2 votes
2 answers
7k views

After update, Ubuntu booting into black screen (but ssh working)

I am running Ubuntu 12.04.2 LTS on HP ProLiant server. After recent update (using apt-get update and upgrade), it boots into black screen. BIOS Post screen still shows normally, but when the OS ...
David162795's user avatar
1 vote
1 answer
4k views

how to force isc-dhcp-server to attribute new ip regardless of client mac address?

i need to serve DHCP requests for a given test tool tailored for a specific network hardware (hardware under test). The testing tool (my server + simple netgear 5ports switch) seems to work as long ...
Alex's user avatar
  • 11
1 vote
2 answers
801 views

Exporting paths and configs in ubuntu

I am trying to add some exports using the following method: # SETUP CONFIGS sudo bash -c "cat >> /etc/bash.bashrc" <<'EOF' export AWS_CONFIG_FILE=/etc/test/aws.txt export PATH="$PATH:/usr/...
J.Zil's user avatar
  • 1,123
-4 votes
2 answers
100 views

ip to server communication options [closed]

There are situations, particularly within the web, where an http request is sent from the browser to the server. Yet there are no name-based virtual hosts to handle the ip/port number that was ...
JohnMerlino's user avatar
0 votes
1 answer
113 views

How to alias a range of ports to a specific port

I have a service running at port 3000, how can I forward ports [12000 to 14000] (2000 total ports) to the port 3000 with one command. I don't prefer to manually add each port though. Any ideas?
CodeOverload's user avatar
0 votes
1 answer
103 views

Xen domU sees 35MB less than assigned

I am using ubuntu precise 12.04 and I am booting a paravirtualized ubuntu 12.04 domU, all being 64 bits. The VM has memory=1024 assigned and xentop at the host correctly shows 1024MB, but htop in the ...
Steffen Heil's user avatar
0 votes
1 answer
1k views

Using iptables to forward traffic to a single IP address

The setup: Debian; acting as the network's router using iptables, fail2ban Because of external requirements, both networks are 192.168.1.x. eth0: 192.168.1.1 eth1: 192.168.1.2 Ubuntu (192.168.1.3) ...
Noonien2600's user avatar
1 vote
1 answer
4k views

Managing multiple servers behind a firewall with SSH reverse tunnel

I have 10 Ubuntu servers in different locations, behind a firewall each (local_server_1 to 10). All those servers are authorized to SSH into my public server (lets call it master) using ssh keys (in ...
Udi's user avatar
  • 13
0 votes
2 answers
1k views

Can ping google.com, but can't ping cnn.com

I have just upgraded from 10.04 to 12.04. I didn't notice the problem at first. But when installing horde with the pear installer it failed to download all of the packages. So I did a little hunting ...
Miss Tina's user avatar
1 vote
1 answer
332 views

amazon EC2 x11 problems

We are trying to set up a virtual development / research cloud environment for our students. Students need to be able to log-in, launch python IDE, and plot some graphs for their homework. We are ...
denten's user avatar
  • 111
-4 votes
1 answer
322 views

How do I run a downloaded file in Ubuntu [closed]

My server was running plesk 11, but I removed some of the plesk packages by mistake when i tried to install postfix as i wanted to fix problems that i was having with emails. So now I am attempting ...
Jamie Hutber's user avatar
0 votes
3 answers
6k views

Can connect to ubuntu server with PuTTY but can't via WinSCP

I have just updated from 8.04 to 10.04 after such a long time I am rather excited. But since the update I am now unable to login to my server via WinSCP but a connection with PuTTY is still completely ...
Jamie Hutber's user avatar
4 votes
2 answers
27k views

Why - Could not find worker with name 'jk-manager' in uri map post processing?

I am using apache2 + mod_jk(ajp protocol) + tomcat7. but I always get the error below: [Sat Mar 30 17:30:54.691 2013] [25238:3074365824] [info] init_jk::mod_jk.c (3365): mod_jk/1.2.37 initialized [...
Hardbone's user avatar
1 vote
3 answers
145 views

What's the simplest way to set up my mail server to detect incoming mail?

In Github, you can reply directly to the mails that they send you. Their mail servers will "detect" that you sent it, and then my python script will act accordingly. I'm looking for a good overview ...
Alex's user avatar
  • 8,591
-2 votes
2 answers
828 views

Mac mini as linux server, no keyboard and usb boot [closed]

I am going to buy a mac mini (mid 2010 no server edition) and use it as linux server (i think i will use ubuntu server as distribution on it). I never had any mac so sorry if i ask some newbie/dummy ...
res1's user avatar
  • 125
-1 votes
3 answers
6k views

Is it possible to automatically restart crashed services in Linux? [duplicate]

I am Using Ubuntu Server and would like to know if it's possible to automatically restart services that go unresponsive. I am operating a standard LAMP stack and occasionally vital services need to be ...
chrisjlee's user avatar
  • 1,015
0 votes
2 answers
266 views

VPS multiple IP's

I have added 2 more IPs and PHP is not working on those domains. Looks bizarre. I must've done something wrong but cannot figure out what. IPs: 111.111.111.111, 222.222.222.222 and 333.333.333.333 ...
Vitaly Lebedev's user avatar
0 votes
1 answer
139 views

samba logs be parsed to a user-friendly graph/report

can samba logs be parsed to a user-friendly graph/report. Is there any way to get samba logs in a user friendly graph or report. Regards, Muralikrishna
murali's user avatar
  • 33
0 votes
1 answer
339 views

Ubuntu 12.04 Server on VMWare - apt-get failing to hit repos

So, I have an Ubuntu 12.04 LTS 64-bit server instance running on VMWare player. Everything appears fine at the surface. Even internet connectivity appears good as I can perform both pings out to ...
Skittles's user avatar
  • 421
0 votes
1 answer
380 views

Small Datacenter Setup - vCenter and OpenVPN

I, as well as two other students, are creating curriculum for a new datacenter course at our university. We have 16 Sun servers that are several years old with decent specs (2x Dual-Core AMD Opterons ...
Mac Gatlin's user avatar
0 votes
3 answers
2k views

Ubuntu server hanging and can't find cause

I have a Ubuntu 12.04 512mb VPS server running on Linode. I have it setup to serve about 6 Wordpress powered websites. For a few weeks now it has crashed daily, 2-3 times. Linode automatically ...
Jon's user avatar
  • 125
1 vote
2 answers
13k views

ubuntu: open udp port 123

into my linux server (Ubuntu 8) I have top open the port 123 for ntp. I have write this into /etc/iptables.rules: :INPUT ACCEPT [7496:9080183] :FORWARD ACCEPT [0:0] :OUTPUT ACCEPT [4393:322232] [0:0] ...
Alessandro Minoccheri's user avatar
1 vote
2 answers
5k views

ntpdate wrong date

Hi all I have an ubuntu8 server where I have problems with date. My current date (Europe/Rome) is 9:35 If I do date print me 11:12:34 I have seen my ntp.conf is: server 0.ubuntu.pool.ntp.org ...
Alessandro Minoccheri's user avatar
2 votes
1 answer
2k views

configure subdomain for node.js

I got ubuntu server with express node.js web site. I allready can request it: by ip: like that: http://11.22.334.44 and by domain: like that: http://my-domain.com I want to configure to request it ...
Maxim Yefremov's user avatar
0 votes
1 answer
2k views

What is the vsftpd's user "ftp" intended for?

I have just recently installed a web server on a machine that I of course want a fpt client on as well. I have previously worked with vsftpd, and therefore I decided to use it this time as well. The ...
lindhe's user avatar
  • 136
0 votes
1 answer
165 views

Diagnosing server load/slowness

I have a machine running Ubuntu Server that experienced severe problems today, for no apparent reason. Two of the services that it's running are apache2 and ssh, and during the period the server was ...
Filipe Correia's user avatar
0 votes
1 answer
49 views

issue with scaling EC2 Volume (Make it smaller) in EC2

I'm trying to resize the size of one of my servers, currently it's 850GB and i would like to scale it down to 100GB. scaling them up isn't a problem, i just follow the basic scheme of shutting ...
user avatar
0 votes
1 answer
2k views

error in upgrading ubuntu distribution

My ubuntu distribution upgrade got corrupted. As per suggestion from ubuntu distribution upgrade got corrupted I ran apt-get install -f to remedy the immediate problem. Now while running do-release-...
murtaza52's user avatar
  • 151
-1 votes
1 answer
468 views

ubuntu distribution upgrade got corrupted [closed]

I was trying to upgrade the distribution of my ubuntu 11.10. The process got stuck in between. I restarted the PC, and when trying to run the dpkg command I get the error below - murtaza@murtaza-dev:~...
murtaza52's user avatar
  • 151
1 vote
1 answer
1k views

Ubuntu 12.10, can't seem to get add-apt-repository

I am attempting to add some external packages to Ubuntu 12.10 from a PPA. To do so, I need to use add-apt-repository. Easy enough - add-apt-repository: command not found in Ubuntu 10.04 tells me to ...
MikeBaz - MSFT's user avatar
-1 votes
1 answer
456 views

Can I bridge between two different networks?

I have a VirtualBox VM which has: eth0: 10.0.2.15/24 default-gateway: 10.0.2.2/24 Within that VM I have 2 LXC containers (i.e. two other virtual machines) VM1 - eth0: 10.50.50.50/16 (connects to ...
davidparks21's user avatar
0 votes
1 answer
2k views

BIND9 - Open Resolver

I am running Ubuntu 12.04, and bind9. My Caching only DNS server was actually an open dns resolver, so I am trying to correct this. I tried to follow this guide. named.conf // This is the primary ...
Justin S's user avatar
  • 350
0 votes
1 answer
166 views

Uninstalling couchdb built from source

Can anyone tell me how I uninstall a CouchDB installation built from source using build-couchdb? I deleted the build directory as they said, but I can still start and stop it and everything.
Willem Ellis's user avatar
1 vote
1 answer
94 views

sudo passwd on Ubuntu 11.10 strange behavior. Have I been rooted?

I'm in a really strange situation. A few hours ago Rackspace issued a ticket saying there's a outbound flood originating from my server. Thinking the server might have been rooted with a rootkit I ...
qwexar's user avatar
  • 111
2 votes
2 answers
3k views

Why need to use exec in upstart script?

I often see some upstart script has the to use exec, what is the point? Seems removing the exec the script also work? e.g. start on runlevel [2345] stop on runlevel [06] exec /path/to/program
Ryan's user avatar
  • 6,011
0 votes
1 answer
196 views

Channelling DOM0 internet connection through DOMU

Bit of an odd queston but wanted to know your opinions on the following: I have a small computer that has Ubuntu (Both DOM0 and DOMU) virtualized using KVM. Now the person that will handle this ...
Onitlikesonic's user avatar
2 votes
1 answer
160 views

Ubuntu maintenance general advice

I'm a developer by trade but I've been asked to maintain our Ubuntu servers and am in need of some general advice as I don't really have any experience in this area... Does apt-get upgrade only ...
MeatPopsicle's user avatar
2 votes
1 answer
309 views

can I suppress apache2 error messages about clients denied by server configuration

For about 36 hours I made a config mistake and left an apache2 server forward proxy open to all. I've closed this, but the server is still getting hammered by hopeful ad spammers. My apache error log ...
Tim Richardson's user avatar
5 votes
2 answers
15k views

pgAdmin cannot connect to PostgreSQL 9.1

I am trying to use pgAdmin on Windows to connect to postgresql 9.1.8 running on localhost's Ubuntu 12.04 VM. The host's port 5432 forwards to VM's port 5432. pgAdmin Error: Error connecting to the ...
Nyxynyx's user avatar
  • 1,479
4 votes
1 answer
16k views

Server can't ping or connect to self

This SF Answer helped me after nerve's answer below: No network loopback device after security update ubuntu 12.04 Original Question I've been Google-ing and banging my head against the wall for a ...
jmbertucci's user avatar
10 votes
2 answers
23k views

Postgresql 9.2 "invalid locale name" on Ubuntu 12.04

Today I installed Postgresql 9.2 on Ubuntu precise via apt.postgresql.org – all was relatively painless until I got stuck in a "invalid locale name: it_IT.utf8" error: root@ubuntu:/tmp# sudo -u ...
giorgiga's user avatar
  • 225
2 votes
1 answer
2k views

Can't Access CouchDB Remotely

Please keep in mind that I have this installed on an Amazon EC2 instance running the latest version of Ubuntu Server. I have changed the bind_address to 0.0.0.0. netstat -an | grep 5984 yields the ...
Willem Ellis's user avatar
0 votes
1 answer
648 views

www-data user on Ubuntu default LAMP install

Ok I feel like this is a very dumb question but after years of working with Ubuntu/LAMP I still don't know the answer. Out of the box of course the Ubuntu LAMP server uses the www-data user for ...
Aaron Lozier's user avatar
4 votes
1 answer
9k views

How to set Varnish so that it doesn't cache a specific URL with a query string?

Server setup: Ubuntu 12.10, Varnish 3.0.2, Nginx 1.3.14, with a WordPress 3.5.1 install. We are using the "Random Redirect" plugin which shows a random blog post at the URL http://example.com/?random ...
Kevin Worthington's user avatar
3 votes
2 answers
6k views

AWS-CLI - Can't find my config even through it exists

I installed Amazon Command Line Tools (AWS-CLI) using: pip install awscli It installed successfully. I then created a file in this location: /opt/aws/aws_cred.txt [default] aws_access_key_id = XYZ ...
J.Zil's user avatar
  • 1,123
0 votes
3 answers
4k views

Cant run rc.local manually and doesn't run automatically on ubuntu

This is quite a simple one. I created an rc.local file here: /etc/rc.local I made it executable. However, it doesn't run when I boot the server. I can see it in the directory and when I try to run ...
J.Zil's user avatar
  • 1,123

1
189 190
191
192 193
332