[00:31] <halvors> How can i create new domains and users to my email server?
[01:50] <michael_> is there a way to boot the ubuntu server iso from grub2?
[02:38] <webdude> i am currently installing lamp-server using 'taskel. and it's stuck at 91%
[02:42] <webdude> is that normal, or am I gonna have to do something?
[02:53] <webdude> yeah it's still stuck...
[03:46] <SpaceBass> webdude that sounds stuck
[05:48] <armence> Hello all. I just realized that installing the server edition with encrypted LVM means I can't restart without supplying the passphrase... That's not going to work out for me. Is there something I can do about that?
[05:49] <armence> Short of reinstalling that is...
[07:42] <airtonix> can someone inspect this general setup and tell me why i can't ping a hostname in my dns server but i can get a dig result for the hostname ? http://pastebin.com/p2WWXrPx
[07:50] <joschi> airtonix: just because a name server can resolve a name doesn't mean that the system having that name/ip address is actually accessible
[07:54] <airtonix> joschi, i can ping the ip address though
[07:55] <airtonix> joschi, and the name im trying to resolve is the same machine that bind9 lives on
[07:55] <joschi> airtonix: your resolv.conf is working?
[07:55] <airtonix> joschi, you mean can i ping google.com ?
[07:58] <joschi> airtonix: no. is your bind server in your resolv.conf?
[07:58] <airtonix> joschi, it is
[07:59] <joschi> airtonix: search and domain in your resolv.conf are correct?
[07:59] <airtonix> joschi, im not enitrely sure
[08:00] <airtonix> joschi, so according to this setup : http://pastebin.com/X7Yg9RJn , my search domain should be "local" ?
[08:03] <joschi> airtonix: yes
[08:03] <airtonix> joschi, cheers :)
[08:03] <airtonix> (i actually should use something other than local so it doesn't interfer with avahi)
[08:05] <joschi> usually "localdomain" is fine
[08:06] <airtonix> does this mean i have to rebuild my ldap structure too ?
[08:06] <airtonix> or can i just change the last dc from local to dc=home
[08:06] <airtonix> (and any other references to dc=local)
[08:38] <talntid> I don't think so. I use LDAP and have changed my resolv.conf..
[08:39] <airtonix> another problem i'm having is with openldap on ubuntu 10.04, since i am using cn=config format, im not sure how i go about modifying it to create authentication audit logs
[08:39] <airtonix> talntid, yeah thanks, i just changed the dns stuff and ldap still works fine (except i really need to get some auditing happening)
[08:39] <talntid> now sure what you are asking
[08:39] <talntid> er, not sure
[08:40] <talntid> i use LDAP to authenticate users on thin clients
[08:40] <talntid> (among other things, of course)
[08:41] <airtonix> talntid, well currently i only have apache using authentication directives to use ldap database... and apache shows its own authentication attempt logs (lacking a bit) but i want to have ldap show the logs for authentication attempts itself
[08:41] <airtonix> i mean i dont want to fragment the logging of ldap authentication out amongst the individual daemons that use ldap
[08:42] <talntid> It should go into auth.log
[08:42] <talntid> in my experience
[08:42] <airtonix> talntid, i have no auth.log
[08:42] <talntid> oh, and that's the issue
[08:42] <airtonix> talntid, my slapd is using cn=config format too
[08:43] <airtonix> talntid, even when i initialy experimented with slapd, it never created an auth.log in /var/logs
[08:43] <talntid> I set mine up 3 years ago... and havn't had to touch it... definately not an expert...
[08:44] <talntid> mine does log though...
[08:44] <talntid> checking configs to see if something is special about it
[08:44] <airtonix> talntid, i assume to reconfigure yours you change /etc/ldap/ldap.conf and restart slapd ?
[08:44] <talntid> indeed
[08:45] <airtonix> talntid, because with cn=config format, i can rm /etc/ldap/ldap.conf and slapd still runs fine
[08:45] <airtonix> (just means that i have to work out how to edit the database)
[08:45] <talntid> using GQ ?
[08:45] <airtonix> sorry im new to ldap, what is GQ ?
[08:46] <joschi> airtonix: I'd recommend apache directory studio. it's a bit heavy weight but also very comfortable if you work a lot with directory services
[08:46] <talntid> GQ is a ldap client
[08:46] <airtonix> joschi, thats what i use at the moment
[08:47] <airtonix> joschi, it's very impressive (it even looks like it acts as a temporary ldap server ? )
[08:47] <talntid> oh, that looks nicer than GQ =D
[08:48] <airtonix> but really, what i want to do is have all authentication attempts logged to a single log rotated file
[08:49] <Dravekx> I keep being told to go with 10.04LTS rather than 10.10 for a simple home/media/web server. Does it really matter since it's a hobby server? :(
[08:49] <airtonix> it would be less frustrating ?
[08:49] <joschi> Dravekx: 10.04 has longer support times (hence LTS - long time support)
[08:50] <joschi> Dravekx: so if you plan to use your system longer than 1.5 years and don't want to upgrade every 6 months or every year, 10.04 is worth to think about
[08:50] <talntid> does it matter? probably not.
[08:50] <talntid> most of us use 10.04 though :)
[08:51] <airtonix> joschi, so how do i edit the config of an ldap server that uses cn=config format ?
[08:51] <airtonix> joschi, in some places i read that i simply use directory studio
[08:52] <joschi> airtonix: ehm, just connect to that ldap server with the proper credentials and edit the cn=config part of the tree with your editor
[08:52] <airtonix> joschi, ok i connect as usual, but i do not see cn=config there
[08:52] <joschi> airtonix: advanced ldap editors will also give you a list of possible attributes dependeing on the objectClass
[08:52] <airtonix> joschi, but in my /etc/ldap/ there is no slapd.conf or ldap.conf
[08:53] <joschi> airtonix: doesn't have to. the new style config is saved in /etc/ldap/slapd.d/
[08:54] <airtonix> joschi, so how do i edit that ?
[08:54] <joschi> airtonix: if you've started your openLDAP configuration as described in https://help.ubuntu.com/10.04/serverguide/C/openldap-server.html, you can simply use the user which you gave access to
[08:54] <joschi> airtonix: in https://help.ubuntu.com/10.04/serverguide/C/openldap-server.html it would be cn=admin,dc=example,dc=com
[08:55] <airtonix> joschi, yep thats how i connect to the remote machines ldap server, but i cant see how i edit the config
[08:56] <joschi> airtonix: it should be shown as a normal branch of your DIT
[08:57] <airtonix> i only child item of the DIT node is "Root DSE"
[08:57] <airtonix> it has (2) after it but i can only see one child item under "Root DSE"
[09:01] <joschi> airtonix: then it's probably not the ldap admin user you're logging in with
[09:01] <airtonix> actually when i press refresh on "Root DSE", i get this error in the search log window : http://pastebin.com/7e7JBb2A
[09:09] <airtonix> ok i just had to sudo nano /etc/ldap/slapd.d/cn=config.ldif and change the olcLogLevel
[09:09] <airtonix> then restart slapd
[09:13] <airtonix> joschi, talntid cheers for the patience
[11:44] <StrangeCharm> i just set up a new ubuntu install, but when i try to boot into the new system, my machine halts after 'verifying dmi pool data' what's going on? [i'm certain that i'm booting from the right disk]
[12:57] <l3dx> I've installed ubuntu server to a encrypted raid1 array. currently the grub menu is not shown when booting up. anyone know if it's possible to enable? or is the encryption making it impossible..
[12:57] <l3dx> I want the grub menu in order to run memtest
[13:09] <RoyK> l3dx: press shift during boot
[13:14] <l3dx> RoyK: no luck
[13:15] <l3dx> after bios it went straight to password
[13:15] <l3dx> password for decryption that is
[13:17] <RoyK> l3dx: reconfigure grub not to hide the menu
[13:18] <l3dx> thought I'd done that
[13:18] <l3dx> I'll double check
[13:23] <RoyK> I think the ones you're looking for are GRUB_HIDDEN_TIMEOUT=0 and GRUB_HIDDEN_TIMEOUT_QUIET=true in /etc/default/grub
[13:23] <l3dx> ah, I hadn't ran update-grub afterwards
[13:29] <l3dx> I'm trying to figure out why it crashes occasionally, and suspect hardware failure. apart from smartmontools and memtest, what else coud I do?
[13:29] <RoyK> smartmontools usually aren't very good for catching crashes
[13:30] <RoyK> what sort of crashes are these?
[13:30] <RoyK> panics? OOPSes? hangs?
[13:30] <l3dx> hangs
[13:30] <RoyK> hard hangs?
[13:30] <l3dx> if a hard hang is when there's no way to interact, then yes
[13:31] <RoyK> does alt+sysrq+something give you anything?
[13:31] <RoyK> as in http://en.wikipedia.org/wiki/Magic_SysRq_key
[13:33] <l3dx> hmm
[13:35] <l3dx> do you mean if the command gives  me anything after a crash? or right now in order to find information
[13:39] <RoyK> the logs may give you info after the crash - these keystrokes may give you valuable info during a crash/hang
[13:39] <RoyK> a hard hang is when these won't work
[13:39] <RoyK> such a hard hang is mostly due to bad hardware
[13:43] <l3dx> ok
[13:43] <l3dx> http://pastebin.com/0hXWAspj
[13:43] <l3dx> I noticed this error now. don't know if it can cause crashes
[13:48] <RoyK>   40 51 80 00 f5 61 40  Error: UNC 128 sectors at LBA = 0x0061f500 = 6419712
[13:48] <RoyK> AFAICS that's 128 uncorrectable sectors
[13:49] <RoyK> meaning, in English, "Get a new drive and use the magnets in old one for fun"
[13:50] <l3dx> :)
[13:50] <l3dx> but could it cause hangs?
[13:50] <RoyK> it shouldn't
[13:50] <RoyK> it should cause tons of error messages about unreadable sectors
[13:51] <RoyK> even if you unplug a drive on a non-hotplug linux system, linux shouldn't hang
[13:51] <RoyK> I've done my testing on that :)
[13:51] <l3dx> hehe :)
[13:51] <RoyK> but start off with memtest86
[13:51] <RoyK> see if you find anything there
[13:51] <l3dx> yes
[13:52] <RoyK> if not, wait for the next hang and try to dig further with magic sysrq
[14:18] <RoyK> l3dx: what did the memtest say?
[14:19] <l3dx> it has only been running for 25 minutes, but so far no errors
[14:49] <c0nv1ct> when apache forces a browser to download a file instead of displaying it, this usually means i am missing a module right?  all of a sudden cacti is doing this and i'm not sure what I did to cause it
[14:54] <c0nv1ct> it seems to be acting as if php isnt working, yet a simple page with phpinfo(); works fine
[14:55] <l3dx> RoyK: any thoughts on how long I should let memtest work?
[15:45] <RoyK> l3dx: how many passes has it gone through?
[15:53] <l3dx> I stopped it some minutes ago. don't know how many
[15:54] <RoyK> well, just try to run the server again
[15:54] <RoyK> debug further if it happens again
[15:54] <RoyK> is there a pattern when this usually happens?
[15:55] <RoyK> high i/o load or something?
[15:55] <RoyK> btw, what is this server doing?
[15:56] <RoyK> c0nv1ct: download the file to see what it is - it can be anything, really...
[15:56] <c0nv1ct> RoyK, huh? it is a php file, one that should be displayed not downloaded
[16:20] <airtonix> ugh i just spent the last siz hours trying to find information about how to enable the cn=monitor object to a already configured and running slapd database that does not use /etc/ldap/ldap.conf... and i could find nothing!
[16:21] <airtonix> six
[16:22] <airtonix> http://www.linuxtopia.org/online_books//network_administration_guides/ldap_administration/monitoringslapd_Monitor_configuration_via_cn=config5.html
[16:22] <airtonix> :(
[16:25] <RoyK> c0nv1ct: it should, at lest if php is configured correctly
[16:26] <c0nv1ct> RoyK, that is the thing... I have other php webbaps functioning normally, but Cacti and phpsysinfo both act as if php doesnt exist and has the browser download it
[16:27] <RoyK> c0nv1ct: HEAD http://your.tld/phpinfo.php (that file having one line '<?php phpinfo(); ?>'
[16:27] <RoyK> )
[16:28] <c0nv1ct> yep, already made that file, all looks good
[16:28] <RoyK> but not cacti?
[16:28] <RoyK> if so, I'd guess #cacti is a place to start
[16:28] <c0nv1ct> cacti just has me download a file called "download" which is its index.php
[16:29] <c0nv1ct> phpsysinfo which i just installed shows the same behavior
[16:29] <RoyK> how did you enable php for the other sites?
[16:29] <c0nv1ct> it is enabled in apache with a2enmod
[16:30] <RoyK> that should be global
[16:30] <c0nv1ct> i didnt have to do anything specific in the other apps for it to work
[16:30] <c0nv1ct> i just installed torrentflux just to see, and it works fine out of the box
[16:31] <c0nv1ct> Cacti was working though, i only noticed it today after trying phpsysinfo and having it not work
[16:31] <RoyK> which version is this?
[16:31] <RoyK> ubuntu release ver
[16:31] <c0nv1ct> 10.10, just a little home server
[16:33] <RoyK> just tried installing phpsysinfo on my 10.10 test box - no problems there....
[16:34] <RoyK> if you've installed something custom or have made changes to the apache setup, that might be the reason
[16:34] <c0nv1ct> i shouldnt have, i just set this up a few weeks ago
[16:35] <RoyK> if you choose to download the php file, does that show you the source or the content?
[16:35] <c0nv1ct> it opens in Geany
[16:35] <RoyK> geany?
[16:36] <c0nv1ct> source code editor
[16:36] <arrrghhh> oh i remember this one.  every php page you hit it asks you to download instead of opening the page?
[16:36] <c0nv1ct> arrrghhh, no
[16:36] <arrrghhh> oh sorry.  i'll shutup now :P
[16:37] <c0nv1ct> ok, now it is getting weirder
[16:37] <c0nv1ct> on another box, cacti is working, but phpsysinfo still downloads the file
[16:39] <c0nv1ct> this is with chrome on both machines, firefox locally loads both just fine
[16:39] <c0nv1ct> ffs, i guess the server is fine, something is up with the browsers
[16:52] <AnirbanHazra> I hav php mcrypt installed on my server. still it is showing "Cannot load mcrypt extension. Please check your PHP configuration." !!
[16:53] <SpaceBass> is iptables on by default on a fresh install of 10.04 server
[16:53] <RoyK> no
[16:54] <RoyK> SpaceBass: man ufw
[16:54] <SpaceBass> anything on a fresh install that would prevent incoming traffic?
[16:54] <RoyK> SpaceBass: normally no incoming traffic will be allowed unless you install server software that allows that :þ
[16:54] <RoyK> not even ssh is in by 'default'
[16:55] <SpaceBass> gotcha
[16:55] <AnirbanHazra> anybody help ! FYI : I am using Ubuntu 8.04 LTS
[16:55] <RoyK> AnirbanHazra: do you need mcrypt?
[16:55] <SpaceBass> running web, ssh and asterisk - can't get the asterisk sip connections to register with remote servers
[16:55] <arrrghhh> iptables is available... but it's not blocking anything.
[16:55] <RoyK> SpaceBass: try #asterisk
[16:55] <SpaceBass> RoyK, Im there too
[16:55] <SpaceBass> just want to rule out platform issues
[16:56] <RoyK> SpaceBass: not likely - I've been running asstrix on ubuntu for quite some time until I got a new job where I didn't have to work with that shite
[16:56] <arrrghhh> ssh and web work fine?
[16:57] <SpaceBass> arrrghhh, yes and local sip working fine - suggests its further upstream, although feel fairly sure the problem is on that host and not the edge router
[16:57] <arrrghhh> hrm.  yea, can't really help with astrisk in here.
[16:57] <RoyK> SpaceBass: try fiddling around with sipsak or nmap to see if asterisk answers
[16:57] <SpaceBass> understandable
[16:58] <arrrghhh> it's probably not the platform, and from the sound of it it's not your provider either.  some ISPs like to block traffic they deem unsuitable for residential connections (assuming you're on one...)
[16:59] <SpaceBass> I migrated from a CentOS box running asterisk that had been working fine to a new Ubuntu install - dont think its ISP
[16:59] <arrrghhh> indeed.
[16:59] <RoyK> SpaceBass: what's your IP? I can check from here if I can contact 5060/udp if you like
[16:59] <SpaceBass> 98.117.75.200
[16:59] <SpaceBass> thanks RoyK
[17:00] <RoyK> 5060/udp open|filtered sip
[17:00] <RoyK> 5061/udp closed        sip-tls
[17:00] <RoyK> looks open to me
[17:00] <SpaceBass> appreciate the check
[17:01] <RoyK> SpaceBass: set debug=9 on asterisk
[17:01] <RoyK> and verbose=9
[17:01] <SpaceBass> RoyK, yeah been watching debug messages all morning
[17:01] <RoyK> debug won't be necessary, I think
[17:01] <RoyK> you should see SIP connection attempts, even nmap scans, with verbose=9
[17:02] <SpaceBass> yeah, just seeing registration attempts over and over
[17:03] <RoyK> using packaged asterisk or something built from source?
[17:03] <SpaceBass> built from source
[17:03] <RoyK> I guess #asterisk will be the place to ask, then
[17:04] <SpaceBass> working that angle too :D
[17:04] <SpaceBass> thanks for the help!
[17:04] <RoyK> damn - 1.8 released
[17:04] <SpaceBass> yep! and includes google voice support
[17:04] <RoyK> perhaps it's a wee bit better than old 1.4
[17:05] <arrrghhh> ooooo gv support.
[17:05] <RoyK> do you know if digium has gotten around to supporting PLC in codecs supporting that?
[17:05] <arrrghhh> that makes me want to play with it now :P
[17:05] <SpaceBass> RoyK, to tell the truth, I dont know
[17:06] <RoyK> I paid for the jitterbuffer that went into 1.4, but by 1.4 release, Digium's g.729 codec couldn't keep up with that
[17:36] <airtonix> so after playing with a python script that automates authentication attempts against an openLDAP server with many valid and non valid users... i found it does not report : valid users with wrong password attempts, invalid users. It only reports valid user with valid password attempts.
[18:29] <SpamapS> airtonix: "It" being slapd?
[18:29] <airtonix> yes
[19:14] <klaas> hey, I'm using btrfs on ubuntu 10.04 server but it seems to be causing high load even though system is not really doing much
[19:14] <klaas> btrfs-transacti btrfs-endio-wri those two use 100% of one core each
[19:19] <arrrghhh> i don't think that file system is fully supported on linux
[19:20] <klaas> its in main ubuntu system -- you can even select it in the installer :)
[19:24] <Doonz> hey guys quick question. Im looking at replacing the main hdd in my server. right now its currently a 120gb single drive. Im looking at replacing it with 2x 500gb in raid 1. is there anything i have to do special or can i just clone the single drive using acronis to the new array?
[19:24] <ScottK> It's considered experimental, IIRC.
[19:24] <ScottK> (btrfs)
[19:30] <arrrghhh> +1
[19:30] <arrrghhh> btrfs is not 'stable' on linux.  as in the linux kernel
[19:31] <arrrghhh> klaas, what's wrong with ext4?
[19:32] <arrrghhh> Doonz, what's acronis?  windows utility?  i would not think a bit-for-bit copy be a good idea in your situation, if that's what you're implying.
[19:35] <Doonz> arrrghhh: its a linux based hdd cloning reimaging
[19:36] <klaas> arrrghhh I already use btrfs and on a normal day it works great :)
[19:36] <arrrghhh> linux-based?  acronic?
[19:36] <Doonz> yea
[19:36] <arrrghhh> klaas, well it doesn't seem to be working so well today ;)
[19:36] <arrrghhh> Doonz, link me to a download for linux.
[19:37] <klaas> yeah I googled my problem seems to be known and fixed in newer kernels
[19:37] <Doonz> http://www.acronis.com/homecomputing/
[19:37] <arrrghhh> uhm
[19:37] <arrrghhh> it makes me download an exe lol
[19:38] <Doonz> yeah but the cd that it creates loads a linux distro
[19:38] <arrrghhh> trial versions?
[19:38] <Doonz> anyhow. why couldnt i just clone the hdd onto another one?
[19:38] <arrrghhh> well maybe it's smart enough, but i would think it would want a 120gb disk
[19:39] <Doonz> allows for online expansion
[19:43] <arrrghhh> well that's up to you Doonz.  i wouldn't come asking for help with it in here tho :D
[20:09] <Datz> Hi, I just logged into a machine via the terminal, and tried to resume a screen session. Now there is just a blank line, and I can't exit with ctl + c
[20:09] <mrrothhh> hi
[20:09] <mrrothhh> anyone of a applaince
[20:09] <mrrothhh> that works as a
[20:09] <mrrothhh> pxe deployment server
[20:09] <mrrothhh> to deploy / install ubuntu, windows and so forth
[20:11] <arrrghhh> you can setup pxe
[20:12] <arrrghhh> you want a virtual appliance...?
[20:12] <arrrghhh> that's all setup and ready to go
[20:12] <arrrghhh> i don't know of one... i bet there's one out there tho.
[20:15] <mrrothhh> yea
[20:15] <mrrothhh> the only otherproduct I see is altiris
[20:15] <mrrothhh> but it not free
[20:46] <airtonix> mrrothhh, drbl
[20:47] <airtonix> mrrothhh, clonezilla server with drbl provides this
[20:53] <Dibbler_> anyone know of a file manager like midnight commander , but with a web interface ?
[21:05] <RoyK> klaas: don't use btrfs in production unless you like games like russian roulette
[21:06] <RoyK> Dibbler_: why on earth would you want to expose your filesystem on web?
[21:17] <Dibbler_> Royk do you know of any ?
[21:18] <RoyK> no
[21:18] <Dibbler_> thnx
[21:18] <RoyK> google knows
[21:18] <Dibbler_> taht's why i asked here
[21:18] <Dibbler_> cause i don't know how to use google
[21:20] <Queops> Does anyone have a comprehensive and simple samba server guide that allows me ubuntu server to share files with windows computer only?
[21:21] <guntbert> Queops: did you see the server guide?
[21:21] <Queops> oh yes... *depressed*
[21:22] <Queops> Doesn't give me a single hint about how to make my windows computers connect to it
[21:22] <Queops> Nor what settings to have
[21:22] <air^>  \\<ip-adress> ?
[21:23] <Queops> What special settings should I have, how come theres no authentication?
[21:24] <air^> What guide did you use? This one? https://help.ubuntu.com/10.10/serverguide/C/samba-fileserver.html
[21:25] <air^> "guest ok: allows clients to connect to the share without supplying a password."
[21:25] <air^> And what's so special about any settings? ;)
[21:25] <Queops> What is the port
[21:25] <Queops> could you tell me please?
[21:26] <air^> port? from windows, just write \\<ip> and it will understand.
[21:26] <Queops> Hmm curious, I'm really new to this samba thing
[21:26] <Queops> Let me re-check everything :P
[21:26] <Queops> (tbh im really new to networking at all)
[21:26] <air^> Samba works just as a regular windows share.
[21:37] <Queops> air^: if I follow the official guide religiously
[21:37] <Queops> it should work?
[21:38] <air^> Queops: that's what the guide's are for.
[21:38] <Queops> generally yeh, though sometimes they are outdated :p
[21:39] <air^> Queops: thing is, you should try to understand the guide, not just follow it.
[21:39] <Queops> That's one of my problems, I try to understand instead of following them
[21:39] <Queops> and i get confused, but np, ill take my time
[21:39] <Queops> :D
[21:40] <Queops> I always ask, why the hell is this entry here and there and what not.
[21:41] <Queops> Is it safe to remove samba folder in etc folder when samba is not present?
[21:41] <Queops> I kinda want to reset the settings
[21:42] <Queops> air^: ^
[21:46] <air^> Queops: have you really edited anything there that you need to reset?
[21:47] <Queops> Kinda, I was messing with it on webmin :p
[21:47] <air^> Queops: I just tested the guide, works fine. (installed samba on my 10.10 server, activated one share on one user account).
[21:47] <Queops> And now I regret it and want to follow the guide simply :x
[21:47] <Dibbler_> there are some funky settings and weird things you have to do in windows to get full speed though
[21:48] <Dibbler_> for me there was anyway
[21:48] <air^> Dibbler_: let's hold that back for the first step to get it working :)
[21:48] <Dibbler_> you can just copy your smb.conf
[21:48] <Queops> So it's safe to remove?
[21:48] <Queops> it will make new ones upon install again?
[21:48] <guntbert> !webmin | Queops
[21:48] <Dibbler_> and mess with a copy all you want
[21:48] <Queops> Noooooooooooooooooooooooooooooooooooooooooooo
[21:49] <Queops> Really?
[21:49] <Queops> That sucks!
[21:49] <air^> what's wrong with using terminal :D
[21:49] <Queops> What should I use :( I felt so proud
[21:49] <Queops> Yeh i like having putty on
[21:49] <Queops> and the webpage with nice graphics and al
[21:49] <Queops> all :(
[21:49] <Dibbler_> you'll live without
[21:49] <Queops> *sniff*
[21:49] <Dibbler_> vi or nano do just finbe
[21:49] <Queops> Curses!
[21:50] <Queops> Ok thanks for the help
[21:50] <Dibbler_> it's all in 1 big hapopy config file !
[21:50] <Queops> I'll stick around here, just discovered the channel :)
[21:50] <Dibbler_> happy
[21:50] <Queops> Well is there any kind of webmin thing that doesn't mess with ubuntu server?
[21:51] <Queops> and a web-putty when i'm away?
[21:52] <Dibbler_> if all webmin changes is the smb.conf.. and you don't have it change anything else .. meybe it won't be that bad
[21:52] <Dibbler_> maybe
[21:52] <guntbert> Queops: why would you use putty on linux?
[21:52] <Queops> Oh but i'm on windows
[21:52] <Queops> managing the ubuntu server :p
[21:54] <air^> well in that case putty should be just fine :)
[21:54] <Queops> hehe allright you guys win
[21:54] <Queops> no web interface
[21:55] <air^> Actually I'd like some kind of lightweight status web gui.
[21:55] <air^> Kinda like Nagios without all the mess of setting it up :D
[21:55] <Queops> See? See??
[21:55] <Queops> I would love a simple
[21:55] <Queops> show status thingie
[21:55] <Queops> over the net
[21:55] <Dibbler_> i ned a replacement for MC , web i asked here earlier
[21:55] <Dibbler_> no serious replies
[21:55] <Queops> :(
[21:56] <Queops> Blasted, I love working with servers
[21:56] <Queops> :p
[22:01] <Queops> Why wont webmin guys fix the problems?
[22:01] <Queops> Ubuntu server is uber used
[22:04] <izinucs> Does the server install have suspend/hibernate built in?  The reason I ask is I'd like to install it on a laptop and have it running with the lid closed ie.. suspend/hibernate is not needed or wanted.. If it's there how do I disable it?
[22:05] <Queops> I tried buuntu server on laptop once
[22:05] <Queops> I didnt suspend or hibernate
[22:05] <Queops> when lid closes
[22:05] <Queops> It didn't*
[22:06] <izinucs> Queops: nice.. thanks
[22:06] <Queops> I don't think developers would bother with including such thing on server
[22:06] <Queops> most of them have no screen after set-ups
[22:07] <izinucs> I was curious.. if the install identifies the machine as a laptop I thought it might pull in more/different configs because of that.
[22:07] <NightDragon>  hello question... i would like to take ntop and redirect it  to /dev/tty10, but i would like to daemonize it so i can lock the console and continue to have htop run on dev/tty10
[22:08] <Queops> izinucs not with me
[22:10] <Dibbler_> i don't even have a video card
[22:10] <Dibbler_> too warm
[22:11] <NightDragon> any ideas?
[22:11] <Queops> Hmm what's an easy way to give a file to a windows server with a vanilla server?
[22:12] <Queops> Kinda need to give a ssh key to my windows pc
[22:12] <Queops> :p
[22:12] <Queops> er
[22:12] <Queops> to a windows computer*
[22:12] <Dibbler_> mount a share
[22:12] <Dibbler_> using root
[22:12] <Dibbler_> to a shared window dir
[22:12] <Queops> with samba?
[22:12] <Dibbler_> yes
[22:12] <Queops> argggggggghhh :D ok ok
[22:12] <Queops> thanks.
[22:14] <Dibbler_> smbmount //192.168.1.1/winsharedir /home/yourself/music -o username=blablabla,password=blablabla,uid=1000,mask=000
[22:15] <qman__> well, you could install an sshd on the windows server, but that opens it to a whole slew of vulnerabilities
[22:15] <qman__> if you just need to push one file, you can use smbclient
[22:15] <Dibbler_> or
[22:15] <Queops> =O
[22:15] <Dibbler_> just sshd on linux and scp it to you
[22:15] <Dibbler_> winscp
[22:15] <Dibbler_> should work
[22:15] <Queops> ah hold on a sec
[22:16] <Queops> Assuming I have OpenSSH installed
[22:16] <Queops> I can transfer files with it?
[22:16] <Dibbler_> yu just need winscp
[22:16] <Dibbler_> yes
[22:16] <Queops> Ah that's great then
[22:16] <qman__> you can use smbclient somewhat similar to ftp/sftp
[22:17] <Queops> I'm downloading WinSCP
[22:18] <Queops> Or was... stupid sourceforge :( re-downloading
[22:29] <Queops> When it says "By default the public key is saved in the file ~/.ssh/id_dsa.pub, while ~/.ssh/id_dsa is the private key. Now copy the id_dsa.pub file to the remote host and append it to ~/.ssh/authorized_keys by entering:"
[22:29] <Queops> authorized keys on the host?
[22:29] <Queops> and send .pub to remote?
[22:55] <draven_sol> in a raid 10 during the install the installer asks for active and spare drives. what do the spare drives do? are they the raid 1 portion or just dead drives until made active?
[22:56] <Dibbler_> hot spares take over when one fails
[22:56] <Dibbler_> you basiclaly lose a channel for doing nothing
[22:56] <Dibbler_> you can easily replace it manually after it has failed
[22:57] <Dibbler_> hot spares are for unattended systems imo
[23:00] <draven_sol> Dibbler_, thanks for the information. i have 4 1.5 tb drives which i want to use with raid 10.  if i make all active and one fails is my array going to be broken or just degraded and the drive is replaceable?
[23:05] <Dibbler_> wat wil je nu , een niieuwe bak voor die extra computer die je toch niet gaat zien... of een compleet stille ventilateur
[23:06] <Dibbler_> ooops
[23:07] <Dibbler_> mt
[23:07] <Dibbler_> draven yes
[23:07] <Dibbler_> in 10 yes
[23:07] <Dibbler_> if you have a real raid card you better use 5 though
[23:07] <Dibbler_> not 10
[23:08] <Dibbler_> you'd have 4.5 T instead of 3
[23:08] <Dibbler_> if it's a software raid 5 is bad
[23:09] <draven_sol> when i set up the raid 10 with 2 active and 2 spares i only had 1.5 available, when i have done it with all 4 active i get 3 TB available which would lead me to believe that 2 are mirroring and two are splitting the data. it's a software raid
[23:09] <air^> what's specifically bad with raid 5 if it's sw?
[23:10] <Dibbler_> transfer speeds
[23:10] <Dibbler_> too much xor
[23:10] <Dibbler_> to be done
[23:10] <Dibbler_> by cpu
[23:10] <air^> I just setup a fileserver, initial test shows pretty good speed.
[23:10] <Dibbler_> not bad per se .. as in you'll lose data ...
[23:10] <Queops> Ok I used the samba tutorial... now it just times out when trying to map a new network folder on windows
[23:11] <air^> 11GB file transfferd over gigabit -> nas (3 disks in sw raid-5), constant write speed 95MB/S
[23:11] <Dibbler_> well i have an areca 1261ML in raid5 i get about 1/2 gig/sec burst
[23:11] <air^> that should be about 760MB/s.
[23:12] <Dibbler_> well
[23:12] <air^> read was from x25 ssd, as my other internal drive tended to be the limit.
[23:12] <air^> and the fileserver is an intel i3, so it probably has enough cpu power.
[23:12] <Dibbler_> i'm always using close to 100% cpu
[23:12] <Dibbler_> i can't have my filesystem hogging cpu time
[23:13] <Dibbler_> this is a pointless discussion
[23:13] <air^> yeah. it's just a matter of useage.
[23:13] <Dibbler_> still if draven wants the extra storage , raid 5 is an option
[23:13] <air^> I got lots of cpu free. So I don't mind wasting some on the drives.
[23:13] <Dibbler_> of course
[23:14] <air^> (this is just at home, I wouldn't consider sw raid in any business case)
[23:15] <draven_sol> with software raid my understanding is 4 active drives on a 10 gives me 3 TB use and the failover if one drive fails. additionally it sounds as if raid 5 isn't as reliable as raid 10
[23:15] <Dibbler_> not really
[23:16] <Dibbler_> riad 5 just uses a lot of processing
[23:16] <Dibbler_> raid
[23:16] <Dibbler_> 1 drive can fail at a time
[23:16] <Dibbler_> same as in raid 10
[23:16] <Dibbler_> well no
[23:16] <Dibbler_> in raid 2 2 can fail , it just has to be the right ones lol
[23:16] <Dibbler_> but basically , if you have the extra cpu power
[23:17] <Dibbler_> raid 5 is an option
[23:17] <Dibbler_> your 4 drives you give you 4.5 tb and 1.5 would contain redundant data
[23:18] <draven_sol> since i'm encrypting the entire disk on the fly i'll stick with raid 10 to minimize cpu usage and i don't need the extra 1.5 tb of data that the raid 5 gives
[23:18] <Dibbler_> yes
[23:18] <Dibbler_> you get about 30 mB/sec per gigahertz i would think
[23:19] <Dibbler_> VERY roughly
[23:19] <draven_sol> thanks for the discussion and information
[23:19] <Dibbler_> p :)
[23:19] <Dibbler_> n
[23:19]  * draven_sol goes afk to redo the server
[23:20] <Queops> Anyone has a clue why I can't access the samba share i made :(
[23:21] <draven_sol> Queops, file/folder permissions, firewall
[23:21] <air^> Queops: guest or user?
[23:21] <Queops> I putted guest ok just to try
[23:21] <air^> Queops: try "sudo smbpasswd <username>" to reset that at least.
[23:21] <air^> ok.
[23:21] <Queops> and I made ufw allow 137,138,139
[23:21] <Queops> just in case.
[23:21] <Queops> lol
[23:22] <Queops> Should I do that sudo?
[23:22] <Queops> I made sudo chown nobody.nogroup /srv/samba/share/ as shown in the guid
[23:23] <air^> the smbpasswd command just allows you to reset the smb password for that certain user.
[23:23] <Queops> and on windows map new network.. assign it some later and inputted \\localipoftheserver
[23:23] <air^> but it shouldn't matter if you use guest.
[23:23] <Queops> letter*
[23:23] <air^> and what does windows say?
[23:24] <Queops> just a sec, let me time out
[23:24] <air^> btw, no need to map new network drive right away, just write \\ip in the path field of file explorer
[23:24] <Queops> yeh that doesnt do anything
[23:24] <Queops> lol
[23:24] <air^> ok, so it does not ask for passwd.
[23:24] <Queops> Nope
[23:24] <air^> restarted smbd ?
[23:25] <Queops> Positive
[23:25] <air^> k. then I'd guess it's a fw issue.
[23:25] <Queops> My guess
[23:26] <Queops> I got an idea lol
[23:26] <Queops> If it is.. I'm gonna slap myself..
[23:26] <Queops> What are the ports?
[23:27] <air^>            The default ports are 139 (used for SMB over NetBIOS over TCP) and port 445 (used for plain SMB over TCP).
[23:28] <air^> (from man smbd)
[23:28] <Queops> What is the default thingie then, NetBIOS or plain
[23:29] <Queops> Well ill put both
[23:31] <Queops> Windows says it cant access it
[23:32] <air^> still timeouts?
[23:32] <air^> or some other error?
[23:32] <Queops> well i assume "cant access" is a time out because it takes a while to present the error
[23:33] <air^> and nothing in the log on ubuntu?
[23:33] <Queops> Where can I see that
[23:33] <air^> Somewhere in /var/log/
[23:33] <Queops> sec
[23:34] <air^> maybe syslog
[23:34] <Queops> theres samba on va rlog
[23:35] <Queops> no just a bunch of thing of cups
[23:35] <Queops> its not installed
[23:35] <air^> jup, seems to be logging separately.
[23:35] <air^> well. I gotta go get some sleep now.
[23:35] <Queops> hehe do that
[23:36] <air^> :)
[23:36] <air^> good luck.
[23:36] <air^> cya
[23:36] <Queops> cya :)
[23:45] <Queops> ...
[23:46] <FarmCretin> ive been searching for what i thought would be simple, hibernating my headless storage monster. im finding dozens of posts, dpm, acpi, apm, gnome-power-manager, scripts, .suspend vs .hibernate   please help.