[00:32] <monokrome> Hey. Does anyone know how to fix this issue?
[00:32] <monokrome> http://d.pr/i/OO3w
[00:32] <monokrome> my hostnames are all accurate, but I can't access a server using it's short name...
[00:33] <monokrome> the server denies ping requests, but resolving the IP means that the second ping did what I expected
[00:34] <monokrome> Here's an example taht respects your font size: https://gist.github.com/monokrome/87bb575d75117b09e3a8
[00:34] <monokrome> Sorry about the other one
[00:34] <qman__> monokrome, domain/search domain in /etc/resolv.conf
[00:34] <monokrome> I need to add "domain rentlytics.com" to that?
[00:35] <qman__> yes, though if you use resolvconf, you have to add it to /etc/network/interfaces to get it there
[00:35] <qman__> in the form of
[00:35] <qman__> dns-domainname rentlytics.com
[00:35] <monokrome> What does Ubuntu server use?
[00:35] <qman__> 12.04 and up are done the latter way
[00:35] <qman__> previous versions you just add it to /etc/resolv.conf
[00:36] <qman__> unless you set up resolvconf yourself
[00:36] <monokrome> thanks
[00:37] <qman__> sorry, dns-domain
[00:37] <qman__> not dns-domainname
[00:37] <qman__> monokrome, ^
[00:58] <monokrome> qman__: It's dns-search that worked
[00:58] <monokrome> Thanks for your help
[01:26] <Quest> can I NAT instead of port forwarding 80 in my router if i run a httpd server?
[01:27] <qman__> that depends on your router
[01:27] <qman__> by NAT I assume you mean 1:1 NAT, since port forwarding is a form of NAT already
[01:28] <Quest> yes
[01:28] <Quest>  iam here to know that is NAT an option. if yes, whats the better one and why
[01:29] <qman__> by port forwarding, you're already using what's known as NAT overloading or masquerading, and is the method by which you can share a single external IP among multiple hosts
[01:29] <qman__> 1:1 NAT is used when you have more than one IP and want a host to act as though it has its own dedicated IP on the internet
[01:29] <Quest> hm
[01:31] <Quest> hm
[01:31] <qman__> as the name implies, it's a 1:1 mapping, and cannot be shared with any other hosts
[01:32] <Quest> hm
[01:32] <Quest> 1:1 Nat will forward all ports then
[01:32] <Quest> ok
[01:32] <Quest> out office configuration    DSL    >    router (make NAT maping for server)    >    server    >   switch   >   mulptiple users.   The server is for monitering, prioritizing and limiting traffic. Now we also want an astersk server to also be placed (after the switch and before the the voip cisco phones). We want to moniter voip calls and bandwidth as well. I have been advised by many not to use NAT with astersk. I have read articles on the problems.
[01:32] <Quest> One other problem is that voip need priority. can the server set priority for viop? Provided that the phones will only be used in LAN. should I proceed or an alternative is suggested?
[01:34] <qman__> to make VoIP work well, you need QoS on a device that governs both the data and voice networks
[01:34] <qman__> whether that's your server or router is up to you and what resources you have
[01:34] <qman__> NAT is doable with asterisk but it's complicated
[01:35] <patdk-lap> heh? server, router, and switch should all work together for that
[01:36] <shauno> I honestly think you're reaching the point where you might want to look into hiring someone who's done this before
[01:36] <qman__> probably
[01:36] <qman__> asterisk will give you nightmares
[01:36] <patdk-lap> it does? I thought it was rather fun
[01:36] <qman__> it is by far the single most painful service I have ever had the privilege of working with on linux
[01:37] <qman__> the asterisk server at my place of employment has a bug where it randomly thinks someone is still trying to talk to a conference call after it's gone
[01:38] <qman__> which spams the logs uncontrollably and the only resolution is to restart asterisk
[01:38] <qman__> our workaround is nightly restarts
[01:38] <qman__> that was bad enough, now it's occasionally getting into moods where it will just drop any call made from any of the desk phones after 8 seconds
[01:38] <qman__> rebooting the server is the only solution
[01:39] <patdk-lap> I haven't used astrisk since 2005
[01:39] <patdk-lap> but had a nice setup
[01:39] <patdk-lap> just never needed landlines again, went pure cellphone
[01:39] <qman__> googling for error messages finds a few dozen people with the same issues, and no answers
[01:40] <qman__> as is typical for every problem I've run into with asterisk
[01:40] <patdk-lap> I used astrisk as a pure sip router :)
[01:41] <patdk-lap> cisco unit handled land lines
[01:41] <patdk-lap> sip desk phones
[01:41] <qman__> we used to have a PRI / T1, but now we're all SIP
[01:41] <patdk-lap> asterisk routed, and also connected to several voip providers
[01:41] <qman__> and a couple IAX hardpoints
[01:42] <qman__> sometimes it will join what can only be described as a washing machine to a conference room
[01:42] <qman__> and we just have to use a different one
[01:42] <patdk-lap> are you using a timing device? is that still required?
[01:43] <qman__> the dahdi modules are still there but I'm pretty sure they're unused, the card was pulled
[01:44] <qman__> unfortunately we can't just start fresh because we've got this whole custom scripting mess piled on top
[01:44] <qman__> integrates with our ticketing system and oncall rotation and whatnot
[01:46] <qman__> it was way worse when I started, I was asked to "fix" the phone system as one of my first projects
[01:46] <qman__> so I built a fresh server and compiled the latest asterisk and stuff, but I had to copy the config and custom scripts over from the old one
[01:47] <qman__> and having never used asterisk before, I was googling and firing options from the hip
[01:48] <qman__> before I did that it used to screech or hang up on people, or it'd frequently pick up calls and only have one-way sound
[01:52] <patdk-lap> that is a range of different issues :)
[01:52] <patdk-lap> one way sound is normally a firewall issue
[01:52] <qman__> that's just the tip of the iceberg, I could go on for hours
[01:52] <qman__> it wasn't in this case
[01:52] <qman__> one change I made that had a significant impact
[01:53] <qman__> was disabling as many hardware devices as I could to free up IRQs, and disabling hyperthreading on the CPU
[01:58] <patdk-lap> ya, lots of timing issues to solve there
[02:04] <roseysdaddy> anyone know anything about accessing webmin from remote location?
[02:05] <SlyCracker> I have a question. I am trying to install Ubuntu Server 12.04 on VirtualBox. Whenever I get to "Install and Setup system" It fails everytime.
[02:05] <SlyCracker> Any suggestions?
[02:05] <qman__> !webmin | roseysdaddy
[02:10] <Quest> arnt servers better in reportin / limiting/ QoS/ etc traffic that routers?
[02:12] <patdk-lap> Quest, since when?
[02:12] <Quest> Iam asking
[02:14] <qman__> it depends on the router, and the server
[02:14] <qman__> different products offer different capabilities
[02:14] <patdk-lap> there is going be a lot of adjusting to either, to limit bufferbloat
[02:16] <SlyCracker> Can anyone help me with my U-Server installation?
[02:18] <qman__> SlyCracker, check the md5sum of your iso file against the md5sum on the repository, and make sure you have sane specs for your VM
[02:19] <SlyCracker> Is there a helpful guide for doing that?
[02:20] <roseysdaddy> anyone know if you can access Deluge WebUI from a remote location (across the internet)?
[02:20] <qman__> roseysdaddy, yes
[02:21] <qman__> SlyCracker, what in particular? to check md5sums, just download it and read the instructions; sane VM specs for a base ubuntu server is 128MB RAM minimum and 4GB disk minimum, add more for your desired software
[02:21] <roseysdaddy> qman__ I already have no-ip.com DNS directed to my webmin server, do I just need to open the deluge port?
[02:22] <qman__> roseysdaddy, yes, you need to set up a port forward
[02:22] <SlyCracker> Oh yes, I have all that checked and vaild. Ran memtests as well. Also cd integrity
[02:22] <SlyCracker> As well as setup a heft partition for the server. Running it on VirtualBox
[02:23] <roseysdaddy> would that look like this? "ssh root@myserver.no-ip.org -L 8112:localhost:8112"  ?
[02:23] <qman__> SlyCracker, what's the last thing you put in before it hangs?
[02:23] <SlyCracker> Umm, the last thing I do before it hangs is the Aptitude updates and package installs
[02:23] <qman__> roseysdaddy, that's an SSH tunnel, which is different
[02:23] <SlyCracker> before that selecting all the features such as PHP, SSH, MySQL, etc.
[02:24] <qman__> SlyCracker, try not checking anything, and just letting the install finish
[02:24] <roseysdaddy> how would I open port 8112 from the terminal?
[02:24] <SlyCracker> Will do.
[02:24] <qman__> SlyCracker, you can always get back into that menu later by running 'sudo tasksel'
[02:24] <SlyCracker> Oh.
[02:25] <SlyCracker> How do I run that task when i have no where to input a command?
[02:25] <qman__> roseysdaddy, that depends on your firewall, it must be opened there
[02:25] <qman__> SlyCracker, post-install I mean, after it's done and you've rebooted and logged in
[02:25] <SlyCracker> Oh
[02:25] <SlyCracker> :P
[02:26] <qman__> what's most likely happening is it's trying to download packages from the net and it's taking forever
[02:26] <qman__> either due to broken sources or broken networking
[02:26] <SlyCracker> Well I am running through it again. We shall see. Also is there a specific type of virtual disk I should use? I use Virtual Disk Image, there was also Virtual Hard Disk. Is there a preference for this install with VirtualBox?
[02:26] <qman__> that's mostly a matter of personal preference, if you need to interoperate with different softwares
[02:27] <qman__> each should work equally well as far as the VM is concerned
[02:27] <SlyCracker> Ah okay. Thanks.
[02:36] <roseysdaddy> alright, im so confused
[02:37] <roseysdaddy> ubuntu says iptables isnt a service
[02:37] <roseysdaddy> but when i run nmap it shows me the open ports
[02:37] <qman__> iptables isn't a service, it's a command
[02:38] <qman__> ubuntu's default firewall is ufw, and by default, it's wide open
[02:38] <roseysdaddy> how do i check if port 8112 is open?
[02:38] <qman__> so if your system is being firewalled, you either have some other application that set it up, or you have an additional firewall between your server and the internet
[02:39] <qman__> netstat -lanp | grep 8112
[02:39] <qman__> will tell you if any programs are listening
[02:39] <qman__> running nmap from another host will tell you if it's open, closed, or filtered
[02:45] <Quest> qman__,  and others, is it usually assumed that a computer router with linux is more good in QoS/filtering/firewalling/monitering/  with many tools like iptraf, iftop, ntop   etc  than a router/switch ?
[02:47] <qman__> Quest, no, because "a router/switch" does not sufficiently categorize the available hardware
[02:48] <qman__> better than a $50 consumer piece of hardware, yes
[02:48] <Quest> qman__,  sorry?
[02:48] <qman__> better than a cisco or dell or ... router or managed switch, maybe
[02:48] <Quest> qman__,  sorry? what do you mean. what is better in actuall?
[02:49] <qman__> Quest, dedicated hardware is available at all performance levels, both better and worse than what is available in a linux system
[02:50] <Quest> comparing the cost with ther things QoS/filtering/firewalling/monitering/ . which one gives more features?
[02:51] <qman__> again, you can't make a comparison that generic
[02:51] <qman__> different products offer different feature levels
[02:51] <qman__> consumer grade hardware will be slower and less featureful than a linux server configured as a router
[02:52] <Quest> qman__,  is it truee that a router/switch can be as good in reporting/QoS // / /etc/  etc/ as a Linux full OS can ?
[02:52] <qman__> more expensive routers and switches can be faster and offer varying levels of features
[02:52] <qman__> yes
[02:52] <Quest> oh
[02:52] <qman__> the main strong point of a linux server filling that role, is adding those extra features on a low budget
[02:53] <Quest> qman__,  do you know any router make model that is good enough as ntop, iftop, iptraf   QoS  in Linuxe is?
[02:53] <Quest> qman__,  oh so linux servers do all that of a good router/switch at a cheap cost?
[02:53] <qman__> yes, but they don't necessarily perform as well
[02:54] <Quest> hm
[02:54] <Quest> ok
[02:54] <Quest> thx
[02:54] <Quest> Is there a way to remotely(by WAN out side) log in the routers page of 192.168.1.1?
[02:54] <qman__> dedicated hardware can be accelerated for the given task and be faster than a linux server
[02:54] <Quest> linux servers are dedicated too. for just routing
[02:54] <Quest> arnt they?
[02:54] <qman__> no
[02:54] <Quest> ok
[02:55] <qman__> linux is a generic operating system, it has routing features, but it's all running on a standard x86 PC stack
[02:55] <Quest> well if they just do routing. arnt they
[02:55] <Quest> hm
[02:55] <Quest> i see
[02:55] <qman__> hardware designed specifically for the task is better at it
[02:55] <Quest>  i see
[02:55] <Quest>  right
[02:55] <Quest> qman__,  do you know any router make model that is good enough as ntop, iftop, iptraf   QoS  in Linuxe is?
[02:56] <qman__> there are lots of them, you need to find one suited to your requirements in features, performance, and load
[02:56] <Quest> hm
[02:57] <Quest> Is there a way to remotely(by WAN out side) log in the routers page of 192.168.1.1?
[02:57] <Quest> so i can moniter traffic
[02:57] <qman__> not directly, your private addresses only exist locally
[02:57] <qman__> you will need to open and forward a port
[02:57] <SlyCracker> Okay, Ubuntu server is installed. Is there a desktop for this or all console based?
[02:57] <qman__> SlyCracker, it's console only
[02:58] <qman__> desktops are for desktops
[02:58] <Quest> SlyCracker,  but you can install a desktop if youwant
[02:58] <SlyCracker> Well I want it setup for a server, but a gui would be nice.
[02:58] <Quest> SlyCracker,  but you can install a desktop if youwant . if you mean a GUI
[02:58] <qman__> you can, but there's not much point; all the server administration is done by command line anyway
[02:58] <SlyCracker> True.
[02:58] <Quest> SlyCracker,  install ubuntu-desktop
[02:58] <qman__> the correct way to manage the server is to use your desktop for the research and web browsing, and SSH in to do the admin
[02:59] <SlyCracker> How do I get back to that Task Selection screen again then?
[02:59] <SlyCracker> sudo seltask?
[02:59] <qman__> sudo tasksel
[02:59] <Quest> qman__,  know anything about asterisk?
[03:00] <SlyCracker> Thanks
[03:00] <qman__> Quest, enough to hate it
[03:00] <Quest> hm
[03:01] <Quest> Is there a way to remotely(by WAN out side) log in the routers page of 192.168.1.1?   ------ by this meant the router/switch that is after the dsl line/ dsl modem
[03:01] <qman__> only if said router has the option to enable it on the WAN port
[03:02] <Quest> most advance routers like d link and linksys do?
[03:03] <Quest> one question: to get requests on port 80 of a webserver, 80 needs to be forwarded or NAT 1:1. while asterisk server dont need NAT or port forwarding? as it has problems with NAT?
[03:03] <qman__> no, d-link and linksys are consumer grade hardware
[03:03] <Quest> hm
[03:03] <qman__> and if your asterisk server needs to be accessed from the internet, you need a NAT or a port forward; if not, then you don't
[03:04] <qman__> by that I mean, if you need phones to register from outside your network
[03:04] <qman__> if you just have phones on the LAN, and connect to an upstream SIP provider for your lines, you don't need a port forward
[03:05] <Quest> well.  we need them to down and upload. register . etc. but i heard NAT is not good for SIP
[03:05] <Quest> or voip
[03:05] <qman__> it complicates it
[03:05] <qman__> what I'm saying is
[03:05] <qman__> if you don't have any phones outside of your LAN, you don't need it
[03:05] <qman__> meaning desk phones, SIP phone applications, etc
[03:06] <Quest> yes. its in LAN
[03:06] <qman__> your server initiates the connection to your SIP provider and doesn't need a port forward to connect to it
[03:06] <Quest> oh
[03:07] <Quest> so if the phones are in the LAN . and the network is NATed . i dont need to worry
[03:07] <Quest> ?
[03:08] <qman__> yes
[03:08] <Quest> great
[03:09] <Quest> but it seems that anyone fromoutside the lan wont be able to connect  remotely to make a call. etc
[03:09] <qman__> right
[03:09] <qman__> if you want people to connect to your phone system and make calls, from other places on the internet, you need port forwards or 1:1 NAT
[03:10] <qman__> such as people taking desk phones home or using SIP applications on their cell phone or laptop
[03:10] <Quest> and port forward and NAT is not good for voip/sip.
[03:10] <Quest> so theres a problem. isnt it
[03:10] <qman__> it works fine, but it's more complicated to configure
[03:10] <Quest> hm
[03:10] <Quest> ok.
[03:10] <Quest> we have 8 ip pool 5/8 usable. our office configuration    DSL    >    router (make NAT maping for server)    >    server    >   switch   >   mulptiple users.   The server is for monitering, prioritizing and limiting traffic. Now we also want an astersk server to also be placed (after the switch and before the the voip cisco phones). We want to moniter voip calls and bandwidth as well. I have been advised by many not to use NAT with astersk. I have r
[03:10] <Quest> ead articles on the problems. One other problem is that voip need priority. can the server set priority for viop? Provided that the phones will only be used in LAN. should I proceed or an alternative is suggested?
[03:11] <Quest> by router i mean router/switch.   the server is  a linux ubuntu server
[03:20] <Quest> qman__,  you there?
[03:33] <pukeko> Hello i have two samba servers (versions 3.4.7 and 3.6.3) which i wish to keep in sync.. is it ok to just rsync the /etc/samba /var/lib/samba /etc/passwd and /etc/group directories ?
[04:04] <SlyCracker> is there a way to creat a domain name with the server?
[04:04] <SlyCracker> or a site where I can use my localhost for a domain?
[04:04] <SlyCracker> Still new it seems.
[04:12] <SlyCracker> How do you setup a domain name for localhost?
[04:12] <SlyCracker> Or use it for a live website?
[05:01] <vedic> Hello friends, recently while updating the server, I got error in updating grub-pc. Not able to solve it. Need help.
[05:01] <vedic> dpkg: error processing grub-pc (--configure):  subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing:  grub-pc
[05:05] <vedic> I managed to solve it
[07:24] <eagles0513875_> hey guys i need some help i am trying to follow exporting http_proxy envrionmental variable and for some reason either i have the syntax wrong or the site http://askubuntu.com/questions/47379/how-to-use-a-proxy-on-the-command-line is not correct can anyone help me
[07:29] <sarnold> eagles0513875_: do you have a pastebin handy showing what you've typed and what happened?
[07:30] <eagles0513875_> hold on sarnold
[07:30] <pii3> hi
[07:31] <geekf00> sup
[07:31] <pii3> why i cannot /etc/init.d/networking restart on ubuntu 12.10
[07:31] <pii3> ?
[07:31] <eagles0513875_> sarnold: this is just a single line export http_proxy=http://localhost:2200/curl
[07:31] <eagles0513875_> im tunneled already in another terminal
[07:31] <eagles0513875_> which i used ssh -D 22 -p 2200 -i PATH TO KEY USER@host
[07:31] <eagles0513875_> and it doesnt work
[07:33] <sarnold> eagles0513875_: is your proxy really http://localhost:2200/curl ??
[07:33]  * pii3 restart networking
[07:33] <sarnold> eagles0513875_: I haven't seen a proxy with a path like that before...
[07:33] <eagles0513875_> no sarnold no its not im using local host and socks at least on my web browser
[07:34] <sarnold> pii3: was it moved to an upstart managed job? try "service restart networking"
[07:34] <pii3> thanks
[07:34] <sarnold> eagles0513875_: try just "export http_proxy=http://localhost:2200/"  then, and leave off the 'curl'
[07:35] <pii3> sarnold, service networking restart
[07:35] <eagles0513875_> sarnold: same issue curl is saying couldnt connect to host
[07:37] <sarnold> eagles0513875_: ohhh, I just finally re-read what you wrote -- are you trying to use a simple ssh port forwarding as an http proxy? that won't work, unless there's a -real- http proxy somewhere.
[07:37] <sarnold> eagles0513875_: if you just want to use ssh port forwarding, you don't set http_proxy -- you just give the 'local' address, like: curl http://localhost:2200/path/to/whatever
[07:38] <eagles0513875_> sarnold: thing is this is part of some source code so i dont have control over curl
[07:40] <eagles0513875_> its not a problem sarnold i can wait till i get home and use the home network instead of my schools
[07:42] <sarnold> eagles0513875_: you -might- be able to get away with a shell script to replace curl, if you didn't want to wait
[07:43] <eagles0513875_> sarnold: what do you mean
[07:44] <sarnold> eagles0513875_: if you do something like : sudo mv /usr/bin/curl /usr/bin/curl.real ; and then write a small /usr/bin/curl shell script that does something like /usr/bin/curl.real -command -line -arguments  http://localhost:2200/path/that/is/requested     you might be able to paper over the problem :)
[07:45] <eagles0513875_> ahh ok :)
[07:45] <eagles0513875_> thanks ill try it out
[07:48] <eagles0513875_> sarnold: this is what i have tunneled into now would i export the same sudo ssh -p 2200 -D 22 -i path to ssh key jaquilina@eagleeyet.net
[07:49] <eagles0513875_> nm that doesnt work
[09:00] <Hexch> Hi can someone help me with varnish?
[09:22] <Octavian> hi
[09:23] <Octavian> still having problems with KVM on 12.04 LTS
[09:24] <Octavian> I still see linux guests running with kernel 3.8 (not patched) to be stuck in libata:ata_sff_wait_after_reset() at the time ata_msleep() is called
[09:24] <Octavian> ata_piix is used
[09:25] <Octavian> is this a known issue?
[09:26] <Octavian> guests running with kernel 3.7 did not show this behaviour
[09:52] <RoyK> Octavian: I'd suggest asking in #virt @ irc.oftc.net
[10:12] <brendand> not sure if this is the right channel to ask in, but i'm trying to write an upstart job for tool that runs some tests on a fully booted server and was wondering what's the best thing to specify for 'start on'
[10:24] <rbasak> brendand: are you aware of upstart-events(7)? http://upstart.ubuntu.com/cookbook/#ubuntu-well-known-events-ubuntu-specific
[10:25] <rbasak> brendand: apart from that, I'm not sure. Might be worth asking on askubuntu.com
[10:25] <rbasak> (it's a good question)
[10:45] <hggdh> is bug 1111852 something the server team could look at?
[13:04] <Daviey> zul: syncing spice-html5 sounds like a good idea to me
[13:04] <Diegonat> hi guys... has somebody installed apt-spacewalk ??
[13:04] <zul> Daviey:  ack
[13:12] <wickedpuppy> hi guys , I have downloaded Ubuntu 12.10 Server for Cloud. May I know how do I go about using it? Is there any guide?
[13:20] <RoyK> !guide | wickedpuppy
[13:29] <wickedpuppy> Thanks!
[13:31] <koolhead17> hi all
[13:31] <koolhead17> wickedpuppy: hey there
[13:31] <koolhead17> zul: salute
[13:31] <wickedpuppy> heya koolhead17
[13:31] <zul> koolhead17:  hi
[13:32] <koolhead17> zul: do i need to wait for few more days to start using stable grizzly repo?
[13:32] <koolhead17> fromcl oud archive
[13:32] <koolhead17> 4 precise
[13:32] <zul> koolhead17:  no you can use it now
[13:33] <koolhead17> thanks!!
[13:33] <jamespage> koolhead17, please read my post to openstack ML - release packages avaliable but not final yet
[13:33] <wickedpuppy> which part of the server guide can I find the openstack setup?
[13:34] <koolhead17> jamespage: care to pass me link if you can, my inbox is kind of bombed
[13:35] <jamespage> koolhead17, https://lists.launchpad.net/openstack/msg22515.html
[13:35] <koolhead17> thanks jamespage
[14:01] <hallyn> drat.  package nsf-kernel-server not found, there go my hopes for easy grant money
[14:03] <ogra_> hallyn, probably if you dont typo it ?
[14:04] <ogra_> i definitely see it on x86 precise and armhf raring here
[14:04] <hallyn> ogra_: just a joke
[14:04] <ogra_> ah :)
[14:04] <hallyn> ogra_: i mistype that pretty frequently :)
[14:10] <ixloran> Hi.  I'm running an appliance on Ubuntu 12.04 LTS server.  The server gets regular updates/upgrades.  I received a system notice that:  Apr  9 07:00:21 mail zimbramon[4053]: 4053:err: Disk warning: mail.mydom.com: /boot on device /dev/sda1 at 92%
[14:10] <ixloran> Checking "/boot", I find multiple installs of OS versions -> http://pastebin.com/JEH2NXCM.
[14:10] <ixloran> What's the correct/safe way to clean this up, and prevent multiple installs in the future?
[14:14] <resno> ixloran: this with zimbra?
[14:15] <ixloran> resno: Hi. Yes.  Is that relevant?
[14:15] <resno> uhm, not really
[14:15] <resno> are you thinking 203mb will save you?
[14:17] <tracphil> http://askubuntu.com/questions/89710/how-do-i-free-up-more-space-in-boot
[14:19] <ixloran> resno: 'save me'?  not sure what you mean, there
[14:19] <ixloran> tracphil: thanks ... reading
[14:19] <hugo_> greetings!
[14:25] <ruben231> hi guys any idea how do i resize this server setup since its full already ------------> http://pastebin.com/ztNfMnJg
[14:36] <Quest> what does this means Apr  9 19:05:44 server1 lightdm: pam_succeed_if(lightdm:auth): requirement "user ingroup nopasswdlogin" not met by user "fullaccess"
[14:36] <Quest> Apr  9 19:05:44 server1 lightdm: pam_unix(lightdm:auth): authentication failure; logname= uid=0 euid=0 tty=:1 ruser= rhost=  user=fullaccess
[14:36] <Quest> Apr  9 19:05:44 server1 lightdm: PAM unable to dlopen(pam_gnome_keyring.so): /lib/security/pam_gnome_keyring.so: cannot open shared object file: No such file or directory
[14:37] <ogra_> looks like a messed up desktrop install on your server
[14:38] <ogra_> (and someone trying to log in with the id "fullaccess")
[14:39] <Fieldy> i'm guessing somebody messed with the pam config, or manually installed things ouside of the package manager
[14:41] <tracphil> ruben231 it is going to be a pita since the filesystems are not on LVM
[14:49] <Quest> ogra_,  hm Fieldy  i also have so much similers like this pr  9 19:05:35 server1 lightdm: pam_unix(lightdm:auth): authentication failure; logname= uid=0 euid=0 tty=:1 ruser= rhost=  user=fullaccess
[14:50] <Quest> am i safe?
[14:51] <Fieldy> is there a display mangager called lightdm? because :1 implies it's X11 (gui).
[14:51] <Fieldy> if you're using that, it's something to do with that
[14:51] <ogra_> lightdm is the default desktop display manager in ubuntu
[14:51] <Quest> hm
[14:51] <Quest> and Apr  8 20:31:29 server1 sshd[3875]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=201.151.198.117  user=root
[14:51] <ogra_> it shouldnt be installed on a server (at least it isnt by default)(
[14:52] <Quest> Apr  9 02:32:19 server1 sshd[6361]: Failed password for root from 61.155.62.178 port 39754 ssh2            is some one trying to bruteforce?
[14:52] <ogra_> thats a "normal" ssh attack ... you will see lots of them on a network facing server ...
[14:53] <Quest> ogra_,  what is the password of root in ubuntu?  in never set one. and am I safe?
[14:53] <ogra_> luckily root is locked so you dont have to care (there are ways to quieten that etc if you do)
[14:53] <Quest> k
[14:53] <Quest> ogra_,  i have installed fail2ban
[14:53] <ogra_> yeah, that should help
[14:54] <Quest> k
[14:54] <Quest> thx
[14:54] <Quest> a lot :)
[15:16] <Daviey> roaksoax: Couldn't bug 1152809 have been handled by breaks/replaces?
[15:22] <roaksoax> Daviey: nope, slangasek and I went through it and we couldn't really find a way to get fixed (as in maas would upgrde but some bits would not install due to having that as recommends)
[15:23] <Daviey> roaksoax: nice.. Anyway, thanks for validating it
[15:23] <roaksoax> Daviey: we tried everything TBH, breaks/replaces, conflicts/replaces, conflicts, etc, etc
[15:25] <Daviey> roaksoax: happy times!
[15:26] <roaksoax> Daviey: indeed!! i want MAAS in already! :)
[15:32] <smb> zul, Now I got the same bugfix as yesterday for Raring for Quantal and Precise (I thought I'd ignore Oneiric). [bug 1157757] I subscribed ubuntu-sru but for the sponsoring upload I assumed it would be you anyway to have to do it.
[15:32] <smb> Oh and the full set of files is in the "usual" place
[15:32] <zul> smb:  you would think so
[15:34] <zul> smb: ill take a look once im done here
[15:34] <smb> zul, ok cool. thanks.
[15:37] <Daviey> jamespage: can you postpone you think any not viable for this release please, https://blueprints.launchpad.net/ubuntu/+spec/servercloud-r-seeded-qa-workflow
[15:38] <jamespage> Daviey, can I just postpone the whole blueprint?
[15:39] <Daviey> jamespage: I think some of the easier ones could potentially still be achieved ?
[15:41] <jamespage> Daviey, I've postponed my assigned workitems as appropriate - I'll ask others todo the same
[15:44] <zul> smb: dpkg-source: error: cannot fstat file ./xen_4.1.2.orig-qemu.tar.gz: No such file or directory
[15:44] <Daviey> jamespage: super
[15:45] <smb> zul, err... that should be the other one and not included... wtf
[15:45]  * zul shrugs :)
[15:47] <smb> zul, Yeah seems both somehow became including source. no idea why
[15:48] <Daviey> smb: I always debuild -S -sa :)
[15:49] <smb> Daviey, I don't why push around tarballs that are there already... :-P
[15:51] <smb> zul, oh wait... maybe fooling myself. the changes only has the diff and dsc...
[15:54] <smb> zul, of course to build it you need the tarballs, but can't you just pull-lp-source the previous version to get it
[15:56] <zul> k
[15:57] <jcastro> zul: is someone blogging the cloud archive stuff?
[15:57] <zul> jcastro:  i do some blogging but havent done any in a while
[15:57] <jcastro> if no one is I'd like dibs
[15:57] <jcastro> https://wiki.ubuntu.com/ServerTeam/CloudArchive
[15:57] <jcastro> Am I missing anything from that?
[15:59] <zul> jcastro:  please
[16:26] <ScottK> zul: In what way is adding branding a bug fix?  Why do we need it?  (nginx)
[16:31] <robbiew> why not?
[16:31] <robbiew> what's the harm ScottK
[16:32] <Daviey> ScottK: I asked zul to upload it, to better allow banner fingerprinting between distros
[16:32] <ScottK> robbiew: Does anything depend on that version string?
[16:33] <robbiew> are we changing the version?
[16:33] <ScottK> Yes.
[16:33] <zul> no we arent
[16:33] <zul> apache has the same thing
[16:33] <ScottK> +-#define NGINX_VERSION      "1.2.6"
[16:33] <ScottK> ++#define NGINX_VERSION      "1.2.6 (Ubuntu)"
[16:33] <robbiew> 1.2.6 = 1.2.6
[16:34] <ScottK> It's not a bug fix, so I don't see why we're doing it now.
[16:34] <Daviey> ScottK: I have minimal concern about this change. We shouldn't spend too much time concerning ourselves with it.
[16:35] <ScottK> Daviey: OK.  Accept it if you want to.
[16:35] <ScottK> (you can accept from rejected)
[16:46] <kirkland> hallyn: ping
[16:47] <hallyn> kirkland: .
[17:07] <roaksoax> plars: let me know when you need my help to go over the tests
[17:10] <plars> roaksoax: ok, maybe this afternoon we could run through them? Did you look through them at least to see if they look sane?
[17:11] <roaksoax> plars: not yet, send tme the links please
 http://iso.qa.ubuntu.com/qatracker/testcases/1461/info
 http://iso.qa.ubuntu.com/qatracker/testcases/1462/info
 http://iso.qa.ubuntu.com/qatracker/testcases/1463/info
