[00:02] rockets: found a solution in: http://wiki.debian.org/NetworkConfiguration#Bringing_up_an_interface_without_an_IP_address [00:10] jvargas, it's working fine for me *right now* just using auto eth1 === Resistance is now known as EvilResistance [01:27] After upgrading to Ubuntu 12.04, all my MySQL servers have an empty "test" database. Is that normal? [01:40] That don't sound normal to me.... [01:40] Are you missing anything else? [02:15] hello [02:15] hiya [02:16] anyone there pls point me to specific ubuntu server talking specific top pls? [02:16] I like to talk about webpage development that can access Ubuntu server [02:17] hello [02:25] hello [02:25] anyone there? [02:25] help [02:26] any expert ubuntu server help solve problems here...FORUM??? [02:27] cowboy: best off asking your question and waiting a bit and see if anyone responds [02:28] okie..thanx jsmith [02:29] beside install applications on chat ircd..is there a forum that help me step by steps from webpage to server...pls help [02:40] cowboy: I don't understand your question. === Arc_ is now known as a5m0 [02:55] Hey hey. Is reprepro still the way to manage your own apt-repositories? [02:55] or maybe there are better tools now ... [02:56] sparc_: you just want a few .debs in a repo? [02:57] yeah, there will probably be 20 to 30 of components of our in-house apps [02:57] some perl modulse converted to packages, some whole web apps, some standalone python daemons [02:57] let me paste something for you [02:57] i'm not trying to mirror any of ubuntu's major repos [02:58] ok cool, thanks for the input! [03:00] https://gist.github.com/5faccb703054afdbbcae [03:01] then just use apache to serve that directory [03:01] interesting, it's using dpkg to operate on an existing repo ... [03:01] yeah… but you don't need the whole dpkg-devel pacakge [03:01] one sec [03:01] yeah, that makes sense. you make the repo and then serve it over http [03:02] creating it initially and then modifying the contents, are the processes that probably need management [03:02] reprepro did that i think ... [03:02] that's what his script does [03:02] just dump the .debs in that directory and run it [03:02] oooh [03:02] ok [03:03] yeah, exactly, what qman_ said [03:03] it generates the repository based on what debs it finds [03:03] you can of course script that too [03:03] yeah, could cron it or automate it some other way [03:03] You'll have to set up gpg, or comment out that part and deal with an unauthenticated repo [03:04] no problem, this looks pretty cool [03:04] I'm going to use ansible to script upload & run (could also use fabric or some such) [03:04] quit [03:04] thsi blows away the repo every time? i guess i should read the script [03:04] sorry [03:04] sparc_: just the Release and Packages files [03:04] aah okie [03:05] it overwrites it with what's there [03:05] for 20 or 30 debs that shouldn't matter [03:05] dpkg-scanpackages should not be used in that script; the apt-ftparchive script should simply be called multiple times [03:06] twb: thanks, I'll update it [03:06] http://paste.debian.net/167967/ is mine, I run it in cron.hourly. A beginner should stick to reprepro. The apt-ftparchive technique is useful only if you are supporting a single release. if you have >1 release it becomes unpleasant quickly. [03:07] I also strongly recommend adding NotAutomatic: yes to your Release until you're confident it's production-ready. [03:07] That attribute will cause it to be pinned to -1, the same as Debian's experimental repo. IOW stuff from it won't accidentally be installed. [03:10] thanks much for the input and background you all. it's much appreciated. [03:10] No worries. [03:14] Hey everyone. I am looking to backup my server to my home computer. What are good folders to rsync, what is not needed? Thanks [03:17] pmp6nl: / [03:18] twb, that was my initial thought. But thought I would check [03:18] Thanks [03:18] pmp6nl: if you care about user data, you want /home and maybe some things like /var/mail, depending on what services you're using. [03:18] pmp6nl: for the OS itself, /etc is critical, and databases and things generally live in /var. But if you have the space, back it all up. [03:18] it depends on what's important to you [03:18] pmp6nl: recommend you use -xdev and list filesystems explicitly, to avoid backing up things like /proc/kcore which is 16TB [03:19] /etc and a list of installed packages are needed to rebuild a lost server, /var is usually a good idea [03:19] but if you want everything, / is it [03:19] -xdev is more reliable than --exclude, although -xdev leads to false negatives instead of false positives. YMMV etc. [03:19] Also strongly recommend you deploy rsnapshot or similar, so you get incremental backups for free. [03:20] twb and qman__ ok thanks. Right now I am rsyncing / .... so I should skip /proc? [03:20] Definitely [03:20] yes [03:20] woops. [03:20] And probably some other things like /sys and /dev and /run [03:20] and /dev, and all the other virtual and temporary filesystems [03:20] Which is why I said just use -xdev [03:20] so -xdev will skip /dev and /proc [03:21] xdev limits it to the specified filesystem [03:21] So e.g. if / and /home are separate and you rsync -xdev /, it will skip /proc but it will also skip /home [03:21] yeah, you limit it to one filesystem, and configure a backup for each filesystem you want backed up [03:21] RTFM is advisable, too :-) [03:22] ah ok. So I should do separate for each filesystem ... /home /var etc [03:22] if you have those as separate filesystems, yeah [03:22] I want to have myname@ubuntu.com [03:22] IMO it's easier to do it that way then to attempt to exclude all the other filesystems and locations you don't need [03:23] Agreed. [03:23] because there's only a few filesystems to back up (sometimes just one) while there's dozens of things to exclude [03:24] ok, html/php files etc. are in /home databases are in /var ... what is in all of the other random folders? Anything else important to backup? [03:25] no, user data is in /home, which may or may not contain html and php files depending on your configuration [03:25] /etc is crucial, it contains all the config for the server, otherwise you'll be reconfiguring from scratch [03:26] qman__: if /home contains a web app, you screwed up [03:26] pmp6nl: note that you cannot rsync RDBMS databases, because they are not guaranteed coherent/quiescent [03:26] it shouldn't, but I was referring to userdir config [03:26] pmp6nl: to back up a db correctly you must dump it to .sql and rsync that [03:26] qman__, twb I have public_html in home I will add /etc. Any others? RDBMS? [03:27] I also strongly recommend etckeeper [03:27] yeah, etckeeper is cool [03:27] I haven't actually tried to restore anything from it, but auto saving everything at the right times is great [03:28] qman__: it's not about restore, it's about blame [03:30] having a nice list of everything that changed after updating is nice too [03:41] I want to have myname@ubuntu.com [03:43] twb, and qman__ ok. thanks. :) [03:43] Hello, is it possible to rename a site in /etc/apache2/sites-enabled ? If so how? Thanks [03:44] Go edit the file? [03:45] I mean the name of it. Its called example.com [03:45] So rename the file? [03:47] twb, its that easy. Is the command just rename? [03:49] No mv [03:49] You probably want to a2dissite first, edit the master version in sites-available, then a2ensite it === dendro-afk is now known as dendrobates [04:53] hi all === dendrobates is now known as dendro-afk [05:23] morgen :) [06:41] I want to have myname@ubuntu.com [06:42] i have two VSAT networks on each office. according to Teleport's ISP infrastrure, we can ping each other with ping time 2000ms. I would like to know how to establish VPN between it [07:09] i have two VSAT networks on each office. according to Teleport's ISP infrastrure, we can ping each other with ping time 2000ms. I would like to know how to establish VPN between it [07:10] linocisco: With great patience - having done it myself. [07:10] linocisco: You need to make sure that the VSAT isn't blocking VPN traffic which some do. I ended up using an ssh tunnel. [07:11] owh, really? where is your country? [07:11] linocisco: AUS [07:11] owh, how can I make sure or check if VSAT or ISP is blocking VPN traffic? [07:11] In my experience the quickest way is to ask them. [07:12] Normally the IP range is internal to the VSAT operator. If both VSAT terminals are from the same provider. If not, you generally have a problem because they generally don't expose the IP address to the outside world. [07:12] owh, here it is not legal to ask official. but according to their struture, ping is ok and some org said they can establish VPN between two VSAT sites [07:13] I'd start with attempting to ssh to the other end. [07:13] What traffic are you hoping to share? [07:13] owh, boths sites are from the same ISP [07:14] owh, web, mail, telephony [07:14] Yeah, that's really not going to work well. [07:14] owh, the priority is web and mail. [07:15] What is happening for most VSAT traffic is that it goes from your terminal to the satellite, then down to the ground station, then back up to the satellite, then to the other terminal. Gilat offers VSAT to VSAT functionality, but most countries block that because it prevents monitoring. [07:17] (Which is why you're seeing 2 second ping times) [07:34] owh, yes [08:11] Does ubuntu comes with a preinstalled alternative to 'sysv-rc-conf or sysvconfig' ? [08:13] ome: it uses upstart, so it works different === railsraider_ is now known as railsraider === rageSUCHTcasiIFX is now known as weallknowit [09:50] what should i check for if a 8 servers on rackspace went down all on the same time? can it be d-dos attack? [09:52] i see a lot of AIF:PRIV connect attempt: on th elogs [10:08] railsraider: contact rackspace and ask them what happened [10:15] greetings! [10:15] what is the ubuntu equivalent of debian's "locales-all"? === StudioWorks is now known as kInOzAwA === daker__ is now known as daker === kInOzAw| is now known as kInOzAwA [11:34] and.. anyone knows why cron is started when building a chroot? [11:35] i think it has something to do with upstart not respecting policy-rc.d === tsimpson_ is now known as tsimpson === PreciseOne is now known as IdleOne [11:44] i think i got it [11:57] What sort of tools are available if I want to modify headers of emails sent to particular addresses. My ubuntu server is using postfix [11:57] to anyone that might be interested in what i was tlaking about: https://bugs.launchpad.net/ubuntu/+source/xen-tools/+bug/997063 [11:57] Launchpad bug 997063 in xen-tools "xen-create-image fails to effectively prevent daemon startup on roles execution" [Undecided,New] [11:58] brainysmurf: modify them how? [11:59] your mua can modify the usual things. otherwise people will generally assume you are a spamming dick. [12:00] My boss wants "to: group@" changed to "to: undisclosed" [12:01] just send to bcc [12:01] mardram: I know... [12:01] oh? [12:02] We don't want this group's addy publicized, and users have been known to avoid the bcc like the plague [12:03] Just wondering if there is some sort of filtering tool that can be used (and that wouldn't make you look like a spamming dick) [12:03] you want to give users your address, but then hide it from them? [12:03] (I work at a very busy school) [12:04] This address is actually an alias, not a human account [12:04] an address is an address. if the mta accepts mail, it's all the same thing. [12:05] I guess I don't really have a clue what you are trying to do that bcc doesn't already do. [12:06] hehe I share your frustration :) I'm trying to make it so that if I send to group@ (which is an alias to several people) when the indiviuals get it they don't see the address [12:07] I know that bcc is what we're supposed to use, but my users keep insisting on using to [12:07] they won't see it, the MTA expands it [12:07] they'll see you address, and their address [12:07] your* [12:08] I tested this. I see the group address though. [12:08] right now I suspect you want #postfix [12:09] if that's the MTA you are choosing to handle the mail [12:09] I am using postfix [12:09] they said that postfix doesn't touch the content of the email, I need something else [12:11] you're probably going to have the most luck telling your boss that your MUAs need to be configured to send from a "donotreply" address [12:11] otherwise you'll need to use some sort of custom software that can do the expansion itself [12:12] Okay thanks mardraum that's what I thought === slide23 is now known as slide [12:13] find a new job :p [12:26] Is there any known prodecure to follow.. to upgrade from 10.04 to 12.04? [12:27] ? upgrade [12:29] !upgrade [12:29] For upgrading, see the instructions at https://help.ubuntu.com/community/UpgradeNotes - see also http://www.ubuntu.com/desktop/get-ubuntu/upgrade [15:06] Psi-Jack, So, I have my old virtual machine imported and booted via kvm now, and I have it set up with a bridged interface, but for the life of me I cannot get networking working properly. Also, virt-manager doesn't actually show the "br0" I set up as an available interface, it still only shows "Default". I had to enter it manually. [15:07] I can ping the bridge, but nothing using it is reachable. === dendro-afk is now known as dendrobates [15:17] rockets: YOu can ping the host's endpoint IP? [15:17] Psi-Jack, I can ping the ip I assigned to the bridge interface [15:18] Which is on the host OS? [15:18] yes [15:18] Okay, then it's likely a networking or firewall issue in your guest. [15:18] but i cannot reach the IP assigned internally to the guest [15:18] Or possibly even host if you're running firewall there. [15:18] no firewall [15:19] OKay, so what exactly did you do, network-wise? [15:19] I did this: [15:19] http://pastie.org/3884753 [15:20] OKay. That tells me literally nothing. [15:20] And the guest is set to use br0 [15:20] which I set by using virt-manager [15:20] ok [15:21] and then inside the guest I assigned an IP to eth0 as I would normally and to eth1 as i would normally [15:21] and neither are reachable [15:21] "normally?" [15:21] As I would in any normal ubuntu linux host, via /etc/network/interface [15:21] auto eth0, iface etc etc [15:21] Uh huh. [15:21] Think of me as a blind man. [15:21] DESCRIBE EVERYTHING! [15:21] lol [15:22] inside the guest there is a standard interfaces file describing the network config [15:22] just like this: http://pastie.org/3884762 [15:22] I only see eth0 in this. [15:23] That's correct, I'm just giving you an example [15:23] hold on [15:23] * Psi-Jack closes that "Example." Don't give me examples. I'm a blind man. [15:23] I know what a Debian interfaces file is. :p [15:24] I know you do! [15:24] Hold on, I'll get the guest's interfaces file [15:29] Welp, taking too long, and it's lunch time. Though I will be back afterwards. [15:36] Psi-Jack, sorry heh. I really do appreciate your time. I'm going to try a few things and come back in a bit. [15:40] Psi-Jack, ok, so here's something more concrete for you. I'm attempting to set up a brand new virtual machine. I set it up using virt-manager to use the br0 bridge for the guest's ethernet cards. E.g. http://i.imgur.com/Hn6vC.png [15:41] And yet the guest vm (which is running the ubuntu 12.04 server installer) cannot get an IP via dhcp. This is during the install process, no actual OS installed yet. My network definitely has a DHCP server, we're all using it. [15:41] So I'm sure I have the bridge set up wrong somehow, I just don't know how. [15:43] hey all, anyone alive? just need to talk to someone about the serverguide and openvpn === dendrobates is now known as dendro-afk === fenris is now known as Guest8617 === dendro-afk is now known as dendrobates === Guest8617 is now known as ejat === viezerd- is now known as viezerd === matsubara is now known as matsubara-lunch === erichammond1 is now known as erichammond === dendrobates is now known as dendro-afk === Lcawte|Away is now known as Lcawte [16:41] * Psi-Jack sighs/. [16:41] Seriously wish people would stop giving their "status" away through nick changes. [16:42] changes nick to patdk-wk-away-from-psi-jack [16:54] can someone here help me with an openvpn install problem? [16:54] trying to follow the serverguide and i hit a wall [16:55] trying to contact someone on the -doc team isn't working either === jedney is now known as JonEdney === dendro-afk is now known as dendrobates === matsubara-lunch is now known as matsubara === jedney is now known as JonEdney === nick58b_ is now known as nick58b [18:07] I have a server running ntpd. The clock is currently 4 seconds out of alignment. I want to see a status from ntpd to make sure that ntpd knows about the descrepancy and how long it will take before the clock is resynchronized [18:10] bananapie: first, check the logs [18:11] I checked both debug, boot.log, syslog and dmesg. I don't see anything of used in there [18:11] other than max descriptors, but that's not useful [18:15] I uncommented the statsdir line [18:15] I can see that my server is now aware of the 4 second difference [18:18] But I don't see where it says how long it takes to resynch === dendrobates is now known as dendro-afk [18:30] bananapie: ntpdc -p and ntpq -p should be helpful. [18:31] Its been forever since I needed to fix that on my server, but I remember those outputs being very handy. [18:32] ok [18:32] it's the first time it's happened to me in about 3 years [18:33] what are you trying to do [18:34] If I have 4 ethernet interfaces and I want one to be set to dhcp but not change the, name servers, default gateway, ntp.conf, etc. How would I do that? Basically I just want it to set the IP address only [18:34] RamJett, edit dhclient.conf [18:37] There is no way to do it per interface. Like in the interfaces file? It has to be a global dhcpclient ? [18:38] What's a good way of backing up live kvm VMs? [18:41] RamJett, you just want one interface to be dhcp right? [18:42] RamJett, in /etc/network/interfaces - just set that interface to something like "iface ethX inet dhcp" [18:42] RamJett, or you can do "dhclient ethX" [18:42] pdtpatrick, one interface with dhcp, for IP only, no dns/ntp/.... [18:42] no gateway even [18:44] patdk-wk, good catch. Thanks [18:47] Right. I want to pick which interface does the degalt gateway etc .. Like in Gentoo you just do eth0_dhcp="nodns,nogateway". I think I understabd how to do in in the dhclient.conf file. But is I use dhcp on eth1 but want it to use the gateway .. I just globally disabled that [18:47] i don't understand that last sentence [18:48] nvm s/is/if [18:49] if I do it in the dhcpclient.conf. I'm doing it on all interfaces, right ? [18:49] Sorry bout the typing [18:50] RamJett: Per the manpage use: interface "name" { declarations ... } [18:50] that depends on *how* you modify dhclient.conf [18:50] is it possible to use post-up if u use inet dhcp? [18:50] man 5 dhclient.conf [18:50] ok. Didn't see you could do it per interface. Thanks === jedney is now known as JonEdney [19:47] how to clean up /boot ? it is 86% now [19:48] what's the recom way to remove old kernels? [19:48] i want to remove all but last 3 kernels [19:48] i think i have 10+ of them now [19:49] dpkg -l|grep linux-image .... [19:50] and remove the old versioned packages you dont need [19:58] whats the one without numbers? [19:58] http://dpaste.com/745683/ === fenris is now known as Guest13390 [20:26] hi there [20:26] anyone is able to use vmbuilder in precise with lvm storage? === unreal_ is now known as unreal === funkyHat_ is now known as funkyHat === cs278 is now known as Guest13644 === schmidtm_ is now known as schmidtm === Daviey_ is now known as Daviey === mrmist_ is now known as mrmist [21:10] is 10x1 fast enough to run a few sites? [21:20] I cant create machines with file images [21:20] but not with lvm :S === Ursinha is now known as Guest64056 [21:43] anyone here using kvm in 12.04 server? [21:46] jmedina: yes [21:46] StevenR: do you use lvm for vm storage? [21:46] In trying to create a vm using vmbuilder with --raw=/dev/vg/lvx and fails [21:47] with image files works fine, it only fails with lvm [21:47] I have seen a few bugs with similar errors [21:50] Im using this command: [21:50] vmbuilder kvm ubuntu --hostname server5 --suite precise --flavour server --arch i386 -o --libvirt qemu:///system --raw=/dev/poolb2/storage5 --addpkg=acpid --addpkg=openssh-server --user=administrador --pass=123456 --tmpfs=- [21:55] jmedina: sorry, I don't use LVM with it. [21:55] StevenR: thanks, I just tried the same in a second machine and same result === matsubara is now known as matsubara-afk === fenris is now known as Guest18607 === Guest64056 is now known as Ursinha === jkyle_ is now known as jkyle === Lcawte is now known as Lcawte|Away === semiosis_ is now known as semiosis === cmagina_ is now known as cmagina === jedney is now known as JonEdney