[00:57] <pmatulis> _Techie_: where do you see that?
[00:58] <_Techie_> pmatulis, see what?
[01:25] <azexian> hey, getting a weird issue with a fresh server install, I've uploaded several large files from a client to the server, and upload speed was very quick, now downloading from server from same client I'm barely getting 500KB/s on a 100Mb/s connection, any ideas?
[01:44] <electrofreak> sanity check... is it 100Mbps both ways?
[01:46] <electrofreak> what kind of protocol? http? ssh? ftp?
[01:59] <azexian> sorry only just saw messages, yes 100MB/s both ways, and tried through smb and ssh
[02:09]  * RoyK blames Canada
[02:11] <demonspork> I have an HP Proliant DL380 G3 server and I just install HP System Management Homepage v3.0.2.75, I managed to log into it but it has no data. I thought I had installed all of the necessary tools (all of the HP utilities from the .iso from HP) and they seem to work individually, but the management homepage I can't find hardly any documentation pertaining to it.
[02:13] <demonspork> it is successfully pulling some of the snmp data I have set up, like it found the location from snmp but none of the other data sources are populating anything
[02:40] <MonsterUnchained> Hey girls
[02:51] <hggdh> er, what?
[03:13] <Tashia> I have a question about the httpd. Is there a way to add a subdomain?
[03:16] <Datz> Tashia: have apache2 installed?
[03:16] <Tashia> Yes. Apache2 is what i meant. Sorry.
[03:17] <Datz> Tashia: look in /etc/apache2/sites-available/
[03:18] <Datz> edit default and add another virtualhost
[03:18] <demonspork> can't you even use that to add a subdomain to your website with a wildcarded top level domain?
[03:19] <Tashia> I am currious about this, Is there a way to have my server run its own DNS so I don't have to subscribe to some other site to have a domain name?
[03:19] <demonspork> you have to purchase registration of a domain
[03:19] <Datz> Tashia: also add "servername example.domain.com" to each virtualhost
[03:19] <demonspork> there is no other way to get a domain name
[03:20] <Tashia> Datz, Thanks. I'm trying it now.
[03:20] <demonspork> can I just use a virtual host to add sub1.example.com and as long as example.com is wildcarded, the server will handle all requests to sub1.example.com with that vhost and example.com will be handled by its own vhost
[03:21] <Datz> demonspork: yes afaik
[03:21] <Datz> Tashia: have your own domain name, or suing somthing like dyndns?
[03:21] <Datz> using*
[03:22] <Datz> also, there is #httpd ;)
[03:22] <demonspork> freedns.afraid.org is a good free nameserver solution
[03:22] <demonspork> iz nice
[03:22] <Datz> ah, ok.. I used to use dyndns, but haven't looked around much after that
[03:23] <demonspork> yeah, I like some of dyndns's really short domains that I can get a subdomain for
[03:24] <Datz> yea.. but limited in what you can pick, alike any similar service
[03:24] <demonspork> although I really ought to get my own domain, it is easier to sell webhosting when you have a website
[03:24] <Datz> yea, I'd assume so. :p
[03:24] <Tashia> Datz, Do I add a new VirtualHost?
[03:24] <Datz> Tashia: yes.. you could just copy the old one, and edit it
[03:25] <demonspork> Tashia, make a file in /etc/apache2/sites-available/
[03:25] <demonspork> name it after your website
[03:28] <Tashia> I added the virtualhost but I can't seem to figure out how to make it a subdomain.
[03:31] <_aegis> Hi all, I have a question about moving my ubuntu server to a new array...  I've already moved the filesystem to external drives.  When I move the filesystem back to the new array, I think grub will probably have problems.  Do you have any suggestions on how to address possibly grub issues in advance?
[03:31] <Datz> add whever the address is under the "servername" variable
[03:31] <_aegis> This is Ubuntu 10.4
[03:31] <_aegis> server
[03:32] <Tashia> Datz, I added the servername but it says it can not resolve host when I reboot the apache2 server
[03:34] <_aegis> Hi all, I have a question about moving my ubuntu 10.4.1 x64 server to a new array...  I've already moved the filesystem to external drives.  When I move the filesystem back to the new array, I think grub will probably have problems.  Do you have any suggestions on how to address possibly grub issues in advance?
[03:36] <Datz> Tashia: sorry, don't know what's wrong. try httpd
[03:36] <Datz> #httpd
[03:38] <Datz> _aegis: I don't know the answer, but have you looked here? https://help.ubuntu.com/community/Grub2
[03:40] <_aegis> datz: thanks...  I have looked at that regarding grub2 in the past...  grub2 hurts my brain and I can't understand how it works.  So I'm basically asking what I am going to specifically have to do to make this server boot up.  Grub2 is so painful, I can already anticipate it being the problem that makes this fail.
[03:41] <|rt|> _aegis: if you boot up on the install cd and choose rescue broken system one of the options it gives you is to reinstall grub
[03:42] <_aegis> rt: oh okay...  that sounds awesome...  I'll plan on doing that.  Thanks!
[03:43] <|rt|> I don't think it gives you that option though until you tell it to launch a shell on the broken system and then just type exit
[03:43] <|rt|> and another menu will get displayed with that option
[03:43] <|rt|> I just had to do that on a server I was installing with a raid controller that isn't supported by the kernel yet
[03:44] <_aegis> cool...  I'm glad you added that!  I was about to take the server down (and I'm logged into IRC through it...)
[04:31] <pennyless> Setting up dovecot-postfix with postfixadmin as a web interface on ubuntu server. Look for documentation that addresses all of the above.
[04:32] <pennyless> Most of what I've found includes different MDAs such like courier rather than dovecot.
[04:37] <demonspork> HP Server Management Homepage isn't finding any information: I installed all of the utilities from the disk I downloaded to support my Proliant server, including this HPsmh thing and I can log into its interface just fine.  I can't find any useful documentation for this either, so any help or even a link to further documentation would be tremendously helpful
[04:41] <MTecknology> Any of you guys know much about EC2? I'm trying to find an idiots type guide to it
[05:04] <dennis___> Hello
[05:04] <dennis___> I have a quick question about how I would setup something in Ubuntu Server
[05:04] <dennis___> Im going to be using it as a file server for a bunch of windows computers
[05:05] <dennis___> I need the files to be kept on the server and not locally
[05:05] <dennis___> but I also need to configure the windows computers to only look for files on the network drive and not locally
[05:05] <dennis___> does anyone know how I would do this?
[05:05] <dennis___> I only want all the client computers to beable to see files on the network pc and not on the local computer
[05:07] <dennis___> Anyone around who can help me?
[05:11] <ecelis> a winows channel would be better place to ask, you can share your files with ubuntu and samba+but how to restrict your windows users, ...well
[05:11] <dennis___> Okay
[08:14] <_Techie_> is there a server app that i can use to upload files to megaupload with an account?
[08:15] <_Techie_> preferably with a web interface
[09:01] <knolls> is there a way for apache to send <variable>.mydomainname.com to another folder in www/?
[09:04] <pennyless> knolls, are you wanting to send all traffic from "anything.mydomainname.com" to a separate folder or traffic from "specific.mydomainname.com"?
[09:06] <knolls> specific pennyless
[09:08] <knolls> and specific2.mydomainname.com specific3.mydomainname.com etc.
[09:09] <pennyless> Ok knolls, then you'll want to create an apache config file for your specific subdomain and point to the directory you want as the root directory. Use the default file inside your 'sites-available' folder as a template.
[09:10] <knolls> will i name the config file the subdomain name i want it to be?
[09:12] <pennyless> I generally create a config file for each domain/subdomain I host. I name them after the domain. So, in this example your file would be named "specific.mydomainname.com.conf". That's my personal preference, but you can name it anything you like.
[09:14] <pennyless> When you get that setup just run 'a2ensite' to allow apache to set the appropriate symlinks. When that's all done, restart apache.
[09:16] <knolls> wonderful, thank you pennyless !
[09:17] <pennyless> no problem. Glad I could help ;)
[10:01] <demonspork> network usage graphing in splunk using the *nix app. HOW DOES IT WORK.  I can generate useful charts of just about everything it seems except for the netowrk stuff. I am currently using BandwidthD so I can graph all of this usage, but I would like to put all of this in the same interface
[10:02] <demonspork> either that or get a CPU usage/memory monitoring solution that generates either images that I can put in a web page or generates the web page itself, similar to what BandwidthD is doing
[10:45] <kinygos> good morning all...when i run parted -l, i have a number of Error: /dev/md_d6: unrecognised disk label...i'd like to use parted /dev/md_d6 rm to delete that partition (which no longer exists)...but i'm being warned that i should not use Parted unless i REALLY know what i'm doing...
[10:45] <kinygos> i am trying to reset my second disk (where these partitions did exist)...
[10:46] <kinygos> actually, apologies, i'm just going to do it...convinced myself while typing
[10:47] <kinygos> and it didn't do anything...
[10:48] <kinygos> does anyone know how i can get rid of these partition table errors?
[10:50] <demonspork> so do you need anything left on that second disk?
[10:50] <kinygos> nope...trying to reset it completely
[10:50] <demonspork> have you tried fdisk to delete it
[10:51] <kinygos> fdisk -l doesn't list the /dev/md_dx partitions
[10:52] <kinygos> i still have the underlying /dev/sdbx partitions...
[10:53] <demonspork> ok, then I am confused about what you are trying to do
[10:53] <demonspork> what is the md_dx thing you are trying to delete?
[10:54] <kinygos> i have a remote server that came with a second physical disk installed, but not mounted or partitioned...i've been trying to install raid on the server...
[10:55] <demonspork> ah, trying to RAID it, now I understand more what is going on
[10:55] <kinygos> i have no access to external media, so am trying to do it on a running system...
[10:55] <kinygos> i think that my earlier attempts are affecting my future attempts...so i'm trying to totally remove any reference to raid on that disk
[10:56] <knolls> once i set up the subdomains, do i just add the subdomain to my domain registrar and put in my ipaddress as the dns target?  i don't have my own nameserver just from editing apache config files do i?
[10:56] <kinygos> i can reset the first disk with an automated re-image from the ISP, but they don't do anything to the second disk
[10:58] <demonspork> knolls, no, you don't have it just from editing the config files, but if you wildcard the top level domain the apache server can tell when someone requests "sub1.example.com" versus "example.com" and handles them differently based upon the virtualhosts I imagine you have just spent some time configuring
[10:58] <demonspork> at least that is my understanding
[10:59] <demonspork> wildcard means that all requests to an unknown subdomain get sent to the top level domain's IP address
[10:59] <knolls> yeah actually it turns out all you really need to do is edit /etc/apache2/httpd.conf it's a very simple setup, but i didnt realize i had to request a subdomain from my registrar
[10:59] <knolls> i'll see what happens after this thing updates, thanks demon
[10:59] <demonspork> easiest way is to leave httpd.conf alone
[11:00] <demonspork> use /etc/apache2/sites-available/
[11:00] <knolls> and just make a copy of default.conf in sites-available and change the name?
[11:00] <demonspork> and change the properties like servername and stuff
[11:00] <knolls> kk
[11:00] <demonspork> and then use a2ensite newsitename
[11:01] <knolls> what does a2ensite stand for
[11:01] <demonspork> apache 2 enable site
[11:01] <demonspork> all it does is creates a symlink from yoru site in sites-available/ to sites-enabled/
[11:05] <demonspork> I have even gone so far as to make the sites-available config rw for the user running the site
[11:05] <demonspork> but that can be dangerous if you do it to random people on the internet you is hositng for
[11:09] <kinygos> mdadm --query /dev/md_d6 says that /dev/md_d6 is an md device which is not active, but mdadm --remove /dev/md_d6 has no effect...i've found a suggestion online to simply rm -rf /dev/md_d6
[11:09] <kinygos> is that "safe" to do?
[11:10] <kinygos> (i'm trying to remove all trace of the raid)
[12:48] <qman__> gah, file server locked up again
[12:52] <qman__> sysrq not working this time
[12:54] <kucumber> on my server I've not got a "www" folder on my user, to allow files to be accessed via the IP do i need to copy them to root?
[12:55] <kucumber> I would like to make a media file on my server either downloadable or I would like to test mplayer http://1.2.3.4 , there is no www folder in my user - i'm on ubuntu 10.04 lucid lynx server
[12:56] <qman__> there would not normally be a www folder in your home directory
[12:56] <qman__> you need to install a file sharing service of some kind in order to share files
[12:56] <qman__> there is none by default
[12:58] <kucumber> i'm using lxde
[12:58] <kucumber> any recommendations as to what to use.
[12:59] <qman__> well, if you want HTTP, apache is the recommended web server
[12:59] <qman__> sudo tasksel install lamp-server
[13:00] <qman__> if you want file sharing with windows clients, samba is the best choice
[13:01] <kucumber> right, well locally I use linux mint
[13:02] <kucumber> and on my server I use ubuntu 10.04 lucid lynx
[13:02] <kucumber> i've been using linux about 3 months so a bit of a noob
[13:02] <kucumber> but getting though it and loving what i've learned
[13:03] <kucumber> so qman__ will installing lamp-server give that user a www directory?
[13:03] <qman__> no
[13:03] <kucumber> like my webhosting servers?
[13:03] <qman__> it will install apache with a default site located at /var/www
[13:03] <qman__> if you want a userdir configuration you'll have to set that up manually
[13:03] <kucumber> for that specific user?
[13:03] <qman__> no, in /var/www
[13:03] <kucumber> ah i see
[13:04] <qman__> you CAN set it up that way, but it requires significant configuration
[13:04] <kucumber> right
[13:04] <qman__> also, the most common way to do userdir web directories uses /home/$USER/public_html/
[13:04] <kucumber> so if for example i put files into that dir from a user (not root) then the user has full access to those files (mod)
[13:05] <kucumber> just like logging in via ftp on a webhosting package
[13:05] <qman__>  /var/www is owned by www-data, regular users can't put files there by default
[13:05] <kucumber> can I "sudo" files there
[13:05] <qman__> yes, but then they're root-owned
[13:06] <kucumber> right, in my case I believe ownership doesn't really matter as long as it's universally readable
[13:06] <qman__> if it's only you putting files there for local network access, the default site should suffice
[13:07] <kucumber> well it would be net wide access i'd imagine....
[13:07] <kucumber> if it's on the ip
[13:07] <kucumber> eg http://123.123.0.1/file.avi
[13:08] <qman__> http is only a protocol
[13:08] <qman__> you have to configure your router to serve pages to the internet
[13:09] <kucumber> okay - lost me a little, however, the server is remote
[13:09] <qman__> ah
[13:09] <qman__> in that case, then yes
[13:09] <kucumber> and a dedicated server from ovh.co.uk
[13:10] <qman__> if you're the only one who needs write access, the default site should be fine
[13:11] <kucumber> cool, so simply install the lamp server as suggested
[13:11] <qman__> yes, and openssh-server if you haven't already
[13:11] <qman__> as that's the best way to securely upload files
[13:11] <kucumber> also what was the command tasksel?
[13:12] <qman__> yes
[13:12] <qman__> sudo tasksel install lamp-server
[13:12] <kucumber> what do you mean open ssh server? I ssh to the server to use the terminal if that's what you mean
[13:12] <qman__> yes
[13:12] <kucumber> however - "tasksel" what's this command?
[13:13] <qman__> tasksel allows you to install services, basically
[13:13] <kucumber> okay
[13:13] <qman__> it's used at the end of the install, where you choose the checkboxes
[13:13] <qman__> but you can use it any time
[13:13] <kucumber> i'll give it a go now
[13:13] <qman__> it's the simplest way to install apache, php, and mysql
[13:14] <kucumber> cool, does it matter that i'm logging in via a user rather than root
[13:14] <qman__> you shouldn't ever be logging in as root directly
[13:14] <qman__> that's what sudo is for
[13:14] <qman__> sudo literally comes from the command name su, and the word do
[13:15] <kucumber> yea cool, I don;t just for the nature of this installation I thought it *might* be required, but that's good it's not.
[13:15] <qman__> as in switch-user, do this
[13:16] <qman__> if your server is not configured as such already, you should ensure root cannot log in over SSH
[13:16] <qman__> otherwise you're fairly vulnerable
[13:18] <kucumber> ah
[13:18] <kucumber> well I think I can
[13:18] <kucumber> however, it's a remote server, so i kinda need to...
[13:18] <qman__> no, you don't
[13:18] <qman__> that's exactly what sudo is for
[13:18] <qman__> as your user, log in and run 'sudo -i'
[13:21] <qman__> when you run SSH on the internet, it's a given that you will be attacked by bots
[13:21] <qman__> and it's also a given that these bots will attempt to brute force root's password
[13:22] <qman__> by not allowing root to log in over SSH, you eliminate this possible intrusion
[13:22] <qman__> as well as more targeted attacks on root's account
[13:22] <qman__> you put another unknown factor into the mix, your user name
[13:22] <qman__> instead of the given 'root'
[13:23] <qman__> by default ubuntu doesn't have a root password at all
[13:23] <qman__> but if you want one, you should still disable root logins over SSH
[13:54] <knolls_> can i monitor users in real time using the cli on my server?
[14:16] <kucumber> qman__
[14:16] <kucumber> how do I go about disabling root logins over SSH? and why is it important i do so/
[14:18] <qman__> you have two options
[14:18] <qman__> disabling root logins altogether by unsetting root's password
[14:18] <qman__> or setting "PermitRootLogon No" in /etc/ssh/sshd_config
[14:19] <qman__> it's important because doing so reduces your attack surface
[14:20] <qman__> if root can't log in, they can't break in as root directly
[14:20] <qman__> they have to first compromise a user account, then attack root
[14:20] <qman__> or attack vulnerable software--far more difficult to do and less likely to exist than a misconfiguration
[14:21] <qman__> the most common attacks will not even attempt to break any accounts other than root
[14:34] <kucumber> ah i see
[14:35] <kucumber> but in what way could I login to make system edits in the future, say the system is compromised, what if the usr password is changed, i'm totally locked out of my server
[14:37] <RoyK> EHLO
[14:38] <RoyK> you should have an admin user with sudo access
[14:38] <RoyK> also, login as root will be enabled on the console
[14:38] <RoyK> the physical one or a serial or network console
[14:39]  * RoyK still uses serial console for some linux boxes - it works (tm)
[14:48] <kucumber> right
[14:49] <kucumber> i just worry a little as it's totally remote access
[14:49] <kucumber> no physical access to my server
[14:56] <RoyK> kucumber: just create an admin user or two and allow them sudo access
[14:56] <RoyK> if a root password is not set during install, the server can be rebooted into single user mode without a password
[14:57] <RoyK> that is, a root password must be set after installation for a password to be required in single user mode
[14:58] <kucumber> i see
[15:00] <kucumber> so how do i disallow root ssh access?
[15:00] <RoyK> [15:18]  <qman__> or setting "PermitRootLogon No" in /etc/ssh/sshd_config
[15:01] <RoyK> and then, using something like fail2ban or denyhosts is a good addition to stop worms trying to ssh in on 'standard' users
[15:04] <kinygos> i've just had my server re-imaged, logged in, launched grub, and from the grub prompt entered find /boot/grub/stage1...i get file not found.  am i doing something wrong?  ubuntu 9.04, grub 0.97
[15:05]  * RoyK hands kinygos an usb cdrom and a 10.04 server cd
[15:05] <kinygos> RoyK: i know :)
[15:06] <kinygos> RoyK: i'm starting to think there's something dodgy with this ISP's "standard" installation
[15:07] <kinygos> should grub have been able to find /boot/grub/stage1 on at least (hd0) which my server booted from?
[15:09] <kinygos> df /boot tells me /dev/sda5, and in there i have a grub directory containing stage1 :(
[15:12] <kucumber> is it ovh kinygos?
[15:13] <kinygos> kucumber: i'm just googling ovh - never heard that term before..one sec
[15:15] <kinygos> is ovh a hosting company???? (lol if my google speed reads fail)
[15:15] <RoyK> kinygos: which hosting company are you using?
[15:16] <kinygos> uk company called fasthosts
[15:16]  * RoyK is just curious to know where he shouldn't buy services
[15:16] <kinygos> they've been around a long time, with mixed reviews online
[15:17] <kinygos> uname -a gives Linux server88-208-208-121.live-servers.net 2.6.28-19-generic #65-Ubuntu SMP Thu Sep 16 14:24:42 UTC 2010 x86_64 GNU/Linux
[15:17] <RoyK> using 9.04 on their servers and not allowing mirrored disks on installs seems a bad start to me
[15:18] <kinygos> it's not that they don't allow it, they just don't configure it on their ubuntu builds...if i'd gone with windows or centos, i would've had raid
[15:19] <kinygos> i don't understand how grub is my bootloaded, but it couldn't find /boot/grub/stage1 or
[15:20] <kinygos> sorry...or grub/stage1 or stage1
[15:40] <kinygos> i'm such a donut...when i launch grub, it sets its root to /boot already...so what i needed to type was find /grub/stage1  apologies
[15:41]  * RoyK starts throwing 10.04 server CDs in kinygos's direction
[15:42] <kinygos> RoyK: how do you do those emotes with irssi??
[15:42] <RoyK> emotes?
[15:42] <RoyK> irssi?
[15:42]  * RoyK uses xchat on os x
[15:42] <kinygos> i'm running irssi...what you typed there came up as * RoyK users xchat on os x
[15:43] <oCean> /me
[15:43]  * RoyK nods
[15:43]  * kinygos runs away hiding
[15:43]  * oCean wiggles
[15:43] <kinygos> oCean: thanks :)
[16:01] <kinygos> RoyK: i think i've installed grub on my second hard disk...should i be doing anything to /etc/fstab before i attempt to reboot?
[16:13] <fluvvell> My first 10.04 server install, going to replace an existing hardy and need a couple of raid0 partitions. Do I bother with LVM. I haven't done LVM since fedora days... any suggestions as to why I should ?
[16:31] <fluvvell> Duh, I mean raid1
[16:40] <qman__> LVM offers a little more flexibility should you decide to modify your configuration later
[16:40] <qman__> entirely optional
[16:42] <fluvvell> can I do the raid1 first, then LVM over that?
[16:44] <fluvvell> Oh I just found a good article, https://help.ubuntu.com/10.04/serverguide/C/advanced-installation.html
[16:44] <qman__> yes, that's how it's done
[16:44] <qman__> md, then lvm, then filesystem
[16:44] <qman__> or without it, md, then filesystem
[16:45] <RoyK> kinygos: /etc/fstab should have the md devices
[16:49] <fluvvell> qman__, thanks :-)  I was a bit confused when LVM came up early in the install process, but raid options weren't so obvious.
[16:50] <RoyK> fluvvell: why not just md?
[16:51] <RoyK> mirroring on md is very well tested
[16:53] <fluvvell> md?
[16:58] <fluvvell> RoyK, what do you mean "just md"?  and how much should I worry about grub2 on install? some people are complaining that it makes the system unbootable
[17:02] <jMyles> I have it in my head right now that I"d like to pipe ALL incoming email to a python program.  Is this crazy?  It is relatively easy to do?  Do I even still need postfix at this point?
[17:05] <qman__> my guess is that you might as well just implement the mail server into your python program
[17:05] <qman__> the modules probably already exist for doing such
[17:06] <qman__> unless you need some of the features of postfix
[17:11] <RoyK> fluvvell: grub2 works well on my installations, with or without software raid1
[17:12] <fluvvell> RoyK, yeah just reading this thread... http://ubuntuforums.org/showthread.php?t=1474950&page=2
[17:13] <jMyles> qman__: No, I don't think I need any of the features of postfix, but I can't find a place to get started on implementing the mail server into my python program.  When someone sends something to someone@myserver, what is happening?  How does postfix know to kick up?
[17:14] <RoyK> fluvvell: dunno - all I can say is that it works well on my setups
[17:15] <RoyK> we have 5 boxes or so with software raid1 for the root fs
[17:16] <fluvvell> RoyK, and you installed from scratch with a 10.04.1 cd ?  I have other boxes running software raid on root fs too, but I cant remember how I set them up, may have added raid later on. they're all pre hardy, now upgraded to hardy tho.
[17:26] <RoyK> fluvvell: 10.4 from scratch, ye
[17:26] <RoyK> fluvvell: 10.4 from scratch, yes
[17:27] <RoyK> it§s possible to add a mirror later, but reinstalling is far quicker in most cases
[18:05] <ehcah> Hello. What is the worst possible scenario for uninstalling ebox and reinstalling webmin to manage my 10.4 Server install? I undertand that webmin is not supported. However, I can perform a lot of management from terminal. Webmin's web GUI is great for reviewing changes. Ebox on the other hand will overwrite any and all terminal based changes, which is useless to me.
[18:20] <kinygos> RoyK: (or anyone who's been following my install-RAID drama) is there any chance you could spare a few more moments of your time?  i've installed grub on my second disk, updated the fstab, but on booting from that second disk, it reverts to the first drive...i'm looking for some pointers at things i should check to make sure grub can pick up the raid and boot from it
[18:23] <RoyK> kinygos: pastebin fstab
[18:26] <kinygos> RoyK: http://dpaste.com/252527/
[18:26] <kinygos> i've updated the fstab on the mounted raid partition, not the one on the first disk
[18:27] <kinygos> RoyK: my blkid output is http://dpaste.com/252528/
[18:40] <kinygos> RoyK: i've just noticed something...when i boot from the second drive, i select the RAID entry i added to menu.lst, and the screen shows init: name_to_dev_t(/dev/disk/by-uuid/0f94....) where the uuid is that of my first disk's swap partition...maybe i've not configured menu.lst correctly?  menu.lst: http://dpaste.com/252532/
[18:42] <kinygos> but there's no reference to the swap there....do i need to treat the swap partition especially?  the swap partition has the boot flag set on both sda1 and sdb1...should it be set somehow on md1?
[19:16] <demonspork> iftop's first column of information used to tell me which of my IP addresses was being used for each of the connections being monitored. Now it just says "myserver.local".  How do I get it to stop doing that? I still want to see the reverse lookups for the other connection (second column) so the -n option isn't going to work.
[19:16] <demonspork> it says myserver.local no matter what the actual IP is
[19:17] <demonspork> can I set up my hosts file to distinguish between each of my external IP addresses when iftop does its lookups?
[19:17] <demonspork> like name each of them internally
[19:40] <erfiug> hello
[19:40] <erfiug> I am looking for a service to allow users to open gnome sessions remotely
[19:40] <erfiug> I tried VNC but it only allows a user per time
[19:41] <erfiug> any idea?
[19:42] <ecelis> use xdmcp
[19:44] <ecelis> if security is a concern, use xdmcp over vpn or ssh tunnel at least
[19:45] <erfiug> Yes, I am reading some info about this, I might try to use this tomorrow thanks :)
[20:29] <kinygos> RoyK: i think i've done it !!!! :)
[20:47] <eriksson25> Anyone in that is good with proftpd?
[20:52] <RoyK^> eriksson25: there are probably people around that can help you if you ask a real question
[20:52]  * RoyK^ just uses vsftp when ftp is needed
[20:56] <eriksson25> Oki, first some basic background info. Have been using proftpd for a long time. But the rpm relese is bad and filled with bugs. So compiled the new 1.3.3b and installed. Have it runing but cant get it to use tls. I have the same config file as in the old 1.3.2 and it wount work.
[20:57] <eriksson25> It just lets ju in plain and simple, and gets  500 AUTH not understood  If I try to use auth tls
[20:58] <eriksson25> And my other question is how I star/stop/restart it now. I used to have it as a init.d but now they use inetd and I havent got it to work on restarting/stoping.
[21:01] <eriksson25> RoyK^ How hard is it to set up fsftp with tls, and difrent user root directorys. And hidden/locked folders.
[21:06] <RoyK^> chrooting vsftpd?
[21:06] <RoyK^> http://www.cyberciti.biz/tips/vsftp-chroot-users-limit-to-only-their-home-directory.html
[21:06] <RoyK^> or just google.com
[21:07] <eriksson25> Well, I was realy looking to solve my proftpd  since it has been working well for me and "almost" everything is set up.
[21:08] <RoyK^> sorry - the rpm release is buggy?
[21:08] <eriksson25> Yes, buggy as hell
[21:09] <RoyK^> but then, ubuntu doesn't use rpm
[21:09] <eriksson25> sorry, I ment the reposotory version.
[21:09] <eriksson25> Have been googleing and trying for 6h straight now
[21:09] <eriksson25> So a litle tired of it.
[21:10] <RoyK^> something like 95% of open source ftp servers uses vsftpd
[21:10] <RoyK^> I would guess there is a reason for that
[21:10] <RoyK^> proftpd was the big thing in the ninetees
[21:11] <eriksson25> Is there a problem runing two vsftpd besides eachother?
[21:11] <RoyK^> you can't run two ftp servers on the same port
[21:11] <eriksson25> no ofc not
[21:13] <eriksson25> Thing is that I have a friend that runs vsftp on my server (for small stuf) And I dont want to interfear with his setup. But he runs it on a other port.
[21:16] <kinygos> really dumb question, but is there any way to tell what is making a device or resource busy?  i'm trying to add a disk partition to a raid array (i've managed to do it for 4 other arrays)
[21:19] <kinygos> does anyone know anything about the default options in the legacy grub menu.lst file?
[21:21] <guntbert> kinygos: q1) fuser -m <file on that device>
[21:21] <_ruben> kinygos: could you try to be even more vague regarding grub? :P
[21:22] <_ruben> as for partitioning raid arrays, i tend to just use lvm for that
[21:22] <kinygos> guntbert: thanks...i'll give that a go :)
[21:23] <guntbert> kinygos: you're welcome :-) read man fuser for details
[21:23] <kinygos> _ruben: there are lines in the menu.lst file that have a single # in front of them, but the instructions say to just edit them...i just wondered if the single # was not a comment
[21:26] <guntbert> kinygos: are you certain, that you are still using grub1 ?
[21:26] <_ruben> kinygos: they're comments indeed, but ubuntu's kernel upgrade scripts do use some of those comments, note that those comments are between special markers, like : ### BEGIN AUTOMAGIC KERNELS LIST
[21:27] <kinygos> guntbert: i am indeed...grub-install -v gives 0.97 (this is an isp build of a server)
[21:27] <kinygos> guntbert: i've been trying to install RAID on it all week before upgrading to 10.04 LTS
[21:27] <ehcah> Can anyone explain what damage webmin might do to a 10.4 Server install? I know it is unsupported, but I'm not clear what harm it can bring.
[21:28] <kinygos> _ruben: ah, that makes sense...thanks
[21:29] <kinygos> i am so close to installing RAID on this server, and yet so far :( i can't add the partition mounted on / to my raid array :(
[21:38] <kinygos> i thought i'd figured out my problem - i was pointing the kernel root at the physical disk partition, but when i set it to the raid partition, the server fails to boot, probably because the raid hasn't been mounted...is it possible to mount the raid before grub kicks in?
[21:39] <lifeless> hardware or software raid ?
[21:39] <kinygos> during boot, i get the error ALERT! /dev/disk/by-uuid/e68d4... does not exist. Dropping to a shell....
[21:39] <kinygos> software
[21:39] <kinygos> with md
[21:40] <lifeless> having /boot on that is extremely tricky.
[21:40] <lifeless> there are some guides around - I suggest googling. I don't know if it works with grub2.
[21:51] <fluvvell> ecelis, I struggled with the whole xdmcp thing earlier this year for a remote user who only needed email and firefox. I settled for straight ssh with certificates. Two icons on the desk for the email and browser called the programs directly on the server. But what I found was that xdmcp is going through some major changes so things are not working right.
[21:53] <fluvvell> ecelis, certainly not for lucid. Things were easier with 9.04, but there was no real security on the connection. Fine for a relatively closed local network.
[21:55] <mgolisch> nx ftw
[22:11] <eagles0513875> hey guys im having issues with mysql server 5.1 and it accepting remote connections from my laptop how can i fix that
[22:13] <pmatulis> eagles0513875: make sure the server's authentication tables are set up appropriately.  also, that the server is listening on the appropriate interface & port you're trying to connect to
[22:14] <eagles0513875> pmatulis: im using the default 3306 port
[22:14] <pmatulis> eagles0513875: then investigate the other stuff
[22:16] <eagles0513875> pmatulis: not sure what else is wrong
[22:17] <pmatulis> eagles0513875: did you set up authentication for your connecting user (or host)?
[22:19] <eagles0513875> pmatulis: i dont have a 2nd user setup yet
[22:19] <eagles0513875> only root user
[22:19] <pmatulis> eagles0513875: you're trying to connect with the root user?
[22:19] <mgolisch> so you cant connect at all?
[22:19] <eagles0513875> nope
[22:19] <mgolisch> did you enable network?
[22:20] <eagles0513875> this is the error i got FHost '192.168.2.101' is not allowed to connect to this MySQL serverConnection closed by foreign host.
[22:20] <mgolisch> by default mysql only allows local connections via a unix socket
[22:20] <eagles0513875> wait a min
[22:20] <mgolisch> oh that looks like a message from your mysql server
[22:21] <eagles0513875> ya
[22:21] <eagles0513875> i tried telnetting into the port
[22:21] <eagles0513875> humm
[22:21] <eagles0513875> humm
[22:22] <pmatulis> eagles0513875: is the server allowing root to connect from your host?
[22:22] <eagles0513875> nope :(
[22:22] <eagles0513875> im using mysql qorkbench to connect and its not
[22:23] <eagles0513875> workbench*
[22:23] <mgolisch> does it give the same message there?
[22:24] <eagles0513875> yes
[22:24] <mgolisch> odd never saw a message like that, looks like somekind of tcpwrapper host.allow/deny thing
[22:26] <mgolisch> eagles0513875: maybe look at your mysql.user table
[22:27] <mgolisch> it probably does not contain the hostname you connect from
[22:27] <eagles0513875> mgolisch: should in this case use my internal ip since im on the same subnet as the server
[22:27] <mgolisch> you probably only have an etry for user = root host=localhost
[22:27] <pmatulis> eagles0513875: so you need to tell the server to allow the connection
[22:27] <mgolisch> that wont allow connections from any host but localhost
[22:28] <eagles0513875> exactly
[22:28] <eagles0513875> wait a min
[22:31] <eagles0513875> mgolisch:  and pmatulis i think there is also another serious issue Lost connection to MySQL server at 'reading initial communication packet', system error: 61
[22:31] <eagles0513875> networkign issue
[22:32] <eagles0513875> :(
[22:32] <eagles0513875> what ip should i be using to try and access the server my internal ip or external
[22:34] <mgolisch> how do you access it?
[22:35] <mgolisch> also what does the bind-address line look like in your my.cnf?
[22:36] <eagles0513875> mgolisch: atm im on the internal network
[22:36] <eagles0513875> but when im not home ill access with the static ip i have
[22:36] <eagles0513875> and the bind-address atm is local host
[22:36] <mgolisch> it should have the ip you want it to listen on there or 0.0.0.0 to listen on all availiable ips/interfaces
[22:36] <eagles0513875> not sure what to put it
[22:36] <eagles0513875> ahhh ok
[22:37] <mgolisch> this probably fixes your error
[22:37] <eagles0513875> nope :(
[22:37] <eagles0513875> restarting server maybe that does it
[22:37] <eagles0513875> lol
[22:37] <eagles0513875> my server sounds like an airplane at boot up
[22:39] <eagles0513875> mgolisch: Host '192.168.2.101' is not allowed to connect to this MySQL server
[22:39] <eagles0513875> im out for now mgolisch
[22:39] <eagles0513875> ill try figure this out during lectures
[22:39] <eagles0513875> can talk to the work bench devs
[22:39] <eagles0513875> maybe get some help from them
[22:40] <mgolisch> its because of the user table
[22:40] <mgolisch> it doesnt contain that host
[22:41] <eagles0513875> ok
[23:21] <corpsegrindr> Hey, i was wondering if it is possible to limit user access to certian files on a network based on there ip address
[23:53] <Guest81533> i need to create a grub.conf file for a mounted drive that has my ubutu-server insalled on it... i installed grub with grub-install but that didn't create the grub.conf file... grub-mkconfig returns error about no finding /
[23:53] <Guest81533> using a live CD to try and fix the problem
[23:55] <eriksson25> how do I restart the vsftpd deamon ?
[23:56] <iarp> eriksson25: stop and then start it.
[23:57] <eriksson25> with what? Not init.d it complaines. Wont me to use service vsftpd restart but id dont work
[23:57] <iarp> eriksson25: /etc/init.d/vsftpd stop then start.
[23:58] <eriksson25> Rather than invoking init scripts through /etc/init.d, use the service(8)
[23:58] <eriksson25> utility, e.g. service vsftpd stop
[23:58] <eriksson25> Since the script you are attempting to invoke has been converted to an
[23:58] <eriksson25> Upstart job, you may also use the start(8) utility, e.g. start vsftpd