[17:15] <plars> roaksoax: ^
[17:17] <roaksoax> plars: thanks
[18:12] <hallyn> stgraber: i gather you are out today?
[18:12]  * RoyK gathers everyone's out
[18:25] <plars> jamespage: I still see this issue with the iscsi testing on today's image. The install seems to go off without a hitch, but on reboot I hit problems when it gets to: "Starting configure network device used by iSCSI root"
[18:25] <plars> it seems to complete that step - it has [ OK ] next to it at least, so maybe the next step
[19:55] <stgraber> hallyn: yep, and tomorrow. Back on Thursday, working on European time
[19:55] <hallyn> stgraber: ok o/
[20:49] <dparks> Howdy! I asked on #ubuntu a little while ago, but no response… am I incorrect in thinking that linux-libc-dev and linux-generic should always create /var/run/reboot-required?
[20:53] <smokie> hey guys, if i installed LAMP when first installing ubuntu, how can i install a php extension later on ?
[20:53] <smokie> do i just download php5 source and recompile it again with the extension i want?
[20:59] <dparks> smokie: you can generally install PHP extensions with the package manager (anything listed by "aptitude search php")
[22:18] <wildchild22> how can you remove startup scripts from ubuntu server?
[22:19] <ogra_`> you dont ...
[22:20] <ogra_`> either remove the service package or put an upstart override job in place, that will prevent it from starting
[22:20] <sarnold> wildchild22: perhaps this is what you want: http://upstart.ubuntu.com/cookbook/#override-files
[22:20] <wildchild22> I will look
[22:20] <ogra_`> s/teh service package/the package of the service you want stopped/
[22:20] <wildchild22> the problem I have is on my seed box
[22:20] <wildchild22> it is running rtorrent
[22:20] <wildchild22> it is running but not accessible by the web
[22:21] <wildchild22> it keeps saying wrong password and it isnt
[22:21] <wildchild22> so I need to try and modify the password
[22:21] <wildchild22> it is runnung lighttpd
[22:37] <smokie> yeah, but the package manager doesnt show mbstring for PHP
[22:37] <smokie> thats the thing
[22:38] <smokie> so i assume i have to compile it from source but im not sure how to do that since i used LAMP when i first installed my ubuntu server
[22:38] <smokie> so any help would b grateful.. ive been at it for few hours now
[22:58] <Quest> how to I backup entir hardisk with MBR and everything else. partitions etc (there may be a difference in the backup HD size . it would be definiatiely equal or greater in size than the original HD) ? I want to copy all data and MBR with partition table etc so that if the HD fails. I just plug in the back HD and every thing gets beck as before?
[23:02] <sarnold> Quest: I think you ought to be able to just dd if=/dev/sda of=/dev/sdb bs=64K -- rplacing device names as appropriate, of course
[23:22] <Quest> sarnold,  hm... will white / blank space be also copied? and what if the backup HDD is larger in size?  and what if the backkup HDD is smaller is size from the original?
[23:23] <sarnold> Quest: blank space is also copied. don't try with a smaller destination drive.
[23:24] <Quest> sarnold,  If dest drive is smaller. it will make the last partitions as smaller i gues?
[23:24] <sarnold> Quest: if you want to compress blank space and your destination drive is smaller, you can write a filesystem on the destination drive and write to a _file_ using the conv=sparse option -- but that will _only_ find all-zero blocks 4096 bytes or larger and zero those, so it'd only work with a -very- sparse source hard drive.
[23:25] <Quest> example . original partition 1 100gb partition 2 100gb          backup HD 150GB
[23:25] <Quest> ok
[23:25] <Quest> asume the original as full with data
[23:25] <Quest> 2. asume the original as with half data full
[23:26] <Quest> what will happen to the backup HDD in both cases?
[23:26] <sarnold> but yoour file will need to be restored to an actual drive before you could use it for booting..
[23:27] <Quest> that dd command will make a file? not clone the HDD?
[23:27] <sarnold> Quest: well, depends in what fashion the source is "half-full" -- if it actually -used- the whole space of the platters, even if not ever full, the sectors would have data on them -- the filesystems won't waste time zeroing blocks when they are freed -- so if you bring it down to 'half full' by deleting files, or even create / delete in a tight loop, it's probably not going to work.
[23:27] <sarnold> Quest: you can clone drives or create files with dd. it's very flexible :)
[23:28] <Quest> sarnold,  the command you gave me will create a file or clone the HDD?
[23:29] <Quest> sarnold,  this one dd if=/dev/sda of=/dev/sdb bs=64K
[23:29] <sarnold> Quest: it would clone the drive -- it all depends upon the destination filename. if the destination is a block device like /dev/sdb, it'll write to the block device. if the destination doesn't exist (or does exist, as a regular file), it'll write a file
[23:30] <Quest> i would do that to an HDD so that if my origial fails. i would just plug in the backup HDD and boot
[23:30] <Quest> sarnold,  can I dd while the system is running?
[23:31] <Quest> I mean dd when   / is mounted ?
[23:31] <sarnold> Quest: you can but the resulting filesystem will probably not be usable...
[23:31] <Quest> why not?
[23:31] <Quest> why not it will be usable
[23:31] <sarnold> it won't be consistent.
[23:32] <Quest> meaning?
[23:35] <sarnold> you'd have the same problems as if you just yanked the power while the system is running
[23:35] <Quest> oh
[23:35] <sarnold> probably replaying the journal and fsck would fix it, but I would not trust my data to that.
[23:35] <Quest> hm
[23:36] <Quest> actually its a server and we cant stop it running
[23:53] <Quest> sarnold,  can I dd the first 512 bytes for mbr and partition table . the use rsync. (both things to a backkup usb external portable drive)? will it boot once the mbr is dd to it with the data by rsync?
[23:54] <patdk-lap> defently not
[23:54] <Quest> why
[23:54] <patdk-lap> the boot info in the mbr is only to boot the boot code
[23:54] <sarnold> Quest: I would not trust that to boot. if you want a real hot-swap boot, best would be to ocnfigure and install two hard drives, make them both bootable. then get good backups of your data.
[23:54] <patdk-lap> the partition table is in the mbr
[23:55] <Quest> Patrickdk,  yes
[23:55] <Quest> so
[23:55] <Quest> ?
[23:55] <Quest> sarnold, hot swap boot?
[23:55] <patdk-lap> what exactly are you trying to do?
[23:56] <Quest> patdk-lap,  backup a running system that cant be stoped. need a clone HDD
[23:56] <patdk-lap> what is it that can't be stopped?
[23:56] <patdk-lap> a database? or other large file thing?
[23:56] <patdk-lap> or like a webserver?
[23:56] <patdk-lap> where it's just static files
[23:57] <Quest> patdk-lap,  asterisk voip server.
[23:57] <patdk-lap> ok, so asterisk is the *primary* thing
[23:57] <Quest> ya
[23:57] <patdk-lap> but what else is on it?
[23:57] <Quest> nothin
[23:57] <patdk-lap> database? sqlite? ....
[23:57] <Quest> mysql
[23:57] <patdk-lap> asterisk rarely runs by itself
[23:57] <Quest> trixbox
[23:58] <patdk-lap> and how much do you *care* about the mysql info?
[23:58] <patdk-lap> needs to be accurate?
[23:58] <Quest> verymuch\
[23:58] <patdk-lap> then you have only two options I know of
[23:58] <Quest> ok?
[23:58] <patdk-lap> you could do a mysql dump, and of anything else that matters for consistancy
[23:58] <patdk-lap> then backup the system
[23:59] <patdk-lap> or you could install the whole thing using lvm, and make a snapshot
[23:59] <patdk-lap> then copy the snapshot
[23:59] <Quest> how to clone the whole HDD without shuting system
[23:59] <patdk-lap> that is the easy part
[23:59] <Quest> with mbr