[01:02] is https://wiki.ubuntu.com/UbuntuCloud/Images/Publishing still accurate on how Ubuntu Cloud Images are created? [01:13] blair: clearly not edited for a while, but its the sort of thing you don't need to futz with that much [01:13] blair: smoser: will know [01:14] lifeless, thx, i'm looking for the latest instructions since i want to build EC2 images with cloud-init but tweak some things, since the images are a good base for what i need [01:15] blair: you could just build on the images that smoser builds; thats what we are doing [01:16] lifeless, actually, i'm trying to get zfs as a root fs so i can snapshot, so i'm thinking i need to build the fs and then layer all packages on top of it [01:17] you could just use ebs snapshots, much simpler ;) [01:17] while the system is running? [01:18] blair: as for transforming; take the ubuntu cloud image; make a zfs fs, copy the contents over; drop in whatever modules you need. [01:19] blair: re live snapshots - http://serverfault.com/questions/79077/safe-to-use-an-amazon-ebs-volume-while-snapshot-in-progress [01:22] lifeless, thx, i will try the transforming approach. i need the snapshot for getting a consistent backup between two different databases [01:23] you can't use point in time backups for them ? [01:24] one isn't even a real db system. it's a third party software solution that uses a db and flat files, with no guarenteed ordering between updates to both, so i want to stop the service, do a snapshot, and start it, all very quickly [01:25] i have btrfs working on a KVM, but it looks little too risky for a SAAS with paying customers, so i'm looking at zfs and the nfs-native ppa [01:26] you could use lvm snapshots more easily I suspect [01:26] i've had a btrfs fs lock up on boot due to a bug in the orphan cleanup code and following the btrfs mailing list, they keep on finding stuff that looks risky [01:27] lvm with xfs? [01:27] use the stock image, use an EBS volume for data storage, and put lvm on that [01:27] lvm with anything [01:27] so umount the EBS long enough to do the snapshot? [01:28] err, i mean, unmount the volume in the LVM [01:28] huh, just snapshot it live [01:28] thats the whole point of lvm :) [01:29] don't you put a fs on top of lvm, so you would then mount the snapshot it would need to recover? [01:29] stop your service; sync; lvm snapshot; start your service [01:30] blair: the sync isn't needed with fs's that are lvm aware [01:30] http://tldp.org/HOWTO/LVM-HOWTO/snapshotintro.html [01:31] blair: I don't know exactly which ones are aware [01:31] blair: zfs has a raft of nice features but most of them are not unique to zfs :) [01:32] right, it's just all in one nice layer with checksums ;) [01:32] saves you from disk corruption but not memory faults ;) - you can checksum bad data very happily :) [01:32] the URL says that snapshot will ask the fs to be in a consistent state, need to see if ext4 supports that [01:35] lifeless, http://lwn.net/Articles/446618/ says there are ext4 patches for snapshotting that are outstanding as of June 8, 2011, i'll have to see if it made it into recent kernels [01:42] blair: no, thats different [01:43] lifeless, how so? [01:43] blair: thats in-filesystem snapshots like btrfs or zfs [01:43] blair: lvm aware support is -massively- simpler. [01:44] lifeless, so i'm missing something then. this is my understanding.... lvm provides block devices and doesn't know about the fs. you can put any fs on top of lvm [01:44] but if you snapshot at lvm level, you can have the fs be in an inconsistent state [01:44] and xfs, ext{3,4} don't support in-fs snapshots [01:45] right, but there is an in-kernel api to tell the fs a snapshot is happening [01:46] right, that's what i meant, and i couldn't find confirmation that it's in ext4 [01:46] it is [01:46] https://lists.ubuntu.com/archives/kernel-team/2010-August/012031.html [01:46] shows analysis of a regression related to that code [01:46] can't happen if it wasn't ;) [01:47] oh, i misread the lwn article, there's a 'n' in 'next3' [01:47] :) [01:48] blair: lvm snapshots with ext3/4 are rock solid. [01:52] xnox, thx [01:55] blair: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=c4be0c1dc4cdc37b175579be1460f15ac6495e9a [01:56] lifeless: nice. because this question doesn't give one good feelings that it's supported on all kernels: http://serverfault.com/questions/79077/safe-to-use-an-amazon-ebs-volume-while-snapshot-in-progress [01:57] that's your link, i meant this one: http://stackoverflow.com/questions/1940093/ [01:58] the answers are fairly clear it should all work [01:59] the amount of ignorance out there is unbounded :) [02:05] lifeless, i've gotten a healthy skepticism for the word "should" in answers, been burned by stuff that "should" work in production [02:05] sure [02:15] lifeless, thanks for the suggestions, its definitely a safer solution than zfs or btrfs, [02:37] hello, anyone who can help me. i need to setup a dhcp server using isc-dhcp-server . but i forgot how the dhcpd.conf should look like. [02:41] whats commented in the dhcpd.conf file is no use. it dosen't state what should be uncommented, so make it work. and i can't find any guide on how to setup dhcp [02:41] zorky: https://help.ubuntu.com/community/dhcp3-server [02:43] please explain. why i should use dhcp3 instead of isc-dhcp-server? [02:44] the configuration is the same [02:45] okay. but now comes the question. where do i put all that into the dhcpd.conf file? [02:45] what do you mean where? [02:46] the dhcpd.conf from dhcp3 . what do i copy into the dhcpd.conf from isc-dhcp-server? [02:46] i don't think you're understanding how it works [02:47] i do. the only reason why im asking for help now. is because it's the first time im seing this config file without it has been edited. [02:47] i work with linux servers at work. setting this up on a regulary basis. but i have never installed the dhcp service. because i allways roll out premade images, made by a coworker [02:47] when you install the isc-dhcp-server package, it will create /etc/dhcp/dhcpd.conf [02:48] open that file and read the comments [02:48] it explains each configuration parameter [02:48] you'll need to create a stanza for the subnet you wish to offer IPs for [02:49] and you have the option to push some things like dns servers, routers, etc. through that stanza [02:49] you can also do static-dhcp if you wish [02:50] at the minimum you'd have a default-lease-time, max-lease-time, authoritative, and subnet [02:51] does that make sense? [02:51] tedski, default-lease-time 600; [02:51] max-lease-time 7200; [02:51] option subnet-mask 255.255.255.0; [02:51] option broadcast-address 192.168.1.255; [02:51] option routers 192.168.1.254; [02:51] option domain-name-servers 192.168.1.1, 192.168.1.2; [02:51] option domain-name "mydomain.example"; [02:51] subnet 192.168.1.0 netmask 255.255.255.0 { [02:51] range 192.168.1.10 192.168.1.100; [02:51] range 192.168.1.150 192.168.1.200; [02:51] } [02:51] as i recall. the dhcpd.conf look something like that. and only that from the work servers. [02:51] okay, do you understand what each option is saying? [02:52] somewhat. yes [02:52] !pastebin [02:52] For posting multi-line texts into the channel, please use http://paste.ubuntu.com | To post !screenshots use http://imagebin.org/?page=add | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic. [02:52] zorky: you'll want to put theoption statements into the subnet stanza [02:52] since they are specific to that subnet [02:53] zorky: also, if you don't have a need for 2 ranges, you might as well just remove one [03:10] it didn't work. and im getting anoyed i can't get it to work [03:10] can anyone send me a pastebin with a working dhcpd.conf file and your interface file? [03:29] anyone who will be kind and help me out with this? i need a dhcpd.conf and interface pastebin.? [03:43] anyone? [04:28] ^serverguie [04:28] SpamapS: Error: "serverguie" is not a valid command. [04:29] !serverguide [04:29] The Ubuntu server guide may be found at http://help.ubuntu.com/12.04/serverguide/C/ [04:29] zor^ [04:30] bah [10:57] hi guys! Do you know any software to monitor what users in the network do ? What website do they surf and for how long? [11:11] Diegonat, have a look at wireshark ... though that needs some level of background knowledge how networking and all its layers work [11:11] ogra_, but that is not a proper solution... is it not a workaround? [11:12] it is the best tool to see what packages go from where to where and which protocol they use [11:13] not sure how much more proper it can get :) [11:13] if you are not an experienced network admin the sheer amount of data it gives you might be a bit overwhelming ... [11:27] hey guys im looking at https://help.ubuntu.com/community/PostfixAmavisNew does that setup spamassassin to use baysian filtering? [11:30] eagles0513875_: no [11:30] there is a link on that page to more detailed tuning, see if that does [11:30] ikonia: that page does not exist yet [11:30] then "no" is the short answer [11:31] ikonia: ok but at least that is a good start for spam filtering which can be tweaked to use baysian filtering at a later point in time no? [11:31] there is no setup defined, look at what it doesn' it just enables the default config [11:34] ikonia: ok so i would need to read the documentation for amavis spamassassin and clamav and configure accordingly [11:34] eagles0513875_: do you know how to do it without reading hte documentation ? [11:35] sadly not i can read the man pages and figure things out that way [11:35] ok, so there is your answer. Do you need to read the documentation, well as you don't know how to do it without reading the documentation, the answer is "yes" [11:36] although to be honest, I think you are making a rod for your own back [11:36] but that's up to you [11:44] ikonia: seems like there is a really neat configuration tool for spamassassin cofiguration [11:44] that will create the config [11:44] I'd advise against it [11:44] I'd advise you actually learn how to do it [11:45] ok [11:45] but then again - that is your normal approach, short cut, no understanding of how it works then ask in IRC to spoonfeed when it's broken [11:45] totally up to you [11:45] im actually goign to take your advice and read the documentation [12:02] ogra_, thank you but it is not what im looking for [12:02] Do you know any software to monitor what users in the network do ? What website do they surf and for how long? [12:47] Diegonat: wireshark? [12:49] Diegonat: there are a ton of network monitors now that I look [12:52] Diegonat: erm - spying on users isn't good [12:52] Diegonat: if you really want to, use a proxy and analyze the logs === resno_ is now known as resno [13:28] histo, RoyK, my client wants it so I need to do it. However I need something to log their activity and an easy GUI for my client to use it... [13:28] Diegonat: then setup transparent proxying [13:28] squid? [13:29] Diegonat: nothing is jumping out at me i'm. Sure forums or askubuntu may help in your search. [13:29] yes, but to do it transparently, you need a router supporting that [13:29] RoyK, I use an ubuntu server as router [13:29] that works - iptables + squid for transparent proxying is easy [13:30] RoyK, but the logs will be file texts thta my client cannot see [13:30] yes, then you need some sort of tool to visualize those logs [13:30] I guess there are several out there [13:31] or perhaps you should ask your client if it's legal, or morally good, to spy on employees [13:31] RoyK, I cannot find anything [13:31] RoyK, in england 80% of companies do that [13:31] Diegonat: I don't know, and I don't want to help out either - it's morally low [13:32] Diegonat: 7 billion flies can't be wrong: Eat shit! [13:32] RoyK, i agree [13:32] Diegonat: https://help.ubuntu.com/community/Servers#Monitoring [13:33] histo, im not sure that is what i need [13:33] Diegonat: http://nagios.org/ this looks promissing [13:35] histo, nagios is to monitor services status [13:37] I need something like http://www.awarenesstechnologies.com [13:37] but less intrusive [13:38] hi, I set up Ubuntu Server as a VM in virtualbox, but I can't ping the IP. THe network settings are NAT & Host-Only. It's a fresh install so I assume I need to configure it. ANy idea how? [13:39] dannyjoris, if you can use bridge mode, easier [13:41] Diegonat: yeah, but isn't that less secure? All my other VM's work with NAT & Host only [13:41] dannyjoris, depends on what you need [13:41] however it is difficult to troubleshot like that [13:41] do u have firewalls? [13:42] it's just for testing purposes. I'm at home. [13:42] so I guess I could just use bridged [13:42] yes [13:43] :) [14:23] ikonia: do you midn if i ask you a question regarding amavis and postfix [14:27] sure, [14:28] if I know it I'll answer [14:28] I don't really use amavis though [14:29] What do you use? [14:29] hi everyone! [14:29] for spam filtering ? [14:29] or for something else ? [14:29] doesn't amavis just forward mail through spam and av filters? [14:30] pretty much, it's a pass through [14:31] guys I really need some help, I deleted /usr/share/doc/openvpn/easy-rsa* with rm -r and can't find the package to reinstall this... what can I do? [14:31] I tried google and askubuntu for some time now and Im going crazy [14:32] greetasdf: surly it would be part of openvpn ? [14:32] well I tried apt-get install --reinstall openvpn [14:32] :( [14:32] and it's it just some documentation ? [14:32] well it contains specific files to openvpn config, which all tuts on openvpn start with [14:33] I'm sorta lost without them [14:33] the config is held in the documentation directory ? that sounds wrong [14:33] this is the tut I was following https://help.ubuntu.com/11.10/serverguide/openvpn.html [14:33] although I'm on 12.04 [14:34] the cp command would be cp -r /usr/share/doc/openvpn/examples/easy-rsa/2.0/* /etc/openvpn/easy-rsa/ [14:34] ah, so you're copying the examples from the doucmentation to the config directory [14:34] exactly [14:35] and I wanted to do a fresh reinstall and thought it's a part of the openvpn package [14:35] fail :/ [14:35] it should be part of it [14:35] greetasdf: try removing the package / purging it and re-adding it [14:35] the documentation should normally be in the base package [14:35] I tried apt-get remove --purge openvpn and reinstall [14:35] I only removed part of the documentation weirdly enough [14:36] there is a command...apt-file (I think) that can tell you what package a file belongs to [14:36] I don't have an ubuntu machine here to confirm the apt-file syntax [14:37] that would be great, let me check [14:47] ok so I thought I was being smart and apt-get removing openvpn and checking the doc files for leftovers [14:47] then using apt-file to identify the package [14:47] turns out the dir is empty [14:47] I'm clueless [14:48] can it be that hard to copy openvpn example files? I just couldn't find them anywhere online [14:48] greetasdf: it's not hard to copy them if you use the right command, you are the one who removed them [14:49] yes I know it's my fault :) [14:49] but I thought it would be easy to copy them from somewhere else? [14:49] such as ? [14:49] well if I knew that I wouldn't be a noob in this chatroom asking around... [14:50] I would get it and extract the files and copy them [14:50] :( [14:50] greetasdf: I would concentrate on getting the package that supplies them corretly re-installed [14:50] that would be the simplest approach [14:52] ha! see, I googled the openvpn package and found the files [14:52] ok so now I'm going to transfer the missing files from my windows 7 pc to ubuntu ... that really seems stupid [14:52] but thanks for the help [14:52] greetasdf: as long as you are sure they are the same ones included in the ubuntu package [14:53] hm. [14:53] it says 2.2.1 but I think it installed 2.3 [14:54] I'm sure of it actually [14:54] thanks for the good point sir [14:55] but I guess http://packages.ubuntu.com/search?keywords=openvpn will provide the newest packages no? [14:55] it will provide you with versions for each release. [14:56] I again suggest working out/fixing the broken package [14:56] but I tried everything, apt-get remove --purge and --reinstall and install :( [15:01] ok thanks, unfortunately I've run out of time, maybe it's because openvpn published a new version 2.3 which may be incompatible with any older tutorials... [15:02] have a great day [15:02] heh? [15:02] I haven't had any issues with 2.3 at all [16:43] join /ubuntu [18:46] Question: I have ubuntu server with ubuntu-desktop installed for gui on a laptop for testing and development purposes. How do I get wifi connections working in Network Manager? [18:56] Anyone? [18:58] SaidKLE: that's not a server question ;) try #ubuntu === alamar is now known as julian === julian is now known as alamar [19:13] that's what they told me over there... [19:19] I installed ubuntu 12.04 server LTS. grub menu comes up fine. Then vertical scrolling. ATI ES1000, old VGA monitor. Rig work with Knoppix Live CD. [19:20] Can't translate knoppix "nodrm" into grub - if that is the issue [19:22] lol - lotsa nicks - no traffic = no help? [19:22] bobka: try being patient [19:22] ok! [19:23] bobka: nodrm is linux-kernel command line boot option.... [19:23] thx how do i tell grub that? [19:27] I couldn't find docs or anything on nodrm. Don't know the acronym. [19:43] I've set GRUB_GFXMODE=640X480X24 in etc/default/grub which is correct. And I've looked at headers in etc/grub.d, but I'm stuck. Don't think vsync or hsync are relevant. [20:16] ... [20:17] bobka, we do server here. Append text to kernel cmdline [20:19] ?? [20:20] #ubuntu-kernel? [20:21] who said anything about #ubuntu-kernel channels ? [20:22] bobka, we do server here. Append text to kernel cmdline [20:22] bobka: he means in the kernel cmdline in grub [20:23] bobka: adding a boot up option does not mean "join #ubuntu-kernel irc channel" [20:26] tedski okay, I assume grub> is the command line. what text? [20:27] bobka: google is your friend [20:28] bobka: "how to enter kernel options grub" would be a good start [20:29] brb - wait for me! :) [21:21] tedski - no DRM related options to the command line fixed the vertical scrolling [21:41] (DRM = Direct Rendering Management) [21:42] I tried gamma=[HW, DRM] w/wo r128=[HW, DRM] w/wo nodrm - no luck :( [21:46] bobka: can you explain the problem more clearly? [21:51] my old vga crt rolls after grub menu. I know it is possible to fix because knoppix CD runs fine with a few parameters. what else would u like 2 know? [21:54] hello [21:54] knoppix params: screen=640x480 depth=24 nodrm. I edited etc/default/grub > 640x480x24 [21:55] is there a better guide to follow then this ? http://www.howtoforge.com/perfect-server-ubuntu-12.04-lts-apache2-bind-dovecot-ispconfig-3 or is this considered the best setup guide [21:56] bobka: that's a vsync issue [21:56] bobka: at least in my opinion [21:57] * tedski reminisces turning the vsync screws on the back of old tubes [21:57] tedski, i remember that also. But I also used to own arcade machines and had to deal with that often [21:58] james2013: "best" is subjective [21:58] ok. where does vsync=60 go? BTW I didn't need it in knoppix, although i had it added originally. [22:00] lol don't even know the hsync on this dinosaur. [22:00] why can't you just blink your eyes 60 times per second? [22:01] ...haven't tried that yet,... [22:02] no, doesn't work either [22:02] bobka: http://en.wikipedia.org/wiki/VESA_BIOS_Extensions#Linux_video_mode_numbers [22:03] * tedski & [22:04] NO Tedski, 789 that is for resolution - been there, done that! [22:05] BTW, this monitor is pre VESA 2 [22:05] 1991 - Were you even born yet? [22:07] tedski, know of a better guide ? [22:10] james: subjective as in what do you want to do with your server. [22:11] bobka, standard web server mainly [22:12] ubuntu-12.04-lts-apache2 install comes with one button openssh dns lamp samba, etc.. [22:13] one button ? [22:13] I don't remember if Apache2 was a seperate option. [22:13] what the hell is ubuntu-12.040-lts-apache2 ? [22:13] tasksel [22:14] why don't you just install apache....or the lamp group ? [22:14] my bad, ubuntu-12.04-lts [22:15] why do you keep saying ubuntu-12.04-lts ? [22:15] exactly my point. [22:15] sorry, am I missing what you're saying ? [22:16] I was just asking because I searched google for ubuntu 12.04 server setup guide and that url was one of the first links [22:16] james2013: https://help.ubuntu.com - there is a server guide [22:16] ikonia: read james previous entry [22:16] james2013: installing an official product, considered reading official documentation ? [22:17] he has the howtoforge guide [22:17] yes, and thats rubbish [22:17] lol [22:17] why would you read 3rd party stuff over the official stuff ? [22:18] so, any help for my server install? [22:18] you need to explain the problem [22:18] rather than saying "any help" as that means nothing [22:19] [17:51] my old vga crt rolls after grub menu. I know it is possible to fix because knoppix CD runs fine with a few parameters. [22:20] "rolls"? [22:20] bobka: pass the same parameters that you use in knoppix [22:20] yes rolls [22:20] bobka: what do you mean my crt rolls ? [22:20] ikonia: I think he means vsync [22:20] That would be my guess [22:21] histo: possibly....be nice if he could clarify [22:21] [17:54] knoppix params: screen=640x480 depth=24 nodrm. I edited etc/default/grub > 640x480x24 [22:21] sounds like you either have the wrong resolution set or the refresh rate [22:21] bobka: /etc/default/grub won't change anything [22:21] bobka: you need to rebuild the config [22:21] good to know! [22:21] ikonia: edit /etc/default/grub and sudo update-grub [22:21] yes, I know how to do it [22:22] I don't, please explain? [22:22] pretty much exactly what histo has just said [22:23] already did that. (many times) [22:23] bobka: what parameters did you add to your /etc/defaut/grub [22:23] ikonia: sorry didn't mean to send it to you. [22:24] histo: not a problem [22:24] bobka: hvae you tried booting with nomodeset kernel option? [22:24] the issue seems to be nodrm. i added that as a kernel option, but no luck. [22:24] bobka: what parameters did you add to your /etc/defaut/grub [22:25] !nomodeset | bobka [22:25] bobka: A common kernel (boot)parameter is nomodeset, which is needed for some graphic cards that otherwise boot into a black screen or show corrupted splash screen. See http://ubuntuforums.org/showthread.php?t=1613132 on how to use this parameter [22:25] like GFX_mode=640x480x24 [22:26] bobka: what parameters did you add to your /etc/defaut/grub [22:27] I read grub & grub2 no help. [22:27] bobka: what parameters did you add to your /etc/defaut/grub [22:27] actually - I'm tired of asking [22:28] good luck, I'm not interested any more [22:28] thx buddy [22:39] I'm fairly new to server configuration, but is it ok to have php5-dev installed on a production environment? There's some pecl libraries that are dependent on it. [22:42] dannyjoris: not something I'd recommend especially if you have compilers there too === VD is now known as Guest2524 [22:55] I had GRUB_GFXMODE=640x480x24 . But adding GRUB_CMDLINE_LINUX_DEFAULT="nomodeset" fixed the problem!! === hodge is now known as Hodgestar === neunon_ is now known as neunon === histo1 is now known as histo