/srv/irclogs.ubuntu.com/2009/12/16/#ubuntu-server.txt

resnonever tried making something connect that way before.00:01
resnomy terminal knowledge is murky on that00:01
alex88wep or wpa?00:02
resnowpa00:02
alex88static or dhcp address?00:02
alex88resno: http://pastebin.com/m4dec002400:05
resnowow, thanks!00:05
alex88np...=)00:05
resnodidnt expect that00:06
alex88uh..forgot to translate: Mettere un IP coerente con la vostra rete -> Insert an ip fitting your needs..=)00:06
resnowhat language is that?00:07
alex88italian00:07
arctic_importis libnss-ldap broken in 9.10?  I've installed and configured, when I run a getent passwd I don't see the machine even attempting to make an ldap connection to get the information.  What could I be doing wrong?00:10
alex88lol..i don't think they distribute unstable or broken packages, btw never used ldap or 9.10...00:11
alex88(9.10 cause of my fucking vps hosting company...) -.-00:11
alex88btw, going to bed...1:13 am here...cya tomorrow guys..00:12
=== alex88 is now known as alex88[sleep]
arctic_importwell I'm telling you it doesn't work.  All my other Linux machines have no problems, yet the Ubuntu 9.10 machines can't do jack.00:13
alex88[sleep]arctic_import: i've said i don't think..=) not it's impossible...good luck so..00:13
ptingi've got a bunch of servers load balancing a website... is there a tool to consolidate log files from these various machines into one file/location? i was planning on rsyncing the files to an nfs share00:29
subpting: rsyslog and various other remote syslogging packages00:51
subthere's also splunk00:51
ptingsub, thx, i'll check them out00:52
=== matt_ is now known as Guest18838
=== Guest18838 is now known as aoluser24
=== dendrobates is now known as dendro-afk
ptingwhen running rsync as a daemon, does it sync up the files realtime?02:00
X-M4-Xanyone have experience in net2ftp & ehcp?02:04
ptingnvm... i'll just stick with non-daemon rsync cronjobs02:05
=== erichammond1 is now known as erichammond
uvirtbotNew bug: #497087 in eucalyptus "Redundancy for cloud and cluster controller" [Wishlist,Confirmed] https://launchpad.net/bugs/49708702:41
=== nxvl_ is now known as nxvl
=== jason__ is now known as neonfroen
=== neonfroen is now known as neonfreon
ChrisRutIs BIND necessary if your domain registrar provides Full DNS control? Can't I just create A records on my Registrar and point them to the correct IP and call it aday?03:21
ScottKChrisRut: Yes.03:23
ChrisRutScottK: thanks03:24
ChrisRutBTW, how much resources does BIND use?03:24
* ChrisRut woundering if this will help save some load on my VPS (webserver)03:24
fbdystangHey how can I find network manager for pptp after install? It is not in menus?03:25
ScottKChrisRut: It depends a lot on the query load.  DNS tends to be more I/O bound than CPU bound.03:26
ChrisRutfbdystang: try installing network-manager-pptp03:27
ChrisRutfbdystang: sudo apt-get install network-manager-pptp03:27
fbdystangChrisRut: I did, but now i can't find the program to execute it03:28
ChrisRutScottK: k, Thanks... Also what else does BIND do?  Will I need to setup my MX records in my registrar aswell?03:28
ScottKChrisRut: Yes.  Any DNS records you publish.  You'll also need to make sure your registrar points to their DNS servers as authoritative for your domain03:29
ChrisRutfbdystang: https://wiki.ubuntu.com/VPN03:29
ChrisRutScottK: hmm, beginning to think this might be more trouble then it's worth.03:30
ScottKThat's generally my view about bind.03:30
ChrisRutfbdystang: have you looked in network-manager for this?  I am not sure, I've never used pptp03:31
ChrisRutScottK: your view being? BIND=good or bad03:32
ScottKbind is good, but complicated.03:32
ScottKGenerally, I suggest leaving running DNS to DNS experts.03:32
twbHear, hear03:32
ScottKYour registrar may or may not qualify03:32
ChrisRutGoDaddy03:32
fbdystangChrisRut: It says that network manager is in the system tray, However i cannot find it. What does it look like? all my icons are accounted for03:33
twbThere are two kinds of DNS, too -- publishing your domains' records, and caching everyone else's records.03:33
twbFor the latter, dnsmasq is super nice.03:33
ChrisRutfbdystang: System>Preferances>Network Connections03:33
ChrisRuttwb: but strictly for a webserver (ubuntu-server) why would I need to cache everyone elses?03:34
ChrisRutno outbound connections really03:34
fbdystangChrisRut: ok I found it, I see a vpn tab, but nothing on pptp03:34
cjwatsonwebserver logging can actually do quite a lot of reverse dns lookups03:35
cjwatsonso sometimes caching of that is required03:35
cjwatsonor useful anyway03:35
twbChrisRut: right; the latter only applies when you run a local network.03:35
cjwatsonreally high-performance web serving generally turns off reverse dns lookups in the logs, but that's a bit annoying for normal production use03:35
twbChrisRut: sorry, I wasn't paying much attention.03:35
ChrisRutfbdystang: try this:03:35
ChrisRuthttp://bit.ly/5RRFXU03:35
ChrisRutcjwatson: didn't think of that... true, thx03:36
twbcjwatson: if you're only caching for one host, nscd or whatever should handle it03:36
cjwatsonsure, I didn't specify a caching *method* :)03:36
cjwatsonChrisRut just asked why caching would be useful03:37
twbOK03:37
fbdystangChrisRut: thanks, however i have already tried that one, to no avail :( I would think there would be a simple pptp gui to connect03:37
ChrisRutfbdystang: did you make sure to install 'network-manager-vpnc network-manager-openvpn03:38
ChrisRutI could be wrong, but i believe those packages add the ability to use VPN (therefore are required to use PPTP)03:38
fbdystangYea, thats what I would think too. But they are both installed03:39
fbdystangis there a command line way to connect?03:40
ChrisRutfbdystang: how bout this one: http://bit.ly/6tvTkC03:41
fbdystanghmm, thats new lemme check03:42
ChrisRutfbdystang: also give this a shot if that one doesn't work out: http://bit.ly/7rWItY03:43
fbdystangOK, my network manager now has an icon in panel. I have created the vpn, but don't know how to connect it. it says last used is "never" wish there was a connect button!03:47
fbdystangChrisRut: will that second one work in karmic?03:48
ChrisRut1sec..03:48
ChrisRutdid you sudo /etc/init.d/networking restart03:49
ChrisRutafter you setup the vpn03:49
ChrisRutgo into terminal and issue 'sudo /etc/init.d/networking restart'03:49
ChrisRutIt's probably going to kick you off irc thou03:49
fbdystangI did sudo service network-manager restart, which it said is a more prefered one03:49
ChrisRutok03:50
fbdystangdidn't kick me off though03:50
ChrisRutfbdystang: can you click on the network manager applet (top right) and then select your vpn connection that you just setup03:52
fbdystangyes03:52
ChrisRutdid that work?03:52
fbdystangbut i don't know how to connect it03:52
fbdystangdouble clicking just brings up th edit window, which is where i set up the vpn03:53
fbdystangHow does it work in yours? does it just automatically connect or do you manually hit connect somewhere?03:54
ChrisRutnot using vpn03:54
=== dendro-afk is now known as dendrobates
ChrisRutso I couldn't tell ya03:54
ChrisRutsorry, but I am stumped03:55
fbdystanghmm03:56
fbdystangin the second one it says to add my self to group 'dip' how do i do that on command line?03:59
cjwatsonsudo adduser $USER dip04:00
fbdystangk thanks04:01
kirklandcjwatson: i'm getting a lintian error on eucalyptus-sc.templates: E: eucalyptus-sc: no-debconf-config04:02
kirklandcjwatson: can you confirm that this is okay?04:02
kirklandhttp://lintian.debian.org/tags/no-debconf-config.html04:03
kirklandcjwatson: says that it's sometimes okay, sometimes an error04:03
cjwatsonkirkland: it's fine, there's no db_input04:13
kirklandcjwatson: k, thanks; i'll add an override04:15
fbdystangHow do I know if the vpn connection worked?04:22
ChrisRutfbdystang: try pinging one of the boxes on your VPN04:33
ChrisRutgotta run, thanks for the help cjwatson, twb & ScottK04:40
=== twb` is now known as twb
aquariusI have a jaunty server; "sudo do-release-upgrade" says "After your package information was updated the essential package 'ubuntu-minimal' can not be found anymore." There are LP bugs about this, but they suggest it's been fixed. What can I do to diagnose?06:58
Jeeves_Mogge08:03
_rubenMornin' Jeeves_08:15
jiboumansmorning folks08:48
_rubenbleh .. snort's an odd beast when you start playing with it09:15
Jeeves_:)09:18
dpreacherHas any configured "dead peer detection" for their IPSec VPN on ubuntu server? I need to know if it is possible with racoon or do I have to use another package09:44
_rubennever used racoon (well, i did for a very brief period and hated it) .. openswan does have support for dpd09:50
dpreacher_ruben when a package like openswan has dpd support, on being able to detect the dead peer is it possible to switchover to a secondary remote peer? What other corrective action can be taken. Thank you for your reply10:04
=== _ is now known as Guest33639
_rubendpreacher: most common actions are "try to bring up tunnel again" and "put things on hold till its available again" .. openswan doesnt have high availability (switchover) builtin10:20
=== alex88[sleep] is now known as alex88
dpreacher_ruben, can openswan call any other program to do switchover externally...like run a command10:35
_rubendpreacher: there's updown scripts, but im not sure if those get called during dpd as well10:39
_rubengotta go .. meeting10:39
dpreacherseeya10:39
dpreacherthanks10:39
benediktare there any cases where "uptime" will report 2 users when there is only one logged in?11:39
JanC2 different users or 2x the same user?11:40
JanC(use 'users' to check that)11:40
benedikthttp://pastebin.com/m1e3868f811:40
benedikthttp://pastebin.com/m30c28257 <- updated with 'users'11:41
JanCwell, looks like only one user was logged in the second time11:42
JanCanyway, "2 users" can mean "2x the same user"11:43
JanCe.g. on my desktop I currently 3x my user logged in, and every terminal you start (e.g. in screen) adds another login11:45
benediktJanC: no. the user "benedikt" is logged in once.12:13
zul_morning12:40
jiboumanskirkland, alive and kicking already?12:40
kirklandjiboumans: about to go for a run12:40
jiboumanskirkland: ok, catch you after12:40
kirklandjiboumans: trying to make it back in time for the meeting12:40
jiboumansmorning zul12:40
adacSince an upgrade to karmic, ssh login to my server is quite slow. Any ideas?13:43
zul_mathiaz: so what do I need for the scribe stuff?13:44
=== zul_ is now known as zul
ttxkirkland: also it was supposed to require woodstox, but apparently doesn't need it... I guess that change hasn't landed yet in their code.13:52
jiboumansall hail netsplits13:52
benediktadac: does the login go as fast as usual (/etc/motd shows up etc, etc) but bash takes a second to load?13:52
adacbenedikt, the moment I enter the ssh password in the console it takes up to 10 seconds until the "remote" bash appears13:52
benedikt'uptime' is showing one user too many on my system ( http://pastebin.com/m30c28257 ) . What can cause this?13:52
adacbenedikt, On jaunty it was there immediately13:53
benediktadac: and th motd13:53
benedikt?13:53
adacbenedikt, what is that?13:53
benediktadac: cat /etc/motd13:53
adacoh I see. Yes it takes 10 seconds until motd appears on login13:54
benediktah. then its not the same that started to happen to me.13:54
_rubenslow logins often tend to be dns related13:57
benediktalso, my issue about one login too many is resolved. i didnt realize that screen of course took up a tty and is in /var/run/utmp .13:58
mathiazzul: https://wiki.ubuntu.com/ServerTeam/KnowledgeBase13:58
mathiazzul: outlines what to do as a scribe -basically write up the minutes13:59
zulmathiaz: k thanks13:59
smoserin mail to mathiaz i suggested yaml as markup language, but python-yaml not in main. so thats a big strike against that.14:15
mathiazsmoser: well - we may have to move to main anyway14:16
mathiazsmoser: yaml is getting more and more popular14:17
mathiazsmoser: I had a look at it this morning14:17
smoseroh? in that case i'd consider, but the niceness of the built into python is nice. (ie, python-configobj)14:18
zulpython-config is already in main as well14:27
ScottKsmoser: python-yaml will probably come into Main due to a spec of mine.  Also I'm the Debian maintainer for it, so I think it'll be easy to get into Main14:29
smoseri really dont like the shortcoming of "some things can't be represented as keys" in python-configobj14:30
smoserhttp://www.voidspace.org.uk/python/configobj.html#the-config-file-format14:30
smoserThere is no way of safely quoting values that contain both types of triple quotes.14:30
smoserbut maybe thats just worrying too much14:30
mathiazsmoser: I think we should just try one14:33
mathiazsmoser: once we have more experience we can add more syntaxes if needed14:33
smoseragreed.14:33
smoserdid my mail to you make sense mathiaz ?14:34
mathiazsmoser: yes14:34
mathiazsmoser: I'll start by providing sample user-data script14:34
mathiazsmoser: to see how things would work with the syntax (which ever syntax we choose)14:34
cr3kirkland: hey dude, someone on the condor-users mailing list is asking about running condor on a eucalyptus cloud. thought you might like to know14:35
mathiazsmoser: once we have the syntax and samples, we'll have tests as well and can then start implementing it14:35
smosermathiaz, thats fine.14:35
kirklandcr3: cool14:37
=== SockPant1 is now known as SockPants
=== orudie_ is now known as oru_work
oru_workanyone familiar with vsftpd? Wed Dec 16 09:51:27 2009 [pid 9660] [jpipublic] FAIL LOGIN: Client "75.127.142.196"15:03
oru_worksame error on both the client and server log side15:04
smosersoren, ping. could you sponsor bug 494185 to karmic-proposed?15:05
uvirtbotLaunchpad bug 494185 in ec2-init "ec2-init selects us-east-1 mirror when running in us-west-1 region" [High,In progress] https://launchpad.net/bugs/49418515:05
zulsmoser: i think its eod for soren as well15:07
zulso I could do that if you want15:07
smoserwell, then, do you want to do it? i was just hoping to spread the wealth15:07
zulsure15:07
zuldont you mean spread the pain ;)15:08
zulsmoser: i have upload the ec2-init SRU i had to modify the debian changelog for it to be proper for an SRU15:24
smoserwhat did you have to change?15:25
smoserzul,15:26
zuli attached to the debdiff to the bug15:27
`jpgHey guys, is it possible to install 9.10 on a machine without internet access?15:39
smoserzul, so sru you're not supposed to increase ubuntu portion of the package version, but rather add '.X'?15:39
smoserie, you did: 0ubuntu7.1 rather than 0ubuntu815:39
mathiazsmoser: https://wiki.ubuntu.com/SecurityTeam/UpdatePreparation#Update%20the%20packaging15:40
mathiazsmoser: ^^ has a table with expected version number for security updates15:40
mathiazsmoser: SRU follow the same rules15:40
smoserthanks mathiaz.15:40
zulsmoser,: sorrect15:40
zulmathiaz: about the smart SRU it was done but it got rejected because there was no lp bug number in the changelog. I just re-uploaded it with the correct lp bug number15:41
mathiazzul: ok - can you keep an eye on it?15:42
zulmathiaz: will do15:42
=== dendrobates is now known as dendro-afk
psyferrehey folks.  I'm porting a lot of code from windows to ubuntu and have a decent amount of unc paths being used for file access.  In looking through the samba docs it looks like I'm going to have to create a mount point on my system for every other machine on the network i need to access... is that correct?  Or is there some way I can just hit the shares via unc path name?15:50
=== Guest13057 is now known as fahadsadah
=== dendro-afk is now known as dendrobates
=== fahadsadah is now known as Guest23237
=== Guest33639 is now known as viezerd
=== Guest23237 is now known as fahadsadah
pea_brainhi all, I am new to ubuntu UEC. I am trying to get elasticfox to manage the cluster. I am not able to add my cluster as a region in UEC. when i try accessing the URL "http://my_cluster_ip:8773/services/Eucalyptus" directly, it shows "Failure: 500 Internal Server Error". i tried elasticfox on both firefox 3.5 and then on 3.0, but to no avail. can anyone please help..17:05
=== [1]pea_brain is now known as pea_brain
pea_brainhi all, I am new to ubuntu UEC. I am trying to get elasticfox to manage the cluster. I am not able to add my cluster as a region in _elasticfox_. when i try accessing the URL "http://my_cluster_ip:8773/services/Eucalyptus" directly, it shows "Failure: 500 Internal Server Error". i tried elasticfox on both firefox 3.5 and then on 3.0, but to no avail. can anyone please help..17:10
hiatusIs ubuntu server a decent server or should I go with something more along the lines of centos17:11
pea_brainhiatus: ubuntu server ( LTS ) has 5 yrs support and centos has 7 yrs. besides, ubuntu has a lot of packages pacakged for it ( like 28000) while centos has about 3500 . just a couple of ideas from my side.17:13
pea_brainLinux is Linux, whichever way you may wanna use it.17:13
hiatushmmm, thanks pea, good points17:19
pea_brainhiatus: one thing to note though, not all the packages i mentioned as supported on ubuntu have the same support commitments from the developers.17:25
hiatushow do you mean?17:28
pea_brainthere is a section called "main", which is fully supported. Others like "universe" and "multiverse" are not supported with the same level of commitment. http://www.ubuntu.com/community/ubuntustory/components17:34
TeTeT_kirkland: is there any WSDL specification for Eucalyptus?17:55
kirklandTeTeT_: i don't think i know enough about WSDL to answer that question17:56
TeTeT_kirkland: who could know about that, ttx maybe?17:56
kirklandTeTeT_: yeah17:57
kirklandTeTeT_: or ask in #eucalyptus17:57
kirklandTeTeT_: between network splits17:57
TeTeT_kirkland: I haven't thought of #eucalyptus :)17:59
=== jcastro_ is now known as jcastro
mathiazsmoser: hi18:15
smoserhey18:15
mathiazsmoser: can I use the UEC images directly with kvm/libvirt?18:15
smosersort of.18:15
smoserits a goal to answer 'yes, and heres how'18:16
mathiazsmoser: ok - but we're not there yet18:16
smoseryou can do it, but ec2 init is dependent upon the metadata service18:17
smoserso you either have to18:17
smosera.) give a fake metadata service18:17
smoserb.) disable ec2-init18:17
smoserc.) wait 30+ minutes for ec2-init to time out18:17
smoserhttps://wiki.ubuntu.com/UEC/Images/Testing is mostly still relevant i think18:17
smoserthe piece of info missing there is that you can append to the kernel 'ec2init=0' and that will disable ec2-init18:18
=== dendrobates is now known as dendro-afk
=== dendro-afk is now known as dendrobates
=== astechgeek is now known as techgeek
uvirtbotNew bug: #497495 in eucalyptus "euca-delete-bundle does not correctly parse dir path in some cases" [Low,Fix committed] https://launchpad.net/bugs/49749518:27
orudie_can someone recommend an intranet solution ?18:56
unit3errr... you'll have to be a *lot* more specific than that. ;)18:57
mm888hi - trying to setup a LAMP server using Ubuntu server ... anybody had any problems using Ubuntu 9.1 server in fusion19:13
mm888the server seems to be for AMD 64 bit19:13
unit3you mean 9.10 right?19:17
unit3and there should be a 32-bit server ISO download.19:17
unit364 bit is the default, because generally there aren't any 32-bit only servers anymore. ;)19:18
mm888yes 9.1019:18
mm888trying to find 32bit19:18
mm888just trying to test something at home u c19:18
mm888was searching on the web site and came across this channel - so thought I'll ask19:19
mm888but all the links takes me back to the 64bit d/l .... ummmm19:20
unit3let me find you a link.19:21
mm888thanks :-)19:21
unit3http://www.ubuntu.com/getubuntu/download-server19:21
unit3you see under the download button, it says "Alternative download options"?19:21
unit3Click that, then you can select the 32 bit version.19:22
mm888oh thanks - so stupid ... should of saw that19:22
unit3no prob. :)19:22
unit3also, if you go to one of the mirror sites directly, there'll be bittorrent download links as well, if that's faster for you.19:22
mm888torrent no good for me as my ISP throttles those type of traffic19:23
mm888but thanks for the suggestion19:23
unit3yeah, some ISPs BT is way faster, some it's better to just use the local mirror. the options are there, anyway.19:23
mm888:-)19:24
=== rickspencer3_ is now known as rickspencer3
=== erichammond1 is now known as erichammond
=== NCommander is now known as Guest36380
=== Guest36380 is now known as NCommander
=== erichammond1 is now known as erichammond
=== erichammond1 is now known as erichammond
=== jussio1 is now known as jussi01
=== erichammond1 is now known as erichammond
=== erichammond1 is now known as erichammond
smoserkirkland, have you found a way to get -curses to work with lucid ?21:02
=== ikonia_ is now known as ikonia
Jeeves_Has anyone arranged for ZFS in Linux allready? :)21:28
Jeeves_(not using fuse)21:28
dunixsorry to tell you, it won't happen until linux changes it's license, gpl gets reworded or new version, or zfs's license changes21:30
dunixand none of those will be happening any time soon21:30
angeloalfa76 c'è qualche italiano collegato?21:34
kirklandsmoser: unfortunately not yet21:47
Anonymous2yea ubuntu server room21:54
Anonymous2my favorite of all21:54
epinky:)22:00
Anonymous2:)22:00
Anonymous2i got 8.04 server running atm22:00
Anonymous2epinky: you run server22:01
Anonymous2anyone else her22:02
Anonymous2here**22:02
khelvanMy headless server keeps shutting down - what can I do to figure out why it is shutting down on its own?22:03
Anonymous2bad memory22:03
Anonymous2is a possiblity22:03
Anonymous2for me it is cause 1000+ memtest errors22:03
Anonymous2but it runs just when i restart from time to time it doesn't start up again until i unplug it and plug it back in22:04
dunixkhelvan have you looked through the logs?22:04
Anonymous2that's one way to find out22:04
Anonymous2didn't think bout the logs22:04
khelvandunix - I am not familiar with where to find logs or what to look for. I am brand new to this.22:04
dunixoverheating is another common reason22:05
Anonymous2and bad mem22:05
Anonymous2you come a across bad address and bam down22:05
dunix/var/log/messages is a good place to start22:05
dunixor /var/log/syslog22:05
Anonymous2well i shall revise that22:05
Anonymous2bad addresses and sometimes bam22:05
khelvanHere is the /var/log/messages - I don't see anything except a random restart, which I have no idea why it did: http://pastebin.com/m3f44bf3322:11
Anonymous2do you have it setup to automatically restart22:12
Anonymous2generally people set it to do this to avoid errors22:12
Anonymous2much like with cisco routers22:12
khelvanHere is the syslog, with another random restart - http://pastebin.com/d37f72e4122:13
khelvanNo, I never set it to do that, it has been running fine for a month, and now all of a sudden it is randomly restarting (and randomly shutting down, as in power off).22:13
Anonymous2did you do a memtest22:14
Anonymous2just to make sure22:14
Anonymous2can never be to careful22:14
khelvanI have not, no, how do I do that with a headless server?22:14
Anonymous2well if you can restart the machine with a monitor attached you can press escape key when it says please wait 3 seconds at the grub boot loader menu22:15
Anonymous2then boot to memtest22:15
Anonymous2my server restarts from time to time but thats cause my mem is finished22:15
dunixkhelvan, is this hardware built to be a server?22:21
dunixie: a dell or hp server etc, or is it a desktop you are using as a server?22:21
khelvandunix - It is desktop components I put together to be a server.22:21
dunixyou may want to check your bios to see if there is any temp settings, usually with a problem like this, it's a heat issue22:22
dunixand some bios' have settings for temp, even the desktop ones22:23
dunixor you may just want to monitor the internal temp of your MoBo/Proc, if it allows for that22:23
khelvandunix - Are there any temperature monitors I can install and watch via ssh?22:23
dunixlm-sensors22:23
dunixbut may or may not work, depending on your motherboard22:24
khelvanOk, it is already installed - how can I monitor it via SSH?22:24
dunixGoogle+lm-sensors website would tell you if your stuff is supported22:24
Anonymous2i was talking monitor like a crt or lcd22:25
Anonymous2but ssh <SERVER IP>22:25
khelvanAnonymous2 - I know, it isn't practicle for me to have a physical monitor on the machine at the moment. I am installing/monitoring/checking the logs via ssh at the moment.22:26
khelvan(practical)22:26
Anonymous2you can't monitor the memtest22:26
Anonymous2you can with a computer monitor like lcd screen and keyboard22:26
Anonymous2it's hard for me to explain22:26
khelvanI realize that, it will have to be a bit before I can run that. I understand, I have run memtest before, which is why I asked how I can do it with a headless server.22:27
khelvanThe short answer is that I can't.22:27
dunixkhelvan, if everything is working properly i believe you can type 'sensors'22:27
khelvanIt needs a head.22:27
khelvandunix - Thanks, I got this output:  k8temp-pci-00c3 Adapter: PCI adapter Core0 Temp:  +33.0°C22:28
khelvanIs there a way for me to tell if it was a system-initiated clean shutdown, or if it crashed due to heat/memory? I have some critical data on a RAID array, how can I insure that the file system is not going to be corrupted?22:29
dunixwell thats not anything to worry about, is there any way/reason this would spike? like for example a dog sitting behind it blocking the intake (which is what my dog does)22:29
dunixif was a system, it would have said in the logs22:29
qman__you can check on the RAID with /proc/mdstat22:30
qman__it'll automatically rebuild if something is wrong22:30
qman__as for how dangerous it is, that depends on what filesystem you use22:30
qman__ext3 is generally fine with sudden failures22:31
qman__might lose some data from writes occurring during the failure22:31
qman__but otherwise, I've never lost anything else on ext322:31
qman__XFS is the opposite, I've had several catastrophic failures in crashes22:31
khelvandunix - No pets, the PC is sitting on a stone floor in about 69-70 F heat22:33
khelvanOr temp, I should say22:33
khelvanqman__, it is ext322:33
dunixthen i'd say temp is ruled out22:33
khelvanqman__, how do I check with /proc/mdstat?22:34
qman__cat /proc/mdstat22:34
qman__that's only if you're using mdadm/linux soft raid22:34
qman__if you've got a hardware raid or a fakeraid that won't tell you anything22:34
khelvanErr, I am using the RAID that I automatically set up during server install at the prompts, which I believe is linux soft raid22:35
qman__yeah22:35
qman__that's mdadm22:35
khelvanqman__, output: md0 : active raid1 sdc1[0] sdd1[1]      488383936 blocks [2/2] [UU]22:35
qman__that means it's fine and online22:35
qman__it'll say rebuilding if it is, and it'll show one of the disks failing if it is22:35
khelvanI guess I better get that backup solution up and running soon just to be sure.22:36
JanCbackups are always a good idea  ☺22:37
qman__this is what my file server looks like22:38
qman__md0 : active raid6 sdh1[7](S) sda1[0] sdg1[6] sdf1[5] sde1[4] sdd1[3] sdc1[2] sdb1[1]      4883799680 blocks level 6, 64k chunk, algorithm 2 [7/7] [UUUUUUU]22:38
khelvanJanC - Yeah, I agree, it has just been low priority for me with all sorts of other problems going on at the moment with other stuff.22:38
khelvanqman__, What does the (S) refer to?22:39
qman__spare22:39
qman__previously, I had just raid 522:39
qman__and lost two disks within an hour22:39
qman__suffered total data loss22:39
qman__so, this time, raid 6 with a spare22:39
JanC2 disks from the same series?22:40
qman__same model, bought at the same time22:40
qman__ran for about two years22:41
JanCit's quite common that they break around the same time then22:41
khelvanWow, aren't the odds of that astronomically high?22:41
qman__then died, an hour apart22:41
JanCqman__: I once heard somebody tell they lost 3 disks within 5 hours that way  ;)22:41
JanCwas an ISP's mailserver...22:42
qman__ouch22:42
dunixlol22:42
khelvanSo the moral of the story is buy two different types of disks?22:42
qman__luckily my data wasn't that valuable22:42
qman__the moral is, keep backups22:42
qman__all disks die eventually22:42
dunixwhat qman said.22:42
JanCwell, the problem with different disks is that they have different timings22:42
qman__yeah, the array will perform better if you use the same disks22:43
suband different geometries as well, yeah?22:43
JanCAFAIK "geometries" are all virtual these days22:43
qman__this time around I've got it set up to email me on my phone if it detects a SMART error, so that shouldn't happen again22:44
dunixunless of course you have a support contract, then you have to use identical drives22:44
JanCqman__: that doesn't always work22:44
JanCSMART can't predict all errors22:44
qman__yeah22:45
qman__mdadm is also set to email me on failure22:45
qman__but SMART should pick it up first22:45
qman__and raid 6 with the spare should buy me more time than an hour22:45
JanCI had one disk where SMART gave no warning until the disk was dead22:45
JanCdisk was 1 month old...22:46
qman__there's always a chance for total loss, but I'm trying to improve the odds22:46
qman__the 4GB Quantum Fireball I'm using as a system drive out lasted the first array22:47
qman__if/when that one finally dies I'm switching to flash22:48
qman__but all signs point to that thing lasting longer than me22:48

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