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
0 votes
3 answers
2k views

How to get html/css/jpg pages server by both apache & tomcat with mod_jk

I've apache2 and tomcat6 both running on port 80 with mod_jk setup on ubutnu servers. I had to setup an error document 503 ErrorDocument 503 /maintenance.html in the apache configuration and somehow I ...
user53864's user avatar
  • 1,753
0 votes
3 answers
3k views

forward all mail on a specified domain to script

I run a disposable e-mail service that accepts all incoming mail and forwards it to a PHP script that stores it in a database for people to view. Before now, I have been on shared hosting with cPanel, ...
Ashley Strout's user avatar
1 vote
2 answers
602 views

Ubuntu server with Apache supporting php4,5 and 6

I have websites hosted on 1and1 and the servers default to PHP 4 and if you want PHP 5 or 6 you add "AddType x-mapp-php5(or 6) .php" and it'll run the scripts as PHP 5 or 6. There isn't a lot of ...
iarp's user avatar
  • 111
2 votes
1 answer
8k views

Warning flagged by the 'rkhunter'

when I scanned my Ubuntu 10.04 with rkhunter a root kit hunter toolkit, it gave following warning: Is there something that I have to worry about. [23:06:19] /usr/sbin/adduser ...
gkt's user avatar
  • 129
0 votes
1 answer
287 views

Network interface selection

Suppose I have more than a network interfaces and I want to selectively use them per application. eth0 is the standard interface with the standard gateway in the main routing table eth1 is another ...
Antonino's user avatar
1 vote
1 answer
899 views

Glassfish v3 failure when startup. "Cannot allocate memory "

It is clear in this Question https://serverfault.com/questions/210275/fail-to-start-glassfish-3-1-java-io-ioexception-error-12-cannot-allocate-mem But in my case,I have a 512M memory Ubuntu 10.04 ...
Shisoft's user avatar
  • 161
1 vote
2 answers
429 views

HD will go into readonly mode

I'm running into a problem with some disks on an Ubuntu system. They keep going into readonly mode. We have systems running in 5 different ski resorts and this problem has now occurred in 3 of them. ...
Abel's user avatar
  • 123
15 votes
4 answers
21k views

After deleting a large file, how long does it take `df` to pick up the change?

I deleted a 2.3GB log file on my Ubuntu server, and df doesn't seem to be picking up the change. Is there typically a delay before df can detect that a large file has been deleted?
dan's user avatar
  • 917
2 votes
2 answers
2k views

clusterssh with multiple monitor

The clusterssh is not working in Multiple Monitor case. I have 3 monitors configured for Ubuntu 10.10, which is working fine. But when using clusterssh 4.00.05-1 on it to manage multiple servers, it ...
user68973's user avatar
9 votes
4 answers
9k views

Webserver: chrooted PHP gives mysql.sock error when attempting to reach mysql

I have configured an Ubuntu webserver with Nginx + PHP5-FPM. I have created a chrooted environment (using jailkit) that I'm tossing my developers into, from where they can develop their test ...
Jon L.'s user avatar
  • 318
0 votes
1 answer
5k views

Trouble with NFS file sharing on Synology 211 NAS and Ubuntu Client

I'm attempting to set up NFS file sharing and keep getting the error mount.nfs: access denied by server while mounting 192.168.1.110:/myshared Here is the exact command I'm using to mount: sudo ...
Aglystas's user avatar
  • 193
1 vote
3 answers
2k views

How do I VNC using a SSH Tunnel from one Ubuntu box into another

I'm new to SSH and Linux so please don't laugh if this is a simple question. I've looked and haven't really found anything using Google that does exactly what I want it to do. Setup Home LAN Router ...
Jared Heinrichs's user avatar
0 votes
1 answer
305 views

openldap: grant global read access to a user

System: Ubuntu 10.10 OpenLDAP 2.4.23 I have a user that I want to give global read rights to. I used webmin to do so, but somehow that app corrupts the olcDatabase={1}hdb.ldif file, so I am looking ...
user68926's user avatar
0 votes
2 answers
463 views

My server was used to boot (problem after MDADM raid rebuild)

My home-backup server, with 8*2TB disks won't boot anymore. Two disks failed at the same time and i rebuilt the raid 6 array with no problem, but now i can't boot the os. I'm using ubuntu server, 10....
cedivad's user avatar
  • 690
0 votes
1 answer
218 views

slow server on ssh output of top

top - 21:15:43 up 2:28, 1 user, load average: 0.54, 0.50, 0.52 Tasks: 225 total, 1 running, 223 sleeping, 0 stopped, 1 zombie Cpu(s): 0.4%us, 2.9%sy, 0.0%ni, 96.5%id, 0.2%wa, 0.0%hi, 0....
Bond's user avatar
  • 841
0 votes
2 answers
177 views

Ubuntu forward X over ssh

