/srv/irclogs.ubuntu.com/2012/04/07/#ubuntu-server.txt

=== foo__ is now known as virusuy
=== Lcawte is now known as Lcawte|Away
excalibourhow do i know what port is mysql listening to?00:39
=== Arc_ is now known as a5m0
wdrobertscheck '/etc/my.cnf' and run 'netstat -antp'00:40
wdrobertsdefault is tcp/330600:41
excalibourthanx00:41
excalibouri m trying to install forum software on 10.10. What s the username for mysql format? user or user@pc ?00:44
wdrobertsmysql uses the 'user'@'host' format, but web software will usually ask for them separately00:52
excalibourty wdroberts, silly me, changed hostname from ubuntu to localhost and i m done :(00:52
violinapprenHello. What is the proper upstart command enable and disable services?  in Lucid and Precise02:07
violinapprenEditing /etc/init/*.conf is the proper way?02:15
wdrobertsi'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 directories02:19
violinapprenwdroberts: thanks,  im reading the man page02:20
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!02:39
wdrobertsdelerium_: webmin comes to mind03:04
RalliasIs there any way to have 2 separate instances of php fastcgi for different parts of my web site simultaneously on one server?03:35
delerium_wdroberts: Thanks, I'll take a look at it.  Appreciated.03:42
SpamapSRallias: yes definitely03:59
SpamapSRallias: just have them listen on different sockets/ports03:59
RalliasHow would I modify my /etc/init.d/php-fcgi script to accomodate that?03:59
SpamapSRallias: I'd recommend php5-fpm for this, it is now quite superior to php5-fastcgi and has a specific method for doing this04:01
uvirtbotNew bug: #975777 in cobbler (main) "cobbler 2.2.2-0ubuntu31 refuses to add apt repository" [Undecided,New] https://launchpad.net/bugs/97577707:46
uvirtbotNew bug: #975781 in quota (main) "package quota 4.00-3 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/97578108:11
=== Lcawte|Away is now known as Lcawte
=== bitmonk_ is now known as bitmonk
azerthello11:40
azerti can't delete an mounted partition11:40
azertwhat is the command to able to delete a partition during the next reboot ?11:41
pmatulisazert: unmount it now and create a new filesystem on it11:45
azertok, is it possible to transfer file over 54 Mo over Tftp ?11:46
pmatulisazert: dunno but why are you using TFTP?11:48
azertTrivial_File_Transfer_Protocol as it says just for file transfer11:49
pmatulisazert: dunno but why are you using TFTP?11:49
azertok i understand11:49
pmatulisazert: maybe if you explain your situation someone can help better11:50
azertto transfer firmware11:50
azertpmatulis: is that enough?11:50
JanCazert: 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:51
azerthow to check software version ?11:53
Rapid2214azert: What software are you using?12:14
Rapid2214dpkg -s <package>12:15
=== koolhead17 is now known as koolhead17|afk
hazmatutlemming, fwiw, i made some minor changes to fix the userdata passing issue with the lxc cloud template http://paste.ubuntu.com/918869/14:07
hazmatunfortunately that even with that in place cloud-init refuses to run the full cloud-init module suite against it14:07
hazmatstill trying to debug cloud-init wrt to that14:08
hazmatsmoser, 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 part14:08
hazmatnever executing it14:08
hazmater.. the cloud-config part14:09
* patdk-lap gives apache2.4 a test on precise14:12
uvirtbotNew bug: #819329 in juju "Tests depend on AWS_ACCESS_KEY_ID being set" [Medium,Fix released] https://launchpad.net/bugs/81932914:48
uvirtbotNew bug: #975985 in openssh (main) "please start sshd as early as possible during boot" [Undecided,New] https://launchpad.net/bugs/97598514:51
itgeohello 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 account15:58
ikoniawhere did you get ireadmail from ?16:00
itgeofrom the official website16:02
itgeoeveything is working16:02
itgeoexaceopt that dont receive email when i send it with my server to my gmail16:02
itgeohi 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:41
Doonzhey guys, anyone here familiar with force10 networking switches?16:42
=== koolhead17|afk is now known as koolhead17
Doonzhttp://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:03
RoyKDoonz: looks cheap enough17:16
=== apw is now known as apw_
=== apw_ is now known as cafetiere
=== cafetiere is now known as apw
RoyKDoonz: but you might need media modules in addition to that17:16
RoyKno, wait, it's CX417:16
RoyK10 servers all on 10G?17:17
Doonzyeah17:18
Doonzim just not sure how the 10gb switches work17:18
RoyKit's just a switch17:19
RoyKnothing fancy17:19
Doonzwould it be the same as a unmanaged 1gbe switch?17:19
RoyKsome of them have L3 support17:19
RoyKI *really* doubt you'll find a 10Gbps unmanaged switch17:19
Doonzyeah i dont need anything like that since its just a private backhaul between the servers17:19
DoonzRoyK yeah i figured that17:20
RoyKVLAN support can be nice if you want to split the switch somehow17:20
Doonzive used managed before just nothing on the 10gbe level17:20
RoyKor LA support if you want to use two links at a time to get failover and better bandwidth17:20
RoyKit's the same thing17:21
RoyKit's just a switch17:21
Doonzkool17:21
Doonzi cant find anything on documentation on that switch but it looks like dell bought that company a few years back17:21
Doonzbut a new switch from dell is 15k for that one17:21
RoyKdell sells a 24port SFP+ switch from Delta Electronics, same thing as Super Micro sells, for <$10k17:23
Doonzyeah 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 me17:23
RoyKthen just get that thing off ebay17:24
RoyKif it fails, well, it didn't cost too much :รพ17:24
Doonzim not a networking guy so i was looking for another opinion17:24
Doonzit only has to last 90 days or so17:25
RoyKnetworking 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
Doonzyeah like i said tho its only for about 90 days17:25
RoyKthen I'd get that thing off ebay, if you can get it quickly ;)17:26
Doonzill pay for next day shipping17:26
RoyK$5k for a 10G switch and eight 10G boards is rather cheap17:26
Doonzthose cards are going from 200 - 600 on ebay17:27
Doonzbrand new there 47917:27
RoyKI have a few of those17:27
Doonzseem to be a good card17:28
RoyK"Switching fabric capacity of 480 Gbps and forwarding capacity of 360 Mpps"17:29
Doonzwhats that mean17:29
patdk-lap48GB/sec max, and 360M iops max17:30
RoyKmeaning total switching capacity is 480Gbps, which is good (10G*2 per port), and that it can handle 360 million packets per seconds17:30
RoyKpatdk-lap: I don't think "iops" is the right thing for a switch...17:31
Doonzcool17:31
* Doonz is outta his league17:31
patdk-laproyk, fcoe switch?17:31
patdk-lapfc switch?17:31
RoyKpatdk-lap: ethernet switch17:31
patdk-lapah17:31
patdk-lapiscsi switch? :)17:32
RoyKpatdk-lap: no such thing...17:32
Doonzits being used to transfer large simulation packages between systems and time is money17:32
patdk-lapdoonz, infiniband17:32
patdk-lap40gbit per port :)17:33
Doonznot supported from the custom os17:33
RoyK"custom os"?17:34
Doonzits a freebsd modified os for running simulation packages for and ideas simulation package17:35
Doonzvery small acl17:35
Doonzhcl*17:35
Doonzand of course they have a sweet deal with the hardware vendors. Nothing lik ebuying a dell server at 1000000000% markup17:37
RoyKwhat do you use this for?17:38
Doonzits used for process simulation17:46
RoyKk17:47
RoyKlarge datasets?17:47
RoyK(since you need 10Gbps)17:47
Doonz4 - 5 TB17:47
RoyKwhat do you use for storage?17:47
Doonzpcie ssd cards17:48
RoyKnothing like zfs for a large storage pool?17:48
Doonzyeah i have two large file servers17:49
RoyK!define large :)17:50
ubottuRoyK: I am only a bot, please don't think I'm intelligent :)17:50
patdk-lappoor ubottu17:51
Doonzhttp://www.supermicro.com/products/chassis/4U/847/SC847E26-R1400U.cfm x 4 with 2TB ent drives17:51
RoyKon linux?17:51
Doonzfreenas actually17:51
* RoyK uses openindiana17:52
Doonzcome sept im going to be re doing my comeplete set up17:52
Doonzi started out on my own 2 years ago with only a few small projects17:53
RoyKI'd recommend something on native ZFS17:53
RoyKand I have close to half a petabyte net space on zfs now17:53
Doonzbut now ive surpassed that so im looking at moving thigs into colo17:53
DoonzRoyk nice17:53
Doonzim also looking at moving into blade systems as well because of the density factor17:54
RoyKstriped mirrors where we need it, raidz2 on backup stuff, and raidz3 for secondary backup17:54
Doonzcool17:54
RoyKand lots of neat SSDs to do our bidding for caching17:55
Doonzyeah my wifes pissed at me cause of the set up in our basement and the fact that im out of power drops at home17:55
RoyKlol17:55
Doonzlike i said  i never intended on getting this much work17:56
RoyKhow much storage is it you need on this?17:56
RoyK10-20TB? 100?17:56
Doonzbut ive gotten a few large customers now who really like the work i do and my next project wont start until Jan of 201317:56
Doonzim going to be going to around the 500TB usuable mark here17:57
Doonzbut ive gotten such a mismash of systems that need to be consolidated upgraded decomissioned17:58
patdk-laphow exactly do you run out of power drops?17:58
RoyKif 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 pool17:58
Doonzonly have 100amp service to the house17:58
patdk-lapoh, that is like nothing :(17:58
Doonzto get 200amp service i have to upgrade my service from the curb at $30k17:59
patdk-lapyuk17:59
Doonzso there is a dc not to far away from me so im looking at 2 46u racks17:59
RoyK100amp on 230V is like 23kW, sufficient to heat rather a lot17:59
Doonzmy basement is refered to as the sahara17:59
Doonz:/17:59
RoyKhey, you could sell heat :D18:00
DoonzSWEET Lunch time18:00
Doonzbb in 4518:00
patdk-lapa full rack, loaded with disks, will use like 15amps at 230v18:00
RoyKpatdk-lap: a full rack with disks is like 252 or 462 or perhaps 500 drives18:02
RoyKpatdk-lap: meaning 1PB minus redundancy, meaning rather a lot :p18:03
RoyKor 2PB with New And Fine Four Terabyte Drives18:03
patdk-lapI figured 480 disks18:04
patdk-lapah, ok, 16amps :)18:07
patdk-lap8watts per disk, 480 disk, 230v18:08
patdk-lapwork fine for my setup18:08
patdk-lapI install two 5kva ups, rack is good for 24amps at 240v18:08
patdk-lapassuming 2tb disks, that is like 900gb18:09
patdk-lap10.4amps if you use the 5400rpm disks :)18:20
=== sergevn is now known as zz_sergevn
=== zz_sergevn is now known as sergevn
Doonzim back18:38
=== sergevn is now known as zz_sergevn
=== zz_sergevn is now known as sergevn
itgeohi 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:10
qman__DNS19: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 blacklist19:12
qman__no one can send you mail without the MX record, and most people won't accept mail from you without it to prevent spam19:13
itgeoi used the SPF to put my info19:13
itgeobut 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:16
qman__the MX record contains a priority number, and the IP of the server accepting the mail19:17
qman__lower numbers are higher priority19:18
qman__should be something like yourdomain.com IN MX 10 1.2.3.419:18
qman__also keep in mind that DNS can take up to 48 hours to propogate19:19
qman__and check your IP for blacklists on mxtoolbox19:19
itgeoI 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 priority19:20
qman__you need a static IP address to run a mail server19:20
itgeothe first entry is mydomaine.com 519:20
itgeonot file but field***19:21
qman__and most mail services will block mail from services like no-ip19:21
qman__because it's usually used by spammers19:21
itgeoawww :S19:21
qman__domains are cheap, get you one19:22
itgeoi have 1 domaine19:22
itgeoi moved it to no-ip19:22
itgeobecause with my ISP i have a dynamic IP19:22
qman__can't run a mail server on a dynamic IP19:23
itgeowell what i did is I install noip2 on my ubuntu server to get access from outside of my home to my webserver19:23
qman__also, many residential ISPs silently block mail traffic to prevent spam19:23
itgeomy ISP allow me 1 server of each kind19:24
itgeoi can run only 1 mail server, 1 webserver, I setup the fowarding from my modem19:24
qman__you can't run a mail server on a dynamic IP19:24
qman__it must be static19:25
itgeoohhh ok ok19: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't19:25
itgeothere is no solution for that ?19:26
qman__get a static IP19:27
qman__if you can't, get a VPS and run your mail server there19:27
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 that19:28
patdk-lapqman__, it's invalid to use an ip address in a mx line19:29
itgeoI 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 :S19:29
itgeoI had to choice 40$/year or install a mailserver19:29
qman__my ISP charges $4/mo for a static IP19:30
patdk-laphmm, arin is charging me 3.2c per month per ip19:31
itgeooh thats cool, I ll ask to my ISP how much it will cost me for a static19:31
qman__it gets better value if you buy more, but just one on one business internet account, it's an extra $419:32
itgeowell I don't thing I have arin here, I m from Quebec. I m using bell19:32
patdk-lapitgeo, you have arin :) but you probably won't be dealing with them19:32
patdk-laparin is where you go to get your own ip addresses19:33
patdk-lapmy isp wants to rape me for a static ip19:33
patdk-lapthey want $15 per ip19:33
patdk-lapplus upgrade to business account, for a $150 a month19:33
patdk-lapontop of the $150 a month I already pay19:34
itgeothats what I m afraid lol the 150$/month19:34
guntbert!ot19:34
patdk-lapand that only gets me 1mbit up, and 5mbit down19:34
ubottu#ubuntu is the Ubuntu support channel, for all Ubuntu-related support questions. Please use #ubuntu-offtopic for other topics (though our !guidelines apply there too). Thanks!19:34
patdk-lapguntbert, last I knew, setting up static ip on ubuntu was ontopic19:35
guntbertpatdk-lap: sure, but talking about how much an ISP charges ??19:36
patdk-lapstill ontopic as far as I'm concerned19:37
patdk-laphe was concerned about the price19:38
qman__maybe a little gray but it's discussing options to get his mail on ubuntu, directly accessory19:38
itgeohe is telling me the differents possibilities19:39
itgeoso with a static IP it should work ?19:56
patdk-lapwith a static ip you have a hope in making it work :)20:00
patdk-lapyou will need to configure your reverse dns and forward dns correctly20:00
patdk-lapand also setting up your server correctly20:00
patdk-lapso others don't automatically mark you as a spammer20:00
itgeoi just made a check up with mxtoolbox.com my ip is not on the blacklist and everything look good20:02
itgeobut do i have to mention a value for a and ptr ?20:02
patdk-lapyou will want to check reputation sites20:03
patdk-lapmore than blacklists20:03
itgeoactually my reputation is neutral20:08
itgeowhat is the difference between a VPS and a hosting webserver ?20:24
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:30
itgeoqman__: thank you :).. I ve never heard about VPS before. And the prices are interesting20:32
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 resources20:34
pacemkrhello. 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?21:52
qman__pacemkr, there is only upstart, but upstart still has a sysv mode where it manages sysv style scripts for compatibility22:39
qman__the one in rc?.d is usually a notice of how it has been moved to upstart and to use that instead22:39
pacemkrqman__:  i dont know if it matters, but im on 10.04 LTS and both files have startup procedures for sshd22:40
pacemkrand upstart starts rc.d22:40
qman__I just checked on a lucid server and I don't have any ssh scripts in rc.d22:42
pacemkrhmm. this is on a linode image, maybe they put it there....22:43
=== sergevn is now known as zz_sergevn
=== zz_sergevn is now known as sergevn

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