[00:39] <excalibour> how do i know what port is mysql listening to?
[00:40] <wdroberts> check '/etc/my.cnf' and run 'netstat -antp'
[00:41] <wdroberts> default is tcp/3306
[00:41] <excalibour> thanx
[00:44] <excalibour> i m trying to install forum software on 10.10. What s the username for mysql format? user or user@pc ?
[00:52] <wdroberts> mysql uses the 'user'@'host' format, but web software will usually ask for them separately
[00:52] <excalibour> ty wdroberts, silly me, changed hostname from ubuntu to localhost and i m done :(
[02:07] <violinappren> Hello. What is the proper upstart command enable and disable services?  in Lucid and Precise
[02:15] <violinappren> Editing /etc/init/*.conf is the proper way?
[02:19] <wdroberts> i'm not terribly familiar with upstart, but in ubuntu i generally use the update-rc.d command to control automatic startup of services in different runlevels. it edits the scripts in the /etc/rc#.d directories
[02:20] <violinappren> wdroberts: thanks,  im reading the man page
[02:39] <delerium_> Hi guys, I have a dedicated server and I have two friends seeking for web hosting.  So Instead of setting up an apache vhost for them, and manage their thing (no time for that!)  I thought of installing something like cPanel.  Is there a free and great alternative to cPanel? Thx!
[03:04] <wdroberts> delerium_: webmin comes to mind
[03:35] <Rallias> Is there any way to have 2 separate instances of php fastcgi for different parts of my web site simultaneously on one server?
[03:42] <delerium_> wdroberts: Thanks, I'll take a look at it.  Appreciated.
[03:59] <SpamapS> Rallias: yes definitely
[03:59] <SpamapS> Rallias: just have them listen on different sockets/ports
[03:59] <Rallias> How would I modify my /etc/init.d/php-fcgi script to accomodate that?
[04:01] <SpamapS> Rallias: I'd recommend php5-fpm for this, it is now quite superior to php5-fastcgi and has a specific method for doing this
[11:40] <azert> hello
[11:40] <azert> i can't delete an mounted partition
[11:41] <azert> what is the command to able to delete a partition during the next reboot ?
[11:45] <pmatulis> azert: unmount it now and create a new filesystem on it
[11:46] <azert> ok, is it possible to transfer file over 54 Mo over Tftp ?
[11:48] <pmatulis> azert: dunno but why are you using TFTP?
[11:49] <azert> Trivial_File_Transfer_Protocol as it says just for file transfer
[11:49] <pmatulis> azert: dunno but why are you using TFTP?
[11:49] <azert> ok i understand
[11:50] <pmatulis> azert: maybe if you explain your situation someone can help better
[11:50] <azert> to transfer firmware
[11:50] <azert> pmatulis: is that enough?
[11:51] <JanC> azert: TFTP supports up to 4 GiB (unless your software only supports the old pre-1998 protocol version which only supports up to 32 MiB)
[11:53] <azert> how to check software version ?
[12:14] <Rapid2214> azert: What software are you using?
[12:15] <Rapid2214> dpkg -s <package>
[14:07] <hazmat> utlemming, fwiw, i made some minor changes to fix the userdata passing issue with the lxc cloud template http://paste.ubuntu.com/918869/
[14:07] <hazmat> unfortunately that even with that in place cloud-init refuses to run the full cloud-init module suite against it
[14:08] <hazmat> still trying to debug cloud-init wrt to that
[14:08] <hazmat> smoser, what actually runs the runcmd part? i see a handful of upstart confs for cloud init, and i've tried tracing through the code, but all i see it doing is writing out the cloud-init part
[14:08] <hazmat> never executing it
[14:09] <hazmat> er.. the cloud-config part
[14:12]  * patdk-lap gives apache2.4 a test on precise
[15:58] <itgeo> hello guys I installed a mail server iReadMail on my server, but i dont know why i can't send and received email to/from my gmail account
[16:00] <ikonia> where did you get ireadmail from ?
[16:02] <itgeo> from the official website
[16:02] <itgeo> eveything is working
[16:02] <itgeo> exaceopt that dont receive email when i send it with my server to my gmail
[16:41] <itgeo> hi guys i just install iReadMail as mail server on my ubuntu, i can receive mail only for users of my server. But I cant send an email to myself on my gmail account, or receive an email from  my gmail account to my email server. Is there something that I had to setup ?
[16:42] <Doonz> hey guys, anyone here familiar with force10 networking switches?
[17:03] <Doonz> http://cgi.ebay.ca/ws/eBayISAPI.dll?ViewItem&item=130677305627&fromMakeTrack=true&ssPageName=VIP:watchlink:top:en#ht_3469wt_881 <-- can someone tell me if this is a good buy to set up a 10gb backhaul network between 10 of my servers?
[17:16] <RoyK> Doonz: looks cheap enough
[17:16] <RoyK> Doonz: but you might need media modules in addition to that
[17:16] <RoyK> no, wait, it's CX4
[17:17] <RoyK> 10 servers all on 10G?
[17:18] <Doonz> yeah
[17:18] <Doonz> im just not sure how the 10gb switches work
[17:19] <RoyK> it's just a switch
[17:19] <RoyK> nothing fancy
[17:19] <Doonz> would it be the same as a unmanaged 1gbe switch?
[17:19] <RoyK> some of them have L3 support
[17:19] <RoyK> I *really* doubt you'll find a 10Gbps unmanaged switch
[17:19] <Doonz> yeah i dont need anything like that since its just a private backhaul between the servers
[17:20] <Doonz> RoyK yeah i figured that
[17:20] <RoyK> VLAN support can be nice if you want to split the switch somehow
[17:20] <Doonz> ive used managed before just nothing on the 10gbe level
[17:20] <RoyK> or LA support if you want to use two links at a time to get failover and better bandwidth
[17:21] <RoyK> it's the same thing
[17:21] <RoyK> it's just a switch
[17:21] <Doonz> kool
[17:21] <Doonz> i cant find anything on documentation on that switch but it looks like dell bought that company a few years back
[17:21] <Doonz> but a new switch from dell is 15k for that one
[17:23] <RoyK> dell sells a 24port SFP+ switch from Delta Electronics, same thing as Super Micro sells, for <$10k
[17:23] <Doonz> yeah this is for a temp setup while i work on a project so if i can keep cost as cheap as possible that mean mor emoney for me
[17:24] <RoyK> then just get that thing off ebay
[17:24] <RoyK> if it fails, well, it didn't cost too much :þ
[17:24] <Doonz> im not a networking guy so i was looking for another opinion
[17:25] <Doonz> it only has to last 90 days or so
[17:25] <RoyK> networking is mostly about closed, black boxes, so you never really know what's inside, meaning you can gamble it works (read: buy something cheap) or you can pay for something you know works (read: get something that costs the same as a nice house)
[17:25] <Doonz> yeah like i said tho its only for about 90 days
[17:26] <RoyK> then I'd get that thing off ebay, if you can get it quickly ;)
[17:26] <Doonz> ill pay for next day shipping
[17:26] <RoyK> $5k for a 10G switch and eight 10G boards is rather cheap
[17:27] <Doonz> those cards are going from 200 - 600 on ebay
[17:27] <Doonz> brand new there 479
[17:27] <RoyK> I have a few of those
[17:28] <Doonz> seem to be a good card
[17:29] <RoyK> "Switching fabric capacity of 480 Gbps and forwarding capacity of 360 Mpps"
[17:29] <Doonz> whats that mean
[17:30] <patdk-lap> 48GB/sec max, and 360M iops max
[17:30] <RoyK> meaning total switching capacity is 480Gbps, which is good (10G*2 per port), and that it can handle 360 million packets per seconds
[17:31] <RoyK> patdk-lap: I don't think "iops" is the right thing for a switch...
[17:31] <Doonz> cool
[17:31]  * Doonz is outta his league
[17:31] <patdk-lap> royk, fcoe switch?
[17:31] <patdk-lap> fc switch?
[17:31] <RoyK> patdk-lap: ethernet switch
[17:31] <patdk-lap> ah
[17:32] <patdk-lap> iscsi switch? :)
[17:32] <RoyK> patdk-lap: no such thing...
[17:32] <Doonz> its being used to transfer large simulation packages between systems and time is money
[17:32] <patdk-lap> doonz, infiniband
[17:33] <patdk-lap> 40gbit per port :)
[17:33] <Doonz> not supported from the custom os
[17:34] <RoyK> "custom os"?
[17:35] <Doonz> its a freebsd modified os for running simulation packages for and ideas simulation package
[17:35] <Doonz> very small acl
[17:35] <Doonz> hcl*
[17:37] <Doonz> and of course they have a sweet deal with the hardware vendors. Nothing lik ebuying a dell server at 1000000000% markup
[17:38] <RoyK> what do you use this for?
[17:46] <Doonz> its used for process simulation
[17:47] <RoyK> k
[17:47] <RoyK> large datasets?
[17:47] <RoyK> (since you need 10Gbps)
[17:47] <Doonz> 4 - 5 TB
[17:47] <RoyK> what do you use for storage?
[17:48] <Doonz> pcie ssd cards
[17:48] <RoyK> nothing like zfs for a large storage pool?
[17:49] <Doonz> yeah i have two large file servers
[17:50] <RoyK> !define large :)
[17:51] <patdk-lap> poor ubottu
[17:51] <Doonz> http://www.supermicro.com/products/chassis/4U/847/SC847E26-R1400U.cfm x 4 with 2TB ent drives
[17:51] <RoyK> on linux?
[17:51] <Doonz> freenas actually
[17:52]  * RoyK uses openindiana
[17:52] <Doonz> come sept im going to be re doing my comeplete set up
[17:53] <Doonz> i started out on my own 2 years ago with only a few small projects
[17:53] <RoyK> I'd recommend something on native ZFS
[17:53] <RoyK> and I have close to half a petabyte net space on zfs now
[17:53] <Doonz> but now ive surpassed that so im looking at moving thigs into colo
[17:53] <Doonz> Royk nice
[17:54] <Doonz> im also looking at moving into blade systems as well because of the density factor
[17:54] <RoyK> striped mirrors where we need it, raidz2 on backup stuff, and raidz3 for secondary backup
[17:54] <Doonz> cool
[17:55] <RoyK> and lots of neat SSDs to do our bidding for caching
[17:55] <Doonz> yeah my wifes pissed at me cause of the set up in our basement and the fact that im out of power drops at home
[17:55] <RoyK> lol
[17:56] <Doonz> like i said  i never intended on getting this much work
[17:56] <RoyK> how much storage is it you need on this?
[17:56] <RoyK> 10-20TB? 100?
[17:56] <Doonz> but ive gotten a few large customers now who really like the work i do and my next project wont start until Jan of 2013
[17:57] <Doonz> im going to be going to around the 500TB usuable mark here
[17:58] <Doonz> but ive gotten such a mismash of systems that need to be consolidated upgraded decomissioned
[17:58] <patdk-lap> how exactly do you run out of power drops?
[17:58] <RoyK> if you go for zfs, keep in mind that adding new VDEVs (that is, more drives, instead of replacing small drives with bigger ones), will result in a badly balanced pool
[17:58] <Doonz> only have 100amp service to the house
[17:58] <patdk-lap> oh, that is like nothing :(
[17:59] <Doonz> to get 200amp service i have to upgrade my service from the curb at $30k
[17:59] <patdk-lap> yuk
[17:59] <Doonz> so there is a dc not to far away from me so im looking at 2 46u racks
[17:59] <RoyK> 100amp on 230V is like 23kW, sufficient to heat rather a lot
[17:59] <Doonz> my basement is refered to as the sahara
[17:59] <Doonz> :/
[18:00] <RoyK> hey, you could sell heat :D
[18:00] <Doonz> SWEET Lunch time
[18:00] <Doonz> bb in 45
[18:00] <patdk-lap> a full rack, loaded with disks, will use like 15amps at 230v
[18:02] <RoyK> patdk-lap: a full rack with disks is like 252 or 462 or perhaps 500 drives
[18:03] <RoyK> patdk-lap: meaning 1PB minus redundancy, meaning rather a lot :p
[18:03] <RoyK> or 2PB with New And Fine Four Terabyte Drives
[18:04] <patdk-lap> I figured 480 disks
[18:07] <patdk-lap> ah, ok, 16amps :)
[18:08] <patdk-lap> 8watts per disk, 480 disk, 230v
[18:08] <patdk-lap> work fine for my setup
[18:08] <patdk-lap> I install two 5kva ups, rack is good for 24amps at 240v
[18:09] <patdk-lap> assuming 2tb disks, that is like 900gb
[18:20] <patdk-lap> 10.4amps if you use the 5400rpm disks :)
[18:38] <Doonz> im back
[19:10] <itgeo> hi guys i just install iRedMail as mail server on my ubuntu, i can receive mail only for users of my server. But I cant send an email to myself on my gmail account, or receive an email from  my gmail account to my email server. Is there something that I had to setup ?
[19:12] <qman__> DNS
[19:12] <qman__> you need an MX record on the internet pointing to your server as the mail server for your domain, and you need to make sure you're not on a blacklist
[19:13] <qman__> no one can send you mail without the MX record, and most people won't accept mail from you without it to prevent spam
[19:13] <itgeo> i used the SPF to put my info
[19:16] <itgeo> but what am I suppose to put in MX record, because in the SPF file i have "v=spf1 a mx ptr mx:mydomaine.com include:mydomain.com -all"
[19:17] <qman__> the MX record contains a priority number, and the IP of the server accepting the mail
[19:18] <qman__> lower numbers are higher priority
[19:18] <qman__> should be something like yourdomain.com IN MX 10 1.2.3.4
[19:19] <qman__> also keep in mind that DNS can take up to 48 hours to propogate
[19:19] <qman__> and check your IP for blacklists on mxtoolbox
[19:20] <itgeo> I don't really have a file for this, i m using no-ip and my domaine name is with them. but when i clic on my hostname, i have mx record and  mx priority
[19:20] <qman__> you need a static IP address to run a mail server
[19:20] <itgeo> the first entry is mydomaine.com 5
[19:21] <itgeo> not file but field***
[19:21] <qman__> and most mail services will block mail from services like no-ip
[19:21] <qman__> because it's usually used by spammers
[19:21] <itgeo> awww :S
[19:22] <qman__> domains are cheap, get you one
[19:22] <itgeo> i have 1 domaine
[19:22] <itgeo> i moved it to no-ip
[19:22] <itgeo> because with my ISP i have a dynamic IP
[19:23] <qman__> can't run a mail server on a dynamic IP
[19:23] <itgeo> well what i did is I install noip2 on my ubuntu server to get access from outside of my home to my webserver
[19:23] <qman__> also, many residential ISPs silently block mail traffic to prevent spam
[19:24] <itgeo> my ISP allow me 1 server of each kind
[19:24] <itgeo> i can run only 1 mail server, 1 webserver, I setup the fowarding from my modem
[19:24] <qman__> you can't run a mail server on a dynamic IP
[19:25] <qman__> it must be static
[19:25] <itgeo> ohhh ok ok
[19:25] <qman__> even if your IP doesn't change very often, each time it does you'd suffer a day or two mail outage, and that's only if people would even accept mail from you in the first place, which they won't
[19:26] <itgeo> there is no solution for that ?
[19:27] <qman__> get a static IP
[19:27] <qman__> if you can't, get a VPS and run your mail server there
[19:28] <qman__> if you can't afford either of those and you just need one account, get a gmail account and configure your server to send mail through that
[19:29] <patdk-lap> qman__, it's invalid to use an ip address in a mx line
[19:29] <itgeo> I already have a gmail account, but i was using my email@mydomaine.com too :S and since I move it to noip2  i dont have my email working :S
[19:29] <itgeo> I had to choice 40$/year or install a mailserver
[19:30] <qman__> my ISP charges $4/mo for a static IP
[19:31] <patdk-lap> hmm, arin is charging me 3.2c per month per ip
[19:31] <itgeo> oh thats cool, I ll ask to my ISP how much it will cost me for a static
[19:32] <qman__> it gets better value if you buy more, but just one on one business internet account, it's an extra $4
[19:32] <itgeo> well I don't thing I have arin here, I m from Quebec. I m using bell
[19:32] <patdk-lap> itgeo, you have arin :) but you probably won't be dealing with them
[19:33] <patdk-lap> arin is where you go to get your own ip addresses
[19:33] <patdk-lap> my isp wants to rape me for a static ip
[19:33] <patdk-lap> they want $15 per ip
[19:33] <patdk-lap> plus upgrade to business account, for a $150 a month
[19:34] <patdk-lap> ontop of the $150 a month I already pay
[19:34] <itgeo> thats what I m afraid lol the 150$/month
[19:34] <guntbert> !ot
[19:34] <patdk-lap> and that only gets me 1mbit up, and 5mbit down
[19:35] <patdk-lap> guntbert, last I knew, setting up static ip on ubuntu was ontopic
[19:36] <guntbert> patdk-lap: sure, but talking about how much an ISP charges ??
[19:37] <patdk-lap> still ontopic as far as I'm concerned
[19:38] <patdk-lap> he was concerned about the price
[19:38] <qman__> maybe a little gray but it's discussing options to get his mail on ubuntu, directly accessory
[19:39] <itgeo> he is telling me the differents possibilities
[19:56] <itgeo> so with a static IP it should work ?
[20:00] <patdk-lap> with a static ip you have a hope in making it work :)
[20:00] <patdk-lap> you will need to configure your reverse dns and forward dns correctly
[20:00] <patdk-lap> and also setting up your server correctly
[20:00] <patdk-lap> so others don't automatically mark you as a spammer
[20:02] <itgeo> i just made a check up with mxtoolbox.com my ip is not on the blacklist and everything look good
[20:02] <itgeo> but do i have to mention a value for a and ptr ?
[20:03] <patdk-lap> you will want to check reputation sites
[20:03] <patdk-lap> more than blacklists
[20:08] <itgeo> actually my reputation is neutral
[20:24] <itgeo> what is the difference between a VPS and a hosting webserver ?
[20:30] <qman__> itgeo, Shared web hosting only gives you access to certain features, usually through a web panel. VPS gives you a whole server under your control, but it runs in a virtual envornment on shared hardware. Dedicated server gives you an actual hardware server under your control.
[20:32] <itgeo> qman__: thank you :).. I ve never heard about VPS before. And the prices are interesting
[20:34] <qman__> itgeo, the idea is to give you the features and control of a dedicated server, without the steep price, the cost being reduced performance and resources
[21:52] <pacemkr> hello. i have a question about the init system. i see that there is both sysv init ssh in /etc/rc2.d and an upstart job ssh.conf in /etc/init. shouldn't one be enough? don't they conflict?
[22:39] <qman__> pacemkr, there is only upstart, but upstart still has a sysv mode where it manages sysv style scripts for compatibility
[22:39] <qman__> the one in rc?.d is usually a notice of how it has been moved to upstart and to use that instead
[22:40] <pacemkr> qman__:  i dont know if it matters, but im on 10.04 LTS and both files have startup procedures for sshd
[22:40] <pacemkr> and upstart starts rc.d
[22:42] <qman__> I just checked on a lucid server and I don't have any ssh scripts in rc.d
[22:43] <pacemkr> hmm. this is on a linode image, maybe they put it there....