[00:18] <storrgie> is there a way in bash to check to see if a specific process is started by name?
[00:19] <storrgie> like an rsync job?
[00:21] <pwnguin> ps aux?
[00:22] <storrgie> aux
[00:22] <storrgie> ?
[00:22] <pwnguin> a command
[00:22] <pwnguin> "ps aux"
[00:23] <storrgie> thats going to give me a list of them right?
[00:23] <storrgie> Im looking to schedule a cron job to see if a specific process is running, if not start it again
[00:24] <pwnguin> a quick way would be to restart it
[00:24] <pwnguin> if it's got init.d scripts
[00:25] <storrgie> nope, like I said, its an rsync job
[00:25] <storrgie> these jobs will change daily
[00:25] <storrgie> i just want to make sure they run at night
[00:25] <pwnguin> well, ps is your friend
[00:26] <pwnguin> it can list out running processes by command line
[00:26] <pwnguin> you can grep for rysnc
[00:26] <pwnguin> or even the specific command line you're after
[00:26] <storrgie> procs=`ps -ef | grep rsync | wc -l`
[00:26] <storrgie> but if i am running multiple rsync's and one goes down...
[00:27] <giovani> that's messy
[00:27] <storrgie> giovani: I know :(
[00:27] <giovani> try using pidof
[00:27] <giovani> that's much cleaner
[00:27] <storrgie> pidof?
[00:27] <giovani> yep
[00:27] <storrgie> can you give an example?
[00:27] <giovani> #pidof apache2
[00:28] <giovani> read the manpage :)
[00:28] <giovani> it's a useful tool
[00:28] <storrgie> sure but... lets say I start two processes like this
[00:28] <storrgie> screen rsync --partial --progress --rsh=ssh dfh@dfhserv:/somefiles /somefiles
[00:28] <storrgie> two different ones
[00:28] <giovani> yes, and?
[00:28] <pwnguin> presumably, you'd like to know which of the two fell down
[00:29] <storrgie> yes
[00:29] <storrgie> so any idears?
[00:29] <giovani> you haven't fully explaing what you want
[00:29] <pwnguin> im not entirely sure why you need to monitor rsync
[00:29] <storrgie> alright
[00:29] <storrgie> I have ATT DSL here
[00:30] <storrgie> I have a remote server in france
[00:30] <storrgie> hundreds of gigs worth of files
[00:30] <storrgie> like 5GB generated daily
[00:30] <storrgie> I want to get those files daily
[00:30] <storrgie> but they are stored in multiple folders on the server
[00:30] <storrgie> so lets say I have two different dirs
[00:30] <storrgie> /files/a and /files/b
[00:30] <storrgie> I want to rsync both of them
[00:30] <pwnguin> is there a files/c?
[00:30] <storrgie> if my internet drops
[00:31] <storrgie> yes, however I dont want those
[00:31] <storrgie> so i cant just do /files
[00:31] <storrgie> if my net drops, rsync dies right?
[00:31] <storrgie> screen rsync --partial --progress --rsh=ssh dfh@91.121.193.183:SOURCE DEST
[00:31] <storrgie> thats why --partial is in there
[00:31] <pwnguin> what you could do, is just script out all the rsyncs
[00:32] <storrgie> heres what I am doing right now
[00:32] <pwnguin> its not like this is going to be improved by parallelism
[00:32] <storrgie> with 1 process
[00:32] <giovani> why are you screening rsync?
[00:32] <storrgie> http://pastebin.com/m462ff5e1
[00:32] <storrgie> so i can see it
[00:32] <storrgie> see if somethings up
[00:32] <giovani> haha
[00:32] <giovani> use a log file man
[00:32] <giovani> that's very much an inproper use of screen
[00:33] <pwnguin> kill -USR1 or something like that
[00:33] <storrgie> regardless, I want to run multiple rsyncs because the server will dish at 200k per connection
[00:33] <storrgie> I can do up to 3 connections with my DSL then
[00:33] <giovani> pwnguin: log file
[00:33] <pwnguin> giovani: does rsync log anything of note?
[00:33] <giovani> pwnguin: absolutely, if you want it to
[00:33] <storrgie> regardless
[00:33] <storrgie> regaaaardless
[00:33] <storrgie> would like to run two of them
[00:33] <storrgie> cron a check
[00:34] <storrgie> screen is not the issue here
[00:34] <storrgie> its checking to see if they are indeed running
[00:34] <giovani> well that's not the "right" way to do what you want, is the point
[00:35] <storrgie> so if rsync dumps to a log
[00:35] <storrgie> can I tail the log and check to see if it died recently?
[00:35] <giovani> of course, but, that's not the issue that we're addressing right now
[00:35] <storrgie> hahaha
[00:35] <storrgie> alright im open to suggestions
[00:35] <giovani> you wanted to move on from that
[00:35] <giovani> so I'm moving on
[00:35] <storrgie> we can come back to it
[00:35] <giovani> I'd write a wrapper for rsync
[00:35] <storrgie> i just figured that it might also be the answer
[00:36] <giovani> to check its exit status
[00:36] <giovani> if it exits non-zero, then we know it failed
[00:36] <storrgie> so wait
[00:36] <pwnguin> while [rsync]
[00:36] <giovani> checking ps with cron is MESSY
[00:36] <giovani> and not proper for this
[00:36] <giovani> knowing if an app failed for some reason is the reason we have an exit status
[00:36] <storrgie> ok im very new to linux and bash, can you give me an example of this?
[00:37] <giovani> sure, I just found one on google, if you don't want to write one yourself
[00:37] <giovani> http://dyn.yoderhome.com:8080/rsync_retry.pl
[00:37] <storrgie> yea i understand exit status I have been programming for a while
[00:37] <pwnguin> then write a loop
[00:37] <giovani> that script does things properly
[00:37] <pwnguin> that checks rsync for failures, and repeats until it exits cleanky
[00:37] <giovani> no, a loop is going to be non-intelligent here -- that perl script is actually pretty decent
[00:37] <pwnguin> cleanly
[00:38] <giovani> it keeps track of the log
[00:38] <giovani> and uses that to exclude transfers its already done
[00:39] <storrgie> im investigating it
[00:39] <storrgie> alright but wait....
[00:39] <storrgie> this process just RUNS until complete right?
[00:39] <storrgie> I dont need to cron this calll
[00:40] <giovani> no ... no cron
[00:40] <giovani> cron is not appropriate for this
[00:40] <storrgie> so just run this sucker, in the way he said... lets say I loose internet for 15 minutes
[00:40] <storrgie> its gonna call rsync like 100 times during that
[00:40] <storrgie> or 100000
[00:40] <giovani> so put a wait in there
[00:40] <storrgie> doesnt matter, eventaully when internet comes back up
[00:40] <storrgie> it will call
[00:40] <giovani> I thought you were a programmer?
[00:40] <storrgie> giovani: I am, however Im wondering if the overhead is even an issue
[00:41] <giovani> overhead of what, exactly?
[00:41] <storrgie> not a perl programmer
[00:41] <giovani> if you're concerned about retry
[00:41] <giovani> a wait/sleep function is not even close to perl-specific
[00:41] <storrgie> calling rsync a hundred times a second for 15 minutes
[00:41] <giovani> it's a general programming concept
[00:41] <storrgie> completely understand man, however I just wanted to ask
[00:41] <pwnguin> its unclear to me how you could have the question without knowing the answer
[00:42] <giovani> ?
[00:42] <storrgie> you guys have been a big help, thank you
[00:42] <pwnguin> you're worried about it running too fast, sleep is the first, best and last option (unless it's called wait)
[00:42] <giovani> storrgie: if you're concerned about extended outages like that (and not just connection drops) putting a wait/sleep function in there to wait a minute before restarting rsync will address that
[00:43] <storrgie> yep, I added a parameter to the call
[00:43] <storrgie> is wait for perl just 'wait(int)'
[00:43] <giovani> google
[00:43] <pwnguin> i worry
[00:43] <storrgie> why not ask here and get a quick answer, if i wasnt on IRC i would be googling
[00:43] <pwnguin> wait might be some process thing
[00:44] <giovani> storrgie: you should google a simple question like that
[00:44] <giovani> before asking
[00:44] <storrgie> im sorry are we making the IRC logs too long?
[00:44] <giovani> nope, it's about putting forth some effort on your own
[00:44] <giovani> the perl function is sleep, not wait, as pwnguin brings up
[00:45] <storrgie> yep i see that
[00:45] <pwnguin> then wait is probably "wait for this process to finish"
[00:45] <giovani> pwnguin: indeed
[00:46] <pwnguin> i dont even need google to guess these things ;)
[00:47] <pwnguin> anything networking related with a loop ought to sleep or face someone's wrath
[00:48] <pwnguin> every once in a while someone doesn't get that memo and our CS department subnet gets banned from google
[02:28] <lovegrows> anyone running on EC2?
[02:35] <lovegrows> Hi Roak, these guys are quite in here
[02:36] <owh> lovegrows: Only if we have nothing to say :)
[02:37] <lovegrows> true, the other channels can get noisy
[02:54] <PhotoJim> quite quiet, even :)
[03:07]  * genii quietly makes another pot of coffee
[03:10] <owh> genii: That's two in less than 24 hours. Are you running a temperature?
[03:11] <lovegrows> any thoughts on amazons EC2?  running ubuntu server
[03:11] <genii> owh: Nah. Just like my coffee :)
[03:14] <owh> Yesterday I got asked about apache and the load balancer under 9.04. The only reason the person asking was leaving 8.04LTS on a production server was to get the load balancer. Is there any notion what would be involved to getting that under 8.04?
[09:14] <celephais> Hi, i create a partition with cfdisk, it ask to reboot but after that the new partition disappear.why? ubuntu server 8.04
[09:52] <acalvo> hi!
[09:52] <acalvo> is there an easy way to migrate from desktop to server?
[09:57] <blue-frog> acalvo: a server is a desktop with server programs
[09:57] <blue-frog> and without gui.
[09:57] <acalvo> yes
[09:57] <acalvo> and that is what i need
[09:57] <acalvo> but I hope there is some metapackages you can install that will uninstall everything that needs a desktop
[09:57] <blue-frog> install the programs and disable gui
[09:58] <acalvo> em, well, I'll try
[10:20] <ttx> andol: do you still plan to handle the nagios3 merge ? I'm about to do it, but I can let it to you if you want to learn the process (and answer any question you may have)
[10:22] <soren> I thought nagios3 was in main?
[10:22] <ttx> soren: it is. Handle it doesn't mean upload it ;)
[10:23] <soren> ah :)
[10:43] <andol> ttx: Yes, I would still like to do the merge. It is just that I have been rather busy at work lately and haven't really felt up to digging into new tasks.
[10:43] <ttx> andol: I'll leave it to you then.
[10:44] <andol> ttx: Thanks. Actually, I have a day off tomorrow. I'll start looking into the merging process then.
[10:44] <ttx> andol: ok :)
[10:44] <andol> ttx: Expect questions :P
[10:45] <ttx> andol: do you want to look at nagios-plugins as well ? I just looked at it, it's just slightly more complex.
[10:45] <ttx> think of it as a level 2 exercise :)
[10:46] <ttx> if you don't think you'll have the time, I'll just do it now
[10:46] <andol> ttx: Well, then I put it second on my list :)
[10:46] <ttx> ok.
[10:48] <andol> ttx: Anyway, I'm off for work now. Thanks for the offer of help as well as the suggestions.
[10:49] <ttx> andol: you're welcome
[14:50] <ehazlett> anyone get xen running with 9.04?
[14:58] <g33k_g1rl>  I am running an ubuntu server, with a windows share -- on the office WinXP machines, the winShare works just fine, but on the new Win7 machine, I don't seem to have write or execute permissions
[15:02] <coffeedude> g33k_g1rl, Probably a better question for #samba (if I understand you correctly, that the ubuntu host is the Samba server)
[15:02] <Lakota> what is fglrx ?  is it open source for linux users to create a better driver or is it ati/amd try at a linux driver? and what is the future hold for this driver......?  I have a integrated ati 200m in my hp laptop with 64 bit amd possessor
[15:04] <g33k_g1rl> coffeedude: thanks, will do
[16:18] <fevel> hello
[16:18] <fevel> I foound an entry on syslog:
[16:18] <fevel> May 13 09:20:43 spyman syslogd 1.5.0#2ubuntu6: restart.
[16:19] <MkJackson> Hey Folks, I have a wireless network card on my server which doesn't seem to have been detected on install.  I was curious of how to get it upand running.  It's as simple as plug and play on windows but I'm a total n00b with this elegant beast... :-)
[16:19] <fevel> how can I find out the reason for this strange reboot?
[16:19] <MkJackson> Figure it would be good to know even for when I add another NIC in there for routing purposes
[16:22] <MkJackson> Strangeness on this end, please excuse if this is a double post but I'm not sure if the previous two went through at all...
[16:22] <MkJackson>  Hey Folks, I have a wireless network card on my server which doesn't seem to have been detected on install.  I was curious of how to get it upand running.  It's as simple as plug and play on windows but I'm a total n00b with this elegant beast... :-)
[16:22] <MkJackson> Figure it would be good to know even for when I add another NIC in there for routing purposes
[16:22] <MkJackson> Again, my apologies if this had already gone through... :-(
[16:23] <ball> Will Ubuntu Server live happily within a Xen domU?
[16:27] <soren> ball: Yes.
[16:28] <ball> hello soren!
[16:29] <ball> brb, rebooting
[16:34] <wo0f> is freenx joining the repo anytime soon does anyone know?
[16:46] <orudie> question. Can someone recommend a web based tech support system to keep records of tech support calls to my organization ?
[16:56] <soren> orudie: I only know of rt.
[16:56] <soren> request-tracker3.6 - Extensible trouble-ticket tracking system
[17:00] <summ1else1985> Hey all
[17:01] <summ1else1985> I have some questions if anyone has time to answer them. I'm sure they're quick responses.
[17:01] <ball> !ask summ1else1985
[17:02] <ball> summ1else1985: what are your questions?
[17:02] <summ1else1985> well, I'm trying to set up a server at my workplace
[17:02] <summ1else1985> it's ltsp machine, but for the most part, that software all works fine
[17:02] <summ1else1985> the issue i'm having is whether or not I can create my network in the way I want
[17:02] <summ1else1985> Is there a better channel for such questions?
[17:03] <summ1else1985> Basically the server is statically assigned an address on eth1
[17:03] <summ1else1985> and then passes out IPs as a DHCP server on eth0
[17:03] <ball> That makes sense.
[17:04] <ball> Are your terminals attached to eth0?
[17:04] <summ1else1985> yep
[17:04] <summ1else1985> the default subnet of the first network (the main one for our branch) is 192.168.252.0
[17:04] <summ1else1985> errr
[17:05] <summ1else1985> subnet ID
[17:05] <summ1else1985> and for the DHCP server it would be 192.168.0.0
[17:05] <ball> That's a subnet mask.
[17:05] <summ1else1985> i would think the subnet mask was 255.255.255.0
[17:05] <summ1else1985> for both networks
[17:06] <ball> why would you do that?!
[17:06] <summ1else1985> lol
[17:06] <summ1else1985> it wasn't intentional i promise!
[17:06] <summ1else1985> so where should I go from here
[17:06] <summ1else1985> the clients NEED to see things on the main network
[17:06] <summ1else1985> one thing to be quite precise
[17:07] <summ1else1985> I only care about them seeing one IP address (192.168.252.111)
[17:07] <ball> summ1else1985: what do they need to see?
[17:07] <ball> (and why?)
[17:07] <summ1else1985> err 192.168.252.250 is the right one, it's a remote desktop server
[17:07] <ball> They should get everything they need from the server.
[17:07] <summ1else1985> once they connect to that they will have normal access to the network
[17:07] <ball> summ1else1985: why though?
[17:08] <ball> Your terminals shouldn't *need* access to the network
[17:08] <ball> (the non-terminal Ethernet that is)
[17:08] <summ1else1985> Well, the idea here is that anyone who plugs into the client side of this server (eth0) will PXE boot into an rdesktop session and connect to the Windows 2k Remote Desktop Server
[17:08] <summ1else1985> because the application they need to run must be in DOS (it will not run in an emulator for whatever reason)
[17:09] <ball> eww.
[17:09] <summ1else1985> yeah
[17:09] <summ1else1985> it's a nasty beast of a project
[17:09] <summ1else1985> if i can get it working... hey awesome and I'll tell everyone how
[17:09] <ball> I suppose you could configure your Ubuntu Server box as a router
[17:09] <summ1else1985> using iptables?
[17:09] <ball> (to just that one IP address)
[17:10] <ball> Using whatever Ubuntu Server uses as a router.
[17:10] <summ1else1985> this particular machine is running Ubuntu 8.10 alternate
[17:11] <summ1else1985> I could have sworn this was supposed to be fun when I undertook it
[17:11] <ball> I probably would be if you were doing something sane with it.
[17:11] <summ1else1985> yep
[17:11] <summ1else1985> that much is too true
[17:12] <summ1else1985> so you're thinking if I foward everything to that IP address
[17:12] <summ1else1985> that I can see that machine and connect to it
[17:12] <ball> Not everything.
[17:12] <ball> Just permit the terminals to open a connection to that host if they request it.
[17:12] <ball> (for that protocol only)
[17:12] <summ1else1985> cool
[17:13] <summ1else1985> so it's definitely possible
[17:13] <summ1else1985> albeit complicated and ridiculous
[17:13] <ball> Sounds possible, the tricky part is setting up routing on your Ubuntu Server, which in an ordinary ltsp environment you probably wouldn't need to do.
[17:13] <summ1else1985> I just wanted to know for sure before I spent any more hours reading up on how to configure the routing for such a thing
[17:13] <summ1else1985> yep\
[17:13] <summ1else1985> that's what I'm finding
[17:14] <ball> There are alternative approaches, but that's what I would probably try first.
[17:14] <summ1else1985> ok
[17:14] <summ1else1985> i'll be back if I decide that I need to destroy everything and start over
[17:15] <summ1else1985> As I understand it I could have probably just made it so the LTSP server handed IP addresses down from our main DHCP server too?
[17:16] <ball> Wait, you said that your Ubuntu Server box had a static IP address on the (non-terminal) LAN
[17:16] <ball> ...but that LAN has a DHCP server?
[17:16] <summ1else1985> well technically it could be DHCP if i wanted
[17:16] <summ1else1985> yep
[17:17] <summ1else1985> I sound stupid for not just using that don't i?
[17:17] <ball> No, I would still hand them out IP addresses from the Ubuntu Server box
[17:17] <summ1else1985> That server is beginning to come into Lease problems, we recently expanded the pool
[17:17] <ball> ...since they're on their own Ethernet
[17:17] <summ1else1985> ok
[17:18] <ball> ...and you probably want to do that anyway to help with the boot.
[17:18] <summ1else1985> yeah
[17:40] <SFauconnier> I've set up a DHCP server with eth0 distributing IP adresses into the network.. everything works fine, but how do I forward a port to my laptop? (with intern IP 192.168.1.2)
[17:41] <SFauconnier> I've opened the port with ufw, but how do I forward it?
[17:41] <SFauconnier> (yes, I'm a novice)
[17:41] <ball> SFauconnier: why would you?
[17:42] <SFauconnier> my bittorrent client on my laptop will go faster if I open up a port on my server and forward it to my laptop
[17:42] <ball> That makes no sense to me.
[17:42] <SFauconnier> ball: sorry, I'm really new to all this :) I'll try and explain it again
[17:43] <keltor> Should be an easy question ... I have a colocateed server that I wish to wipe back to stock & standard 9.04 server + openssh-server.  Is there any easy way of doing this?
[17:43] <ball> If your laptop needs access to the Internet, why have it behind your Ubuntu server?
[17:44] <SFauconnier> ball: the server has dhcp installed and acts as a router
[17:45] <ball> Ah okay.  An odd choice, but okay.
[17:45] <SFauconnier> now I need to forward port xxx to my laptop, so it can use bittorrent and battle.net, etc
[17:45] <Keltor|Work> SFauconnier: why not use upnp?
[17:45] <SFauconnier> ball: why is that an odd choice?
[17:45] <SFauconnier> Keltor|Work: what's upnp?
[17:46] <Keltor|Work> SFauconnier: most windows software will try to have a port opened up via upnp from the router. that way it's automagical
[17:46] <ball> SFauconnier: most people (I'm assuming this is at home) would run an inexpensive (if hideous) off-the-shelf router that draws about 5 Watts.
[17:46] <jdstrand> the ufw cli command does not support port redirections. you must edit /etc/ufw/before.rules. See /usr/share/doc/ufw/README.gz for details
[17:47] <Keltor|Work> ufw works fine with linux-igd now i believe
[17:47] <Keltor|Work> no ... that's debian that it's fully integrated with
[17:47] <Keltor|Work> ubuntu removed it entirely
[17:48] <SFauconnier> ball: the server also acts as a local apache and svn server for my 'bussines', for learning purposes I made a router out of it, so I can drop the off-the-shelf one
[17:48] <SFauconnier> and well, learn
[17:48] <SFauconnier> Keltor|Work: thanks, I'll look into that
[17:48] <ball> Ah okay.
[17:49] <ball> I have a server here too, but it's behind the router.
[17:50] <SFauconnier> also, I only have a switch and a wireless router, if I were to put the server and the router both behind the switch, my computers and the server wouldn't be connected in a local network anymore (server doesnt have wifi)
[17:50] <SFauconnier> hence I installed dhcp and put the wireless router behind the server (but acting as a bridge, not a router)
[17:50] <ball> the wireless router takes care of that for you.
[17:50] <ball> brb, phone
[17:51] <Keltor|Work> usually best to get something like a wrt54g, have it do wireless, dhcp, dns, and those basics.  then it can port redir to your server
[17:52] <SFauconnier> but there's no fun in that :o)
[17:52] <SFauconnier> I've learned a lot the past 2 days
[17:52] <SFauconnier> just by messing around
[17:52] <Keltor|Work> understood
[17:52] <SFauconnier> but thank you for the advice, didnt want to sound cocky
[17:52] <SFauconnier> I appreciate it
[17:52] <Keltor|Work> i've gone through a lot of effort lately to reduce my power usage
[17:53] <Keltor|Work> i started figuring out my power utilization and realized .... I am wasting $100USD/month on nothing
[17:54] <Keltor|Work> my server was aging so I bought a qnap
[17:55] <Keltor|Work> the qnap is awesome actually
[17:55] <Keltor|Work> 81W in full operation with 1.5TB drives
[17:58] <chris_> how can i launch my znc as my user (chris)
[17:58] <Keltor|Work> znc &
[18:14] <SFauconnier> anyone know how I can start/stop/restart upnpd in ubuntu server 9.04? can't find it in /etc/init.d
[18:14] <chris_> Whoops i mean how can i launch znc during boot :D
[18:17] <gorgonzola> hello. i have a tricky question: i have an old gutsy box (dont ask) and i want to upgrade it to hardy over the network. is it possible to a) reinstall the os over the network via ssh or b) upgrade to hardy using the install cd, as with alternate desktop releases of (k)(x)(ed)ubuntu, and how should t be done? thanks!
[18:57] <MatBoy> someone using fuzzyocr here on Ubuntu ?
[19:12] <chris_> anyone know how i can launch znc as my user on boot?, rc.local is only for launching as root right?
[19:15] <_ruben> could try putting: su - youruser -c /path/to/znc in it
[19:17] <chris_> =\
[19:32] <ClaytonG> Hi, I'm running 9.0.4 with mysql-server-5.1, snort-mysql installed.  They are working just fine.  I also want to install acidbase but acidbase package has a depency of mysql-client which is the 5.0 client.  Any suggestions?
[19:52] <mathiaz> ClaytonG: you'd have to rebuild the acidbase package
[19:53] <mathiaz> ClaytonG: and modify the Dependency to list mysql-client-5.1 instead of mysql-client
[19:54] <big_ham> hey guys ... have a ubuntu server issue with both network adapters showing down
[19:55] <big_ham> the server has ubuntu base running multiple Windows VMWare guests
[19:55] <big_ham> all I did was to change the IP address and put the server behind a router and now both interfaces show down no matter what I do ... changing it back to the prior config does no good
[20:27] <chris_> can i run a speedtest from the command line?
[20:29] <LHC> heyy
[20:35] <LyonJT> LHC hey
[20:36] <LHC> :D
[20:37] <LyonJT> How are you?
[20:38] <LHC> gd gd, tryin to keep busy haha
[20:38] <LyonJT> Sound's good! What you trying to keep busy with?
[20:39] <LHC> ahh Im settin up a dedicated server seller site
[20:39] <LHC> going to learn how to make lots of webhosts from one server
[20:39] <LyonJT> Sweeet!
[20:39] <LHC> amm "podcast" host like libsyn xD
[20:39] <LyonJT> Sound's good!
[20:40] <LHC> yeah hopefully itll bring in some money
[20:40] <LyonJT> Best of luck!
[20:40] <LHC> im sure if I do it good people will be willing to pay haha
[20:40] <LHC> thanks
[20:40] <LHC> what about u
[20:41] <LyonJT> Indeed they will! Just the usual! Trying to learn PHP at the moment
[20:41] <LyonJT> And ASP.Net
[20:42] <LHC> D: I heard of asp before, is it for corporate things? im not sure
[20:42] <LyonJT> It's like PHP but microsoft implementation of it
[20:42] <LHC> does it suck? xD
[20:43] <LyonJT> Haha lol
[20:43] <LyonJT> Na i kinda like it!
[20:43] <LyonJT> Taking a course in it at the moment
[20:43] <LHC> online or irl haha
[20:44] <LyonJT> irl?
[20:44] <LHC> in real life
[20:44] <LyonJT> Ohh
[20:44] <LyonJT> Yes lol
[20:44] <LyonJT> It's part of my university course
[20:46] <LHC> ahh what is your course?
[20:46] <LyonJT> Business Information Systems
[20:46] <LHC> I do multimedia but may switch to finance or something. I can what the 4th year guys can do except they have a degree haha
[20:47] <LyonJT> Fair play
[20:47] <LyonJT> You enjoy it?
[20:47]  * ball sighs
[20:48] <LHC> not really its quite boring. I like the whole web startup company work place thing and conferences "vibe" but I would rather run the place and do design or dev work rather than be at the bottom haha hope that didnt sound bad
[20:48] <LyonJT> Haha lool i know what you mean!
[20:48] <LyonJT> very true!
[20:49] <LHC> ill just have to wait and see haha
[20:49] <LyonJT> Exactly!
[20:49] <ball> I need a job.
[20:49] <LyonJT> ball what job you looking for?
[20:50] <ball> LyonJT: I don't know.  Something.
[20:50] <LyonJT> Lol no idea at all?
[20:50] <LHC> aha
[20:50] <ball> Well, if I could take my pick I'd probably work for an ISP
[20:51] <ball> "beggars can't be choosers" though..
[20:51] <LHC> BETTER NOT LIMIT MY TORRENTS
[20:51] <ball> LHC: Torrents are a legitimate and sensible way to distribute medium sized files.
[20:51] <LHC> what sorta things do you need to work for one?
[20:51] <ball> medium to large.
[20:51] <LyonJT> I love torrents
[20:51] <ball> LHC: a local ISP.
[20:52] <ball> ...with an agreeable boss.
[20:52] <LHC> what sorta work can u do?
[20:52]  * ball shrugs
[20:52] <ball> I've done hardware, software and liveware over the years.
[20:52] <ball> ...so I'm fairly open-minded.
[20:53] <LHC> tell them lol say u are a jack of all traders and an essential tool for this economic hell
[20:53] <LHC> trades*
[20:53] <ball> I suppose I should set up my own ISP.
[20:53] <ball> Hate to think how much AT&T would charge me for a T-1 line though
[20:53] <ball> ...and PRI for the inbound callers.
[20:54] <LHC> haha cool
[20:54] <LHC> setup one for data center
[20:55] <LyonJT> Lool
[20:56] <LHC> seems like a good customer? xD
[20:56] <ball> LHC: who me?  I suppose I could.
[20:56] <ball> ...albeit a small setup
[20:56] <LHC> they all start small man :P
[20:56] <LHC> plus everyone is talking about isps blocking certain things etc
[20:56] <LHC> and how they would switch to someone else if they could
[20:57] <LHC> BE THAT person xD
[20:57] <LyonJT> ££££ money to be made!
[20:58] <ball> Suppose I need to sit down with a calculator and a telephone.
[20:58] <LHC> haha better than nothing?
[20:58] <LyonJT> Have fun!
[20:59] <LyonJT> Bugger doing  that
[20:59] <ball> LHC: only better than nothing if it doesn't cost me my house.
[20:59] <LyonJT> Haha
[21:00] <LHC> yeah I suppose haha
[21:00] <LHC> do something, could be like a major project for you, possiby millionaire xD
[21:01] <NativeAngels> how do i change it so a user can access the /home/user/pubilc_html folder
[21:04] <genii> NativeAngels: They should already be able to put whatever they want in there. Or do you mean by http://domain/~theirname               way?
[21:04] <NativeAngels> atm when they login they go to the /home/user folder
[21:05] <NativeAngels> but theres a public_html folder inside that
[21:05] <NativeAngels> so i want the user to also have access to the public_html folder
[21:05] <genii> NativeAngels: if they: cd public_html                  they should now be in there
[21:06] <NativeAngels> its so they can ftp pages to the folder
[21:06] <genii> NativeAngels: By default a user has access to al the subfolders of their home directory
[21:06] <NativeAngels> ok
[21:07] <NativeAngels> ive setup proftpd
[21:07] <NativeAngels> but not sure how to let the user upload to that folder
[21:11] <LHC> I remember I spent 12 hours trying to set up a vhost, and all along it was one # keeping it from happening
[21:11] <LHC>  xD
[21:11] <LHC> aka stick in there
[21:13] <genii> NativeAngels: If they are using some graphical ftp client normally it will show them the subdirs of their home dir, etc and allow navigation there. If they rae using CLI ftp they can still use the cd command to change dir as well.
[21:14] <LyonJT> 12 hours?
[21:15] <NativeAngels> i did but theres a permisions error when i use the public_html folder for webpages
[21:16] <LHC> lol well maybe 6
[21:17] <LHC> now I know to check everything xD
[21:21] <big_ham> anyone able to answer my eth down issue?
[21:23] <genii> NativeAngels: I've setup my .skel file to auto add public_html dir for new users. The ls -ld looks like:drwxr-xr-x 2 Username root 43 2009-04-21 18:16 public_html/
[21:27] <NativeAngels> how do i change the .skel file genii
[21:28] <genii> NativeAngels: Actually it's a directory   /etc/skel                   If you put stuff in there it will be auto-made in new user's home directories
[21:29] <looseparts> Hello. I want to swap out a 10/100 nic for a newer 1G one, but the only way I know how to do that is to reinstall and let it be detected... (I know - I'm pathetic... ) What's the right way to do it? Thanks.
[21:30] <genii> looseparts: There's a file to clean out the mac/ethX designation of the existing one, so the new will be again eth0. Give me a minute
[21:31] <genii> looseparts: /etc/udev/rules.d/70-persistent-net.rules
[21:32] <genii> looseparts: If the new card has a driver in *buntu it should auto load on boot and will be active immediately.
[21:35] <looseparts> Thank you! the new card works great if it's in the board when I install, so should be fine. what modifications do I make to the rules file?
[21:38] <racecar56> genii, guess what
[21:38] <racecar56> genii, i got a monitor to work on my server
[21:39] <genii> looseparts: Remove from the rules file the line which has the mac address of the adapter you are removing
[21:39] <genii> racecar56: Good :)
[21:39] <looseparts> perfect, I see that. Can't wait to get home and try it - Thanks a million : -)
[21:39] <genii> looseparts: This will prevent the new adapter from being eth1 for instance, when eth0 no longer exists
[21:40] <genii> looseparts: You're welcome
[21:40] <racecar56> genii, i have a usb flash drive with ubuntu server 9.04 installer on it thanks to unetbootin
[21:40] <racecar56> genii, but i can't seem to boot from it...
[21:41] <racecar56> genii, i ran qemu -hda /dev/sdb and it works like it should, nothing wrong with the flash drive...
[21:48] <racecar56> genii, dd might save the day >:D
[22:10] <garchotron> hello ubuntu sysadmins out there
[22:11] <garchotron> i have a little question that is buggin me out
[22:11] <racecar56> ya
[22:11] <racecar56> waht iz it
[22:11] <racecar56> *what
[22:12] <garchotron> i am mantaining a mirror in ubuntu server, i'm mirroring a couple of windows servers shares that comprise all mi office's data, we are in a stage of "pre migrating" all shares to samba authenticating against AD
[22:13] <garchotron> what bugs me out is this
[22:13] <garchotron> are there chances i'm loosing metadata (xattrs) by mirroring from smbmounted dirs? in ubuntu rsync is compiled w/o --xattr
[22:14] <garchotron> will it cause trouble later?
[22:20] <racecar56> any virtualization things that can emulate x64 processors AND attach a real hard disk to a vm?
[22:29] <soren> racecar56: I think all of them will.
[22:29] <soren> racecar56: kvm certainly does. Xen probably, too. VirtualBox allegedly too.
[22:30] <racecar56> soren, just tried kvm and it reboots all the time... and idk how to use xen, and virtualbox idk how to make it use real hdd
[22:32] <soren> What did you do with kvm?
[22:32] <racecar56> boot off a usb stick i made with unetbootin
[22:33] <racecar56> ubuntu server 9.04 64bit
[22:33] <soren> *sigh*
[22:33] <soren> I can't help you use it correctly if you're not telling me how you're using it now.
[22:33] <racecar56> im trying to get ubuntu on my hp mediasmart
[22:34] <racecar56> sudo kvm -hda /dev/sdb -hdb /dev/sdc -cpu qemu64 -m 512
[22:35] <soren> And what is /dev/sdb?
[22:35] <racecar56> sdb is my flash drive sdc is my sever's main hdd hooked up on usb
[22:35] <racecar56> /dev/sdb1 is a fat32
[22:35] <soren> And your flash drive is bootable?
[22:35] <racecar56> ya
[22:36] <soren> Ok. What exactly happens when you try?
[22:36] <racecar56> reboots every time it loads one of the kernel files... finding out now
[22:36] <racecar56> ubuninit
[22:36] <racecar56> i think that is initrd.img in another name
[22:37] <soren> How did you make this USB stick?
[22:37] <racecar56> unetbootin
[22:37] <soren> From what?
[22:37] <racecar56> it was on a windows laptop
[22:38] <soren> Based on what?
[22:38] <racecar56> ubuntu 9.04 64bit server
[22:38] <soren> An ISO?
[22:38] <racecar56> yea
[22:38] <soren> Why not just use the ISO?
[22:38] <racecar56> ummm... its a different computer
[22:38] <racecar56> im not on windows now
[22:39] <racecar56> im on ubuntu 9.04 desktop now... on my old laptop
[22:39] <soren> I don't know, to be honest. I don't know what unetbootin does to make stuff bootable. I'm not sure it'll necessarily work as a hard drive (which is what it becomes when you specify it like that)
[22:40] <racecar56> basically all i want to do is get ubuntu 9.04 on my mss
[22:40] <racecar56> mss = mediasmart server
[22:40] <soren> I have no idea what that is.
[22:40] <racecar56> hp mediasmart ex475
[22:40] <racecar56> i got it last december
[22:40] <soren> I have no idea what that is.
[22:40] <racecar56> k
[22:40] <soren> Does it matter?
[22:40] <racecar56> i guess not a lot...
[22:40] <soren> Ok.
[22:41] <soren> I think you're better off with the ISO.
[22:41] <soren> Otherwise, I need more info.
[22:41] <racecar56> how would i boot an iso on a real server?
[22:41] <soren> "ubuninit" is not something I've heard of before.
[22:41] <racecar56> it's a rename of initrd.img/gz or something like that
[22:42] <soren> racecar56: That mediasmart thing is a real server?
[22:42] <racecar56> soren, real as in physical
[22:42] <soren> Does it have a CD drive?
[22:42] <racecar56> no, but i have a usb one
[22:42] <soren> Well, that's one way.
[22:42] <soren> Does it have a USB port?
[22:42] <racecar56> 4 of em'
[22:42] <soren> Put the USB stick in that, then?
[22:42] <racecar56> i tried...
[22:43] <racecar56> it won't boot it for some reason
[22:43] <soren> How did you verify that it's bootable?
[22:43] <racecar56> if kvm can at least load the bootloader on there.........
[22:43] <racecar56> then it has to.
[22:43] <soren> Err... No.
[22:43] <racecar56> and it has boot flag according to gparted..
[22:44] <racecar56> take 2.... imma try booting usb on my sever
[22:44] <racecar56> uhh.. it still dosent see it
[22:45] <racecar56> when i first start it there isn't a boot logo thing
[22:45] <racecar56> then a phoenix award workstationbios screen comes, i hit DEL t get into setup
[22:46] <racecar56> there isn't a thing to let me boot off of something, no boot menu
[22:46] <racecar56> i set first boot device to be USB-ZIP...
[22:47] <racecar56> hey... i saw 'USB Flash Memory1.00' in the boot thing...
[22:48] <racecar56> but it didn't boot off of it :(
[23:37] <blizzkid> lo all. Seen the fact it's generally less crowded in this channel than in #ubuntu... Does anyone know/remember if shipit cd's were available at the time of 4.10 and 5.04?
[23:39] <yann2> yes
[23:39] <ScottK> blizzkid: It being less crowded here doesn't magically change what's on topic.
[23:39] <yann2> I did get a 4.10 cd
[23:39] <yann2> and I've been deaing 5.04 cds at university by pack of tens :)
[23:39] <blizzkid> ScottK: it's partially on topic, isn't it? ;)
[23:39] <yann2> aaaactually there wasnt a server versoin at that time
[23:40] <yann2> so it isnt :P
[23:40] <blizzkid> yann2: true, true
[23:40] <blizzkid> but asking the same question in #ubuntu has the same effect as asking my cat :p
[23:41] <blizzkid> anyways, I'm looking for someone who has a spare cd (and cover ofcourse) of 4.10, 5.04, 7.10 and 8.10 left to complete my historical set of ubuntu cd's :)
[23:50] <owh> I was asked about Apache 2.2.10 which adds the "bybusyness" loadbalancer. It's available in 9.04, but not in 8.04. It is the only reason that they were going to upgrade their production servers from LTS to 9.04. Is this a big-never gonna happen kind of thing, or is this a possibility?
[23:52] <owh> I was provided with links to bug reports and even check-ins, haven't had the time to check yet, but I wondered if this might be added to the next revision of 8.04
[23:53] <racecar56> there was a serverr version.... in a way
[23:53] <racecar56> *server
[23:53] <racecar56> it was on the same cd
[23:53]  * owh has at this time no idea what the difference in code is. I was assured that the loadbalancer itself was a separate kind of module, but it's not an apache .so as such.