I've currently have the following situation. I have a server, that is connected to the internet with ssh (on a non 22 port). This is an ubuntu server without X server. Now i have a machine inside ...
Grezly's user avatar
  • 101
1 vote
2 answers
4k views

Squid randomly stops serving requests. How can I resolve this issue?

The squid (2.7) proxy that I have running on ubuntu 8.10 stops accepting new requests after being online for a while, due to reasons that I can't discover. However doing a squid -k reconfigure ...
Vijay's user avatar
  • 227
0 votes
1 answer
166 views

ubuntu+nginx+fastcgi php owner

how to set up different owner for php? now it runs from www-data, i need to setup it runs from myself
kusanagi's user avatar
  • 145
0 votes
1 answer
107 views

Change Slicehost operating system without losing data

I want to change the operating system on a Slicehost VPS. I'd like to do this in the least painful way possible, so I'm trying to figure out a way to do it without building a new slice from scratch ...
Evan's user avatar
  • 101
0 votes
2 answers
134 views

Ubuntu: what I should install to provide the subdomain service

I have a server running ubuntu, with a domain bc.com's A record point to it. I want to setup aa.bc.com, cc.bc.com to redirect to bc.com/b.jsp?id=aa/cc What I should install to make that work?
Bin Chen's user avatar
  • 165
1 vote
1 answer
2k views

ubuntu apache subdomains pointing to main domain

I have a ubuntu server with apache setup, the main domain on the server is a subdomain app.example.com, which is working fine. Now if I setup john.app.example.com, then that also is displaying the ...
Suhail Thakur's user avatar
4 votes
4 answers
1k views

Xen and Ubuntu?

How does one properly approach having Ubuntu servers on a Xen hypervisor? I don't have any experience with RAID or Xen other than from a theoretical level. Additional requirements: Use with mdadm ...
wag2639's user avatar
  • 2,165
1 vote
1 answer
1k views

node.js 'not found' warnings

When I run configure, I'm seeing 'not found' warning messages for port.h, sys/event.h, and kqueue. Checking for program g++ or c++ : /usr/bin/g++ Checking for program cpp : /...
user avatar
1 vote
2 answers
5k views

Truecrypt fails to unmount

With a recent package and kernel update truecrypt refuses to unmount drives with device-mapper: remove ioctl failed: Device or resource busy Command failed (worked fine before) Ubuntu 10.10 I ...
javadude's user avatar
  • 239
0 votes
0 answers
91 views

What is wrong with this Vhost setting?

I posted a question about this issue earlier but i am pasting the vhost file here to show that i am going to the same location when i go to nacc.biz and kadence.tv if you look at the bottom of the ...
Matt Elhotiby's user avatar
1 vote
3 answers
2k views

Cant access file from http://192.168.1.2:8774/preseed/preseed.conf in Ubuntu cloud controller

While installing node controller I receive this fatal error: Failed to retrieve the preconfiguration file The file needed for preconfiguration could not be retrieved from http://192.168.1.2 :8774/...
selvakumar's user avatar
0 votes
2 answers
70 views

Mixing both local and nonlocal addresses on three switches

I have four computers that have nonlocal addresses like 150.X.X.X. Now I also get another few computers that should be only accessible through a gateway (it will be computing cluster) and they ...
klew's user avatar
  • 723
0 votes
2 answers
1k views

gitolite post commit hook to update redmine's repository

I currently have a ubuntu server machine which has gitolite and redmine installed. Redmine accesses repository copies which are updated using a cron task. Having a cron task to pull the updates seems ...
eliocs's user avatar
  • 197
1 vote
3 answers
2k views

Apache2+PHP time out

On Ubuntu 10.10 with Apache2 + php, the script <? system("sleep 10000"); ?> does not time out. Both max_execution_time and TimeOut do not apply. Is there any way to ensure that a script ...
MathGladiator's user avatar
9 votes
2 answers
26k views

Correctly changing default locale in ubuntu server 10.04 LTS?

I got a new server but unfortunately the hoster only installs me Ubuntu 8.04 in german. So the upgrade worked smoothly, but now I am trying to change the system to english. I adapted /etc/...
The Shurrican's user avatar
0 votes
1 answer
439 views

ssh tunneling problem

I am on a windows machine on a network which connects thousands of users including myself onto internet1 which when congested gets very slow. The linux machine however although connected to the same ...
Bond's user avatar
  • 841
1 vote
1 answer
545 views

Does running apt-get update/upgrade require a nginx reboot?

Each time or often enough when I run apt-get update then upgrade, I get a nginx 502 error. Rebooting the server brings everything back up. I'm guessing I have to restart nginx each time? BTW, how ...
Blankman's user avatar
  • 2,901
0 votes
1 answer
442 views

mrtg not allowing me to view various devices

I'm running mrtg on ubuntu to monitor my Cisco switches, and it works fine for one device. However, when I attempt to add a second switch, the index.html file created by mrtg only shows me ...
user68616's user avatar
6 votes
2 answers
888 views

