=== dendrobates is now known as dendro-afk | ||
=== jjohansen is now known as jj-afk | ||
marrusl | erichammond, for the start after filesystem, your custom job could be (for example): start on local-filesystems. | 00:18 |
---|---|---|
erichammond | marrusl: Yep, got that part. Mainly wondering if I can hold off MySQL until I complete setting up the temporary directory for it. | 00:18 |
marrusl | 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 |
marrusl | something like: custom-job-wait.conf | 00:19 |
marrusl | erichammond, wait, let me create and pastebin something. 1 min. | 00:20 |
erichammond | marrusl: cool, thanks. | 00:20 |
marrusl | erichammond, http://pastebin.com/fPtv6kaW | 00:24 |
marrusl | 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:24 |
erichammond | marrusl: Thanks, I'll check it out. and yes, it's just a simple task. | 00:25 |
marrusl | 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 |
marrusl | actually it might work just as well, because the wait job terminates on (started custom or stopped custom) | 00:26 |
marrusl | once the wait job dies, mysql is free to contine. | 00:27 |
marrusl | 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:28 |
iggi | Whats the easiest way to check what program is listening on a specific port? | 00:30 |
erichammond | marrusl: nice. I think we could simply use this technique to do our task directly in that config (create directory and mount). | 00:30 |
marrusl | erichammond, aha. great idea. | 00:31 |
marrusl | erichammond, fwiw, nice to "meet" you. big fan of yours in the ec2ubuntu world. :) | 00:32 |
erichammond | 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 |
erichammond | marrusl: Thanks for the help. | 00:35 |
marrusl | erichammond, happy to. take care. | 00:35 |
=== dendro-afk is now known as dendrobates | ||
=== dendrobates is now known as dendro-afk | ||
jmarsden | iggi: sudo netstat -ntlp | grep :1234 # will show you the process/program listening on TCP port 1234 | 01:26 |
iggi | jmarsden: I tried that, the problem is that it just shows "-" for the program | 01:32 |
jmarsden | iggi: That usually means you didn't do the sudo so you ran netstat as an unpriviledged user? | 01:32 |
iggi | Good point /facepalm | 01:33 |
iggi | still doesn't explain why apache is listening on port 80, but doesn't load the page :( | 01:33 |
jmarsden | iggi: So now you read your apache logs under /var/log/apache2 to find out what it did. | 01:34 |
iggi | 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:40 |
jmarsden | 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 |
iggi | jmarsden: I tried that too, no luck | 01:43 |
iggi | jmarsden: If it makes a difference I am running virtual host, but nothing has changed since then | 01:44 |
jmarsden | 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? | 01:47 |
iggi | jmarsden: It says all connections are waiting for connection and one is "sending reply" | 02:03 |
=== cerber0s is now known as cerberos | ||
=== dendro-afk is now known as dendrobates | ||
=== dendrobates is now known as dendro-afk | ||
edugonch | 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:57 |
Tohuw | edugonch: what's the make/model of your iscsi controller? Have you checked its compatibility with Ubuntu Server? | 03:58 |
edugonch | Please, I need help on this | 03:58 |
edugonch | I don't know, let me see | 03:58 |
trimeta | 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 |
trimeta | How do I reset apt so it can be used again? | 04:20 |
trimeta | Since no actual updating was happening when the ssh session timed out? | 04:21 |
patdk-lap | reset apt? | 04:21 |
patdk-lap | it should of reset itself | 04:21 |
patdk-lap | unless your server doesn't know the session timed out, and it's still going | 04:21 |
patdk-lap | then you need to kill it | 04:22 |
patdk-lap | and when you run apt, it should tell you what to do, or clean it itself | 04:22 |
trimeta | Yeah, pgrep -l aptitude shows one process still running. | 04:22 |
patdk-lap | turn on ssh keepalive, so it notices from now on :) | 04:22 |
rigved | trimeta: just login again and run the upgrade again...i case it tell you that aptitude is already running, then you | 04:22 |
rigved | need to stop it | 04:22 |
trimeta | I can kill that safely, right? It'll wipe the lockfile properly and everything? | 04:22 |
trimeta | Or do I then need to manually delete /var/lib/dpkg/lock? | 04:23 |
patdk-lap | the next apt run should notice the lock is stale | 04:23 |
trimeta | Huh, that did work. Cool. | 04:24 |
trimeta | I was paranoid about killing it, but it did the job. | 04:24 |
trimeta | Especially since this new upgrade is the kernel...I didn't want to mess around. | 04:24 |
patdk-lap | kernel is probably one of the safest things :) | 04:25 |
trimeta | Speaking of which, I should restart this in a screen...anyway, thanks for your help guys. | 04:25 |
trimeta | 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 |
trimeta | Or forgotten to mount the /boot partition at all, so it can't find /boot/grub... | 04:25 |
patdk-lap | ya, those are annoying to fix, but no real damage :) | 04:26 |
trimeta | True, I suppose. | 04:26 |
cavefish | Hey people | 12:04 |
cavefish | I've got problems installing sound on Ubuntu Server 10.10 with the latest updates / kernel | 12:05 |
cavefish | I've installed all the Alsa packages and nothing seems to work with the program Cmus | 12:06 |
cavefish | I've got an error saing Error: opening audio device: internal error | 12:06 |
Luchi_Miranda | ? | 13:17 |
lvh | 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) | 13:19 |
=== dendro-afk is now known as dendrobates | ||
uvirtbot | New bug: #738209 in autofs (main) "autofs appears to be started before it is truly functional" [Undecided,New] https://launchpad.net/bugs/738209 | 13:42 |
=== dendrobates is now known as dendro-afk | ||
=== dendro-afk is now known as dendrobates | ||
uvirtbot | New bug: #738219 in autofs (main) "autofs should always start before at and cron" [Undecided,New] https://launchpad.net/bugs/738219 | 14:06 |
neko | Hi | 14:57 |
neko | 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 | 14:59 |
neko | I need it for a network with about 50-100 computers | 15:00 |
nigelb | LDAP probably is *the* authentication standard. | 15:01 |
nigelb | You can have all your machines use pam and login via ldap sharing the same /home directory over nfs | 15:01 |
nigelb | so, you can have a 1000 ubuntu computers set up with ldap, and administering them would be very easy. | 15:01 |
neko | nigelb, but it also can be possible with Mysql, I think | 15:02 |
nigelb | neko: how do you get mysql to talk to ubuntu login? | 15:02 |
neko | nigelb, with Samba is possible | 15:03 |
nigelb | that, I don't know. | 15:04 |
nigelb | I know LDAP is certainly possible. | 15:04 |
nigelb | and that's the reason why its there | 15:04 |
neko | but I see LDAP so many complex... isn't it? | 15:05 |
nigelb | Yeah, it is :| | 15:06 |
neko | I've never worked wit it | 15:06 |
nigelb | I recently set it up, I know its complicated like crazy. | 15:06 |
neko | heheh | 15:06 |
neko | 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:09 |
sako | hey all, you guys think ubuntu is ready for production webserver? | 15:26 |
Patrickdk | I sure hope so, been using it that way for years now | 15:26 |
sako | i just got aws (ec2) and seems ubuntu is the best option as there are official amis from canonical ;) | 15:26 |
compdoc | heh | 15:26 |
sako | been debating between ubuntu and debian | 15:26 |
compdoc | I use ubuntu desktop as a server - its great | 15:26 |
jkg | sako: just a data point, but all my production web servers run Ubuntu LTS releases. | 15:27 |
sako | ye | 15:27 |
sako | i guess if wikimedia can make ubuntu work, no reason i can't :P | 15:27 |
jkg | not sure I'd want the excitement of 6 monthly upgrades, but LTS is a nice balance for me :-) | 15:27 |
sako | my purposes are a lot less mission critical than theirs :P | 15:27 |
sako | ya LTS would def be what i go with | 15:28 |
sako | hmm looks like ubuntu doesnt have #includedir /etc/sudoers.d by default | 15:43 |
=== sourcode_ is now known as sourcode | ||
=== sourcode___ is now known as sourcode | ||
=== sourcode_ is now known as sourcode | ||
=== sourcode_ is now known as sourcode | ||
uvirtbot | New bug: #738308 in apache2 (main) "Backport proxy connect SSL support" [Undecided,New] https://launchpad.net/bugs/738308 | 17:07 |
=== sourcode_ is now known as sourcode | ||
qwebirc26475 | hello | 18:34 |
qwebirc26475 | how can I disable user login at boot? | 18:35 |
qwebirc26475 | i just to boot the computer without typing passwords.. | 18:35 |
qwebirc26475 | want | 18:35 |
qwebirc26475 | -:ALL EXCEPT root:LOCAL ? | 18:38 |
gbsd-gord | 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 |
qwebirc26475 | gbsd-gord: I want ubuntu-server to boot without asking a password | 18:41 |
qwebirc26475 | bigbang: except for root of course | 18:41 |
qwebirc26475 | and I have setup a SSH server | 18:42 |
gbsd-gord | but it will boot without a password, into a running state, is what I was really trying to say | 18:42 |
qwebirc26475 | yes | 18:42 |
qwebirc26475 | how can I do that | 18:43 |
gbsd-gord | ah it does it anyways, | 18:43 |
gbsd-gord | 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 |
qwebirc26475 | gbsd-gord: but I want to get to the console without login in | 18:43 |
gbsd-gord | hmm ok | 18:44 |
qwebirc26475 | yeah :p but i want access the shell too | 18:44 |
gbsd-gord | 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 |
gbsd-gord | I do understand what you want though | 18:44 |
qwebirc26475 | hm | 18:44 |
qwebirc26475 | yeah | 18:45 |
qwebirc26475 | maybe I'll leave it | 18:45 |
qwebirc26475 | let me test one thing | 18:45 |
gbsd-gord | what I would do, is make a user called "user", and either a blank password, or a password like "user" | 18:45 |
gbsd-gord | but its VITAL that the "user" user is not allowed to be a sudoer | 18:45 |
qman__ | at the very least | 18:46 |
qman__ | even more measures should be taken to lock that user down | 18:46 |
qman__ | no remote access, for one | 18:46 |
gbsd-gord | that's a huge risk you see, which is why I don't really want yout to do that, no way :) | 18:46 |
gbsd-gord | ^ like he says, it's scary | 18:46 |
uvirtbot | gbsd-gord: Error: "like" is not a valid command. | 18:46 |
qwebirc26475 | k | 18:47 |
qwebirc26475 | done | 18:47 |
qwebirc26475 | I just setup the ssh server because I don't have a monitor for that computer hehe | 18:47 |
gbsd-gord | that's the way most servers are run | 18:47 |
qwebirc26475 | : | 18:47 |
gbsd-gord | headless | 18:47 |
qwebirc26475 | :) tks for the tips | 18:47 |
qwebirc26475 | need to go | 18:47 |
qwebirc26475 | [] | 18:48 |
gbsd-gord | ok, be careful ;) | 18:48 |
gbsd-gord | scary | 18:48 |
qman__ | what's even more scary is the millions of users that run that way | 18:49 |
gbsd-gord | yeah, don't depress me haha | 18:49 |
qman__ | some people I have to twist arms to use a password at all, much less implement a secure password policy | 18:50 |
gbsd-gord | some peopel are beyond help, which is normally what I put in writing in reports | 18:51 |
gbsd-gord | but ^ I spell it correctly | 18:51 |
qman__ | hah | 18:51 |
gbsd-gord | 10 minutes later I still can't think _why_ he wanted to do that, which means it time for a break here | 18:53 |
Aison | hello | 19:55 |
Aison | as I understand, nfs4 shares are not auto mounted at bootup | 19:55 |
Aison | 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:55 |
Aison | but somehow this is not working either | 19:56 |
Aison | what do I have to consider? | 19:56 |
=== pickscrape_ is now known as pickscrape | ||
Guest86001 | ei | 19:58 |
Guest86001 | How can I make sshd to start on boot? | 19:58 |
Guest86001 | I installed but it's not starting.. | 19:59 |
Guest86001 | k | 20:08 |
Guest86001 | i changed the port it's working again | 20:08 |
Guest86001 | weird | 20:08 |
Guest86001 | hm | 20:18 |
Guest86001 | the problem was the listenaddres | 20:18 |
Xpistos | Is there any reason why I should be able to boot a 10.04 server that has a 2tb drive in it? | 20:31 |
Xpistos | 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:32 |
_ruben | nor do a lot of partition tools | 20:33 |
=== ogra is now known as Guest23759 | ||
Xpistos | what is gpt? | 20:51 |
_ruben | guid partition table, dos partition tables only go upto 2tb | 21:05 |
_ruben | !gpt | 21:05 |
qwebirc70881 | hello again | 21:19 |
qwebirc70881 | How do I connect 2 computers on lan | 21:21 |
qwebirc70881 | I edited /etc/network/interfaces but I cannot ping the machine | 21:21 |
Devo-Kun | ]\ | 21:47 |
dhimes | 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 |
dhimes | ... and... | 21:49 |
dhimes | libvertxml.tmpl looked to have conditional logic not described in the how-to. (I'm new at KVM- just playing with it ) | 21:50 |
Aison | what do I have to install so that post-up, pre-down, is executed in /etc/network/interfaces | 21:54 |
Aison | somehow it's not working here :( | 21:55 |
nonotza | 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 |
nonotza | I can use it from the CLI but php pages being served from apache2 aren't parsed | 22:00 |
dhimes | Did you reinstall apache? | 22:02 |
dhimes | Sounds like the apache config got borked so won't run the php | 22:06 |
dhimes | Perhaps could happen if put in a new apache, but didn't tell it about php? | 22:07 |
=== 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 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!