Hot answers tagged ubuntu-10.04
Upstart watches its configuration directories with inotify and reloads the configuration when any of the files change or a new file is added. Apparently this doesn't work for symlinks. To manually update the configuration use $ initctl reload-configuration
Ok... I've found the answer with experiments. Use the server or alternate ISO instead of the desktop ISO! Preseed does not work with the desktop ISO. Use the linux-generic kernel and tasksel ubuntu-desktop to get a desktop installation. The auto boot parameter does not work (at least for i386). Use auto=true priority=critical instead. In contrast to the ...
First the lecture: Rule Number Zero: If you do not understand what something does, DO NOT TOUCH IT Deleting files "to save space" with no concept of what you are doing will anger the operating system gods, resulting problems similar to what you are now experiencing (Things break. Fixing them is often non-trivial). Now the sympathetic assistance: ...
You're looking at a lost cause. Save the data you need, and reinstall the operating system.
If you want to use the GUI, try clicking Places -> Connect to Server.... For Service Type choose Windows share, and fill out the fields like so: Server: 192.168.1.66 Share: SharedFolder Then download your file from the window. If you want to use a command-line interface, smbclient uses a FTP-like interface (get, put, etc.): ~$ smbclient ...
Apparently respawn console none start on (local-filesystems and net-device-up IFACE!=lo) stop on [!12345] script chdir /usr/local/gw6c/bin/ exec /usr/local/gw6c/bin/gw6c end script seems to work
Use both the ServerName and ServerAlias directives in your virtualhost definition. You would do something like: <VirtualHost *:80> Servername wiki.lan ServerAlias wiki [...] </Virtualhost> See Apache Docs – ServerAlias Directive.
I've ended up here more than once so I thought I'd provide an updated answer based on my own experience after using the answers here. Thanks especially to @danorton and @orj for their answers. This script has been tested on Upstart 1.5 running on Ubuntu 12.04 with Nginx 1.0.11 and Passenger 3.0.11. If you're not using Passenger you may need to play around ...
Found it! You need: - JETTY_HOST=0.0.0.0 to listen to other hosts. So a minimal /etc/default/jetty file includes: - JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun NO_START=0 JETTY_HOST=0.0.0.0 JETTY_PORT=8080
php.ini-development and php.ini-production, which come with the PHP 5.3 package, are really just examples of recommended settings. You should review the settings and make sure that they apply to your use and copy them to the regular php.ini file location. On my Ubuntu 10.04.1 LTS (lucid) server, here’s where I find mine: # locate php.ini-development ...
"In use" as in with an active connection, or that programs are listening on? Or both? Run sudo netstat -lp in your terminal; this will tell you what ports are open to receive connections, and what programs are listening on them. Try sudo netstat -p for the same thing, plus currently-active connections.
That's just cron running the cronjobs. It opens (and then closes) a PAM session for the appropriate user when it executes commands. Based on the timestamps, you have a cronjob which executes every minute.
Figured it out, I needed to wait for a specific device, here's my working Upstart job file: description "SSH Tunnel" start on (net-device-up IFACE=eth0) stop on runlevel respawn env DISPLAY=:0.0 exec autossh -nNT -o ServerAliveInterval=15 -R 22100:localhost:22 email@example.com -p 2201
After some general confusion about permissions the OP realized that the problem wasn't that he didn't have permissions and paths rights but that AppArmor was preventing MySQL from reading and writing to the new location. This is his solution: First stop MySQL so nothing weird happens while you're fiddling: $ sudo stop mysql Then move all the database ...
This is coming from the MOTD (Message Of The Day). The MOTD is pieced together from the commands in /etc/update-motd.d. The specific message comes from running /etc/update-motd.d/90-updates-available. I have seen this happen on systems where after running sudo apt-get update and packages are kept back The following packages have been kept back: ...
If you have SSH opened to the Internet you WILL see hack attempts where scripties will try to crack that password. Possible mitigation steps: Do not allow root login via SSH (su after login if needed) Have a VERY strong password (think passphrase - 10 or more characters) Use key authentication for SSH and turn off password auth Install fail2ban to block ...
First of all, init scripts are supposed to be run sudo /etc/init.d/name when you are not logged in as root( when logged-in user is sudo enabled) Secondly, when you run sudo /etc/init.d/nginx start ==> it fires the master nginx process as root and worker processes as the user you specified in your nginx.conf user directive(eg. www-data) Can you confirm ...
Usually, in this case you would want to use apt-get dist-upgrade If you do not wish to run dist-upgrade by fear of breaking something by an accident removal, you can also tell apt-get to upgrade only the packages that were kept back, like this: In your case: sudo apt-get install linux-headers-server linux-image-server linux-server Just specify the ...
Another one of these "fine" Ubuntu-bugs... Check Ubuntu Bug #634387: https://bugs.launchpad.net/ubuntu/+source/sysvinit/+bug/634387 I deleted the files "/etc/motd.tail" and "/etc/motd.tail.old" and did a logout / login to re-genereate a propper /etc/motd.
Swapfiles are only supported on some openvz setups, and disabled on purpose by some admins so you cant use up much more resources than you've been alocated. You probably need to upgrade your vps.
Linux command-line ftp defaults to using active-mode FTP. Try switching to passive mode with the pass command: me@ip-10-a-b-c:~$ ftp ftp.drupal.org Name (ftp.drupal.org:me): anonymous 331 Please specify the password. Password: 230 Login successful. Remote system type is UNIX. Using binary mode to transfer files. ftp> dir 500 Illegal PORT command. ftp: ...
You can "preseed" answers so that debconf sees you've answered the question already, and doesn't bother asking it again. You need some tools from the debconf-utils package: sudo apt-get install debconf-utils Install your program and manually answer the questions once. Then, you can ask debconf what it stored in its database: debconf-get-selections | ...
When does your project have to be production ready? Tomorrow? I'd go with 8.04 LTS. In a month? Maybe you should develop it on 8.04 and try it out on a local 10.04 virtual machine to evaluate it. In 6 months? My guess is Canonical will have fixed most problems by then. Make sure you have a simple repeatable installation routine so that you can deploy on ...
Ubuntu 10.04 is a LTS (Long-Term Support) release, and so is better suited for use on a server unless you're certain you have requirements that can only be fulfilled by 10.10.
D'oh, alright I figured it out... dbus isn't installed for some reason although services were working before..? Not sure what happened, anyways sudo apt-get install dbus worked.
It seems there was a bug in the 9.1 packages, but it should be fixed. As indicated in the linked thread the issue could be resolved by running : update-alternatives --remove postmaster.1.gz /usr/share/postgresql/9.1/man/man1/postmaster.1.gz and then reinstalling postgresql-9.1: apt-get install -f apt-get install --reinstall postgresql-9.1
In Linux, like I think in all Unixes, when a process has an open file, it can continue to access it even if you delete it. After deletion the file is unreachable by other processes (there is no directory entry for it), but processes that had opened it before deletion can continue to access it using the handle the kernel gave them when they had opened it. The ...
Ahhhh....it doesn't really work that way. As long as the first nameserver is running and active all bind requests will go to it. The only way that you get to the second nameserver is if the previous nameserver in the list has died and after a LONG timeout. To fix your problem, I'm guessing that you might have to build a local caching DNS server ...
A better alternative is to install CNTLM, which is an NTLM proxy that presents itself as an ordinary web proxy. It's quite easy to install from .deb (trivial dependencies adduser and libc6 which should be on every system ever) and configure. Once you have it installed, you just tell apt-get to use proxy localhost:3128. This solution has two advantages: ...
Only top voted, non community-wiki answers of a minimum length are eligible