=== dendrobates is now known as dendro-afk === jjohansen is now known as jj-afk [00:18] erichammond, for the start after filesystem, your custom job could be (for example): start on local-filesystems. [00:18] marrusl: Yep, got that part. Mainly wondering if I can hold off MySQL until I complete setting up the temporary directory for it. [00:19] erichammond, to make sure that mysql waits for it, sure you could change the mysql config but you don't want to do that. instead create a "wait job" to block mysql until your job is done/started. [00:19] something like: custom-job-wait.conf [00:20] erichammond, wait, let me create and pastebin something. 1 min. [00:20] marrusl: cool, thanks. [00:24] erichammond, http://pastebin.com/fPtv6kaW [00:24] erichammond, now if your custom job is not a service that goes to "running" (rather it's a task that runs and is done) you might have to rework that. [00:25] marrusl: Thanks, I'll check it out. and yes, it's just a simple task. [00:26] By doing "start on starting mysql" as soon as mysql signals that it's *going* to start, it will wait until custom-job-wait is done. And custom-job-wait will block until custom-job has entered running. [00:26] actually it might work just as well, because the wait job terminates on (started custom or stopped custom) [00:27] once the wait job dies, mysql is free to contine. [00:28] Yeah probably some tweaking, but that gives you the method for blocking another job *without* having to modify it (which of course is a *bad* idea with stock packages, your changes will get clobbered on the next update of mysql). [00:30] Whats the easiest way to check what program is listening on a specific port? [00:30] marrusl: nice. I think we could simply use this technique to do our task directly in that config (create directory and mount). [00:31] erichammond, aha. great idea. [00:32] erichammond, fwiw, nice to "meet" you. big fan of yours in the ec2ubuntu world. :) [00:35] marrusl: It's cool when I'm able to contribute back a bit to the community whose work I've depended on for so long. [00:35] marrusl: Thanks for the help. [00:35] erichammond, happy to. take care. === dendro-afk is now known as dendrobates === dendrobates is now known as dendro-afk [01:26] iggi: sudo netstat -ntlp | grep :1234 # will show you the process/program listening on TCP port 1234 [01:32] jmarsden: I tried that, the problem is that it just shows "-" for the program [01:32] iggi: That usually means you didn't do the sudo so you ran netstat as an unpriviledged user? [01:33] Good point /facepalm [01:33] still doesn't explain why apache is listening on port 80, but doesn't load the page :( [01:34] iggi: So now you read your apache logs under /var/log/apache2 to find out what it did. [01:40] jmarsden: I had apache setup and running fine, but once I restarted it stopped working and gives "the server is taking to long to respond". Also, the logs don't have anything interesting in them [01:43] iggi: Sounds odd. Maybe try stopping it and then starting it, instead of restarting?? Do you at least see your attempts to get pages in the log files? [01:43] jmarsden: I tried that too, no luck [01:44] jmarsden: If it makes a difference I am running virtual host, but nothing has changed since then [01:47] I need to go out to eat soon, but test some more... what does sudo /usr/sbin/apache2ctl status show? Does it think apache is running? [02:03] jmarsden: It says all connections are waiting for connection and one is "sending reply" === cerber0s is now known as cerberos === dendro-afk is now known as dendrobates === dendrobates is now known as dendro-afk [03:57] Hello, I'm installing ubuntu server 10.10 and when I get to the disck config and the iscsi I get this error = No iscsi targets where discovered 0n xxxxxx:3260, what can I do? [03:58] edugonch: what's the make/model of your iscsi controller? Have you checked its compatibility with Ubuntu Server? [03:58] Please, I need help on this [03:58] I don't know, let me see [04:20] I ssh'ed into my server and ran "aptitude safe-upgrade," but then forgot about it and the ssh session timed out...it was at the "here are the updates you need, do you want them? [Y/n]" question when the timeout happened. [04:20] How do I reset apt so it can be used again? [04:21] Since no actual updating was happening when the ssh session timed out? [04:21] reset apt? [04:21] it should of reset itself [04:21] unless your server doesn't know the session timed out, and it's still going [04:22] then you need to kill it [04:22] and when you run apt, it should tell you what to do, or clean it itself [04:22] Yeah, pgrep -l aptitude shows one process still running. [04:22] turn on ssh keepalive, so it notices from now on :) [04:22] trimeta: just login again and run the upgrade again...i case it tell you that aptitude is already running, then you [04:22] need to stop it [04:22] I can kill that safely, right? It'll wipe the lockfile properly and everything? [04:23] Or do I then need to manually delete /var/lib/dpkg/lock? [04:23] the next apt run should notice the lock is stale [04:24] Huh, that did work. Cool. [04:24] I was paranoid about killing it, but it did the job. [04:24] Especially since this new upgrade is the kernel...I didn't want to mess around. [04:25] kernel is probably one of the safest things :) [04:25] Speaking of which, I should restart this in a screen...anyway, thanks for your help guys. [04:25] More than once I've run out of space on my /boot partition and had a hard time making it redo the install correctly. [04:25] Or forgotten to mount the /boot partition at all, so it can't find /boot/grub... [04:26] ya, those are annoying to fix, but no real damage :) [04:26] True, I suppose. [12:04] Hey people [12:05] I've got problems installing sound on Ubuntu Server 10.10 with the latest updates / kernel [12:06] I've installed all the Alsa packages and nothing seems to work with the program Cmus [12:06] I've got an error saing Error: opening audio device: internal error [13:17] ? [13:19] Hello. I'm trying to use virt-manaager to access a remote virtual machine over SSH. By default, virt-manager seems intent on logging in as root. How can I use my normal user? (Normal user has the correct permissions for creating and running VMs locally on that machine) === dendro-afk is now known as dendrobates [13:42] New bug: #738209 in autofs (main) "autofs appears to be started before it is truly functional" [Undecided,New] https://launchpad.net/bugs/738209 === dendrobates is now known as dendro-afk === dendro-afk is now known as dendrobates [14:06] New bug: #738219 in autofs (main) "autofs should always start before at and cron" [Undecided,New] https://launchpad.net/bugs/738219 [14:57] Hi [14:59] I'd like to configure a LDC with Samba & LDAP or Mysql... Could anyone tell me what advantages has LDAP over Mysql? I am more confortable with Mysql and I think that having personal accounts on it, I could use for more things, like php-based programs, etc [15:00] I need it for a network with about 50-100 computers [15:01] LDAP probably is *the* authentication standard. [15:01] You can have all your machines use pam and login via ldap sharing the same /home directory over nfs [15:01] so, you can have a 1000 ubuntu computers set up with ldap, and administering them would be very easy. [15:02] nigelb, but it also can be possible with Mysql, I think [15:02] neko: how do you get mysql to talk to ubuntu login? [15:03] nigelb, with Samba is possible [15:04] that, I don't know. [15:04] I know LDAP is certainly possible. [15:04] and that's the reason why its there [15:05] but I see LDAP so many complex... isn't it? [15:06] Yeah, it is :| [15:06] I've never worked wit it [15:06] I recently set it up, I know its complicated like crazy. [15:06] heheh [15:09] I'm used to work with Mysql, and I imagine that an user account DB with Mysql could be so much easyer to maintain than LDAP [15:26] hey all, you guys think ubuntu is ready for production webserver? [15:26] I sure hope so, been using it that way for years now [15:26] i just got aws (ec2) and seems ubuntu is the best option as there are official amis from canonical ;) [15:26] heh [15:26] been debating between ubuntu and debian [15:26] I use ubuntu desktop as a server - its great [15:27] sako: just a data point, but all my production web servers run Ubuntu LTS releases. [15:27] ye [15:27] i guess if wikimedia can make ubuntu work, no reason i can't :P [15:27] not sure I'd want the excitement of 6 monthly upgrades, but LTS is a nice balance for me :-) [15:27] my purposes are a lot less mission critical than theirs :P [15:28] ya LTS would def be what i go with [15:43] hmm looks like ubuntu doesnt have #includedir /etc/sudoers.d by default === sourcode_ is now known as sourcode === sourcode___ is now known as sourcode === sourcode_ is now known as sourcode === sourcode_ is now known as sourcode [17:07] New bug: #738308 in apache2 (main) "Backport proxy connect SSL support" [Undecided,New] https://launchpad.net/bugs/738308 === sourcode_ is now known as sourcode [18:34] hello [18:35] how can I disable user login at boot? [18:35] i just to boot the computer without typing passwords.. [18:35] want [18:38] -:ALL EXCEPT root:LOCAL ? [18:41] qwebirc26475: well as a server, all "server" services will run without a login, I assume you want some normal user to be able to monitor things locally at the console [18:41] gbsd-gord: I want ubuntu-server to boot without asking a password [18:41] bigbang: except for root of course [18:42] and I have setup a SSH server [18:42] but it will boot without a password, into a running state, is what I was really trying to say [18:42] yes [18:43] how can I do that [18:43] ah it does it anyways, [18:43] what you see is the login: for the next user that walks by, but even if that user logs in 3 months later, all the time, the services for network users have been running normally [18:43] gbsd-gord: but I want to get to the console without login in [18:44] hmm ok [18:44] yeah :p but i want access the shell too [18:44] from a ssecurity point of view, I'd say that was very bad, becasue there would be no accountign of who did what [18:44] I do understand what you want though [18:44] hm [18:45] yeah [18:45] maybe I'll leave it [18:45] let me test one thing [18:45] what I would do, is make a user called "user", and either a blank password, or a password like "user" [18:45] but its VITAL that the "user" user is not allowed to be a sudoer [18:46] at the very least [18:46] even more measures should be taken to lock that user down [18:46] no remote access, for one [18:46] that's a huge risk you see, which is why I don't really want yout to do that, no way :) [18:46] ^ like he says, it's scary [18:46] gbsd-gord: Error: "like" is not a valid command. [18:47] k [18:47] done [18:47] I just setup the ssh server because I don't have a monitor for that computer hehe [18:47] that's the way most servers are run [18:47] : [18:47] headless [18:47] :) tks for the tips [18:47] need to go [18:48] [] [18:48] ok, be careful ;) [18:48] scary [18:49] what's even more scary is the millions of users that run that way [18:49] yeah, don't depress me haha [18:50] some people I have to twist arms to use a password at all, much less implement a secure password policy [18:51] some peopel are beyond help, which is normally what I put in writing in reports [18:51] but ^ I spell it correctly [18:51] hah [18:53] 10 minutes later I still can't think _why_ he wanted to do that, which means it time for a break here [19:55] hello [19:55] as I understand, nfs4 shares are not auto mounted at bootup [19:55] I placed now post-up mount /home || true into the interfaces config files, so that the drives are mounted after the interface is up [19:56] but somehow this is not working either [19:56] what do I have to consider? === pickscrape_ is now known as pickscrape [19:58] ei [19:58] How can I make sshd to start on boot? [19:59] I installed but it's not starting.. [20:08] k [20:08] i changed the port it's working again [20:08] weird [20:18] hm [20:18] the problem was the listenaddres [20:31] Is there any reason why I should be able to boot a 10.04 server that has a 2tb drive in it? [20:32] When I try and go into either BIOS or RaidBIOS I get to see the drive but it doesn't show how big it is or move from where it is [20:32] <_ruben> 2tb drives tend to get the installer to use gpt (even tho the actual limit is a bit higher than most 2tb drives) .. and grub doesn't like gpt [20:33] <_ruben> nor do a lot of partition tools === ogra is now known as Guest23759 [20:51] what is gpt? [21:05] <_ruben> guid partition table, dos partition tables only go upto 2tb [21:05] <_ruben> !gpt [21:19] hello again [21:21] How do I connect 2 computers on lan [21:21] I edited /etc/network/interfaces but I cannot ping the machine [21:47] ]\ [21:49] following guidelines for 10.04 jeos-and-vmbuilder.html with two worries: apt-get install apt-proxy gives deprecation warning for twisted .protocols.telnet [21:49] ... and... [21:50] libvertxml.tmpl looked to have conditional logic not described in the how-to. (I'm new at KVM- just playing with it ) [21:54] what do I have to install so that post-up, pre-down, is executed in /etc/network/interfaces [21:55] somehow it's not working here :( [22:00] for some reason php on my ubuntu lamp server isn't working. it was working before, and now it isn't. can someone offer tips on troubleshooting? [22:00] I can use it from the CLI but php pages being served from apache2 aren't parsed [22:02] Did you reinstall apache? [22:06] Sounds like the apache config got borked so won't run the php [22:07] Perhaps could happen if put in a new apache, but didn't tell it about php? === dendrobates is now known as dendro-afk === hallyn is now known as hallyn_afk === dendro-afk is now known as dendrobates === hallyn_afk is now known as hallyn === hallyn is now known as hallyn_afk === hallyn_afk is now known as hallyn