/srv/irclogs.ubuntu.com/2012/06/09/#ubuntu-server.txt

=== Lcawte is now known as Lcawte|Away
* lamont is looking for a squeeze equivalent of ubuntu-12.04-server-cloudimg-amd64-disc1.img01:32
=== iarp_ is now known as iarp
patdk-nblamont, ubuntu-server-12.04-amd64?01:57
=== dendrobates is now known as dendro-afk
=== dendro-afk is now known as dendrobates
lamontpatdk-nb: I was more looking for squeeze, I have precise already05:10
lamontI may just have to roll my own, but was kind of hoping not to have to05:10
pehdenany one know how to make apache2 not log one ip address07:55
pehdenor at least one user agent07:55
blackthund3rHi there08:11
blackthund3rI was wondering if anybody here can confirm for me that the guide at https://help.ubuntu.com/community/PXEInstallServer will work for 12.04 Server?08:11
blackthund3rI have an old desktop I want to use as an ubuntu server and I want to install it via PXE completely headlessly if possible08:12
blackthund3rI assume there's no problem with using apache as described as opposed to nfs?08:12
=== Gallomimia_ is now known as Gallomimia
pehdenany one know how to make apache2 not log one ip address08:56
=== pehden is now known as pehden-away
pehden-awayor at least one user agent09:34
pehden-awayany one know how to make apache2 not log one ip address09:34
marenostrumHello. On an Ubuntu server (I'm experiencing in on a AWS EC2 instance, probably its the same for all servers), I see an update notification when I ssh login. Its something like "n packages can be updated. n updates are security updates." where n is zero or more. What package, setting is responsible for that notification?10:11
pehdenany one know how to make apache2 not log one ip address10:14
=== Lcawte|Away is now known as Lcawte
=== tightwork_ is now known as tightwork
=== dendrobates is now known as dendro-afk
WomkesCan somebody help a partitioning problem, I've made 6 LV in the LVM manager but only 3 of them show up in the partitioner14:35
Womkeshttp://imgur.com/a/51A0x14:36
Womkesdont know what I'm doing wrong I can only parition 3 of the 614:36
Womkesanybody :(15:26
Womkes?15:26
RoyKWomkes: maybe the installer is buggy...15:36
RoyKWomkes: I'd start with installing on a few partitions and then add the rest later - just rsync the data15:38
RoyKWomkes: and btw, tmp is normally no tmpfs these days, so no reason for a dedicated partition15:39
RoyKs/no tmps/on tmpfs/15:39
=== jacobw is now known as tango
=== tango is now known as jacobw
Womkesok16:38
Womkesthanks16:38
WomkesAnybody got any ideas on how to configure nameservers in /etc/resolv.conf it keep getting overwritter the chattr +i doest work and I already tried adding prepend and option domain-name-servers in /etc/dhcp some.conf file16:39
Womkesnothing works16:39
yeatsWomkes: are you using dhcp to get your address?16:40
qman__if you're running 12.04 it's resolvconf16:41
qman__and in order to make resolvconf work you have to add the nameservers to /etc/network/interfaces16:41
qman__or, you can remove the symlink /etc/resolv.conf and create a file, and it'll leave it alone16:41
RoyKWomkes: http://paste.ubuntu.com/1032333/16:43
RoyKWomkes: that's an example from one of my servers, this one running 10.04, same applies to 12.0416:43
Womkesyeah 12.0416:43
Womkesah, I havent tried adding them to /etc/network/interfaces16:44
Womkeslemme give that a shot16:44
=== almaisan-away is now known as al-maisan
=== al-maisan is now known as almaisan-away
=== GhostFreeman_ is now known as GhostFreeman
ClientAliveCan anyone help? I'm having a problem verifying that nfs server is set up and running. When I do a "rpcinfo quota" I get the error printed to the screen: "rpcinfo: can't contact rpcbind: RPC: (unknown error code)"  I verify that it is indeed installed with a "install rpcbind" and get a line in the output "rpcbind is already the newest version."  I'm running ubuntu 12.04 server and going off of https://help.ubuntu.com/community/Sett20:03
ClientAliveingUpNFSHowTo#NFS_Server   suplemented with  http://nfs.sourceforge.net/nfs-howto/ar01s03.html  to perform the install/ setup. Can anyone please help me resolve this issue?20:03
ClientAliveback in a few min, but if anyone can help I would sincerely appreciate it - the only relevant info I see by googling: "rpcinfo: can't contact rpcbind: RPC: (unknown error code)" is involving suse not ubuntu. There are no results displayed from googlubuntu.com so I'm stuck20:10
=== kInOzAwA| is now known as osX64
ironmmay I ask what you would "roll out"? ... <lamont> I may just have to roll my own, but was kind of hoping not to have to20:21
ClientAlivethat's funny, I roll my own (cigarettes that is)    :>20:23
ClientAliveI have to grab something to eat but be back in about 20 in case anyone shows up. thx20:24
ironmClientAlive, it is unhealthy to smoke *g*20:27
railsraiderwhat is AIF:UNPRIV connect attempt: IN=eth0 is that always mean attack?20:32
docmurI've been trying to setup a mail server on Ubuntu using the following link http://www.pixelinx.com/2010/10/creating-a-mail-server-on-ubuntu-using-postfix-courier-ssltls-spamassassin-clamav-and-amavis/   I get the server "setup" and when I try to connect a email client to it I get this  http://pastebin.com/SAqMmweW Does anyone see the issue?21:08
ClientAliveironm: but it's yummy! And it makes me fell all giddy inside...   :>   lol21:11
ironmClientAlive, not really :p21:12
ClientAliveironm: what do I do man? I don't know enough about where things are on the system or how they work. I was just following tutorials when I ran into this snag.21:13
ironmClientAlive, it takes a bit time to get familiar with the linux stuff ;)21:14
ironmClientAlive, you can check if a nfs-server runs on the server21:15
ironmps -efa | grep nfs21:15
ironmClientAlive, you should see something like:21:16
ironmroot      2514     2  0 Jun02 ?        00:00:00 [nfsd4]21:16
ClientAlivefrom that I see 12 lines emerge containing nfs (one of them does say nfsd4). Also, I just found that I can run rpcinfo and get results but not rpcinfo quota21:17
ironmClientAlive, and: netstat -a | grep LISTEN21:18
ClientAlivethere's a column from the ps -efa | grep nfs output that contains question marks all down it21:18
ClientAliveok21:18
rwbI used apt-get to install apache2 on Ubuntu 10.04LTS. Is there an easy way to recompile it with a custom suexec?21:19
ironmrwb, you need sources to create your customized package21:19
ClientAlivelots of output from netstat -a | grep LISTEN  rpcbind is an item in the list; but, other than that, nothing with "nfs" in it. If I had to guess I would think all is well and the install/ setup went fine. The only thing that makes me wonder is why rpcinfo quota gives me complaints21:22
ironmrwb, it is quite a lot of a bit complicated work21:22
ironmClientAlive, you should see like:21:23
ironmtcp        0      0 *:nfs                   *:*                     LISTEN21:23
RoyKrwb: apt-get source apache221:23
ClientAliveyeah, i have that21:26
ClientAliveso I'm good to go then?21:26
ClientAliveisn't there one of the deamons with the word "quota" in it? quotad or something like that? Could that be why I get the error when I try to run rpcinfo quota?21:29
ironmClientAlive, 1. you have to check your nfs-server config / 2. you need a nfs-client to mount some directories on the nfs-server21:29
ClientAlive2. right. I was just about to move onto that part (setting up a client) but in this http://nfs.sourceforge.net/nfs-howto/ar01s03.html  they show something about checking to see that nfs server is helthy/ everything went well. The command they give is rpcinfo quota and show example output.21:31
ClientAlive1. I'll recheck but I thought there was only a few pieces of info needed there: directory to share     host(or ip address)     options21:32
ClientAlivewell, anyhoo... Thanks so much for your help ironm. You saved me a tremendous amount of frustration.21:37
ironmClientAlive, have you got it working?21:38
ClientAliveI assume as much but I'm just guessing from my limited ability to interpret the output. Now, when I ran the commands you gave me, it was under the conditions where /etc/hosts.deny and /etc/hosts.allow were in default state (nothing added as per tutorial instructions). I just replaced those files with the modified versions and rebooted the computer. I figure I'll run the commands again and see if it looks the same (again, limited un21:45
ClientAlivederstanding to interpret the output).21:45
ClientAlivehow can I check if rquotad is running? I thought egrep rquotad but just seems to hang when I run that21:50
ClientAliveps -efa | grep quota reveals on line but egrep quota just seems to hang21:51
ClientAlivenot sure what the line from the previous indicates one way or the other though21:51
lamontironm: I was hoping for just a single disk image like the ubuntu ones, but I need something totally debian for some other stuff (specifically upstream debian work).  I may just see how scriptable it is21:52
ironmlamont, for testing and some upstream work I use debian-live images ..21:53
ClientAliveif I do a "service rpc.rquotad start" I get "rpc.rquotad: unrecognized service"21:54
ironmlamont, like: http://rsync.it-infrastrukturen.org/debian-live/binary-hybrid-wheezy-amd64-syslinux-awesome.iso21:54
ironmor http://rsync.it-infrastrukturen.org/debian-live/binary-hybrid-wheezy-amd64-syslinux-lxde.iso21:55
WomkesIs it possible to mirror already existing /home and /srv with DRBD ? Do I have to unmount then first remove the file system so they are empty paritions and then create the drbd devices, recreate the file systems and mount them again to /home and /srv ?21:56
ironmClientAlive, service --status-all; man service21:57
ClientAliveok21:58
ClientAlivealso - only 4 things from the list of deamons that are supposed to be involved show up in the output of "rpcinfo" (portmapper, nfs, nlockmanager, and mountd)21:58
ClientAliveI looked at the man page from what you said (and ran that command before that). The man page does not seem to indicate what the question marks mean in the leftmost column (most of the entries contain them).22:00
ClientAlivethere isn't much in the list (maybe 20 entries) and some of the things I would guess ought to show up don't22:02
ClientAliveoh wait, there's some stuff I see now.22:03
ClientAliveI think I'm good. May never understand why rpcinfo quota doesn't work for me but I think stuff is working correctly22:04
smwWomkes, mirroring /home with DRBD sounds wrong to me22:13
smwWomkes, and mirroring /srv seems wrong too, but I guess it depends on what is in it22:13
smwWomkes, but yes, you would need to have them on another partition that is a drbd device22:16
patdk-nbWomkes, yes, you have to reformat them with drbd22:16
Womkessmb`, they will be used for my mail and website22:23
Womkes/home via Maildir my e-mail and some other accounts22:23
Womkesand /srv for some websites22:23
WomkesI have two servers on which I installed vmware and setup two identical vm's22:28
Womkeswith ubuntu 12.04 server22:28
WomkesI want to sync my important data between them with drbd22:29
Womkesand also backup the data to a third server22:29
Womkesi've thought about setting up the two servers with ubuntu + kvm and mirror the image files for the kvm vm's with drbd but I could not get kvm to work for me22:29
Womkeswas to diffcult22:29
Womkeswould you recommend the kvm setup layered ontop of DRBD devives backed by LVM volumes over my vmware setup  smw ?22:50
Womkesmaybe I can give it another try but I have a difficult time understanding the network bridging and kvm part22:50
Womkeswhich is pretty important ^-^ :p22:50
n2deephi is anyone here using lxc on 12.04?22:53
n2deepI'm using the default lxc install from the package repo22:54
n2deepit launches a dnsmasq daemon for the containers.22:55
n2deepa private subnet, that is NAT'ed22:56
n2deephow can I setup a contanier for "passthrough" networking, so the container is on the same subnet as the host?22:57
=== pehden_ is now known as pehden
ClientAliveI almost have my nfs client set up, but, when it comes to adding a line to fstab to mount it I tried using the ip address and that doesn't work. The tutorial shows the example line: "servername:dir /mntpoint nfs rw,hard,intr 0 0" but what is "servername"?  The part I see on the command line after the @ symbol??23:06
ClientAliveyeah, I count mount it via running the mount command; but, when I try to add to fstab to get it to mount automatically, it's not mounting23:10
ClientAlivedarn it23:11
JayWalker_is there a quick and easy way to set up server 12.04 to be able to send mail via php contact forms?23:32
ClientAlivegot it23:37
n2deepwell I figured out the lxc question23:44
n2deepI just needed to give interface lxcbr0 a static address in /etc/network/interfaces23:45
n2deepnow when I start my containers, they get addresses on the same subnet as the host23:45
n2deepand ipv6 is working now too for the contaniers, since the network supports v623:46
JonEdneyn2deep, awesome.  You should consider posting something in the Ubuntu Forums for others who may be having the same problems, since you were able to get it working.23:47
n2deepI found this page which pointed me in the right direction23:48
n2deephttp://comments.gmane.org/gmane.linux.kernel.containers.lxc.general/265223:48
n2deepI had to change the interface name in the example on that page (br0) to lxcbr0, as that is what lxc package in ubuntu names the interface23:49
n2deepI should still put something on the forums23:49
n2deephardware virtualization is super cool and all, but depending on your use case containers seem so much better!23:50
JonEdneyn2deep, I would put something on the forums, but thats just my opinion.  You never know who is going to run into the problem you did, and if they don't go straight to the forums, Google search brings the forums up first most of the time (at least for my searches).23:50
n2deepJonEdney: I will put something up23:51
n2deepI now have 2 ubuntu server systems (doing nothing at the moment) using a total of 80MB RAM23:53
n2deepLXC rocks!23:53
JonEdneywow nice.23:53
=== dumfries_ is now known as dumfries
JonEdneyI run my Ubuntu server w/ 1 GB RAM, just because that's whats on my spare PC.  I did have it in a VM running with 128MB, but it crawled.23:54
n2deepthis test setup I have is quite layered:23:55
n2deepI'm running virtualbox 4 on OpenIndiana bare metal23:56
n2deepUbuntu Server is a virtualbox guest there with 2GB ram23:56
n2deepnow I have a Ubuntu minimal/server LXC contanier in that vbox Ubuntu Server23:57
n2deepI wonder if the Ubuntu for Android project is using LXC containers23:58
n2deepthey have mentioned in all the videos I've seen that they are using the same kernel instance as Android23:59

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