/srv/irclogs.ubuntu.com/2012/05/26/#ubuntu-server.txt

=== Ursinha` is now known as Ursinha
=== Ursinha is now known as Guest51482
gary_posterstgraber, I changed that description an hour or so ago01:12
=== dendro-afk is now known as dendrobates
randomDudewould i use puppet to manage firefox addons/settings/bookmarks, googlechrome addons/settings/bookmarks, thunderbird settings/useraccounts for a localnetwork of workstations deployed by a cobbler server?01:34
=== dendrobates is now known as dendro-afk
arooni-mobilei'm not able to start mysql on ubuntu 10.04 lts;  mysql pre-start process (2655) terminated with status 1 ... any ideas on how to fix?  thanx!03:48
jmarsdenarooni-mobile: read your log files for more details on the error?03:50
arooni-mobilejmarsden, thats all the info i have in my error logs03:52
jmarsdenarooni-mobile: Thread at http://ubuntuforums.org/showthread.php?t=1499658 suggest maybe bug #573318 is relevant?03:55
uvirtbotLaunchpad bug 573318 in mysql-dfsg-5.1 "mysql server will not start" [Low,Invalid] https://launchpad.net/bugs/57331803:55
arooni-mobilefor some reason i can start mysql with safestart but i cant start with upstart /etc/init.d/mysql start04:08
arooni-mobilecan someone help me resolve?04:08
SpamapSarooni-mobile: do you have anything in /var/log/mysql* ?05:01
pdtpatrickQuestion -- what creates the ~/.bashrc ? Reason i ask is I'm not seeing the same configs in /etc/bash.bashrc or /etc/profile  .. for instance, where'd this come from: "force_color_prompt"05:45
biomanHello :)06:01
biomanUsing 11.10 Server06:01
biomanFound 3.3.7 kernel here : http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.3.7-precise/06:01
biomanWill it work ok ?06:02
biomanNobody can tell me ?06:21
=== wolferz_ is now known as wolferz
=== wolferz is now known as Guest99100
=== stiv2k_ is now known as stiv2k
randomDude1. downloaded ubuntu-12.04-alternative-x86_64 iso from mirror.internode.on.net/pub/ubuntu/ubuntu/, 2. installed a new ubuntu-12.04-x86_64 server in a vm 3. mounted the alternative iso to /media/cdrom 4. sudo apt-get install cobbler cobbler-web puppet 5. checked cobbler web is all up and running yep all good 6. sudo cobbler import --name=ubuntu-12.04-workstation --arch=x86_64 --path=/media/cdrom 7. checked distros : none.07:49
randomDudethis exact process works on 10.10, after iso import, there appears the distro in the distro list for cobbler07:49
randomDudeok it worked this time...07:50
randomDudeseems cobbler import isn't always reliable07:51
JustinsasHi everyone, looking for a little help with a troublesome raid5, anyone able to have a look and see if they can help dmesg output is here https://www.dropbox.com/s/pvmcyppkx23y69u/raid.txt10:47
RoyKJustinsas: looks like a bad drive somewhere10:48
RoyKJustinsas: have you run fsck?10:48
RoyKJustinsas: also, check the drives with smartctl -H to see if something is obviously bad10:50
JustinsasIt works fine if I reboot but soon after just dies and all drives disappear.10:50
JustinsasI'll run thouse and see what i get.10:50
bencerhi all, quick question, running zabbix 1.8.11 from precise, new item proc.num[slapd], running zabbix_agent -t proc.num[slapd] returns [u|1] while latest data reports 0, any idea what could be wrong here?10:50
JustinsasRoyK I've just removed a drive and sent it off because the raid told me it was failed.10:54
RoyKJustinsas: bingo ;)10:55
RoyKJustinsas: hope you have something to replace it with10:55
JustinsasBut I thought the raid would be ok to run without one drive10:55
Justinsasit just wouldn't have any redundancy?10:55
JustinsasRoyK, I thought raid5 could run with one disk gone?10:58
drecuteone of my filesystem failed to mount and now i can't reach the login console11:27
alphanoopI have bought a cheap server off ebay and have it on my LAN. I have installed Ubuntu Server 12.04. Where is a good place to learn to create and administer a website?12:14
mardraumalphanoop: bit of a broad question. Maybe start with a CMS like drupal or wordpress - see their docs12:16
alphanoopmardraum: I have tried Googling a bit and there is a ton of information. I was looking from someone with experience to give me a good n00b starting point or tutorial.12:18
mardraumyou haven't given anymore information as to what you want12:20
mardraumdo you want a CMS?12:20
mardraumare you interested in the site itself, or playing with web servers ?12:20
RoyKJustinsas: raid5 can run fine with a disk gone, but it's very vulnerable12:21
RoyKJustinsas: since the next disk that dies, will kill the raid12:21
alphanoopWhats a CMS? I know there are different kinds of websites php boards, etc... but I'm looking for a commercial type website.12:23
alphanoopsorry for the ambiguity12:24
RoyK!cms12:27
RoyKcms is a content management system12:28
RoyKusually a database-backed engine for making web pages easier12:28
RoyKwith wordpress being a rather simple and very much used one, and drupal and joomla other, more advanced, but somewhat harder to learn12:29
streulmahas rebooted a server... 7 minutes12:30
streulmamaybe a long time before the raid controller is fully up :)12:31
RoyKsome raid systems take ages to boot12:31
streulmahaha12:32
streulmano worrys12:32
streulmait works fine now12:32
* RoyK doesn't use raid controllers for linux systems anymore12:32
rb_hi everybody !12:32
rb_It's actually the first time I come to an IRC channel (you have to start sometime ...) ; may I ask you a few questions ?12:33
streulmayes12:33
mardraumyou just did...12:33
RoyK!ask12:33
ubottuPlease don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) See also !patience12:33
rb_I'm planning on buying a server - this one : http://www.ubuntu.com/certification/hardware/201105-8031/12:34
streulmayes it's good12:35
streulmawe use it also12:35
RoyKrb_: and...12:35
RoyKhm.. not certified for precise12:35
rb_it is said that it can support ubuntu server, however, I saw that the raid1 controller is not supported,12:35
streulmait runs fine with Ubuntu Server 10.0412:35
streulmaraid controller not tested12:36
RoyKrb_: if it's a typical onboard raid-1 thing, it's bogus12:36
RoyKrb_: software raid is just as good, or better, than most hardware raid, so just use that instead12:36
ikoniarb_: so you have good info from the ubuntu site, the server is supported, but the raid controller is not12:36
rb_but it seems that ... yes indeed software raid can do as fine12:36
RoyKrb_: some "raid" controllers, mostly those on the mobo, aren't really raid controllers. they have most of the raid stuff in the (windows) driver12:37
RoyKrb_: so, really, not a raid controller, perhaps a chip with some acceleration, but hardly worth looking at12:37
RoyKrb_: those controllers normally work well as ordinary disk controllers on linux machines12:38
rb_I actually don't know much about computer components ; can I just buy this server with only 1 hard drive (and no raid) and then add another hard drive later ?12:38
streulmayes12:38
rb_(I mean will there be a power supply for it ... ?)12:38
streulmait supports 2 hard drives12:38
RoyKrb_: if you want software raid, the server needs to be installed with it, but you may be able to install on a broken mirror12:39
ikoniarb_: I'd suggest contacting a hardware vendor, such as dell, and asking for advice with component selection12:39
RoyKrb_: do you want mirrored drives?12:39
ikoniarb_: if you are not sure how the basic hardware components work, you may benifit from the vendor helping you12:39
rb_by mirrored drives you mean raid1 ?12:39
RoyKyes12:39
rb_yes then12:39
RoyKrb_: then you need to create the mirror during installation12:40
rb_ok12:40
RoyKrb_: IIRC installer supports creating a mirror on only one disk, aka a broken mirror - while worthless without a second drive, you can easily add the second later12:40
rb_well my other question was about "UEFI Enablement" : is it worth it ? (I mean, I don't really know what it is ; should I enable it or not ?)12:40
RoyKrb_: UEFI is the new BIOS replacement, which is nice, but I'm not sure if it's as easy to setup as with old BIOS. See https://help.ubuntu.com/community/UEFIBooting12:42
rb_(sorry, I really am a begiiner)12:43
RoyKnothing to worry about - we've all started somewhere :)12:43
rb_ok thanks a lot12:45
drecutehi13:09
drecuteplease I need help with this: http://markmail.org/message/6y4j7f7u6bvvve5f13:09
streulmahi13:27
streulmaI have a BIND9 server on Ubuntu Server13:28
streulmathe master server notifys the slave13:28
streulmabut the slave is not up to date13:28
streulmathe slave says it is up to date13:28
streulmabut it is not13:28
vrturbocan you see the tcp 53 transfer traffic on the slave ?13:34
vrturbohave you got allow-transfer {slave ip} on the master ?13:35
eutheriadoes anyone use sssd on their servers? i have a weird issue with local users over uid 100 that don't come from my ldap server13:36
vrturbohave you tried deleting the zone file of the slave server ?13:36
vrturbostreulma, also check the bind / named logs on the slave, the master might be refusing13:38
streulmanothing refusing13:42
eutheriawhen sssd is running, i change user, has anyone seen anything like this before? http://pastie.org/397135913:42
streulmanotify from ...... zone is up to date13:42
streulmarefresh was 1 week13:48
vrturbobingo13:49
=== Lcawte|Away is now known as Lcawte
RoyKstreulma: and serial is updated? and file is writable for the bind user? and apparmor isn't stopping anything? and all logs say ok?14:20
streulmaho, a good check14:21
streulmashould I update the serial every time ?14:21
streulmaeverytime I change a recor14:21
streulmad14:21
RoyKyes14:22
streulmaok14:22
RoyKstreulma: and it must be *incremented* every time14:22
RoyKthe slave won't update anything unless it sees a larger serial14:23
streulmaow ok14:23
streulmahow do I format a serial ?14:24
RoyKthe usual way is YYYYMMDDxx, where xx being a serial starting with 0014:24
RoyKbut that's no *defined* way, just a guideline14:24
=== dendro-afk is now known as dendrobates
RoyKso, for my private domain, I have serial 2012051501, which tells me I changed it, twice, the 15th14:26
streulmaok14:27
streulmaI'll see it in a few hours if it's updated14:27
RoyKthe slave should be notified immediately and update14:28
RoyKwhat takes time, is for the changes to propagate out throughout the net where dns servers cache things14:28
RoyKwhat's your domain name?14:28
streulmait's internal14:29
RoyKok, then it shouldn't take much time14:29
RoyKas in, change should be immediate14:29
RoyKunless you have another dns server in front, caching14:29
streulmaoh, it has not updated the serial in slave14:30
RoyKthat's a rather clear hint that something's not good ;)14:30
RoyKcheck the slave's logs14:30
RoyKwhat's old/new serial?14:30
streulmaold 1 :)14:31
streulmanew 201205260114:31
RoyKok :)14:31
streulmazone domain notify from master: zone is up to dae14:32
RoyKwtf14:32
RoyKcan you pastebin that master zone file or at least its SOA?14:32
streulmain SOA localhost14:33
streulmawe came from a standalone server14:33
streulmashould I set SOA ns1.domain ?14:37
RoyKthat's not the whole soa14:41
RoyK!pastebin14:41
ubottuFor posting multi-line texts into the channel, please use http://paste.ubuntu.com | To post !screenshots use http://imagebin.org/?page=add | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.14:41
RoyKthis is an example14:43
RoyKhttp://paste.ubuntu.com/1008167/14:43
RoyKline 1-2 isn't part of the SOA, the rest is14:43
streulmait's ok14:44
streulmanow14:44
streulmawhen I retransfer the zone14:44
streulmarndc retransfer zone zonename14:44
RoyKstreulma: just rndc reload on the master and the slave gets it?14:44
RoyKyou shouldn't need to specifically retransfer14:44
=== dendrobates is now known as dendro-afk
SpamapSzone transfers.. ugh14:48
SpamapSI was so much happier when I used tinydns+rsync .. :)14:48
RoyKnah - let's go back to the hosts file14:50
* RoyK wonders how big that would be these days :D14:51
=== dendro-afk is now known as dendrobates
haxxpopFrom this link, https://help.ubuntu.com/12.04/serverguide/dns-configuration.html, Can I set only Primary Master?15:14
* RoyK only uses a single master15:19
RoyKI guess a secondary master makes sense in a large setup15:20
RoyKfor me it doesn't, if the master dies, I promote some slave to the master or reinstall the master and restore from backup15:20
haxxpopreplace "example.com" with mine, right??15:22
RoyKyep15:23
haxxpopMust I change "192.168.1.10" in the document?15:24
RoyKwhat?15:25
RoyK        IN      A       192.168.1.1015:25
RoyKthat one is an address record pointing 'example.com' to that ip15:25
haxxpopyes15:25
RoyKso obviously, if you want youdomain.tld to point to that address, keep it ;)15:27
haxxpopmy ip is 122.155.18.33, so I should change 192.168.1.10 to 122.155.18.33, shouldn't I?15:27
RoyKyep15:27
=== dendrobates is now known as dendro-afk
haxxpopIn the website of my domain-name vendor, besides 2 ns records, should I add any one else?15:32
haxxpoptwo ns records are15:32
haxxpopdns1.pathosting.com15:33
haxxpopdns2.pathosting.com15:33
haxxpopwhile pathosting.com is my domain-name vendor15:33
RoyKthen you need an A record for the domain, and one for www, and perhaps one for mail if you want that, and you probably want an MX record to tell things where to send mail@youdomain.tld15:34
haxxpopthree A records and one MX record, right?15:35
RoyKas many A records as you might want ;)15:36
RoyKor CNAME for new hostnames that should point to the same server15:36
RoyKCNAME is like an alias15:36
haxxpopwhen I try to add an A record, it ask me three things: host name, destination ipv4 address, ttl. So I can't add more than one.15:39
haxxpopthe host name should be different?15:40
RoyKttl should be 3600 or perhaps 7200 or even 1440015:40
RoyKhuh15:40
RoyKif you open a browser and type "www.xkcd.com", www is the hostname / A record15:40
RoyKhaxxpop: you should read up a little about how DNS works15:41
haxxpopRoyK: Should networking be read from the low layer to the high layer?15:45
haxxpopI'm trying to read from the Physical Layer15:45
patdk-lap_all depends what the goal is15:46
patdk-lap_normally knowing layer 2 and up is useful15:46
patdk-lap_layer 1 is normally only if you physically are building it15:46
RoyKin most circumstances, knowing the details of layer 1 doesn't help much ;)15:46
RoyKpatdk-lap_: L1 isn't really *physical*, it's the signalling etc, not the hardware15:47
patdk-lap_ya, isn't signally, or electrical/optical15:47
patdk-lap_the hardware does play into it, either fiber/copper/longreach/...15:48
RoyKbut layers 2,3,4 are once that a techie should know15:48
RoyKs/once/ones/15:48
haxxpopdoes layer 1 mean Physical and Data Link Layer ?15:48
RoyKhaxxpop: L1 is signalling, L2 is data link15:49
patdk-lap_normally, layer1 is elecrtical, but siganlling is a better term15:49
RoyKhaxxpop: http://en.wikipedia.org/wiki/Osi_model15:49
patdk-lap_l2 would be mac, ip, ...15:49
RoyKpatdk-lap_: IP is in L315:49
patdk-lap_hmm, ya15:49
RoyKTCP port number, for instance, in L415:49
haxxpopRoyK: I think you might be talking abount TCP/IP15:49
RoyKhaxxpop: TCP/IP maps neatly into the OSI model15:50
patdk-lap_tcp does, other ones don't15:50
RoyKpatdk-lap_: *generally* speakig (since I guess haxxpop is a newbie, and too much detail will be confusing), it maps ok15:50
patdk-lap_hmm, maybe I'm thinking too much ipv6 these days15:51
RoyKmhm - soon out of IPs http://xkcd.com/865/15:51
patdk-lap_normally, in simple terms15:51
patdk-lap_l1 = electrical15:52
patdk-lap_l2 = network15:52
patdk-lap_l3 = routing15:52
patdk-lap_l4 = connection15:52
patdk-lap_for a tcp/ip stack15:52
RoyKno, l2 is data link, not network, but I guess that depends on the definitions ;)15:52
RoyKl3 is network, including routing15:52
RoyKl4 is transport15:52
RoyKl5 is session, aka connection15:53
patdk-lap_like I said, in *simple* terms :)15:53
RoyKsimplifying doesn't mean lying ;)15:53
* RoyK thinks 30˚C is a bit over the top in May, in Norway, where we usually start undressing before it's hit 15˚C15:54
patdk-lap_odd, irc is still working, but everything else is dead15:54
RoyK:)15:54
patdk-lap_have my firewall halfway in a precise upgrade15:55
RoyKpatdk-lap_: not precise enough? ;)15:55
patdk-lap_I think it screwed my iptables, attempting to *help*15:55
vrturboMOst of the time I deal with layer 1 i guess is flashing firmware onto mezz roms ha ha15:55
patdk-lap_likely when upgrade is finished, it will be good again15:56
RoyKpatdk-lap_: sure - mohaha :D15:56
* RoyK have seen grub messup before15:56
haxxpopdo you know how much time will it take after my configuration?15:57
patdk-lap_oh, it does, on every single upgrade I have done :)15:57
patdk-lap_easy to fix though15:57
RoyKhaxxpop: ?15:58
=== dendro-afk is now known as dendrobates
haxxpophow long will the DNS be updated?15:59
patdk-lap_did you just change your dns servers?16:00
haxxpopyes16:00
patdk-lap_anywhere from now, till 2days16:00
patdk-lap_depending on caching16:01
haxxpopI hope that my configuration is not wrong.16:03
patdk-lap_what configuration?16:05
patdk-lap_test it manually?16:05
RoyKhaxxpop: dns updates are immediate if tested locally, what takes time, is the caching in the network, normally maximum TTL16:08
haxxpoppatdk-lap_: DNS config16:10
patdk-lap_yes, but what is a dns config?16:14
patdk-lap_the configuration of your dns program?16:14
patdk-lap_I just don't get what you mean16:14
patdk-lap_testing your dns records are easy, use dig16:15
haxxpoppatdk-lap_: in Bind, /etc/bind/named.conf.local and others16:22
drecuteplease I need help with this: http://markmail.org/message/6y4j7f7u6bvvve5f16:23
haxxpopOh !! Thank to all of you. My server deployed.16:27
patdk-laphmm17:35
patdk-lapwell precise really screwed that that computer good :(17:35
patdk-lape1000 driver looks very unstable on it17:35
RoyKe1000 driver?17:40
RoyKI thought that had stablilised years ago17:40
streulmaRoyK: dns is working fine now17:43
streulmaI must wait an hour before the slave has the new record17:44
patdk-laphttps://bugzilla.redhat.com/show_bug.cgi?id=75458917:52
uvirtbotpatdk-lap: Error: Could not parse XML returned by bugzilla.redhat.com: HTTP Error 404: Not Found17:52
patdk-lapthat is the exact issue I'm having with my e1000 on precise17:52
patdk-lapboth vlan and tx checksum17:53
streulmahello20:03
streulmaI've changed the hostname20:03
streulmain mail.log there is the old hostname20:03
streulmaserver is restarted20:03
streulmawhen I mail to postmaster@server20:03
streulmaok changed in /etc/mailname20:07
LordOfTimeis it possible to edit already-existing SSH keys to have a different comment line (for example, if the current comment line is "Random SSH Key 1", can I rename it to "Nonrandom SSH Key 1" without regenerating the key)20:50
benmunattrying to upgrade my remote server from 10.04 to 12.04 and it failed; trying to continue the upgrade with apt-get dist-upgrade but I get a lot of dependency errors: do-release-upgrade20:51
benmunatoops, meant: https://gist.github.com/fbd06971320fc4b9cb2e20:51
patdk-lapLordOfTime, the comment isn't part of the key, just edit it20:51
LordOfTimesweet, thanks20:53
benmunatah, just had to remove a file from /var/lib/defoma/fontconfig.d/ it appears20:54
benmunatok, now stuck at: /usr/sbin/grub-probe: error: failed to get canonical path of /boot/grub/locale.21:11
benmunati don't have a /boot/grub/locale directory21:12
masterHi, what speed of file transfer should i expect from a samba on the follwoing config: SATA2 hdd on 2 GHz via gigabit network?21:27
masterif a homesetup21:27
master121:29
qman__master, too many factors to give you a decently accurate number, but 50MB/s is not unreasonable21:32
qman__smb peaks around 100MB/s from SSD and sata 321:33
qman__you can get 80MB/s with some decent controllers and a big raid21:33
patdk-lapqman, that makes no sense21:33
qman__anecdotal numbers21:33
patdk-lapI get 90MB/sec over gigabit using smb and a single rotating disk on sata121:34
masterso my setup is totaly horrible, i get 12 mb/s21:34
qman__yes21:34
patdk-lapbut ya, the limits are the disk, the interface, how the nic is connected on each computer, and cpu hz21:34
qman__when I say 50MB/s, that's budget stuff21:35
qman__the low end21:35
patdk-lapya, most nic's will be limited to 30-50MB/sec21:35
qman__it should be between that and 100MB/s21:35
masterhow to start diagnosing the problem21:35
patdk-lapmaster, test with iperf21:35
qman__and test your disk speed21:35
patdk-lapmake sure your network is fast and configure correctly21:35
patdk-lapplus, smb these days use encryption, so that will slow it down some too21:36
masterpatdk-lap: im setting a homeserver for filesharing, dhcp (not on at the moment), backup via bacula and so on21:36
patdk-lapwhat motherboard?21:37
masterthe metal is dc530 ultra slim, with 2ghz pentium 4, 2gb ram, at preset with the integrated NIC. Traffic is going via a TPlink 1043nd router21:38
patdk-lapheh?21:38
masterpatdk-lap: HP DC530 ultra slim oem machine21:38
patdk-lapno pcie?21:39
patdk-lapand no onboard gigabit nic21:39
patdk-lapso ya, your going get a max speed of 50MB/sec21:39
patdk-lapcause your sharing the disk access with the nic access21:39
patdk-lapand pci only has 100MB/sec to share21:39
kalkinhi21:39
patdk-lapso 50MB/sec to disk, and 50MB/sec to nic, and you maxed out the pci bus21:39
kalkini have a really strange problem21:39
masterthe integrated NIC is gigabit21:40
patdk-laphmm, odd quick google said 10/10021:40
masteror maybe i'm an idiot21:40
patdk-lapit's still probably shared on the same pci21:40
patdk-lapno, I see some that have gigabit, maybe they made several models like that, hp is annoying like that21:40
patdk-lapchanging specs but not model numbers21:41
kalkini have a really strange problem. every day at 2300 mysql have lots of writes (i see that in iotop) and i can't explain why. it's not because of my software, because it doesn't do more writes/updates then normal at this time21:41
masteranyway, i'll test on the other NIC which is for sure gigabit on PCI21:41
kalkinmy whole software stack slows down at 2300 and i can't figure out why21:41
kalkini'm using ubuntu 11.0421:41
patdk-lapPCI won't help you at all21:41
patdk-lapyou need pcie21:41
patdk-lapor you will never got >50MB/sec21:41
masterpatdk-lap: yes, but if I can get around 30-40 MB/s it will be suitable as file server for my current needs21:42
patdk-lapbasically, you need a more recent computer if you want to get increased speeds21:42
patdk-lapya, you should get 40-50MB/sec21:43
=== kalkin is now known as kalkin-
patdk-lapI would go back to iperf and test21:43
patdk-lapharddrive testing is also good21:43
master12 MB is totaly unacceptable, I was able to get this from the 1043nd router with external HDD hooken on the USB port21:44
masterhooked*21:44
benmunatmanaged to fix all the apt upgrade issues and rebooted (luckily with a web kvm) and grub is not finding a kernel; any suggestions?21:45
benmunatit's grub 1.9 and I'm at a grub shell prompt21:46
masterlspci | grep Ethernet21:48
masteroops21:49
masterpatdk-lap: here's the problem : NIC is gigabit however it's on 100base according to mii-tool21:53
axisyshow do I make sure a file's mode is 644 all the time? I dont think incron do that23:06
axisysan app keep changing the mode to 600 from time to time and they have no option to keep it 644..23:06
axisyscron running every 5 mins (*/5) but sometimes my monitor tool fails to read those 5 mins logs because the app log file was 60023:07
=== imbrando1 is now known as imbrandon

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