/srv/irclogs.ubuntu.com/2010/07/05/#ubuntu-server.txt

=== andrewdell is now known as andrewl
=== andrewl_ is now known as andrewl
billybigriggeranyone here use nfs shares?01:42
giovanibillybigrigger: sure01:49
billybigriggergiovani, what do you use for mount options in your fstab?01:52
Doonz_hey guys im having a weird issue. I just had a power outtage that lasted longer than my UPS could handle. Anyhow the system came back up nicely but i have 2 raid arrays that arent mounted but when i try to mount the manually by running sudo mount -a it tells me that its either mounted or the mount point is busy. when i type mount it doesnt show up that its mounted and when i umount it it says its not mounted any advice?02:03
giovanibillybigrigger: uhm, hard,nosuid,udp off the top of my head02:10
giovanibillybigrigger: why do you ask?02:10
giovanioh and sec=krb5i02:12
clustyjust finished setting up my pptp vpn server. how can I get access to smb and afp shares from outside once i connected through the vpn server?02:14
billybigriggergiovani, because the wiki page for nfs looks outdated02:21
T3CHKOMMIEhey guys, trying to make my own google docs thing with my own server any ideas?02:23
giovanibillybigrigger: outdated how?02:25
=== dendrobates is now known as dendro-afk
Doonz_hey guys im having a weird issue. I just had a power outtage that lasted longer than my UPS could handle. Anyhow the system came back up nicely but i have 2 raid arrays that arent mounted but when i try to      debfx02:26
Doonz_ mount the manually by running sudo mount -a ittells me that its either mounted or the mount point is busy. when i type mount it doesnt show up that its mounted and when i umount it itn says its not mounted      deegee any advice?02:26
giovaniT3CHKOMMIE: I think a few of the general colaboration suites share some of Google Doc's features02:26
giovanii.e. Zimbra02:26
giovaninot that I've used them02:26
T3CHKOMMIEgiovani, thanks!02:27
giovanibut search "open source collaboration"02:27
giovanifengoffice.com too02:27
T3CHKOMMIEgiovani, you know of anything kinda free? like does oppen office suport any web/cloud stuff?02:31
giovaniZimbra is free02:31
giovanias is fengoffice02:31
T3CHKOMMIEhm,02:31
giovaniopenoffice is just a desktop application02:31
T3CHKOMMIEgot it.02:31
giovaniso no web/"cloud" stuff02:31
T3CHKOMMIEdoesnt look like zimbra is in the repos.02:36
T3CHKOMMIEim a bit worried about having zimbra crash my dovecot email server :S02:36
T3CHKOMMIEthanks for the headstart giovani, gota jam!02:37
=== Doonz_ is now known as Doonz
X-warriorhello! I'm thinking to put some virtual machines in my server. But I was thinking, how it works to install a new OS in a Virtual HardDisk if i'm at console?02:59
clustyX-warrior: you can create HDDs from CLI03:10
clustyand enable VNC in the VM03:10
clustymount the iso image form cLI again03:10
clustyfire up the VM03:10
clustyand connection from a PC to the VNC03:10
clustythat is how i am doing it with virtual Box03:11
X-warriorclusty, so I need to create the virtualmachine in my desktop (for an example) and them configure a remote access system... shutdown it put in ubuntu server and start running. Right?03:11
=== dendro-afk is now known as dendrobates
clustyX-warrior: look at VBoxHeadless03:13
clustyVBoxManage03:13
clusty...03:13
clustyread the doc03:13
clustyit's nicely written03:13
X-warriorclusty, ok, thanks I will take a look!03:13
X-warriorclusty,  that is nice! i didn`t know it! thanks alot!03:16
clustyX-warrior: i have done the whole shabam only a few times myself03:17
clustyi prefer usually to config the VM graphically03:17
clustyand upload tot he server03:17
clustyX-warrior: just beware that the FOSS Vbox does not support VNC03:18
clustyyou want the PUEL version03:18
clustyyou gotta add another repo from oracle (ex Sun) :D03:18
X-warriorclusty, I don`t have sure if I understand. Are u saying that the normal repo version don`t support this feature? So I need to add another repo from oracle?03:23
clustyyes. last time i chacked (about 1 year ago) the ose version did not support03:23
clustyhttp://www.virtualbox.org/wiki/Linux_Downloads03:24
clustypick the linux version you are running03:24
X-warriorclusty,  yes i'm already at this page03:25
X-warrior;)03:25
clustythe PUEL is free only for personal use03:25
SmoochHi03:52
Smoochmm04:03
SmoochTalk?04:03
cjsI have  a virtual server that, due to some network misconfiguration, gives me a bunch of messages on boot such as "init: network-interface (eth2) pre-start process (491) terminated with status 1" and then just a blinking cursor: I can't seem to get a shell or login or anything else prompt. How can I recover from this?04:03
Smooch!network04:04
ubottuWireless documentation, including how-to guides and troubleshooting information, can be found at https://help.ubuntu.com/community/WifiDocs04:04
SmoochHmm04:04
SmoochOk sorry04:04
SmoochHave you tried restarting network?04:05
cjsWhat, on the working host, or on the broken VM?04:05
cjsPerhaps I wasn't clear: I have a VM that will no longer boot, and I can't figure out how to recover it. (This is a 10.04 minimal VM install.)04:06
SmoochIs it openvz?04:06
cjsHolding down shift or pressing ESC doesn't bring up a grub boot menu.04:06
SmoochopenVZ? or Xen?04:06
SmoochVirtualBox even?04:06
cjsIt's standard ubuntu KVM.04:07
SmoochOh, sorry i have no experience with KVM04:07
SmoochDo you have access to the node?04:07
Jordan_Ucjs: What happens when you try to boot? Have you tried booting with Super GRUB2 Disk?04:08
Smoochcfs: Is this a node or just a computer/server running ubuntu and kvm?, do you have root access to the host?04:09
cjsI boot the node, it gives me: "fsck from util-linjux-ng 2.17.2", "/dev/sda1: clean ..." and then messages similar to the one I posted above. Then a blinking cursor on the next empty line. The only keypress that seems to do anything is ESC, which repeats all that from the "fsck from ..." part.04:09
cjsYes, I've got full access to everything.04:09
SmoochOk well04:09
SmoochI don't know much about KVM but, if you can some how mount the image?04:10
SmoochThat way you can edit the vms files04:10
cjsHm. I suppose I could try that. It seems a bit...frustrating that a linux boot could get into a state where the kernel loads and userland starts, but you can't recover the system.04:11
SmoochWell if you can get into the vms files04:12
cjs"VMS files"?04:12
SmoochThe vm itself, from the host04:12
SmoochYou can backup some files too04:12
cjsAh, you  mean the filesystem the virtual machine is booting from. Yes.04:12
SmoochYes04:12
SmoochLike i said, don't know much about KVM04:13
SmoochBut if you have access to the file system :)04:13
cjsWell, this doesn't really appear to be a KVM problem; it appears to be an Ubuntu server userland problem.04:13
SmoochMore than likely yes04:13
Smoochfsck from util-linjux-member:ng 2.17.2, isn't that the boot image?04:14
cjsAs in, "WTF won't it go single user if something is wrong, rather than effectively wedging?"04:15
cjsI would presume that the startup scripts run fsck fairly early on.04:16
Smoochmhm04:16
Smoochprobably04:16
SmoochSorry, i can't personally help you04:16
SmoochSomeone else might be able to :)04:16
Smoochand remove personally from that message04:17
Smooch:)04:17
Smoochwell what i mean is04:17
Smoochi don't know how to fix this certain problem04:17
cjsHa, looks like it's a udev/rules.d/70-persistent-net.rules that's on crack.04:20
Smoochah04:21
cjsNope, that didn't fix it. *Sigh*.04:21
SmoochHi kokozedman :)04:25
SmoochLol04:25
SmoochWhat was your question?04:25
kokozedmanheheh04:25
kokozedmanthe NTP does not seem to work: all servers have their own time04:25
kokozedmanwhich is causing a lot of problems04:25
kokozedmani thought Ubuntu already came with NTP already working04:25
Smoochhttps://help.ubuntu.com/10.04/server/C/NTP.html04:26
kokozedmanSmooch: page not found 40404:26
Smoochwhoops04:26
cjsOk, simple enough. When I edited /etc/network/interfaces, I had "auto eth1" followed by config lines, but forgot the "iface eth1 inet static" between them.04:26
SmoochThis one https://help.ubuntu.com/7.04/server/C/NTP.html04:26
Smoochtry running ntpdate ntp.ubuntu.com does it work?04:27
monsterbhttps://help.ubuntu.com/10.04/serverguide/C/NTP.html04:27
Smooch:P04:27
cjskokozedman: Was your local time very, very close to the servers when you started ntpd? If it's too far out, and especially if your hardware clock has a large skew, ntpd will not sync.04:27
cjsBTW, "ntpdate -d <server>" will give you debug output indicating what time the remote server thinks it is.04:28
kokozedmanSmooch: yes the ntpdate works all the time, but after some days, it will be weird again...04:28
kokozedmanisn't it running automatically?04:28
kokozedmani mean, isn't it supposed to be so?04:28
Smoochkokozedman: If doing ntpupdate works.. why not set a cron job?04:28
Smoochmaybe set the timezone again?04:29
kokozedmanSmooch: i thought so, but isn't that supposed to be the case in Ubuntu Server… listening to you talk makes me think that it's not the default behavior04:29
kokozedmantimezone is already set… but i have another problem with that also04:29
SmoochI'm not sure if its the default behaviour actually04:29
SmoochSomething must be resetting the time zone04:30
SmoochAre you connecting to another dns server? or through proxy?04:30
kokozedmanthese are new servers, so i don't know what is that "something" that is causing the reset04:30
SmoochHow many servers are there?04:31
kokozedmani am connecting to the server through a HTTP proxy (thru corkscrew) but it's the server itself which is the proxy04:31
kokozedman4 servers04:31
Smoochand the server that its connecting thru a proxy has the right time zone?04:31
kokozedmanyes, all of them have the right time zone… but it's not about the right timezone which is troubling, but the timezones that the applications actually see04:32
kokozedmani have several CGI and Django applications on each servers04:32
kokozedmanand they all have a very weird time issues04:32
kokozedmansometimes the TZ environment variable is set to "America/Chicago"04:32
kokozedmanand sometimes they are "Asia/Karachi"04:33
kokozedmanthe latter one is the one that is correct04:33
kokozedmanthe former one is totally incorrect04:33
kokozedmanand related to this timezone issue is the time that the applications receive04:33
kokozedmanrarely do the application get the right time, but most of the time, it's using the time in America (Chicago i suppose)04:34
Smoochhttps://help.ubuntu.com/community/UbuntuTime ?04:34
Smoochwhoops04:34
Smoochthats desktop one :P04:35
kokozedmani've followed that many times already04:35
kokozedmanlol04:35
Smoochtry opening /etc/cron.daily/ntpdate ?04:35
Smoochwhats in there?04:35
kokozedmanit's a bash script04:35
Smoochshouldn't be04:35
kokozedmanwait04:35
kokozedmani don't have that04:36
Smoochwhats in  /etc/ntp.conf ?04:36
kokozedmani only have ntp04:36
kokozedmani only have /etc/cron.daily/ntp04:36
kokozedmannot ntpdate04:36
Smoochtry ntupdate04:36
kokozedmani guess that has something to do with the 10.0404:36
kokozedmancommand not found04:36
Smoochapt-get install04:37
kokozedmanyou mean ntpdate?04:37
kokozedmanapt-get install ntpdate?04:37
Smoochmhm04:37
Smoochsudo first of course04:37
kokozedmani'm already root04:37
Smoochthats fine then04:37
kokozedmanman! ntpdate is already the newest version.04:38
Smoochenter man ntupdate does anything come up?04:38
kokozedmanbut i don't have /etc/cron.daily/ntpdate with that04:38
cjskokozedman: For these applications, is the time zone supposed to be the correct one for the location of the server, or always the same regardless of where the server is located?04:39
kokozedmanan entry is found for man ntpdate, but not for man ntupdate04:39
cjs(Although a better question is: why would you application care about what time zone you're using? Log stuff in UTC if you work across multiple time zones; it will make life much happier.)04:39
cjskokozedman: ntpdate is normally run just once at boot, and perhaps once in a while when you bork your system. Otherwise ntpd should be taking care of keeping things in sync on a continuous basis.04:40
kokozedmancjs: it's supposed to be always "Asia/Karachi", no matter where the servers are located… the server are serving applications to Pakistan and it has to be honoring the time there… but at this time they are having time pointed to Chicago04:40
cjskokozedman: In that case, set the TZ variable in your startup script.04:41
Smoochwhere does the server ip look up to?04:41
Smooche.g what country/place do they say in whoius04:41
Smooch*whois04:41
kokozedmancjs: do you mind telling where is that startup script?04:41
cjsYou're the guys starting the application, not me! :-)04:43
cjsIs this an app you developed, or is it something someone else wrote that you installed?04:43
cjsKeep in mind, I'm talking about the *application* startup script. The idea is that the application overrides whatever it's given when it starts.04:44
kokozedmancjs: i've already set the correct timezone (TZ) inside /etc/apache2/envvars … when i do, it has the correct timezone for about 2 or 3 requests, and then it goes back to the weird Chicago one after04:45
kokozedmani have developped it, i intended to receive the local computer's time and not care about what timezone is the script in, or is the time correct … i just assume that it will get whatever time the system is in04:46
kokozedmanit has worked flawlessly in Gentoo Linux for about 4 years now04:46
kokozedmanand since i'm leaving control of the server to a less proficient person, i decided to change the system to Ubuntu Server to make things easier for the person04:46
cjsHm. Sounds like something is going wrong with apache or its startup scripts, then. I can't really help with that; I've not used apache in years, and never under Ubuntu.04:47
kokozedmanbut now, Ubuntu's time is getting us crazy04:47
cjsBut you might consider reconfiguring things so that your application deals with the timezone, and doesn't depend on the environment, which is harder to control (as we've seen).04:47
cjsMaybe changing back to gentoo would make things easier. :-)04:48
SmoochYeah04:48
kokozedmancjs: lol hahahaha… we paid $75 for each servers to be switched to Ubuntu… no way we're paying that again to switch back to Gentoo!!!04:48
kokozedmani just assumed that Ubuntu is stable enough to have weird problems like that04:49
kokozedmanbut i was wrong then! :-/04:49
SmoochUbuntu is great actually04:49
SmoochBut sometimes, you have to compile things from source.. if you know what i mean ;)04:49
kokozedmanyes i know… but i don't know why it's doing this kind of weirdness in the servers04:49
SmoochDid you transfer it all to ubuntu?04:50
SmoochPerhaps you should back it up and re install ubuntu04:50
kokozedmani'm actually using a lot of Ubuntus in my VMware Fusion04:50
cjsIf you want stability, don't change stuff. :-/04:50
kokozedmancjs: actually, i was sick and tired of Gentoo's package system… and Ubuntu's update and security is super04:50
SmoochActually04:50
cjsI'm not a big fan of Ubuntu, but it doesn't seem much less stable than anything else out there that gets updated regularly.04:51
SmoochMaybe its the resolv.conf?04:51
cjskokozedman: Yes, that's one of the main reasons I use it.04:51
kokozedmanSmooch: what's about it?04:51
cjsAnd why I live with stuff like installing 10.04 LTS may go and trash disks on your KVM virtual hosts.04:51
SmoochWell, there the nameservers right.04:52
SmoochIf your ntp'ing to the server04:52
Smoochperhaps ubuntus ntp server is getting the wrong ip04:52
Smoochwell the wrong location04:52
kokozedmani don't think so04:52
kokozedmanit's using the OpenDNS04:52
kokozedmanall of them04:52
SmoochOh04:55
SmoochUmm04:55
SmoochI'v read tons of things saying that openDNS is not good04:55
kokozedmanoh?05:00
kokozedmanthen, i'll use Google DNS then05:00
Smoochtry it :)05:03
Smoocherm05:05
SmoochI have a question of my own :)05:05
Smoocher05:06
amstan_kokozedman: openDNS lies actually, instead of giving you an error when a domain doesn't exist and letting your browser decide it lies and tells you that it exists, and points you at a server with advertisment on it05:06
Smoochhow come apt-mirror takes so much cpu?05:06
kokozedmanamstan_: i don't really consider that a harm ;) … it's just business, they need to advertise to run the servers right?05:07
amstan_kokozedman: except it's their business at our expense, it sometimes breaks things05:08
Smoochtrue05:08
amstan_when you're trying to do dns stuff for example, and you want to ping to check if a dns works, you'll always get a response05:08
kokozedmanyeah05:08
kokozedmani didn't think that far :P05:09
Smoochmight make my own dns servers05:09
Smoochwould anyone be interested :P05:10
kokozedmanheheheh05:11
amstan_Smooch: not really. i would probably get crappy pings05:11
Smoochhehe05:11
amstan_google dns is pretty decent these days, except that my ISPs DNS servers are faster(TekSavvy)05:12
kokozedmanis there a way to check that crontab syntax is correct?05:12
Smoochsend your crontab via pastebin05:12
Smoochand ask if its correct?05:12
amstan_kokozedman: put it on pastebin?05:12
kokozedmanhehehe05:12
kokozedmanlol05:12
Smoochlol05:12
kokozedmanhttp://paste2.org/p/90394305:14
kokozedmanit is the last 3 lines which is causing things to not work05:15
Smooch*; ?05:15
kokozedmanoh, i guess i see05:16
kokozedmanlol05:16
kokozedmanfor the username05:16
kokozedmanhehe05:16
Smoochhehe05:17
=== Smooch is now known as Smooch_away
=== Smooch_away is now known as Smooch
cjskokozedman: Why not just run your own DNS servers? It's as easy as "aptitude install bind9".05:20
kokozedmancjs: what's wrong with Google's? i'm using that now05:21
cjsIt's yet one more external dependency to go wrong.05:21
GhostFreemanHow do I generate the UUID for a hard drive?05:21
cjsNot to mention that it lies from time to time, as mentioned above.05:21
amstan_cjs: to go wrong? DNS would be the last thing to go wrong05:21
cjsGhostFreeman: hard drives don't have UUIDs. Perhaps you're thinking of a partition or something like that?05:22
amstan_cjs: there's usually 3 DNS servers05:22
GhostFreemanok, a partition05:22
cjsamstan_: DNS is one of the first things to go wrong. See above about Google's DNS lying to you.05:22
GhostFreemanwhat is the weapon of choice.05:22
amstan_GhostFreeman: you don't generate it, you just read it05:22
cjsGhostFreeman: What kind of partition?05:22
GhostFreemanI need to read it so I can add it to fstab05:22
amstan_GhostFreeman: ls /dev/disk/by-uuid05:22
GhostFreemana Linux LLVM part05:23
cjsGhostFreeman: Ah! You want to know the UUID of an existing partition! "blkid" is your very, very best friend, here.05:23
GhostFreemanwhat is an example command for blkid05:23
GhostFreemanthe comments in fstab are very vague05:23
cjs"blkid". (As root, though.)05:23
GhostFreemangot it05:24
amstan_cjs: meh.. my way doesn't need root05:24
cjsamstan_: yes, but your way doesn't give the partition types as well.05:24
amstan_cjs: so.. what about google lying?05:25
cjsOh, that was OpenDNS. Oops.05:25
amstan_google doesn't do the advertisment on nonexisting domains05:25
Smoochgot disconnected :P05:25
GhostFreemanonce I edit fstab, how can I reload it?05:25
amstan_GhostFreeman: mount -a05:25
cjsGhostFreeman: It's not continuously "loaded" by anything. The mount command (and various others, such as fsck) look up data in it when they start.05:26
kokozedmancjs: so, i'm good with Google's DNS then ;)05:26
GhostFreemanthanks everyone05:26
amstan_kokozedman: yes05:26
cjsGhostFreeman: If you want to mount the filesystem you just added, just type "mount /foo" or whatever its mount location is.05:26
kokozedman:D cool05:26
cjskokozedman: I guess. I just reckon, why rely on yet another external service when it's trivial to do yourself.05:26
amstan_kokozedman: mount -a just reads the fstab and tries to mount anything not already mounted05:26
Smoochcfs great point05:26
GhostFreemanOne last question: What's a good disk partition editor that's not complicated like parted?05:27
Smoochjs sorry05:27
SmoochGparted05:27
cjsHeck, I even run separate resolving servers on my virtual hosts, even though they could use the one on the host host.05:27
amstan_cjs: hosting dns will induce extra delays on dns lookups05:27
cjsamstan_: ?05:27
GhostFreeman...that works in a shell05:27
GhostFreeman(so no gparted)05:27
Smoochfdisk05:27
amstan_cjs: well.. the local dns server will have to check the database, and if not there already check with the upper servers, why not just skip the local dns and make all comps use those external servers?05:28
cjsamstan_: you mean, resolving stuff yourself is slower than having someone else do it for you? Only if it's cached in theirs and not yours. If you both have it cached, using the local copy will be slightly faster.05:28
cjsIt's also a security issue, of course. You have to trust Google quite a lot to use their DNS.05:29
amstan_but you have to trust someone either way05:29
amstan_local dns doesn't magically make you not need to ever trust another dns server05:29
cjsamstan_: Your characterization of a DNS lookup is not correct; walk through it slowly.05:29
cjsamstan_: And the issue is not that you have to trust someone, it's that you have to trust Google *as well as* anybody else you'd also have to trust.05:30
amstan_isn't a local dns server just a cache? so you have to tell that server to use another server to lookup the unknown domains?05:30
cjsIt's a decision you have to make, of course. If typing "aptitude install bind9" is really that much work, or the result uses up too much disk space, or whatever, sure, go ahead. But you are certainly (if possibly only in a very tiny way) increasing your changes of DNS resolution failing and security problems.05:31
cjsAny resolving DNS server is just a cache. Google's is no different from yours (though they might be using something other than bind9).05:31
amstan_ok.. so knowing that, what dns resolver do you give to your local dns server?05:32
cjsBut when you query their server on a.b.c.d rather than your own on 127.0.0.1, either way the server will go through the exact same process to resolve the name.05:32
cjsamstan_: There is no DNS resolver for your local server. That's the point. Your local server is the resolver.05:32
cjsIt only ever asks for non-recursive answers, and follows the chain itself.05:33
amstan_cjs: but where does it get its info from?05:33
kokozedmancjs: how do i make the ntp (which is starting ntpd) service started on start-up?05:33
kokozedmansorry, i didn't mean to highlight cjs05:33
kokozedman:P05:33
cjsamstan_: how does it know the root servers? /etc/bind/db.root. It's a set of "well known" data.05:33
cjskokozedman: If you just did standard apt-get of it, it should start itself. Check first for /etc/init.d/*ntp*, and then /etc/rc?.d/*ntp*05:34
amstan_kokozedman: according to http://www.howtoforge.org/perfect-server-ubuntu8.04-lts-p7 it's enough just to install it05:34
kokozedmanamstan_: well, i think 10.005:34
amstan_kokozedman: same thing for this particular thing05:34
kokozedman10.04 have it installed by default05:34
kokozedmanright?05:34
amstan_i don't think so05:34
kokozedmanno way man! i have not installed that service on my own… but it's there05:35
kokozedmanin all servers05:35
kokozedmani mean: /etc/init.d/ntp exists in all servers05:35
amstan_idk then, i did not say i'm certain05:35
kokozedmanbut here is what i noticed: when i start that service, i will not be able to run ntpdate05:36
kokozedmanand thing is: i can run ntpdate freely on ALL servers05:36
cjsIt depends on which flavour of server install, too. There's, e.g. "minimal" vs. regular, and minimal has that extra "Basic Ubuntu server" option in the package install screen in the installer which I don't know just what it does.05:36
kokozedmanwhich means, they have not been run at start-up05:37
cjskokozedman: Yes. You can run ntpdate with -d, to see the difference, but if you try to run it without that it tries to use the port that ntpd is already listening on.05:37
kokozedmancjs: it's the normal05:37
cjsAnd anyway, you always want to stop ntpd before running ntpdate, and start it again afterwards.05:37
amstan_yeah, i just tought to check an existing install @hypertriangle.com and i get  5 Jul 00:41:51 ntpdate[7191]: no servers can be used, exiting05:37
Smoocherm05:38
kokozedmancjs: exactly!! i did not have to stop ntpd and ntpdate worked well05:38
cjsYes, but is ntpd still happy?05:38
kokozedmanif ntpd is running, then i'll get something like:  5 Jul 09:38:50 ntpdate[12209]: the NTP socket is in use, exiting05:38
kokozedmanwhat you mean?05:39
cjsAnd by how much did ntpdate adjust the time?05:39
cjskokozedman: That message means that ntpdate didn't do anything.05:39
kokozedmanthe point i'm trying to proove is that ntpd is NOT start at boot time05:39
cjsWell, to prove that, reboot and then type "ntpdc -p".05:39
kokozedmanotherwise the first time i tried ntpdate, i would get that error because ntpd is already running05:40
cjsThough I have six Ubuntu 10.04 servers here that say otherwise. :-)05:40
kokozedmani'll have to wait for tonight to reboot, because people are using the services :P05:41
qman__ntpdate does not work correctly, use ntpdate-debian05:41
cjskokozedman: Oh, BTW, do you use etckeeper? If not, you really want to. You really, *really* want to if you might have to come back to the installation after someone else has been administering it for a while.05:41
qman__it's because of how the package is configured05:41
cjskokozedman: Pffft. Users. Don't let such unimportant things get in the way of your work.05:41
kokozedmanlol05:42
qman__kokozedman, ^05:42
qman__that problem stumped me at first as well05:43
kokozedmanqman__: i'll try that… but please confirm: does ntpdate-debian run ON STARTUP?05:43
qman__ntpdate is present but will not work correctly, at all05:43
qman__ntpdate-debian runs periodically05:43
qman__it's in cron05:43
kokozedmanqman__: thanks for confirming this problem05:43
Smooch:)05:44
kokozedmancool05:44
qman__I'm also fairly certain it runs post if-up05:44
Smoochyou may see that i'm randomly doing emotions05:44
Smoochits so i don't get disconnected05:44
qman__so it would effectively run on startup05:44
kokozedmanSmooch: lol… why the disconnection?05:44
Smoochkokozedman: irc servers auto disconnect idle connections some times05:45
qman__not this one05:45
kokozedman??? not on mine05:45
Smoochok05:45
Smoochalso05:45
kokozedmanto the errors i see, it is actually your connection which is closing05:45
Smoochdoes anyone know how to successfully setup a irc server with nickserv on ubuntu 10.04?05:45
qman__I have not done it myself05:46
kokozedmanneither did i05:46
Smoochnot sure if i should reinstall a vps with centos of ubuntu for this05:46
kokozedmanwhy would you want to anyway?05:46
qman__I've heard that unrealircd is best, but I can neither confirm nor deny05:46
Smoochi need to create an irc channel for a commercial project05:46
kokozedmanoh… i see05:46
Smoochgtg05:47
qman__about your disconnection issues05:47
qman__make sure your client is sane05:47
qman__mIRC has a habit of doing that, but I can see you're not using it05:47
Smoochcollyquy mac05:47
Smoochcolloquy05:47
kokozedmanSmooch: running on ADSL?05:48
kokozedmani mean ADSL router?05:48
Smoochnot right now05:48
qman__yeah, some ADSL routers like to disconnect you when idle05:48
qman__it's rather annoying, but usually configurable05:48
kokozedmandisconnection also happens at the ISP side, they reset your IP at times05:48
Smoochnormally cable router05:48
kokozedmanwhen that happens, you get disconnected05:48
kokozedmani use an almost undisconnectible technique ;) :D05:49
kokozedmani run my own kind of TCP implementation… so i don't get disconnected ever, even if the ISP will do their stupid resets05:50
kokozedmanqman__: what is the name of the packet again? i can't find ntpdate-debing05:51
kokozedmanntpdate-debian*05:51
qman__should be in your path, one moment05:51
qman__ /usr/sbin/ntpdate-debian05:51
kokozedman??? who am i supposed to use that?05:51
KurtKrautSmooch, you won't face any diference in seting up a IRC server with Ubuntu or CentOS.05:52
qman__you just run it05:52
qman__and it updates your local time05:52
chrismsnzhey guys - anybody have any experience with running ipvs/keepalived on a recent version of ubuntu? I have reason to suspect that UFW is interfering with the operation of the load balancer05:52
qman__based on the settings you have configured05:52
kokozedmanqman__: what about the cron? do i have to set that up manually?05:52
qman__no, it is configured out of the box05:52
qman__ /etc/cron.daily/ntp05:53
kokozedmanqman__: here is my concerns: will it run again at startup? will it continue to run in the background or just one shoot?05:55
qman__it runs daily05:55
qman__whenever all your other daily tasks run05:55
kokozedmanok05:55
qman__it also runs whenever your interface goes up05:56
qman__ /etc/network/if-up.d/ntpdate05:56
SmoochHi06:00
kokozedmanlol06:01
kokozedmanSmooch: there is a ptunnel program which you can use to avoid being disconnected too much06:01
KurtKrautSmooch, you won't face any diference in seting up a IRC server with Ubuntu or CentOS.06:02
kokozedmanit is sending ICMP packets rather than TCP packets06:02
Smoochwell06:02
Smoochrebuilding vps with ubuntu 9.0406:02
kokozedmanand it doesn't care which IP or route or … you're sending the packets, as long as it arrives you're connected06:02
Smooch10.04 = corrupted template06:03
GhostFreemanI forgot the command to generate the UUID for a partition06:03
Smoochgoing to use http://news.softpedia.com/news/Building-Your-Own-IRC-Server-With-Services-40772.shtml to setup the irc06:03
Smoochserver.06:07
Smoochhi?06:11
Smooch?06:17
GhostFreemanShould a newly-created linux partition have a lost+found directory in it?06:37
lifelessyes06:38
GhostFreemanoh06:39
GhostFreemanok thanks06:42
=== amstan_ is now known as amstan
kaushalHi07:52
kaushalI am using pxe image to install ubuntu server on all the servers07:52
ljungkI'm trying to set up a mail server using postfix. my isp blocks port 25. will i still be able to make it recieve mail?07:54
kaushalthe issue is that it installs a generic kernel07:54
kaushalI have both server kernel and generic kernel07:55
kaushalbasically i need to install server kernel07:55
kaushalwhat changes i need to do on the pxe image to install server kernel ?07:55
SnadderAnyone know if its possible to add a machine with a diffrent processor to a UEC setup?07:59
qman__Snadder, UEC will run on pretty much any computer which has hardware virtualization08:02
Snadderqman__, but in normal virtualization.. you can't have one cluster with diffrent processor types..08:03
qman__Snadder, if by processor types, you mean x86 vs sparc vs mips vs alpha, then yes08:05
qman__but if by processor types you mean intel core 2 vs intel i7 vs AMD phenom, then no08:05
Snadderqman__, I mean.. if you upgrade to a faster x86 processor.. then you need to create a new cluster.08:05
qman__not with UEC08:05
Snadderqman__, NICE :-)08:06
qman__UEC is more similar to VMWare than it is to traditional clustering08:06
qman__the cloud bits are all handled in higher level software08:06
qman__as long as the hardware is fast enough and supports the right features, it will work08:06
Snadderqman__, how come really.. won't it be very ineffective to not run in instance directly on the hardware.. with a layer in between?08:07
Snadderan*08:07
qman__it does, using hardware virtualization features08:07
qman__it uses a common set of processor extensions08:07
qman__however, memory and addon device features are handled in software08:08
qman__so that, regardless of the actual hardware, your virtual environment is the same08:08
Snadderqman__, But if UEC runs on 2 diffrent x86 processors,  how is it then possible to move an instance from one type to another?08:08
qman__the instances do not make use of features that are not common across all supported hardware08:09
Snadderqman__, so it will be transparant to which type of processor it runs on?08:09
SnadderCool.08:09
qman__yes08:09
Snadderqman__, is it any other large benefits of using UEC compeard to virtual private server setups?08:10
qman__UEC scales better08:10
Snadderexplain.. in what way?08:11
qman__if you have lots of instances and lots of hardware, UEC can better manage what goes where08:11
qman__where with regular VPS, you must decide ahead of time how to divide your resources08:11
SnadderAhh.08:12
qman__which is fine for a few servers, but gets very cumbersome with a large load08:12
SnadderHow many servers do we need to get the benefits of UEC?08:12
qman__well, it's not really a strict number, but UEC also requires a controller machine08:13
qman__so you must evaluate for yourself08:13
qman__but if you've got more than ten servers and more than 100 regular instances, UEC is definitely worth trying08:13
SnadderWe have app. 500 physical servers..08:14
qman__then it is definitely worth looking into08:14
kaushalqman__, hi08:14
qman__try setting up a lab environment08:14
SnadderBut don't know how many of those we will virtualizing.08:14
qman__see if it performs to your needs08:15
Snadderqman__, is it possible to run UEC on hyper-v?08:15
qman__UEC itself must be run on physical hardware08:15
qman__because it makes use of the virtualization feature08:15
lifelessnot true08:15
lifelessyou can run it with qemu08:15
lifelessits obviously slower08:15
qman__really?08:16
lifelesssee kirkland's demo image as an example of doing this08:16
qman__still, qemu is not anywhere near as fast as hardware virtualization08:16
qman__and won't give you a good idea of how it will perform08:16
lifelessof course08:16
lifelessit performs like kvm :)08:16
lifelessthere really isn't any need to use UEC to assess *that* :P08:16
SnadderWe have some old vmware clusters we can run it on also.. if thats better.08:17
SnadderLinux on hyper-v sucks..08:17
qman__vmware is a bit faster than qemu, but it's still not going to give you an accurate picture of the performance08:17
qman__however, it will give you an experience of how it behaves and how to use it08:18
SnadderYeah.08:18
lifelessI believe there is a vmware backend, but we explicitly don't support it.08:18
qman__running virtual machines inside virtual machines is naturally inefficient and complex08:19
SnadderOk.. I will try to get some hardware for it. :-)08:20
Snadderqman__, lifeless how much memory is required to run UEC?08:23
lifelessSnadder: a couple GB is best for the cloud controller08:23
qman__I wouldn't attempt with less than 1GB, but more is always better08:24
lifelessa hundred MB or so for the node controller on each node08:24
SnadderIs 4GB enouch to run all 3 machines to get UEC up?08:24
rahmanHi, I have a squid proxy running. When I do a "whatismyip.com" it says "Possible Proxy Detected: 1.1 apache:8888 (squid/2.7.STABLE6)". How can I prevent this? I want to make the proxy users to connect to internet with the proxy servers ip address. I don't want the squid to modify anything else in the http headers.08:29
SnadderI can alternative use two physical machines with 4gb memory each.. or is one machine enough?08:29
lifeless2 is easiest08:31
lifelessI documented how to do it on one on the help.ubuntu.com wiki though08:31
kim0_rahman, google for X-Forwarded-for08:31
kaushalhi08:35
kaushalI am using ks.cfg http/tftpd/pxe server install Ubuntu 8.04 server over the network method08:36
kaushalthe issue is that it installs generic-kernel instead of server kernel08:36
kaushalis there a way to fix it on the pxe image ?08:36
kaushalPlease suggest08:37
Snadderlifeless, one psysical machine with Cloud controller.. another one with cluster controller and node controllers?08:40
lifelessone with cloud/cluster, one with node controller (== one node)08:40
SnadderAh, ok.08:40
kim0_lifeless, I had tried the one node installation coz that's only what I have and it was failing at registration (on 10.10)08:43
kim0_lifeless, was there some known problem08:43
lifelesskim0_: did you see the docs on help.ubuntu.com ?08:43
kim0_I was following an extermal article08:44
kim0_don't think it was on the wiki08:44
Snadderlifeless, any docs you recommend to read before setting UEC up?08:45
lifelesshttps://help.ubuntu.com/community/UEC08:46
SnadderI got 2 psysical Opteron machines with 4gb memory each.08:46
lifelesskim0_: https://help.ubuntu.com/community/UEC/Topologies08:46
kim0_lifeless, thanks .. will give it another shot08:47
lifelessSnadder: https://help.ubuntu.com/community/UEC/PackageInstall also for you08:47
Snadderlifeless, I have debian already installed on theese machines.. can I fire up UEC without reinstalling?08:49
SnadderI guess not.08:50
qman__while I suppose it's theoretically possible, installing ubuntu will make things much, much simpler08:51
SnadderYeah.. I'll do that.08:52
rahmankim0_: I am new to squid so I can be wrong but isn't "X-Forwarded-for" is to keep and use users real ip in the header instead of proxy servers ip?08:56
kaushalcan someone please guide me about my post on https://lists.ubuntu.com/archives/ubuntu-server/2010-July/004402.html08:58
kim0_rahman, I'm no squid expert either .. you might wanna ask in #squid08:59
rahmankim0_: Ok, thanks08:59
kim0_rahman, in general .. I think you want to hide "Via, Forwarded, X-Forwarded-For and Client-ip headers" from your headers so the 2nd party doesn't know there's a proxy08:59
Snadderlifeless, qman__ I only have 2x40gb scsi disks in each machine.. do you think its possible to run it in two partitions with those?09:03
lifelesseasy as09:04
lifelessyou can get by with a 2GB flash drive if you have too :)09:04
lifeless(Don't try though - use the 40GB :)09:04
Snadderlifeless, here it says 40gb is minimum.. but 200gb is sugested: https://help.ubuntu.com/community/UEC/PackageInstall09:04
lifeless'meh'09:05
lifelessfor a test environment - you will be fine09:05
lifelesstheres lots of caching can happen09:05
SnadderOk.09:05
Snadderlifeless, so there is no point puttin in two 40gb in both machiines?09:06
huatsmorning09:07
uvirtbotNew bug: #601803 in whois (main) "when whois and mkpasswd are build locally they have .mo file conflicts" [Undecided,New] https://launchpad.net/bugs/60180309:21
=== MenZa is now known as lhavelund
=== kim0_ is now known as kim0
=== kaushal_ is now known as kaushal
kaushalchecking in again for my query ?09:41
kaushalcan someone please guide me about my post on https://lists.ubuntu.com/archives/ubuntu-server/2010-July/004402.html09:44
DizzyDooQuick question from a Ubuntu Server newbie, how do I change my networking settings from using eth0 to eth1?09:55
kim0DizzyDoo, /etc/network/interfaces ?!09:56
qman__DizzyDoo, change in /etc/network/interfaces09:56
DizzyDooRight, I did that, apparently that's not the problem I have. I'll go troubleshoot some more as to why I'm not getting a connection09:56
qman__if your question is how to change eth1 to eth0, it's in /etc/udev/rules.d/70-persistent-net.rules09:56
Gorlisthi, quick question. I want to secure my tmp and var/tmp directorys. Is using a loopback just as good as making a new partition?10:07
Snadderqman__, lifeless : do you know if iscsi is supported with UEC?10:10
lifelessshould be10:10
naftilos76hi guys, i just need to confirm with you whether the cookies or the server-side sessions way is the most secure way to maintain on a website. I have read in the net but i am a little bit confused. Can you advise?10:46
RoyKGorlist: should work well10:47
Gorlist ;) okay10:47
RoyKGorlist: you can use the same filesystem for both10:47
Gorlistwould that cause problems with plesk control panel?10:48
Gorlistalso ive made is 1 gig, big enough?10:48
RoyKthat depends on how much writing there is to /tmp10:49
RoyKplesk?10:49
RoyKubottu: plesk?10:49
ubottuError: I am only a bot, please don't think I'm intelligent :)10:49
Gorlistplesk control panel10:50
GorlistI might make two file systems10:50
Gorlistjust on the safe side10:50
RoyKGorlist: 1 gig might be on the low side - anyway, use something like nagios to monitor the filesystems10:53
Gorlistif I increase the size, what should i have for the count e.g. "bs=1024 count=1000000"10:53
Gorlistso say for 2 gig, do I just double the count?10:54
Gorlisti understand10:57
Gorlistconfusing my self, bs is byte size and the count is the total size10:57
cjsDamn I am just having the worst week ever. Another system falling to pieces.11:06
cjsHow do I fsck a filesystem that starts 2048*512 bytes into the block device on which it resides?11:06
lifelessloopback11:07
SmoochHey11:07
Smoochi'm having a problem setting up unrealircd and anope services on ubuntu 9.0411:08
cjslosetup -v -o $((2048*512)) /dev/mapper/prod11:08
cjsloop: can't get info on device /dev/mapper/prod: Inappropriate ioctl for device11:08
cjsIt's a block device that was created by cryptsetup.11:08
Smoochlost connection11:08
Smoochsorry if someone said something before11:08
cjslifeless: any thoughts? I have no idea why it's refusing to "mount" it.11:10
RoyKGorlist: to make 2GB files, bs=1M count=1k11:11
RoyKerm11:11
RoyKGorlist: to make 2GB files, bs=1M count=2k11:11
cjsOr I'm open to ways of convincing the VM using it to give me a command line of any sort, rather than refusing all input after telling me that fsck failed on boot.11:11
tolaHi, I started up my Ubuntu Enterprise Cloud environment this morning which was working OK last week. Now every time I start an instance they stay "pending" for a long time and then immediately terminate. The only errors I can see in the eucalyptus logs are "shawn(): network state maintainance failed" and "vnetAttachTunnels(): bad input params". Can anyone suggest where I should start to diagnose this problem?11:11
RoyKcjs: cryptsetup? you mean it's encrypted?11:12
lifelesscjs: break=top11:12
lifelesscjs: or whatever - see the debugging boot wiki pages11:12
tolacancel that, I fixed it by restarting the cluster controller with clean=111:12
Gorlistive made it 20GB11:13
cjsRoyK: the partition underlying /dev/mapper/prod is encrypted. /dev/mapper/prod is the decrypted version.11:13
Gorlistmight seem excessive but never know on backups etc11:13
cjslifeless: Oh, sorry, you didn't see about my earlier issue. How do I get a grub menu? Holding down shift doesn't seem to work.11:13
lifelessits a vm11:13
lifelessset the parameters in the config file11:14
cjslifeless: Ah! Where is this config file? Under /etc/libvirt?11:15
cjsOr are you talking about the grub menu file in the VM's partition?11:15
SnadderDoes UEC support IBM svc san controll?11:15
lifelesscjs: somewhere11:16
lifelessSnadder: if kvm does11:16
cjslifeless: Is it a grub config option or a kvm config option?11:16
lifelesskvm, the kernel is booted outside the vm11:16
lifelesskindof11:16
cjsWell, that would explain my issues!11:17
RoyKcjs: ah11:18
RoyKcjs: do you have space somewhere to take a dump of /dev/mapper/prod ?11:18
cjslifeless: Hm. Are you sure it's booted outside of kvm? I don't see anything in the libvirt config that looks like anything diskwise, except the one raw partition it uses as the HDD.11:19
RoyKif /dev/mapper doesn't support that ioctl call, moving the data out might be a way to go11:19
lifelesspretty sure. IMBW11:19
Snadderlifeless, is it possible to run UEC instances over nfs from another machine?11:19
cjsRoyK: I think so, and I've already started a dump of that. If it doesn't fill up my entire disk, it should be done in a couple of hours. Then an fsck, then a couple of hours to copy back....11:19
lifelessSnadder: ?! no idea.11:20
Snadderlifeless, since I might not be able to get the ibm san working.. then I will be abit short with disk.11:21
lifelessSnadder: you have 80g to work with, thats _tonnes_11:21
lifelessto play with11:21
Snadderok11:21
lifelessits really really important to plahy with it11:21
lifelessget a feel for it.11:21
lifeless*then* do planning.11:21
lifelessyou can't reason about how to deploy it until you feel how it works.11:22
SnadderOK :-D11:22
Snadderlifeless, reading a pdf named "ubuntu enteprise cloud architecture" from august 2009.. about how it all works.. should I maybe be reading the ubuntu.com links you gave me earlier instead.?11:23
lifelessI think you should install it11:23
lifelessand play :)11:23
SnadderOk.. I will do reading today.. installing tomorrow.11:24
Snadderhave booked 3 hours at the datacenter tomorrow..11:24
tolaWhy does a eucalyptus instance set to 5GB capacity in the Ubuntu Enterprise Cloud web UI only have a 1.4GB root partition and then 3GB mounted to /mnt?11:29
=== freeflyi1g is now known as freeflying
RoyKtola: perhaps asking on #ubuntu-virt may give you better answers11:37
tolaRoyK: thanks11:40
cjsBoy, that was silly. It just wasn't clear from the help text that losetup *must* be provided with either a -f option or a loop device.11:47
cjsWell, the error message didn't exactly help, there.11:48
=== 30BAAS7FZ is now known as cyber_Rock
=== cyber_Rock is now known as Cyber_Rock
blackthorgreetings.  is there anyone that could confirm that 10.04 LTS is running fine HP ML 150 G6 ?  on the HP partner page of canonical there is only info about 9.04 LTS  and the 150G6 isn't on it :(12:04
kaushalHi12:27
kaushalis there a way to create Netboot images ?12:27
kaushalI got a reply from https://lists.ubuntu.com/archives/ubuntu-server/2010-July/004402.html12:39
kaushalHow can i integrate the server kernel into the PXE Netboot image12:40
kaushalcan some one please guide me12:40
TRElliskaushal: here's a good guide, http://www.ubuntu.com/system/files/u1/AutomatedDeploymentsWP-20090126.pdf12:40
kaushalTREllis, Thanks12:41
kaushalI have a working setup already in place12:42
kaushalthe issue is that it by defaults installs generic kernel and not server kernel12:43
=== baffle_ is now known as baffle
TRElliskaushal: are you using a kickstart file or preseed file?12:47
kaushalks.cfg12:47
kaushalyeah kickstart file12:48
TRElliskaushal: right, not sure for the solution if using kickstart. I would myself use preseed as it's the native way provide answers to the debian installer12:48
TREllisand the second mail on that thread gave you the answer, "d-i base-installer/kernel/override-image string linux-server", if using preseed you need to include that line in the file12:49
kaushalTREllis, i totally agree12:50
kaushalbut i dont use preseed method12:50
kaushalcan i customize the Netboot image ?12:51
TREllisit sounds like you do not really want to "customize the netboot image"12:52
TREllisit sounds like you are doing network installs and just want the correct kernel installed?12:52
kaushalok12:53
kaushalyes12:53
kaushalTREllis, is that possible ?12:55
TRElliskaushal: not sure sorry, I would go straight for a preseed file and not a kickstart, then you can use the d-i option above12:55
kaushalTREllis, ok. where can i seek help for my use case ?12:57
zulmorning13:03
skaagI upgraded an ubuntu 10.04 server which has a really small /boot/ partition (only 46mb :-( ), and it has failed to boot13:22
skaagnow support have booted a microknoppix and I have mounted the original drive13:22
skaagand I'm trying to find out why it failed the boot process13:22
skaagI just upgraded from 2.6.32-22 to 2.6.32-2313:23
skaag2.6.32-22 worked fine13:23
pmatulisskaag: try removing the old kernel to make space after booting with a ubuntu rescue cd (live or alternate)13:24
skaagI removed and now all I have are those files:13:24
skaagactually I don't want to list them here, too long, don't want to spam the channel13:25
pmatulisskaag: how did you remove?13:25
skaagI erased the files in /boot/ and updated menu.lst13:25
pmatulisskaag: bad boy13:25
skaag:-)13:25
pmatulisskaag: you should always use apt to manage packages13:26
pmatulisskaag: pastebin the contents of /boot13:27
pmatulis!pastebin13:27
ubottuFor posting multi-line texts into the channel, please use http://paste.ubuntu.com | To post !screenshots use http://tinyurl.com/imagebin | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.13:27
skaaghttp://paste.ubuntu.com/459447/13:28
skaagpmatulis: I did upgrade the kernel with apt13:28
skaagthe thing is that because the /boot/ partition is so limited in size, for historical reasons, I mount --bind /boot to /boot.tmp13:29
skaagI then do the upgrade13:29
skaagand I then move files manually back to the real /boot/13:29
skaagquite unfortunate, that I have to do this for every kernel upgrade13:29
pmatulisskaag: geez, and why /boot so small?13:29
skaagthat's how that hosting company set it up for me :-(13:29
skaagthey claim they usually make it 100mb13:29
pmatulisskaag: i would re-install if possible13:29
skaagI'm going to abandon that server by end of this month13:30
skaagbut until then I must regain access to it for a little while13:30
skaagjust want to make sure it can boot again13:30
pmatulisskaag: i now never use /boot less that 512 MB, got tripped up when using 25613:30
skaagyes I know, I actually allot 1gb for my /boot/ partitions, just to be safe, and space is so ample... why not... :)13:31
pmatulisskaag: 'xactly13:31
skaagkernels are just growing in size..13:31
skaagI've also just updated grub:13:32
skaaghttp://paste.ubuntu.com/459448/13:32
skaagI've mapped /dev and /proc properly, mapped /dev/sda1 to /media/sda3/boot/ and chrooted to /media/sda3 (root), so it's like i'm in my real ubuntu install13:32
skaagso apt, grub, and all the utilities work like before13:32
pmatulisskaag: great13:33
skaaggrub is installed on /dev/sda1, still, so I believe I don't need to reinstall grub itself to the boot sector...13:33
skaag/dev/sda1 = /boot and /dev/sda3 = /13:33
pmatulisskaag: how much room in /boot now?13:33
skaagwhat would you recommend I verify now, before I reboot? :)13:33
skaag/dev/sda1              46M   32M   12M  74% /media/sda3/boot13:34
skaag12mb free13:34
skaagbecause there's just 2 kernels in there13:34
pmatulisskaag: i guess reboot and see13:36
skaagis there some magic I can do in grub to allow me to automatically regain access to the machine?13:37
pmatulisskaag: how can you access a machine remotely that is not booted?13:38
skaagI ask the support over there, and afer a very long time, they boot microknoppix for me ;-)13:38
skaagI just wondered if there's something I can do such that if grub fails booting, it will enter some special mode where I can telnet into it13:39
pmatulisskaag: no13:39
skaagok then13:40
pmatulisskaag: this is where IPMI/DRAC/KVM comes in13:40
skaagI'll just reboot and pray13:40
skaagyah, I need to find a good US hoster with IPMI/KVM such as I have in europe13:40
skaagwith that, I don't need support at all, I just fix everything myself...13:40
pmatulisskaag: yeah13:40
pmatulisskaag: you can always reinstall a specific kernel13:41
skaagmaybe I should do that13:41
skaagbefore I reboot13:41
skaagjust to be sure13:41
pmatulisskaag: (meaning the latest one)13:41
skaaghow do I do this for 10.0413:42
skaaglatest kernel13:42
skaagapt-get install --reinstall linux-image-2.6.32-23-generic-pae?13:42
bogeyd6How can I find who built a particular package?13:43
pmatulisskaag: linux-image should be enough but your command should hurt13:43
pmatulisshould not hurt13:43
skaagbogeyd6: apt-cache show joe13:43
skaagok13:43
bogeyd6hmm just says ubuntu developers as the maintainer13:45
skaagbogeyd6: hich package?13:46
skaagwhich13:46
bogeyd6zoneminder13:46
bogeyd6someone built it with a static control script13:46
skaagthis is what I get:13:46
skaagMaintainer: Ubuntu MOTU Developers <ubuntu-motu@lists.ubuntu.com>13:46
skaagOriginal-Maintainer: Peter Howard <pjh@northern-ridge.com.au>13:46
skaagwhen I do apt-cache show zoneminder13:47
skaagat the top13:47
skaagyou must be seeing this as well?13:47
skaagok rebooting...13:47
* skaag prays to the universe13:48
pmatulisskaag: did the re-install do anything at all?13:49
skaagit reinstalled, ran update-initramfs, depmod, etc. all the usuall stuff.13:49
skaagand grub-update13:49
skaagit looked good, and produced no errors or warnings.13:49
skaagso I'm hopeful...13:49
pmatulisskaag: yes, sounds good13:49
skaagwaiting for machine to become available again13:49
pmatulisskaag: 32-bit right?13:50
skaagyes.13:50
skaagold machine...13:50
skaagok still won't boot into the OS13:53
pmatulisbogeyd6: check the changelog on packages.ubuntu.com or download the source package13:53
skaagI don't know why, can't see the screen13:53
pmatulisskaag: could be another problem then, access again and *remove that kernel13:55
bogeyd6pmatulis, unfortunately that wont fix the bugs for everyone else. im ironing them out right now13:55
pmatulisbogeyd6: your question was how to determine the packager13:55
bogeyd6pmatulis, yeah, that didnt change, and i havent asked another question since.13:56
pmatulisbogeyd6: so your question is therefore answered13:57
bogeyd6<pmatulis> bogeyd6: check the changelog on packages.ubuntu.com or download the source package   << assumed the download source package comment was meant to help fix my problem, not the developer13:58
uvirtbotNew bug: #601895 in bind9 (main) "Sync bind9 1:9.7.1.dfsg-2 (main) from Debian unstable (main)" [Wishlist,Confirmed] https://launchpad.net/bugs/60189514:01
trapmaxroot-account login not working from direct console access.14:06
pmatulisok14:08
skaagpmatulis: yah, and just go back to -22 yah?14:08
skaagfrom -2314:08
pmatulisskaag: if that's what was working before, yes14:09
pmatulisskaag: were any other packages recently updated?14:09
skaagnope14:10
skaagnot that I know of14:10
Mateo_Hi everyone !!14:47
Mateo_i have a problem with my vhosts ... i have added a conf file in site-available, i've made a a2ensite myconf  , but the domain direct me to another directory (fromanother site conf)14:47
reisiany ideas on how to pam_unix.so actual log something with the debug option?14:48
reisiwe have a "small problem" of not getting su or logging as root in login working; it always results as Authentication failure. (as we really rarely need this it might had been broken during 8.04 -> 10.04 upgrade)14:49
Mateo_reisi: i don't think you can use su with the last version of ubuntu14:50
Mateo_i don't know if i'm right but you have to use sudo14:50
reisiMateo_: at least the documentation only specifies that only disabling action is not to set the passwd, and we have set the password14:51
reisisudo is not an option as we have to refactor the system file structure14:51
Mateo_ok14:51
bogeyd6you can use su14:53
bogeyd6you just simple "sudo su" and it will su the root user14:54
bogeyd6however14:54
bogeyd6!noroot reisi14:54
reisibogeyd6: but the user will still be logged as we transfer his/her home dir14:54
bogeyd6!noroot | reisi14:54
ubottureisi: We do not support having a root password set. See !root and !wfm for more information.14:54
reisi!wfm'14:54
reisi!wfm14:54
ubottuCommon Sense: Just because you can, does not mean you should (and especially recommend to others). Think before you do. "Works for me" does not mean it is ok. The latest version of everything is not always useful if you aim for stability. Please see http://geekosophical.net/random/worksforme/14:54
reisi!root14:54
ubottuDo not try to guess the root password, that is impossible. Instead, realise the truth... there is no root password. Then you will see that it is 'sudo' that grants you access and not the root password. Look at https://help.ubuntu.com/community/RootSudo14:54
bogeyd6reisi, you just "sudo su" and type in your password14:55
reisibogeyd6: wont it be a problem that i'm going to mount my home dir from another disk while running the root shell?14:56
bogeyd6only in that all the files you create are owned by root14:56
bogeyd6you can chown -R user /home/folder14:56
reisihmm i'm not sure you are getting my point; we are going to MOVE /home from the current filesystem of / (root) to a new LV and mount the new LV as the /home14:57
bogeyd6i think you are right14:57
bogeyd6cuz to me i thought "i wanna copy everything from one directory to another"14:58
Mateo_rhaaaa i really don't understand why it keep on direccting me to another directory ...14:58
reisinot to cause any problems with, well anything i'm not aware i'd like to login as root (whose home is at /root, not under /home which we are moving)14:59
bogeyd6reisi, see and i would say you just copy /home/ and not worry about using the ~14:59
bogeyd6ala cp -R /home/ to /some/device/15:00
bogeyd6then mount /some/device /home15:01
reisinever do that with -R; always use -a; otherwise you'll lose all timestamps, owners, groups and rights15:01
bogeyd6right right, sorry15:01
reisistrange, now that i changed "auth required pam_unix.so debug use_first_pass" to "auth requisite ..." with a pam_deny.so as the last entry it works15:02
p1l0tWhy does changing /etc/network/interfaces have no effect on my network settings? I do not have NM installed15:04
p1l0tLucid 10.04 LTS server15:04
pmatulisp1l0t: restart networking?15:05
p1l0tIt says failed to bring up eth015:06
RoyKp1l0t: pastebin it15:06
RoyK!pastebin15:07
ubottuFor posting multi-line texts into the channel, please use http://paste.ubuntu.com | To post !screenshots use http://tinyurl.com/imagebin | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.15:07
p1l0tWish I could, but the server is not online15:07
giovaniserial console / ipmi15:07
RoyKwhat is the exact error message?15:07
RoyKgiovani++15:07
p1l0tFailed to bring up eth015:07
RoyKare you logged in?15:08
RoyKif so, type 'ifconfig -a' to see what it says15:08
p1l0tIt shows eth0 being up with settings that are different from /etc/network/interfaces15:09
p1l0tthis is whats strange it seems editing interfaces has no effect15:09
giovanip1l0t: ok, so, set the interface manually for now15:09
giovanito get the machine online15:09
giovanithen we'll troubleshoot further15:09
pmatulisp1l0t: using the old init script should work15:09
giovani'sudo ifconfig eth0 1.1.1.1 netmask 255.255.255.0'15:09
giovani'sudo route add default gw 2.2.2.2'15:10
giovanireplace 1.1.1.1 with your server's IP, 2.2.2.2 with the router/gateway, and change the netmask if required15:10
p1l0tI have done that and now I can see my web page online, lol - but I can't access the internet from it...15:12
p1l0tping says network unreachable but yet derek.doesntexist.org:1013 will probably show you a picture of me departing from Block Island15:12
giovaniI'm betting you can, but you haven't set DNS15:12
giovaniso you can't resolve anything15:13
giovani'sudo nano /etc/resolv.conf' and add your nameservers if you want -- but we'll get this fixed anyway -- it's just temporary15:13
p1l0tresolv.conf seems to be set properly15:14
giovaniand no -- your server isn't available to the internet15:14
p1l0tOh maybe I only see it on the local network15:15
giovaniso if you do a 'ping 8.8.8.8'15:15
giovanidoes that work?15:15
p1l0ttry http://derek.selfip.net it works for me but maybe because I am on the local network with my netbook15:16
p1l0tping -c 1 8.8.8.8 says network unreachable15:16
giovaniyou added the gateway?15:16
p1l0tummm lol maybe not15:17
p1l0tifconfig doesn't show anyway gateway info15:17
giovaniI can't help you if you're not following directions15:17
giovani10:10 < giovani> 'sudo route add default gw 2.2.2.2'15:17
p1l0tok I can ping google public dns now15:18
giovaniok, so now your server is accessible15:19
giovaniso ssh into it15:19
giovaniand pastebin /etc/network/interfaces15:19
p1l0tok15:19
p1l0tinstalling openssh-server give me one sec15:21
p1l0thttp://pastebin.com/W2YXuxRZ15:23
=== kaushal_ is now known as kaushal
giovanip1l0t: invalid syntax15:25
giovaniwho gave you this format?15:25
kaushalhi again15:26
p1l0twhere did my syntax go wrong?15:26
giovanihwaddress15:26
giovanirequires "ether" after it15:26
p1l0thwaddr?15:26
p1l0toh15:26
giovanibut it's unecessary if you only have one interface15:27
giovaniit's only used to differentiate multiple nics15:27
p1l0tI do have two physical cards15:27
giovaniso the line should read "hwaddress ether 00:0e:e8:e3:a9:fe"15:27
giovaniok15:27
p1l0tok15:27
p1l0tperfect15:29
p1l0tgiovani = you are WIN15:29
p1l0tThank You15:29
RoyKp1l0t: why do you want to override the mac address?15:42
p1l0tI just wanted to make sure it doesn't read the wrong network card15:44
RoyKp1l0t: overriding the mac address won't help you there15:46
RoyKsee /etc/udev/rules.d/70-persistent-net.rules for the device mappings15:47
p1l0t:) oh thanks wilco15:47
RoyKbasically, you never want to override the mac address unless you're doing something special15:50
RoyKsetting the mac address in /etc/network/interfaces, will only override the mac address of the given interface defined in udev15:50
p1l0tI'm not doing anything that special just yet ;)15:52
RoyKoverriding the mac address is nice if you want to spoof a switch into hub mode :)15:54
RoyKbut then, you rarely want to do that15:54
p1l0tRight now I am failing at trying to use my server as a proxy. (Most FBO's at local airports have free wifi but filter anything worth looking at.) I tried ssh -C -D 9999 me@mydomain but then when I set firefox to 127.0.0.1:9999 it says its refusing the connection15:57
p1l0toh maybe my router needs the port forwarded...16:01
p1l0tnopes16:03
p1l0tmust be something I need to allow from the server side...16:15
RoyKp1l0t: try -L16:21
RoyKp1l0t: no, your router won't need anything16:21
RoyKssh -C -L 9999:localhost:9999 you@yourbox16:22
RoyKor16:22
RoyKssh -C -f -n -N -L 9999:localhost:9999 you@yourbox16:23
RoyKthat implies taht yourbox listens to port 999916:23
p1l0tMakes more sense let me try that16:24
Davieyhmm16:25
Davieyp1l0t, Sounds like what you really want is a socks proxy..  ssh -D9999 user@domain.com16:26
Davieyp1l0t, then you can set the proxy type as socks in firefox, as "localhost" and port 999916:26
p1l0toh no space after -D16:28
p1l0tThats odd, now it stopped saying conection refused but all I get is a blank white page no matter what address I type in16:31
p1l0tI am connected via SSH16:31
RoyKI don't think spaces will matter16:35
p1l0tNo its not the spaces, but now it stopped saying connection refused but I just get a blank white page no matter what address I put in16:36
p1l0tand firefox says done at the bottom too16:37
RoyKis it squid running on that server or what is it?16:37
p1l0tI don't even know what squid is16:37
RoyKoh :)16:38
RoyKwhat sort of proxy is it?16:38
p1l0tssh16:38
RoyKerm - what do you proxy on the server?16:40
p1l0tI'm trying to access the internet with firefox on my netbook via a ssh connection to my home server16:41
p1l0tor I should say surf web pages via my home server16:42
RoyKand what software are you using on your home server to do the proxying?16:42
p1l0tI was trying to use ssh as a SOCKS proxy16:42
p1l0topenssh-server16:42
RoyKit's easier with squid16:42
RoyKapt-get install squid16:42
RoyKon the home server16:42
Davieyp1l0t, Hmm.. Are dns lookups working for you?16:42
RoyKssh -C -f -n -N -L 9999:localhost:3128 you@yourbox16:43
DavieyRoyK, Please don't confused the matter atm.. i really don't think he needs squid for this.16:43
RoyKok16:43
=== cemc1 is now known as cemc
RoyKDaviey: are you p1l0t ?16:43
DavieyRoyK, huh?16:44
RoyKDaviey: does he have a socks proxy on that host?16:44
DavieyRoyK, Sorry.. you are confusing?  I'm not sure what you mean16:45
RoyKDaviey: p1l0t asked about using an ssh tunnel to another box for proxying - afaik you need a proxy server on the destination box to do this16:46
DavieyRoyK, no.. this is one of the magical freebies you get with sshd16:46
DavieyRoyK,  ssh on it's own can act as a socks5 proxy16:47
* RoyK checks16:47
RoyKtried with firefox, and no data16:53
RoyKjust empty page16:53
RoyKDaviey: the ssh docs are clear, that yes, it should work as a socks proxy, but it doesn't work16:56
DavieyRoyK: I use it daily.. with a default install of ubuntu server, it does.17:01
RoyKI tried with firefox, and it didn't work too well17:02
p1l0tI lost my wireless for a bit17:02
p1l0tToday is full of fail for me17:03
RoyKp1l0t: try with -D - if it works, use it, if not, install squid and use -L17:03
DavieyRoyK: Okay, i've just tried it on a fresh install of ubuntu desktop with firefox, and a lucid and maverick server.. it works.17:03
DavieyRoyK: If it's not working, then someone has changed a setting on the server, or you are doing it wrong.17:04
RoyKDaviey: the server is unchanged - basic ssh install - my current client is OS X with openssh5.2p117:04
RoyKserver is lucid17:04
p1l0t-D stops it from saying connection refused but any web page loads up as blank and says done - I will have to try squid17:05
GorlistI found out how my server was comperised, it was via the tmp directorys. Ive done a reinstall and they've just dumped aload of files back in their, however tmp is set to nonexcute etc17:05
DavieyRoyK: i recently used it in safari on osx.. that worked17:05
Davieyp1l0t: what did you put as proxy settings?17:05
Gorlisthow could I back track to find whos doing this, and block their ips - and on top of that make sure that these scripts arin't being run?17:05
p1l0tDaviey: 127.0.0.1:999917:06
DavieyGorlist: Finding out who is doing it, is not a good way.. you really need to find out how they are getting in.. Is it a webserver?17:06
Gorlistyes17:07
Gorlistfresh install this morning17:07
Gorlistand somehow their accessing the tmp /var/tmp and possible dev/shm (which ive yet to secure17:07
DavieyGorlist: check your auth.log to see if it is ssh17:08
Gorlistrgr17:08
Davieyp1l0t, What boxes in the firefox proxy settings are you putthing them in?17:11
p1l0tall of them17:11
RoyKDaviey: worked with safari, and firefox too, after some fiddling17:11
Davieyp1l0t, erm.. not quite what you want17:12
Davieyp1l0t, Only fill the SOCKS box17:12
p1l0tok I checked the use this for all box I'll fix that17:12
p1l0tDaviey: WIN17:13
p1l0tThank you17:13
Davieyp1l0t, super!17:15
Davieyp1l0t, Keep in mind that you'll be doing DNS lookups locally, rather than over the proxy17:15
Gorlistnothing in the auth.log apart from someone hammering the ftp17:15
Gorlistbetter check my fail2ban qucikly17:16
Davieyp1l0t,  firefox can be configured to do DNS lookups over the SOCKS5 proxy, if that is what you want.17:16
DavieyGorlist, last <-- will give you a list the last few shell logins.. should be an indicator.17:17
=== IdleOne is now known as NickSpam
DavieyGorlist, What services are you running..  I now know you are running an ftp service.17:17
Gorlistplesk, so that includes apache, mysql, qmail etc17:18
DavieyGorlist, Hmm.. i assume that is plesk shipped binaries of services, not ones from the ubuntu repo?17:19
Gorlisttest     ftpd5148     79.172.195.193   Mon Jul  5 10:14 - 10:14  (00:00)17:19
Gorlistyes,17:19
p1l0tDaviey: I do want17:19
Gorlistright thats in "last"17:19
Gorlistthat is unknown17:19
DavieyGorlist, In that case.. i can't really help..  firstly you need to make sure the services that are being ran are up to date on security issues17:19
Daviey<--- not a fan of plesk17:20
Gorlistnp, thanks. Well im doing the best I can but I cannot figure out how their doing it....17:20
DavieyGorlist, Hmm.. My first thought is possibly weak ssh password or a php based webservice.17:21
DavieyGorlist, Actually rule out ssh, as i doubt they'd be using /tmp17:22
* Daviey goes back to thinking http17:22
DavieyGorlist, the files in /tmp, who are they owned by... $ ls -l /tmp17:22
DavieyGorlist, you should see: -rw------- 1 www-data www-data 343 2010-07-05 11:12 somefile... for example17:23
Gorlistgood idea17:24
GorlistDaviey, -rw-r--r-- 1 www-data www-data 95493 2010-07-02 15:59 scan.txt17:27
DavieyGorlist, Yep.. that confirms it's an attack through one of your webservices17:27
DavieyGorlist, http...17:27
p1l0tok so now firefox wants to know what program I want to use to open a .php file....17:27
Gorlistright17:28
Davieyp1l0t, use vim.. everyone seems to love that :)17:28
Davieyp1l0t, clear your browser cache and restart it.17:28
Davieyp1l0t, Is this for every php based site, or one of your own servers?17:28
DavieyGorlist, Are you *just* running plesk.. or any websites?17:29
Gorlistplesk + hosted domains17:29
Gorlistcompermised domain do you think?17:29
Gorlistbecause just looking through the ftp logs one of the clients had a breached subdomain login after many attempts17:29
p1l0tDaviey: sites that I have been using recently haven't tried any others17:30
DavieyGorlist, Almost certainly either a rouge php script, a vulnerability in the scripting (ie, injection) or a generic webservice with a major vulnerbility17:30
DavieyGorlist, If the FTP service has been compromised, it's easy enough for someone to then upload a php file with bad stuff in it - then execute it.17:31
p1l0tDaviey: it only does it when I am using SSH as a proxy17:32
Gorlistyep17:32
Davieyp1l0t, did you clear your cache and restart your browser?17:32
GorlistDaviey,  do think the server is already compromised, should I reinstall now?17:32
Gorlistthen reset all of the ftps and step through it over night17:33
p1l0tDaviey: I'lll try it now17:33
DavieyGorlist, TBH.. i never trust a compromised server.. Once someone has got it, you never really know what they've done.. If it was me, it'd reinstall17:33
Gorlistokay will do that over night17:33
Gorlistbummer17:33
DavieyGorlist,  But even so.. something is insecure.. so simply reinstalling and restoring from backup will put the vulnerability back17:34
Gorlistwell thank you for the help.17:34
DavieyGorlist, no problem.. Sorry it happend :(17:34
p1l0tclearing cache didn't help php is definitely fail using ssh as a proxy17:34
Gorlistyes I agree, I was going to restore, go through and reset every domain ftp passwordand check the php17:34
Davieyp1l0t, Using a proxy and php sites is unrelated.. The php is executed server side and presented to you as html..17:35
Davieyp1l0t, Is this doing it on *every* site?17:35
p1l0tDaviey: yesand only while using the proxy17:35
Davieyp1l0t, can you visit http://erk.daviey.com/test.php ?17:36
Davieywith proxy on17:36
p1l0tIt wants to know what program I should use to open test.php17:38
Davieyp1l0t, Okay.. I'm not convinced your browser settings are correct17:39
p1l0tproxy off says test complete17:40
p1l0tThey should be 127.0.0.1:9999 for only SOCKSthen maybe I had http proxy set to that as well17:42
Davieyp1l0t, p1l0t it should look like: http://socks.daviey.com/17:42
Davieywhere 4000 == the value you put for -D400017:42
p1l0tYeah I had http proxy set to localhost:9999 as well17:43
Davieyyou don;t want that :)17:43
Davieyp1l0t, Have you made it look like mine?17:43
p1l0tYes and it is working now 100%17:44
p1l0t:) Thanks again17:44
Davieyp1l0t, can you visit http://erk.daviey.com/test.php WITH the proxy enabled17:44
Davieyand without it please17:44
Davieyp1l0t, I just want to check something..17:44
p1l0ttest complete17:45
p1l0ttest complete off as well17:46
Davieyp1l0t, erm... Something isn't right17:46
p1l0twhat's not right?17:47
Davieyp1l0t, Your request came from the same IP address twice... which means it isn't going via the proxy17:47
p1l0t:(17:47
p1l0tOh well I am at home right now17:47
p1l0tI would probably have to go somewhere else and try it17:47
Davieyp1l0t, ah yes.. you are ssh'ing to a server @ home?17:48
Davieyand are @ home at the moment?17:48
p1l0tyes and yes17:48
Davieyp1l0t, Okay, that explains it.. Well it looks like it's all set then!17:48
p1l0tbut I will be going to the airport around 4ish (EST) I can try it there17:49
Davieyp1l0t, Keep in mind this can probably not be used to get "free" internet.. if that is your intention.17:50
Daviey(and i'm not purely speaking ethically)17:50
p1l0tNo, I just prefer to be more secure. (and not be filtered either)17:51
Davieyahh.. ok.. good17:51
Davieyp1l0t, Ok, in the address bar put about:config17:52
Davieyp1l0t, pressed "ok", in the filter type "socks"17:52
p1l0tIt says I might void my warranty lol17:53
Davieychange the option for "network.proxy.socks_remote_dns" to true17:53
Davieyp1l0t, Yeah.. that option means you do your dns lookups over socks when available.17:53
p1l0twilco17:54
p1l0tnetwork.proxy.socks_remote_dns = true17:55
Davieyyup.17:56
p1l0tI can't wait to try it, only three hours to go, lol17:58
=== NickSpam is now known as IdleOne
zulDaviey: ping can you have a look at bug #60108718:27
uvirtbotLaunchpad bug 601087 in eucalyptus "wsdl_generator downloads wrong file for eucalyptus-src-deps.tar.gz" [Undecided,New] https://launchpad.net/bugs/60108718:27
Mo__hey guys trying to install samba on ubuntu and then bind it to active directory for a single sign-on. I have been messing around with likewise open source. i was wandering if any of you awesome people had any experience doing the same thing and can point me in the right direction. I am very new at this. Any help would be much appreciated18:37
drew-buntuhey all, im having an issue with postfix binding to the wrong port18:41
drew-buntumy config is correct18:41
drew-buntubut postfix keeps wanting to bind to port 25 and thats the port the spam filter binds to18:42
drew-buntupostfix is supposed to be binding to port 2512518:43
pmatulisdrew-buntu: is this for a private network?18:43
drew-buntupublic/production server18:43
drew-buntuive had no emails on this box since 3am18:43
Davieyzul: i thought i already did an update for it18:44
Davieyzul: oh, seems i didn't18:44
pmatulisdrew-buntu: the spam filter cannot bind to port 25, how would the mail come in?18:44
drew-buntuits not18:44
drew-buntuthasts the problem18:44
drew-buntupostfix keeps wanting to bind to 25, and thats not the port in my cf18:45
drew-buntulet me post my master.cf real quick18:45
drew-buntuhttp://pastebin.com/JY4N4Rs618:46
drew-buntutcp        0      0 0.0.0.0:25              0.0.0.0:*               LISTEN      30334/master18:49
drew-buntuand as you can clearly see, its binding to the wrong port18:49
drew-buntuanyone?18:51
pmatulisdrew-buntu: where do you get 25125 from?18:51
drew-buntuthats an abritary port i have postfix listening on to pass email from the spam filter to postfix18:52
pmatulisdrew-buntu: i don't see it18:54
umarmuhaguys i have a mixed environment windows+linux+mac. Trying to look for a single sign on solution so i can bind all my users to linux server or active directory. If anyone has any experience with this please send some helpful links. Thanks18:56
drew-buntuumarmuha: likewise18:57
drew-buntumacs already work with AD18:57
umarmuhadrew-buntu: excellent thats exactly the solution i was going to try out but wasnt sure if its legit. Thanks for the info bud18:58
drew-buntusure18:59
drew-buntui dont mean to be impatient19:38
drew-buntubut i could use some help with this please19:38
X-warriorhello! is it possible to disable some commands to a user? Disable who, ps, top, and others to some specific users?19:49
drew-buntuif you chroot them, then they will not have access to most of those until you set up symlinks inside the jail19:50
giovanidrew-buntu: your question sounds very postfix-specific19:56
giovanidrew-buntu: I'd suggest #postfix -- but if you pastebin your main.cf I'll take a look for you19:56
giovanialso pastebin 'postconf'19:57
=== dendrobates is now known as dendro-afk
Krazyderekhaving trouble getting a usb printer working, i've got something shared and installed on a windows client but nothing prints20:20
Krazydereksomeone want to help me make sure i have it installed right?20:20
giovaniKrazyderek: printing from a server? or you're trying to set up a print server?20:22
Krazyderek@giovani print server, i installed cups, and the printer shows up after i create it in webmin but i'm not sure it's right20:23
guhcamposI'm trying to setup apache to authenticate against an active directory domain through Kerberos, but I keep getting an "Unsupported key table format version number" error20:27
guhcamposany help would be appreciated =)20:27
Krazyderekgtg i'll try back tomorow21:08
Krazyderekexit21:08
=== dendro-afk is now known as dendrobates
Yueinhi is php, python, and perl installed by default on ubuntu?21:32
=== dendrobates is now known as dendro-afk
cloakableno21:37
cloakableYuein: no21:38
cloakablewell, perl and python is, iirc.21:38
cloakablephp isn't21:38
Gorlistevening, quick question - im trying to secure /dev/shm by setting it to "nosuid,noexec" etc, but it doesn't appear in my fstab like the online guides suggest?21:38
Gorlistcan I use a loopback file like ive done with tmp and var/tmp21:38
=== X-warrior is now known as X-warrior`
ioHi I am getting the message 'No PAM profiles have been selected.'. I just purged a handful of packages that were not being utilized21:41
mikelifeguardIn my crontab, I have a MAILTO= line so I get emails in my actual inbox. But I have one job that should send email elsewhere. Anyone know how I can do that?21:50
dolittleGuten Abend23:01
dolittleDoes anybody know if dhcp3-server supports secure dynamic updates to an windows dns-server?23:04
chrismsnzHey guys - has anybody had any experience running keepalived/ipvs on a recent version of Ubuntu with UFW?23:07
chrismsnzUFW seems to be interfering with the load balancer and I'm just looking for some advice23:07
spartan07_hey guys any recommendations on a small business server solution that runs on ubuntu? need something where I can gather all emails from co and have a centralized place for files and info sharing <running server 8.04>23:16
wurcspartan07 checkout http://www.turnkeylinux.org/ Zimbra23:19
spartan07_wurc, very nice thank you!! exactly what I was looking for23:35
wurcGlad it helped23:38
giovaniwurc: interesting project23:40

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!