Cloud vs traditional iSCSI, xen, drbd, etc

I was wondering, how does a 'traditional' virtual machine setup with storage on iSCSI, with a fallback using DRBD, nodes with Xen installed the 'normal way', storing their images on the iSCSI target, ...
Halfgaar's user avatar
  • 8,204
0 votes
1 answer
768 views

How to change grub defaults?

I've got Ubuntu 10.04 and Grub 0.97, I've created /etc/default/grub (according to example in menu.lst): defoptions= howmany=all But every-time when update-grub is executed quite splash is appended ...
Ency's user avatar
  • 1,241
1 vote
1 answer
452 views

confusion in setting up a firewall on bridge

I am having some confusion in putting up my IPTABLE rules. auto lo iface lo inet loopback # The primary network interface auto eth2 iface eth2 inet manual auto br0 iface br0 inet static ...
Registered User's user avatar
0 votes
1 answer
140 views

Automatic compile on apt-get upgrade?

i'm a big fan of Ubuntu and eaccelerator, but alas, I have found no good repositories for the binaries. Sadly eaccelerator needs to be compiled after every php update on Ubuntu, and even on Lucid ...
Antti Rytsölä's user avatar
1 vote
0 answers
329 views

Install FreeNX on Maverick Ubuntu

I'm attempting to set up FreeNX on the standard Ubuntu Amazon EC2 AMI image. (I'm using ami-af7e2eea). Specifically, I'm trying to follow these directions: http://blog.restbackup.com/how-to-use-...
Dan Fabulich's user avatar
3 votes
3 answers
1k views

sh script to remove just txt files using find and exec rm warns me of missing argument to exec

find /full/path/dir -name '*.txt' -exec /bin/rm {} \; Fine in a shell, but pop it in a sh script along with some similar lines, to get it to run nightly from a cronjob, and it reports: find: missing ...
talkingnews's user avatar
0 votes
5 answers
132 views

Any conference videos online that you guys can recommend?

I like watching conference presentations that show you how to do things when it comes to server setup/deployment etc. Any good ones out there? The more practical and hands on the better.
5 votes
4 answers
291 views

Preparing to sell a server

I purchased a server about 6 months ago and it's been a huge learning experience. I'm now going to sell it - I've sold the sites that I was hosting on it. I'd like to sell it with formatted hard ...
Ben's user avatar
  • 3,880
1 vote
5 answers
1k views

Trying to get an ubuntu headless server to call home

I would like to install PPTP on my remote ubuntu server, so that it will connect back to the main office, so that backups, and and also data transfer can take place. Can anyone suggest a good guide ...
Mister IT Guru's user avatar
2 votes
1 answer
554 views

How to restrict permission to ssh user

I would like to allow a user to login through SSH but with different permission coming from different ipaddress. For example, a user "tester" login to SSH through 192.168.1.1 and another user login ...
Bond's user avatar
  • 841
3 votes
2 answers
517 views

keeping an SSH connection alive

Here is a situation which I noticed. I have a server to which I login via SSH and when I do it from lan then things work perfectly and I have noticed that even if the connection is idle (i.e. I am ...
Bond's user avatar
  • 841
0 votes
3 answers
12k views

How to install Java on Ubuntu through SSH?

In short, all of the installation guides assume that I have a way to download the Java binary. Being clueless, I do not know how to do this. I'm using Ubuntu 9.10-x86_64
user avatar
0 votes
1 answer
792 views

Use a separate partition to host tomcat's webapps

I'm setting up s serie of tomcat server. And i've read a security guide. They say that, it's a good idea to host tomcat's webapps folder on a different partition than the rest of tomcat files. I'm ...
benzen's user avatar
  • 423
2 votes
1 answer
6k views

Resize XFS Partition (Increase)

I'm new to xfs and was wondering how to increase the size of /var and /home, I'm guessing xfs does not simply increase in size as needed... Filesystem Type Size Used Avail Use% Mounted on /...
Ian's user avatar
  • 335
1 vote
1 answer
5k views

BIND9 DNS server not resolving recursive lookups on a different subnet

I've setup an Ubuntu 10.04 BIND9 DNS server in my companies server room so that it has a redundant network, power supply, etc... It shares that room with 2 other servers. If I do an nslookup from ...
Hiro2k's user avatar
  • 167
204 votes
3 answers
179k views

How do I ask apt-get to skip any interactive post-install configuration steps?

I have a server build script which uses apt-get to install packages. It then puts pre-written configuration files directly in place, so the interactive post-install configuration dialog in packages ...
jl6's user avatar
  • 2,635
0 votes
3 answers
2k views

Why is apache serving the default?

I keep adding more vhosts and enabling them but all the sites always do to the default vhost in sites-available here is what the default kind of looks like with me only changing the ip for security ...
Matt Elhotiby's user avatar

1
276 277
278
279 280
332