[00:23] <Italian_Plumber> having an interesting problem with my DVD drive -- it can show the directory listing but can't read any of the data itself.
[00:25] <Italian_Plumber> http://pastebin.com/3g1TRrV7
[00:29] <ruben23> hi guys i have 50 PC unit want to used UNE to install, how to install them on a fastest way and all pc dont have disc drive..any suggestion...?
[00:39] <tyler_d> I am trying to install 10.04 64 bit and upon detecting the hard-drives it comes up with "Configure iSCSI volumes" I have tried 4 different hard drives, and I don't have an iscsi device, nor even a scsi drive, they are all sata drives....?
[00:41] <julianc> iSCSI is related to SAN. Is it only giving you iSCSI as an option?
[00:41] <tyler_d> julianc: yes, only the iSCSI option, or roll back, which just kills the system
[00:42] <tyler_d> it would appear that their is an option that is simply not there, ie. just whitespace that you can select - no menu option associated with it.
[00:43] <julianc> Tried using an alternate install disc or network install?
[00:43] <tyler_d> I have also tried to install install using a different usb device, thinking that this may be a corrupt installation genre - with the same result
[00:43] <tyler_d> would love to try a network install, however never done it
[00:44] <julianc> Did you get any messages about needing to load additional drivers for disk controllers?
[00:45] <tyler_d> no disk controllers involved, straight off the board, an xfx nvidia
[00:45] <tyler_d> 680i
[00:45] <tyler_d> ensured that the fakeraid was turned "off"
[00:45] <tyler_d> and have even flashed the bios for good measure
[00:52] <tyler_d> I have just changed to a different sata - changed the usb port that was being used, and restarted, and somehow now it has picked it up
[00:52] <tyler_d> however thats just silly
[00:56] <julianc> You were installing from a flash drive?
[00:57] <tyler_d> yes, I still am
[01:41] <Zelda> does samba share files over the WAN or LAN only?
[01:49] <julianc> Samba can share files over any network (even over the Internet).
[01:50] <julianc> Automatic detection of computers in a workgroup/domain is limited by subnet.
[01:52] <julianc> Ideally, one would keep Samba shares behind a firewall. Even if not using workgroups/domain as a major part of local network infrastructure, it's possible to just point to the Samba share by hostname/IP.
[02:04] <Zelda> julianc- thanks. I think what I want to do, is create an openssh or SFTP server then
[02:14] <bogeyd6-> Zelda, samba can share on both, and to setup ssh server just go to terminal and type "apt-get install openssh"
[02:14] <bogeyd6-> Zelda, sorry its just "ssh" not openssh
[02:15] <Zelda> bogey6: thanks!
[02:31] <bogeyd6> hmm
[02:44] <Zelda> Ok, so I'll create a share on my LAN so I can stream stuff to my xbox360. And for the later, should I install openssh? This has sftp correct? This would be for the people that are on different subnets and over the WAN.
[02:45] <Zelda> heres what I want to do to make it short. I want to have a server where my family can access it from their computers. They are not on my LAN. however I want to be able to share files and have them backup their machines on my server. Whats the best procedure to do this? (meaning the easiest)
[02:46] <Zelda> Or people are using PS3mediaserver.. is that easy to setup for my xbox360?
[02:48] <Zelda> trying to create a server, and run sw raid 1 and then backup to a drobo eventually.
[02:49] <Zelda> or question, is raid 1 good to run if say your primary hdd gets corrupted, it could corrupt the secondary couldnt it?
[02:51] <julianc> Can the Xbox 360 use SFTP natively, or at all?
[02:57] <Zelda> No. You can create like a "share" network drive on the xbox, but no sftp
[02:58] <jmazaredo> hi, why do many prefer command line on servers wothout gui? ive been using ubuntu server with gui and find it easier with gui
[02:58] <Zelda> what gui you using?
[02:58] <julianc> A GUI can consume precious resources that the server could otherwise be putting to good use.
[02:59] <bogeyd6-> people use servers jmazaredo for resource intensive multiuser applications and adding a GUI where none is called for takes away from those scarce resources
[02:59] <Zelda> indeed.
[02:59] <jmazaredo> yes but administering will be lot easier right?
[03:00] <jmazaredo> and with resources nowaday just a little it will consume
[03:00] <jmazaredo> servers ranging from 8 to 16gb ram a gnome or any gui will just use some
[03:01] <julianc> It could be easier, sure. One thing I sometimes do is install a few GUI-based tools, and run them over SSH with X11 forwarding turned on. That way, I have access to GUI tools without needing to have a desktop environment always running.
[03:01] <bogeyd6-> jmazaredo, administration ends up being more complicated the more servers you have running
[03:01] <jmazaredo> yes thats why i use gui
[03:01] <Zelda> anyone get my question, as to what im trying to do?
[03:02] <bogeyd6-> log into my 850 servers one by one and see why multissh is ftw
[03:02] <tyler_d> julianc: however like I am finding right now, utils like disk-util don't work well on remote connect, and quite often kill the server on X-forward
[03:02] <jmazaredo> 850 servers damn!
[03:02] <bogeyd6-> Zelda, no, im not clear on what you are trying to do
[03:02] <jmazaredo> if im using cli i will be doomed
[03:03] <julianc> Zelda: since the Xbox is Windows-based, it might be a good idea to go with Samba, since it's lowest common denominator for all the systems involved.
[03:04] <julianc> Much easier to set up Samba as a file server if you don't have to have authentication.
[03:04] <Zelda> bogeyd6: Im trying to build a server. I want to have my family backup to it and beable to share files and such. These family are not on my LAN, but over WAN. I want to know what I need to do to have them be able to backup/share files on my server. /
[03:04] <bogeyd6-> is this WAN internet based?
[03:05] <Zelda> julianc: yes. Thats what I was thinking using Samba for my intranet
[03:05] <Zelda> bogeyd6: yes
[03:05] <Zelda> obviously I want the most secure way of doing that.
[03:06] <Zelda> So on the intranet, use samba to share a network drive to other computers, including the xbox360. for Media. (i.e movies, music, photos)
[03:06] <bogeyd6-> I can think of no easy way
[03:07] <Zelda> however for the family that is on the WAN (internet) whats the easiest way to create a server?
[03:07] <bogeyd6-> The most secure method is obviously samba and vpn. The easiest is just samba with security = user. The fastest is probably to think of something else
[03:07] <Zelda> create an openssh and have them create accounts?
[03:08] <Zelda> yeah I dont want to really use ftp since its terribly slow.
[03:08] <bogeyd6-> having your whole family ssh is probably not in the realm of realistic
[03:08] <Zelda> yeah. true...
[03:08] <Zelda> so what is possible? VPN?
[03:09] <Zelda> so ftp would be the easiest then for people outside my lan right?
[03:10] <Zelda> i'm really wanting to go with the samba +vpn. if its the most secure.
[03:11] <Zelda> My router will support up to 5 VPN tunnels I think so I could have up to 5 people at once.
[03:11] <bogeyd6-> Samba is def the way to go
[03:11] <bogeyd6-> even with out VPN
[03:11] <bogeyd6-> !samba
[03:11] <bogeyd6-> :)
[03:11] <bogeyd6-> !vpn
[03:11] <Zelda> I thought samba wasnt secure over WAN.
[03:11] <bogeyd6-> :PP
[03:12] <bogeyd6-> samba is secure if you set the security level to user
[03:12] <bogeyd6-> then each person just maps a network drive with their username and password. easy as pie
[03:12] <Zelda> Ok, i'll do some reading. thanks for pointing me in the right directino.
[03:12] <julianc> That will require setting up the Samba server as its own domain controller, IIRC.
[03:13] <bogeyd6-> julianc, negative ghostrider
[03:13] <Zelda> the pattern is full. ...
[03:13] <bogeyd6-> samba will just use its local user/pass file
[03:13] <bogeyd6-> zelda setting up samba only takes about 4 minutes or so
[03:14] <Zelda> thanks. I will read on it. I may mess with it in a vm first before I acutally implement it out right.
[03:14] <bogeyd6-> the guide makes it look overly complicated but in reality you only install it, set security = user, then setup your shares for each person.
[03:14] <Zelda> oh thats real easy
[03:14] <bogeyd6-> i can post a share if you would like to see how one is setup
[03:15] <Zelda> sure, that would be cool
[03:15] <Zelda> you think an old p4 2gb ram is enough for that?
[03:16] <Zelda> I was thinking about getting something more energy efficient though
[03:16] <julianc> Should be more than enough, as long as it isn't churning 24/7.
[03:16] <bogeyd6-> Zelda, http://pastebin.ubuntu.com/442029/
[03:17] <bogeyd6-> think it will be just fine unless you plan on watching dvd quality movies over that net link
[03:17] <Zelda> julianc: what if i am planning on running it 24/7 but not accessing it constantly.
[03:17] <Zelda> bogeyd6: yeah I may eventually do that.
[03:17] <bogeyd6-> Zelda, obviously you dont want public = yes
[03:17] <Zelda> Im thinking of getting new hardware.. intel or amd.. I have some specs for though
[03:17] <bogeyd6-> glad i could help, gl
[03:18] <Zelda> bogeyd6:indeed
[03:19] <Zelda> I was planning on getting newer hardware, I have an i3-530 system spec'd out or an amd phenom II x2 specd. sound like that would work fine?
[03:19] <bogeyd6-> what kind of hdds?
[03:19] <bogeyd6-> storage subsystem is where its going to count the most
[03:21] <bogeyd6-> im using windows 7 for work in a vmware image rite now. i gotta say wow, makes me want to leave ubuntu
[03:25] <twb> bogeyd6-: I'm not stopping you.
[03:26] <Zelda> standard sata 3gb 500gb
[03:26] <Zelda> sorry had to get the cake iced. :P
[03:26] <bogeyd6-> twb, ty trent
[03:26] <bogeyd6-> Zelda, prob not fast enough
[03:27] <Zelda> sas?
[03:27] <bogeyd6-> i would drop the specs on that m/b proc and upgrade to scsi or sas drives, 15k rpms should do it
[03:27] <Zelda> or get the 6gb
[03:27] <bogeyd6-> cdw outlet prob has some rocking sas drives for around 100 each, score about 8 of them and put into a storageworks card or w/e
[03:28] <Zelda> then I might as well get like an hp ml series server.
[03:28] <bogeyd6-> depends on your fluidity
[03:29] <Zelda> were talking about $1k
[03:29] <Zelda> you dont think 3gb sata or 6gb sata would be fast enouhg?
[03:29] <twb> Zelda: what is this host for?
[03:30] <Zelda> samba server
[03:30] <Zelda> and backup server.
[03:31] <twb> We have a lot of hosts like that, serving small businesses (say, twenty people).
[03:31] <twb> We just use normal SATA in an md RAID1 or RAID5.
[03:31] <Zelda> yeah thats what I was thinking.
[03:32] <Zelda> sas or scsi yet superior.. gets expensive on a budget
[03:32] <Zelda> making a md raid 5 with like 1t or so.. maybe more.
[03:32] <Zelda> or raid 1 for 1Tb
[03:33] <Zelda> TB rather *
[03:33] <twb> Well, we'd normally buy disks with the best dollars-per-byte count
[03:33] <twb> Which is around 750 or 1TB at the moment
[03:33] <twb> No matter what size you buy, the users will fill it up
[03:33] <Zelda> well then i guess its 2 1TB for a TB of storage
[03:33] <Zelda> and then just add to it
[03:34] <twb> With RAID5, you lose one drive to parity, so of 3×1TB you get 2TB effective.
[03:34] <Zelda> yeah I know how raid works.
[03:34] <twb> OK :-)
[03:34] <Zelda> :)
[03:34] <Zelda> I worked at HP for 3 years, building servers.. heh
[03:35] <twb> My sympathy
[03:35] <Zelda> now I work at Cisco!
[03:35] <twb> Ha!
[03:36] <twb> My biggest bitch about cisco is their entry-level units run vxworks or something instead of IOS or linux
[03:36] <Zelda> bogeyd6: Thanks for the point in the right direction.
[03:36] <Zelda> julianc: you too
[03:36] <julianc> You're welcome.
[03:37] <Zelda> hahah ! yeah I know what you mean..
[03:37] <twb> To get a shell on this one here I have to ssh in (which gives me a crippled menu interface) then hit ^Z to suspend it and get a shell
[03:37] <Zelda> wtf is with the VXworks garbage anyhow?
[03:37] <twb> Zelda: the advantage over linux is that it can run in 8MB instead of 16MB
[03:37] <twb> AFAICT
[03:38] <Zelda> so you think that getting 3 1TB SATA would be quick enough for say roughly 10 people?
[03:38] <Zelda> over the internet
[03:38] <twb> Well, over the internet, the bottleneck will probably be the internet
[03:39] <twb> Cf. disk speed, bus speed, and (say) ADSL2+ speed.
[03:39] <Zelda> yeah, I wish I got utopia... they dont offer it in my area..
[03:39] <Zelda> :(
[03:40] <bogeyd6-> we got docsis 3.0 at my house, 55mbs
[03:40] <Zelda> but thats fast enough for people to use for a backup though
[03:40] <Zelda> lucky you man.. I only have 20mbps
[03:40] <twb> bogeyd6-: you can't get more than 22mbps (theoretical maximum) in my country
[03:40] <julianc> I'm slumming on 5. DOCSIS 3.0 is in the works.
[03:41] <bogeyd6-> thats a shame
[03:41] <bogeyd6-> it bounces from 46-55 but you gonna see 5.6MB/s downloads
[03:41] <Zelda> Comcast will support 3.0. I dont have the bandwidth. Im not going to pay them 100+ a month for just me.. heh
[03:41] <twb> Outside the major cities it's dialup (56kbps) uplink combined with satellite
[03:41] <bogeyd6-> twb, ick
[03:42] <Zelda> ha, where do you live? Canada?
[03:43] <Zelda> that really sucks though.
[03:43] <twb> .au
[03:43] <Zelda> ah... yeah that makes sense.
[03:44] <Zelda> lol, give some kangaroo's some adrenaline shots.. heheh
[03:45] <Zelda> well thanks twb for the advice as well.
[05:28] <twb> This is apparmour, right?
[05:28] <twb> [1077521.388157] audit(1275130499.951:7): type=1502 operation="file_lock" requested_mask="k::" denied_mask="k::" name="/var/run/utmp" pid=5406 profile="/sbin/syslog-ng" namespace="default"
[07:20] <corpse> im having an issue with pure-ftpd. I have all of my drives mounted to /home/ftpusers/username. They are all there with i do ls.  i have my ftp user root as /home/userftp/username. when i access the ftp with a remote computer i show zero files in the directory. i can create a folder from remote and then see that on my other systems. but then i cant see that new folder on the server
[07:20] <twb> corpse: http://mywiki.wooledge.org/FtpMustDie
[07:20] <twb> Use SFTP.
[07:49] <kaushal> hi
[07:56] <kaushal> I am running logrotate on ubuntu 8.04 hardy server. It causes high load on the server. I have set the nice priority to 19 Still no improvment
[07:56] <kaushal> Please suggest
[07:57] <kaushal> The size of the logfile is around 10Gb
[08:06] <twb> niceness won't reduce load
[08:07] <twb> rotate that logfile manually.  It's probably spending its CPU cycles gzipping it.
[08:07] <twb> logrotate won't cause significant load if you've been using it already
[08:13] <kaushal> twb: yes
[08:13] <kaushal> twb: any workaround ?
[08:13] <twb> 17:07 <twb> rotate that logfile manually.  It's probably spending its CPU cycles gzipping it.
[08:15] <kaushal> twb: i did that
[08:15] <kaushal> I usually call it from crontab
[08:15] <kaushal> It happens at 1 am
[08:17] <kaushal> twb: just want to understand you said to run it manually
[08:18] <twb> Wrong.
[08:18] <kaushal> I mean i did not understand that
[08:18] <twb> I mean something like "mv foo.log foo.log.oldandstupid"
[08:18] <twb> I don't mean "run logrotate from the command line"
[08:18] <kaushal> twb: its not possible
[08:18] <twb> That way logrotate won't see your ridiculously large historical logs, and will happily deal with small logs from now on.
[08:19] <kaushal> Every day the logfile size is around 10Gb
[08:19] <twb> Maybe you shouldn't log so much, then
[08:20] <kaushal> twb: any other way to handle it
[08:20] <twb> I don't know.
[08:20] <kaushal> sorry if i am bugging a lot
[08:22] <\sh> rsyncing the logs on one central logfile server which deals with logfiles much better...decreasing the logging in general...production environment shouldn't log everything...it should log errors and warnings (application logfiles) etc.pp. 10Gb is really a lot of cruft
[08:24] <kaushal> \sh: ok
[08:24] <_tydeas_> if i want a home dir to be created i must add to the  /etc/login.defs the line CREATE_DIR=1?
[08:25] <_tydeas_> if i want a home dir to be created when i useradd i must add to the  /etc/login.defs the line CREATE_DIR=1?
[08:42] <_tydeas_> I am facing a strange behavior. I have installed apache and php to my server but when trying to access a php file it does not rendered to the browser but i am prompt to download the file.why is that?
[08:50] <\sh> _tydeas_, check /etc/apache2/mods-enabled/ if php module is enabled...did you restart apache2?
[08:51] <_tydeas_> mod-enabled and restarted
[09:19] <ewook> hrm. Seems like I've broken postgrey when doing the upgrade from 8.04 to 10.04. anyone bumped into the same thing? (cant upgrade the package)
[09:21] <_tydeas_> how to determine version of my ubuntu server?
[09:22] <kaushal> _tydeas_: lsb_release -a
[09:29] <_tydeas_> For one more time,php files can be rendered in the browser but only for the once under /var/www. I want the php to render for each user i have this http://pastie.org/985296 in the config.
[09:35] <ivoks> _tydeas_: restart apache
[09:36] <ivoks> _tydeas_: and access your file with *w3m*, not firefox
[09:36] <_tydeas_> w3m?
[09:36] <ivoks> command line browser
[09:36] <_tydeas_> i have restarted apache
[09:36] <_tydeas_> why?
[09:37] <ivoks> cause firefox has a wicked cache
[09:37] <ivoks> w3m does't have it at all
[09:37] <ivoks> that makes it the best tool for testing changes in web pages
[09:38] <_tydeas_> ok it renders properly
[09:38] <ivoks> a month ago there was someone with the same issue
[09:38] <ivoks> and he was using firefox all the time
[09:38] <_tydeas_> what do i do know
[09:38] <_tydeas_> ?
[09:38] <\sh> why not disabling the cache in firefox? ;)
[09:38] <ivoks> _tydeas_: nothing, it's working; isn't it?
[09:39] <_tydeas_> you mean the problem was client side?
[09:39] <ivoks> yes
[09:40] <_tydeas_> tried google chrome same result
[09:40] <ivoks> does it render with w3m?
[09:41] <_tydeas_> yes
[09:41] <ivoks> then that's it
[09:41] <_tydeas_> and what the server users
[09:41] <ivoks> now why someone of your browsers don't reload the page from server
[09:41] <_tydeas_> they don't use w3m
[09:41] <ivoks> beats me
[09:41] <ivoks> try shift+f5 on firefox
[09:41] <ivoks> err... ctrl+shift+r
[09:42] <_tydeas_> where
[09:42] <_tydeas_> ?
[09:42] <ivoks> firefox
[09:42] <_tydeas_> when i try to access serverhost/~testing/index.php
[09:42] <_tydeas_> i get prompt to download the file
[09:42] <ivoks> that's firefox's cache
[09:42] <_tydeas_> same on google chrome
[09:43] <ivoks> cache again
[09:43] <ivoks> it's easy to double check
[09:43] <ivoks> tail access.log on server and then use firefox on client
[09:44] <ivoks> you'll notice that firefox doesn't access your server at all
[09:44] <ivoks> or, clear cache in firefox
[09:44] <ivoks> ctrl+shift+del
[09:44] <binBASH> chrome doesn't cache
[09:45] <twb> Isn't it backed onto libsoup?
[09:45] <twb> I vaguely recall that caches
[09:45] <binBASH> _tydeas_: You can check with curl or wget
[09:45] <ivoks> of course it does :)
[09:45] <binBASH> those really don't cache :p
[09:45] <ivoks> binBASH: he checked with w3m
[09:45] <ivoks> binBASH: and it rendered :)
[09:45] <_tydeas_> i appear with firefox in the access.log
[09:45] <_tydeas_> I will say it again
[09:46] <_tydeas_> if i try to access a php file under Document Root /var/www
[09:46] <_tydeas_> it will be rendered properly
[09:46] <_tydeas_> if i try to access a php under a users /home/user/public_html
[09:46] <_tydeas_> i get prompt to download the file
[09:46] <twb> _tydeas_: so PHP isn't enabled for users' home directories.
[09:46] <_tydeas_> i did enabled it
[09:46] <ivoks> twb: he enabled it, restarted apache
[09:47] <ivoks> twb: it's client side cache
[09:47] <twb> OK.
[09:47] <_tydeas_> ivoks: that's what i have done
[09:47] <_tydeas_>  http://pastie.org/985296 & http://pastie.org/985325
[09:47] <twb> _tydeas_: even with a retarded cacher, you should be able to move the test.php to test2.php and try again
[09:47] <binBASH> btw. from your pastie <FilesMatch "\.ph(p3?|tml)$">
[09:47] <binBASH> how old is that config? :p
[09:47] <_tydeas_> yes
[09:47] <binBASH> .php3 and .phtml ?
[09:48] <_tydeas_> i downloaded the ubuntu server and was in it
[09:48] <_tydeas_> didn't create it
[09:48] <twb> _tydeas_: what does "lsb_release -c" say?
[09:48] <_tydeas_> Codename:	lucid
[09:49] <ivoks> _tydeas_: what does this outputs?
[09:49] <_tydeas_> what?
[09:49] <ivoks> wget -qO- http://server/~testing/index.php
[09:49] <ivoks> php or html?
[09:50] <_tydeas_> html
[09:50] <binBASH> try with this <FilesMatch "\.ph(p3?|tml|p)$">
[09:50] <ivoks> end of story
[09:50] <ivoks> for firefox and chrome, please go to #ubuntu
[09:50] <ivoks> or #google and #mozilla or whatever
[09:50] <_tydeas_> i have not installed php-cgi
[09:51] <_tydeas_> does this matter?
[09:51] <ivoks> as i said, for client side questions -> #ubuntu
[09:51] <ivoks> your apache is parsing php and renders html
[09:52] <_tydeas_> ivoks: thanks ivoks
[09:52] <_tydeas_> thank you guys
[09:52] <_tydeas_> i cleared the cache in firefox and worked
[10:18] <federico2> hi there
[11:57] <alex88> hi, i'm on ubuntu and i've installed fastcgi trough package libapache2-mod-fcgid, how can set the number of php processes running? i've followed this tut http://ubuntuforums.org/showthread.php?t=1038416
[12:01] <\sh> Alblasco1702, http://www.fastcgi.com/mod_fastcgi/docs/mod_fastcgi.html#FastCgiServer <-
[12:02] <\sh> Alblasco1702, sorry..wrong nick
[12:02] <\sh> alex88, http://www.fastcgi.com/mod_fastcgi/docs/mod_fastcgi.html#FastCgiServer ;)
[12:02] <\sh> alex88, there is a hint on "-processes n"
[12:03] <MasterZuFu> Hello everyone :). I have ubuntu 10.04 as my server with linode.com. I'm trying to get my web server to work on it. I just ran this: apt-get install exim4. How do i test to verify if the mail server is actually online without having to send an email?
[12:03] <alex88> \sh: looking at.. thank you
[12:03] <alex88> MasterZuFu: sudo netstat -tapn
[12:03] <alex88> look at port 25
[12:04] <MasterZuFu> tcp 0  0 127.0.0.1:25    0.0.0.0:*    LISTEN  and tcp6  0  0 ::1:25   :::*  LISTEN   means it's working then right?
[12:07] <MasterZuFu> hmmmmm.... alex88: I seem to see that the server is running. I have a mybb forum running on my server also via apache. i tried to send myself an email from it 10 minutes ago, it still hasn't gotten here yet
[12:11] <alex88> MasterZuFu: look at logs... /var/log/mail.info for me
[12:11] <alex88> \sh: that's for the cli, not apache module
[12:12] <MasterZuFu> it's empty
[12:13] <alex88> so nothing has tried to send mails
[12:13] <MasterZuFu> hmmmmm
[12:13] <MasterZuFu> ok
[12:14] <alex88> probably php tried to send via sendmail command
[12:14] <alex88> try to use that as test
[12:14] <blackthor> anyone ever had problems with raid 1 ?
[12:14] <MasterZuFu> i don't know what the sendmail command is
[12:14] <twb> !anybody >blackthor
[12:14] <blackthor> thank you twb;)
[12:15] <blackthor> sorry for being unclear
[12:15] <blackthor> i have a software raid-1 crash
[12:15] <blackthor> one of 2 drives died
[12:15] <blackthor> i seem to have lost 2 days of data
[12:15] <blackthor> (booting from the remaining drive)
[12:15] <twb> That doesn't make any sense.
[12:15] <blackthor> all kinds of updates and changes are reverted back
[12:15] <twb> RAID1 is a mirror, not a backup.
[12:15] <blackthor> yes
[12:16] <blackthor> it is very strange
[12:16] <blackthor> it's the second time i am experiencing this
[12:16] <twb> blackthor: what does /proc/mdstat have to say about it?
[12:16] <blackthor> well,  the machine doesn't boot anymore with both drives hooked up
[12:16] <blackthor> all md? are active 2/1
[12:17] <blackthor> if i dig e.g. into syslog  i notice that the black hole takes place from may 27th 6am till today 9am
[12:17] <blackthor> and i am 100% positive to have worked on that machine on  28th  (files are missing etc)
[12:18] <blackthor> it weren't big files, the only explanation i am starting to think about is that the   write behind cache or buffer   hasn't been committed to the raid
[12:18] <twb> In what way doesn't it boot with both drives?
[12:18] <blackthor> but the weird part is, i have no warning at all
[12:19] <blackthor> whileas in mdadm.conf:  MAILADDR root
[12:19] <MasterZuFu> hmmmmmm......for some reason webmin isn't working. it says file not found O.o
[12:19] <twb> MasterZuFu: webmin isn't supported.
[12:20] <MasterZuFu> what is supported?
[12:20] <blackthor> twb: other disk isn't detected anymore in bios
[12:20] <twb> I suppose ebox is, but really we encourage people to learn the normal command-line tools.
[12:20] <twb> blackthor: urk
[12:20] <twb> blackthor: maybe your controller is borked?
[12:20] <MasterZuFu> i don't have time to learn normal command-line tools when my website's down :)
[12:20] <twb> Shrug.
[12:21] <blackthor> hmmmm
[12:21] <twb> blackthor: I haven't seen those symptoms before, so I'm just speculating.
[12:21] <blackthor> perhaps
[12:22] <blackthor> the same raid did the same thing 2 months ago
[12:22] <blackthor> i replaced one drive and rebuilt
[12:22] <MasterZuFu> doesn't make any sense why webmin isn't working >_> grrrrr
[12:22] <blackthor> now it's the other drive that crashed
[12:22] <twb> webmin doesn't work because it's shit code
[12:23] <MasterZuFu> it worked before
[12:23] <twb> No, it *appeared* to work.
[12:23] <MasterZuFu> code shouldn't matter, and that's personal prefference
[12:25] <MasterZuFu> i'm just trying to get my website at optimal functionality. ever since i moved from a shared host where i didn't have any chance to mess with the server and then to a dedicated host where i have a chance to mess with it I am learning how to install all these needed things myself. I didn't realize cpanel wasn't free and everyone told me to get webmin. so, i have it, it's installed, but it's not working
[12:25] <MasterZuFu> that's after we did some serious work on apache though
[12:36] <MasterZuFu> i'm getting this error: http://pastebin.com/ywX7NHPr
[12:38] <pmatulis> MasterZuFu: looks like port 10000 is already in use.  investigate that
[12:38] <MasterZuFu> pmatulis, I already did. when i try to go to that port I get the error: "Error-File not found"
[12:39] <MasterZuFu> hmmmmmm i think i know what might be the problem
[12:42] <twb> webmin doesn't go via apache
[12:42] <twb> By default it listens to all interfaces directly, allowing brute-force attacks from the internet :-/
[12:43] <twb> Use ss or netstat to find out what process is currently bound to 10000
[12:43] <MasterZuFu> when i first installed apache i put all my files in /root like an idiot. a friend of mine helped me sort t out to the proper location of /var/www/, there was a folder in that directory called "webmin". I think that may be the case that it's still pointed to /root instead of /var/www/
[12:43] <twb> Well, /var/www is really hysterical raisins.  Somewhere in /srv/ would be the FHSly way to do it.
[12:44] <pmatulis> MasterZuFu: webmin doesn't use apache.  it has it's own perl-based webserver
[12:44] <MasterZuFu> i know that
[12:44] <MasterZuFu> when i installed webmin there was a file in my main web files location, or directory i should say, named "webmin".
[12:45] <MasterZuFu> i moved it
[12:45] <MasterZuFu> now i have to find whatever file is pointing to that directory, and change it to the new one
[12:45] <MasterZuFu> i think that's the issue maybe
[12:45] <MasterZuFu> and /srv is empty
[12:45] <twb> MasterZuFu: /srv is REQUIRED to be empty until you put things in it
[12:45] <MasterZuFu> ok
[12:45] <twb> It's reserved for the system administrator
[12:46] <MasterZuFu> uh....i am the sysadmin
[12:46] <twb> Which is why it's empty
[12:46] <MasterZuFu> ok
[12:46] <twb> I mean that packages aren't allowed to place files in there without asking you
[12:46] <MasterZuFu> it might have asked me
[12:46] <MasterZuFu> i dunno
[12:46] <MasterZuFu> what file tells webmin where to look for all the files for it's functionality?
[12:46] <MasterZuFu> i can't seem to find anything
[12:47] <MasterZuFu> i'm in /etc/webmin/conf right now, it has this line in there: path=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin
[12:47] <twb> You should probably ask #webmin (or whatever) for help with webmin
[12:48] <MasterZuFu> no one's talking in #webmin
[12:48] <twb> Then be patient
[12:48] <RoyK> !webmin
[12:49] <pmatulis> MasterZuFu: doesn't it log error messages?
[12:49] <MasterZuFu> i'm looking at them now
[12:49] <pmatulis> MasterZuFu: that should have been your first step
[12:49] <MasterZuFu> i'm still learning all this stuff
[12:51] <MasterZuFu> 29852/apache2
[12:51] <MasterZuFu> tcp        0      0 0.0.0.0:10000           0.0.0.0:*               LISTEN
[12:51] <MasterZuFu> wtf?
[12:52] <MasterZuFu> nvm
[12:52] <RoyK> MasterZuFu: fuser -n tcp 10000
[12:52] <twb> IMO webmin borks your system sufficiently that you might as well just reinstall
[12:52] <MasterZuFu> 10000/tcp:           31435
[12:52] <twb> (At which point you will learn to keep /home and /srv on separate partitions from /)
[12:54] <MasterZuFu> yeah i'm just...lost. I've never really had to manage a server myself before. I always just used cpanel.
[12:55] <twb> You could start by reading the Ubuntu Server Guide and the RUTE
[12:56] <MasterZuFu> i wish i had the time to. I'm having to make time just to do this as it is. honestly webmin never really worked for me anyways, half the modules always said they weren't installed when they were. being that this is a new server and i'm having to set it up completely from scratch I'm having to learn the hard way on exactly what I actually need to have installed when running my website. i only just realized email didn't work and members couldn't
[12:57] <twb> If you want to be a sysadmin, you will have to learn this
[12:57] <MasterZuFu> i know that
[12:57] <MasterZuFu> it's just difficult because 'm having to juggle so many things at once
[12:58] <twb> If you know a good linux shop nearby, you could rent one of their sysadmins to help you get up to speed, then gradually take over responsibility yourself
[12:58] <MasterZuFu> well...I've got a friend of mine who is an exclillent ubuntu sysadmin, he's just hardly ever on :P
[12:59] <MasterZuFu> and i'm in japan :P and don't know the language lol, so i doubt i'll be finding any linux shops around here
[13:00] <twb> tokyo?
[13:01] <MasterZuFu> no, i'm in a smaller town, yokosuka
[13:01] <twb> Hmph.  The .jp resident I know doesn't appear to be around, or I'd ask him to recommend one.
[13:02] <MasterZuFu> it's quite alright. i'll figure it out. i'll just turn off activations required emails until i get this all sorted out. it's just a huge security risk to do so but if i don't i don't get any more members.
[13:04] <blackthor> MasterZuFu: perhaps you should just buy a copy of  cPanel ;) it will save you a lot of headache, stress and time
[13:04] <MasterZuFu> how much do they run?
[13:04] <blackthor> or plesk
[13:05] <twb> Is cpanel really suitable for a single-host VPS?
[13:05] <wise_crypt> MasterZuFu: !webmin
[13:05] <blackthor> donno, didn't know that was the point
[13:05] <twb> I thought it was more for "so, I have a HPC and I want to rent out time on it to my customers"
[13:05] <blackthor> i've used ispconfig before
[13:05] <wise_crypt> !webmin
[13:05] <MasterZuFu> i know wise_crypt
[13:05] <twb> wise_crypt: it's "!datum >user"
[13:05] <wise_crypt> lol
[13:06] <MasterZuFu> ok, well...i just sent a message to my friend. I guess I'll have to wait this out till he gets back online next time and can take a look at it.
[13:08] <pmatulis> MasterZuFu: besides installing webmin, what are you trying to achieve with your Ubuntu server?
[13:09] <pmatulis> (that we can help with)
[13:09] <blackthor> getting xss security holes ;)
[13:09] <MasterZuFu> well i was hoping webmin would help me fix my issue with the email
[13:10] <MasterZuFu> plus i'm trying to install ssl and that's also giving me issues
[13:12] <MasterZuFu> well hey folks, i really have to go. i have to get back to work. see you all later, thanks very much for the support :)
[13:36] <sommer> morning
[13:41] <kaushal> hi
[13:41] <kaushal> I have a customized init shell script on 8.04 server after reboot it does not come up
[13:41] <kaushal> Any clue ?
[13:44] <sommer> any errors in /var/log/boot.log ?
[13:47] <Jeeves_> kaushal: With init shell script you mean a script in /etc/init.d?
[13:49] <kaushal> Jeeves_: yes
[13:50] <Jeeves_> Dit you run update-rc.d ?
[13:50] <kaushal> yes
[13:51] <kaushal> I did update-rc.d resque defaults
[13:51] <kaushal> resque is the name of the script
[13:51] <Jeeves_> Hmm, ok.
[13:52] <Jeeves_> And if you run /etc/init.d/resque start, everything is ok?
[13:52] <kaushal> yes
[13:52] <Jeeves_> Maybe you're using temporary directories that don't exist yet?
[13:52] <kaushal> I dont use temporary directories
[13:53] <Jeeves_> No pidfile?
[13:53] <Jeeves_>  Are you using full paths?
[13:53] <Jeeves_> Or are you depending on PATH?
[13:53] <kaushal> I am using Absolute path
[13:54] <Jeeves_> Hmm. That's odd than.
[13:54] <Jeeves_> Can you pastbin your script?
[13:58] <kaushal> sure
[14:14] <kaushal> Jeeves_: http://fpaste.org/61qB/
[14:20] <kaushal> Jeeves_: did you have a chance to look at it ?
[14:33] <EtienneG> hggdh, how did the EBS testing went in the end?
[14:34] <baccenfutter> hey, I want my internal DNS to resolv my DynDNS to the internal IP of the www server, rather than passing the request upwards
[14:34] <baccenfutter> could anyone gimme hint on waht I am looking for?
[14:38] <EtienneG> hggdh, got your comment in the bug, I see it is all good!
[14:38] <Jeeves_> krssup: Sorry, I was afk.
[14:39] <Jeeves_> Can you repaste?
[14:39] <tarvid> dpkg-reconfigure php5-cli asks no questions
[14:39] <kaushal> Jeeves_: sure
[14:39] <tarvid> how can I get the default /etc/php
[14:39] <kaushal> http://fpaste.org/yHnu/
[14:40] <Jeeves_> kaushal: Maybe you should add 'set -e' and exit with explicit exit codes?
[14:40] <Jeeves_> 0 on success and 1 on failure
[14:42] <kaushal> Jeeves_: please let me know on that bash script ?
[14:42] <kaushal> I mean pastebin
[14:43] <cybrocop_> Hello All. Is there a known issue where Eucalyptus cannot use a bukkits directory that is mounted via SMB?
[14:44] <Jeeves_> http://fpaste.org/FZpx/
[14:45] <kaushal> Jeeves_: so do i need to run it by hand ?
[14:45] <kaushal> or check it while booting ?
[14:45] <Jeeves_> kaushal: No, it should work while booting
[14:46] <kaushal> oh ok
[14:46] <Jeeves_> (if it depends on this script)
[14:46] <kaushal> what does set -e do ?
[14:46] <Jeeves_> No clue what the thing you're starting does :)
[14:47] <kaushal> Jeeves_: is there a way to know why it did not come up ?
[14:47] <Jeeves_> kaushal: Add debugging to it
[14:47] <Jeeves_> echo some more
[14:54] <tarvid> any way to reconfigure php5 to distribution defaults?
[14:55] <kaushal> Jeeves_: it did not worked
[14:55] <Jeeves_> tarvid: 'apt-get remove --purge' 'apt-get install' ?
[14:55] <Jeeves_> kaushal: Did you see any debugging while booting?
[14:56] <kaushal> Jeeves_: can i redirect any error to a file ?
[14:56] <tarvid> why does dpkg-reconfigure php5 not ask questions?
[14:56] <kaushal> Jeeves_: since my server is a remote server
[14:56] <kaushal> and I am not able to see the console
[14:57] <Jeeves_> kaushal: You can echo to a file from the script
[14:57] <kaushal> Jeeves_: it worked
[14:57] <Jeeves_> tarvid: What should it ask?
[14:57] <kaushal> Let me pastebin it
[14:57] <tarvid> whether to keep existing configuration or install distribution default
[14:58] <kaushal> Jeeves_: http://fpaste.org/fFgY/
[15:00] <Jeeves_> kaushal: Ok, and you see stuff in /root/status?
[15:00] <kaushal> yes
[15:00] <tarvid> after removing php5, install php5 does not recreate /etc/php5
[15:00] <kaushal> I see 06:47:03 up 0 min,  0 users,  load average: 0.44, 0.10, 0.03
[15:01] <Jeeves_> tarvid: You should purge all php5 packages, remove /etc/php5 and reinstall them
[15:01] <Jeeves_> At least, that's how I doe it
[15:01] <Jeeves_> Obviously, there migt be more efficient methods
[15:02] <tarvid> dpkg-reconfigure php5 should do that
[15:02] <Jeeves_> No, it shouldn't
[15:03] <tarvid> why not?
[15:03] <Jeeves_> Or else it would, and it doesn't, so it shouldn't
[15:03] <tarvid> The following packages will be REMOVED:
[15:03] <tarvid>   freeradius-dialupadmin* libapache2-mod-php5* php5* php5-cli* php5-common*
[15:03] <tarvid>   php5-gd* php5-imap* php5-mcrypt* php5-mysql* php5-xcache* phpmyadmin*
[15:04] <kaushal> Jeeves_: any further suggestion ?
[15:04] <tarvid> rather destructive
[15:06] <hggdh> EtienneG: I think you will have to restart your SC ;-)
[15:07] <EtienneG> hggdh, ah ... why so?  you found a mem leak?
[15:10] <Jeeves_> kaushal: Yes, the script you're calling doesn't work :)
[15:11] <hggdh> EtienneG: I do not know, no shell access. But after allocating about 513 volumes, all calls to euca-describe-volumes take forever, and then return errors
[15:12] <EtienneG> hggdh, I see ... is there anything I could check to help troubleshoot that?
[15:14] <hggdh> EtienneG: yes, the SC logs, plus a 'ls -l /var/lib/eucalyptus/volumes' -- thank you BTW
[15:15] <hggdh> zul, today is a holiday is the US...
[15:16] <zul> hggdh: right i forgot enjoy your day "off" :0
[15:16] <kaushal> Jeeves_: where do i seek help ?
[15:16] <hggdh> zul: sorry. But I will get to them euca bug tomorrow
[15:16] <zul> hggdh: no problem
[15:18] <Jeeves_> kaushal: The author of the script you're calling or the product you're using
[15:19] <cybrocop_> Hi.. can anyone help me with debugging a Eucalyptus issue?
[15:19] <tarvid> PHP Deprecated:  Comments starting with '#' are deprecated in /etc/php5/cli/conf.d/imap.ini on line 1 in Unknown on line 0
[15:19] <tarvid> PHP Deprecated:  Comments starting with '#' are deprecated in /etc/php5/cli/conf.d/mcrypt.ini on line 1 in Unknown on line 0
[15:19] <tarvid> Hello World!
[15:20] <tarvid> and phpMyAdmin is now broken
[15:20] <tarvid> Cannot load mysqli  extension. Please check your PHP configuration
[15:22] <tarvid> No wonder people are switching back to php5.2
[15:22] <tarvid> similar issues with python
[15:30] <VadimCK> sup lads, i have a ubuntu server acting as a gateway with shorewall, is there a way to redirect a certain url to a remote http proxy? the remote proxy has authentication on it? maybe setup a local transparent proxy and redirect port 80 to it and have a rule in local squid to redirect to remote proxy? anybody know squid well enough is this possible?
[15:37] <bogeyd6-> VadimCK, setup a static route
[15:37] <VadimCK> i can do the shorewall redirect to local proxy
[15:37] <bogeyd6-> VadimCK, setup static route, put the squid into transparent mode to put everything through that remote proxy
[15:38] <bogeyd6-> put up a virtual image of that squid and you wont need any extra hardware either.
[15:38] <VadimCK> the remote squid needs to have auth
[15:38] <bogeyd6-> it will still ask for the authentication
[15:39] <VadimCK> is it possible to get the local squid to redirect to a remote squid?
[15:40] <kaushal> Jeeves_: You around ?
[15:41] <bogeyd6-> VadimCK, both will be in transparent mode, so you just set your gateway accordingly
[15:41] <VadimCK> but the remote has to have auth
[15:41] <VadimCK> its on the internet
[15:41] <VadimCK> it was my understanding that transparent meant no auth
[15:41] <VadimCK> am i mistaken?
[15:42] <bogeyd6-> VadimCK, i keep forgetting you need auth
[15:43] <VadimCK> ill look through the squid documentation there must be a forwarding rule
[15:43] <VadimCK> for load balancing etc..
[15:48] <blackthor> i want to find out which raid controller is used in my machine,  of course, dmesg is truncated.   how can i see what hardware is in it ?
[15:48] <blackthor> (commandline)
[15:49] <blackthor> cat /proc/bus/pci/devices ?
[15:50] <blackthor> that doesn't reveal much..
[15:50] <VadimCK> what type of interface is on the RAID controller blackthor ?
[15:50] <blackthor> probably sata
[15:51] <VadimCK> board side
[15:51] <VadimCK> pci
[15:51] <VadimCK> pci-e
[15:51] <blackthor> no idea, it's a machine in a datacenter
[15:51] <VadimCK> lspci will list your pic devices
[15:51] <VadimCK> *pci
[15:51] <blackthor> aha!
[15:52] <blackthor> ok that was what i was looking for!
[15:52] <blackthor> thank you;)
[15:52] <VadimCK> no problem, glad to help
[15:54] <blackthor> and another question,  how can i convert timestamps such as  [22215797.203452]  to the actual date they happened ?
[15:55] <VadimCK> date --date=@22215797.203452
[15:55] <VadimCK> should do it
[15:55] <blackthor> and is there a way to switch that syslog timestamps it back to the "old" style setting?
[15:55] <blackthor> (i reckon this was done for multicore systems?)
[15:56] <VadimCK> its unix time so its standard for linux logs
[15:56] <VadimCK> to change it im not sure
[16:20] <SuperLag> back
[16:21] <bogeyd6-> wb SuperLag
[16:22] <SuperLag> sorry
[16:22] <SuperLag> that was *not* intentional
[16:26] <\sh> anyone who is using PXE + kernel NFSROOT booting...did you try out to set the DEVICE=eth0 in /etc/initramfs-tools/initramfs.conf  to DEVICE=all to have dhcp requests on all interfaces?
[17:23] <MTecknology> Is there any wrapper vm builder script for building rhel vm's?
[17:36] <m_tadeu> hi...I installed mysql-server and it's running. the problem is that the port doesn't show up in nmap/netstat, so I can't connect from a remote machine
[17:44] <mathiaz> m_tadeu: look at the configuration file, /etc/mysql/my.cnf
[17:44] <mathiaz> m_tadeu: mysql binds to the loopback interface by default (or socket)
[17:47] <m_tadeu> mathiaz: it's using a socket located at /vat/run/mysqld/mysqld.sock, as usual...
[17:48] <mathiaz> m_tadeu: you need to configure mysqld to listen on the network interface as it doesn't by default
[17:48] <mathiaz> m_tadeu: this is done in my.cnf
[17:50] <RoyK> mathiaz: I thought recent versions of ubuntu used ip by default, but only bound to localhost
[17:50] <m_tadeu> RoyK: in deed my bind address is 127.0.0.1
[17:51] <m_tadeu> I'm comparing with my.conf in my laptop and they look the same...
[17:51] <RoyK> m_tadeu: then IP should work from localhost, but not from elsewhere
[17:52] <m_tadeu> RoyK: so what should I set in the ip
[17:52] <jeeves_Moss> how can I harden up SSH?  I've got some guy from .tw doing a dictionary attack for username
[17:53] <KurtKraut> Jeeves_, using a non-default port fixes 80% of the invasion attemps.
[17:53] <jeeves_Moss> KurtKraut, true, but that's kinda not the point with this one.  is there a way to ignore connection attemps from an IP after "x#" of failed logins?
[17:54] <RoyK> m_tadeu: just remove the line or set it to 0.0.0.0 to allow it to listen to all addresses
[17:54] <RoyK> jeeves_Moss: apt-get install fail2ban - configure it...
[17:54] <m_tadeu> RoyK: oki....thanx :)
[17:54] <kaushal> hi
[17:54] <kaushal> Any clue to my query ?
[17:55] <jeeves_Moss> RoyK, thanks.  will that do what I need?
[17:55] <KurtKraut> Jeeves_, yes. The package denyhosts does this job.
[17:55] <RoyK> jeeves_Moss: it blocks incoming requests from a given host/protocol if login attempts fail repeatedly
[17:56] <jeeves_Moss> RoyK, PERFeCT!!  Thanks
[17:56] <RoyK> it just parses the logs and adds an iptable block for that host/port in case if repeated failure
[17:56] <kaushal> I have posted it to the ubuntu-server mailing list
[17:56] <kaushal> Shall i repeat it here ?
[17:56] <RoyK> kaushal: pastebin your problem or link to the post
[17:57] <kaushal> sure
[17:58] <jeeves_Moss> RoyK, great.  thanks.  I'm sitting here watching the log, and I see it's going through user names.  There is only ONE account that's allowed SSH login anyways
[17:58] <kaushal> RoyK, https://lists.ubuntu.com/archives/ubuntu-server/2010-May/004246.html
[17:58] <RoyK> jeeves_Moss: just try fail2ban - works for me :)
[17:58] <blue-frog> jeeves_Moss, fail2ba. no need to make your server work for nothing
[17:59] <jeeves_Moss> this is TRUE
[17:59] <jeeves_Moss> I had a SALA setup issue last week, and someone figured it out to mass mail and backscatter
[18:00] <blue-frog> jeeves_Moss, sed -i '/bantime/s/600/-1/' /etc/fail2ban/jail.conf  will put unlimited ban. dangerous if ssh is your onlay way to connect to the server
[18:01] <blue-frog> personally I don't care as I have a reconvery console in case ssh is not available
[18:01] <jeeves_Moss> blue-frog, I've got 2 diff ways into the box, and a third from the inside
[18:01] <blue-frog> then unlimited ban is for you
[18:02] <jeeves_Moss> perfect!!!  it stopped that noise!
[18:02] <blue-frog> fail2ban will do more than ssh. check /etc/fail2ban/jail.conf to see what is protected
[18:02] <jeeves_Moss> thanks again guys!
[18:07] <kaushal> RoyK, Did you had a chance to read my post ?
[18:07] <RoyK> I did, but I don't really have an answer
[18:08] <RoyK> sorry
[18:08] <kaushal> RoyK, where do i seek help ?
[18:08] <RoyK> just wait for a reply
[18:09] <kaushal> you mean on the same post ?
[18:12] <RoyK> kaushal: have you liked this script to /etc/rc2.d?
[18:18] <kaushal> RoyK, ?
[18:18] <RoyK> kaushal: ubuntu doesn't run anything under /etc/init.d unless it's symlinked to /etc/rc2.d
[18:18] <RoyK> take a look at 'ls -l /etc/rc2.d'
[18:20] <kaushal> RoyK, http://fpaste.org/fYD0/
[18:20] <RoyK> perhaps try to move them to somewhere later
[18:21] <RoyK> S95, perhaps
[18:21] <kaushal> RoyK, how do i do it ?
[18:21] <kaushal> I mean S95
[18:22] <RoyK> cd /etc/rc2.d; mv S20resque S95resque
[18:22] <RoyK> etc
[18:22] <kaushal> oh ok
[18:22] <kaushal> what does 95 means ?
[18:22] <RoyK> it's just a number defining the order
[18:23] <RoyK> S01 is executed first
[18:23] <RoyK> etc
[18:23] <kaushal> please give me a moment
[18:23] <kaushal> and will update you
[18:24] <kaushal> RoyK, shall i reboot and check now ?
[18:24] <RoyK> yes
[18:28] <kaushal> RoyK, no luck
[18:28] <RoyK> check the logs
[18:29] <kaushal> (Nothing has been logged yet.) in the boot
[18:30] <kaushal> under /var/log/boot
[18:31] <RoyK> /var/log/messages?
[18:36] <kaushal> RoyK, nothing there too
[18:48]  * RoyK somehow wants to put a ban on all .il users
[18:51] <kaushal> RoyK, Any further suggestions ?
[18:59] <RoyK> not really
[18:59] <RoyK> if the script works from the command line, it should work on boot
[18:59] <kaushal> yeah
[18:59] <kaushal> its weird
[19:32] <EtienneG> zul, are you the one working on the iSCSI target daemon, as discussed in the seed review a tlast UDS?
[19:32] <zul> EtienneG: werent you suppose to send me an email to remind me?
[19:33] <EtienneG> zul, would an IRC poke be enough?  ;)
[19:33] <EtienneG> zul, j/k
[19:33] <zul> EtienneG: yeah I can look at it this week
[19:33] <EtienneG> zul, from what I see, tgt needs 1. an MIR, and 2. an upstart job
[19:33] <zul> EtienneG: which one was it again?
[19:33] <EtienneG> zul, do you want me to tile a bug on the upstart job?
[19:34] <zul> EtienneG: please
[19:34] <EtienneG> zul, it was either tgt or iscsitarget
[19:34] <zul> EtienneG: gotcha
[19:34] <EtienneG> zul, we settled upon tgt
[19:34] <zul> EtienneG: sounds familar ;)
[19:34] <EtienneG> zul, I will file a bug on the upstart job.  Should/can I file a bug for MIR?
[19:34] <zul> EtienneG: please and assign it to me
[19:35] <EtienneG> zul, ok!
[19:35] <EtienneG> zul, thanks dude!
[19:35] <zul> EtienneG: mp
[19:40] <EtienneG> someone already filed a bug for the upstart job part
[19:43] <EtienneG> zul, looking at the Gobby notes from the seed review session, there is no mention of tgt or iSCSI in general
[19:44] <zul> EtienneG: yeah I think it was a pseudo hall way conversation
[19:44] <EtienneG> zul, I cannot remember: was that discussed in another session?
[19:44] <EtienneG> zul, hurm, ok then.  Should we bring this up in the server meeting?
[19:44] <zul> EtienneG: sounds like a good idea
[19:45] <EtienneG> alternatively, if the MIR can wait a few weeks, I can take care of it in early June
[19:45] <EtienneG> err, *July, even
[19:46] <kaushal> https://lists.ubuntu.com/archives/ubuntu-server/2010-May/004246.html
[19:46] <kaushal> Please suggest ?
[19:48] <zul> EtienneG: ok just let me know again and Ill do the upstart job
[19:49] <EtienneG> zul, I have assigned the already existing upstart job bug to you, so it will stay on your radar
[19:50] <zul> EtienneG: thanks
[20:11] <MTecknology> How do I use libvirt to create a VM using an ISO?
[20:12] <MTecknology> !kvm
[20:16] <JanC> MTecknology: plain libvirt or virt-manager (with the latter it's very easy, if you have a GUI)
[20:19] <MTecknology> JanC: I was trying with virt-manager and it was kicking my butt - I just started looking at virt-install
[20:28] <MTecknology> ji think gui and I just don't get along..
[20:29] <ChmEarl> MTecknology, it's easier to use kvm --help: kvm -hdc myiso.iso -boot d -net user -net nic,model=rtl8139 -m 512 etc
[20:30] <ChmEarl> and pass -hda /path-to/file.img
[20:31] <MTecknology> ChmEarl: thanks - I never caught onto kvm being a command
[20:32] <ChmEarl> MTecknology, its far more intuitive as a cmd. Might want to pass it -vnc too, then use vncviewer :0 &
[20:33] <MTecknology> thanks :)
[20:34] <ChmEarl> MTecknology, once you use virt-manager it will log your VM builds as commands. So hack its logs and see how it builds commands
[20:35] <ChmEarl> MTecknology,  find /var/log/qemu -name 'myVM'
[20:36] <MTecknology> nifty
[20:47] <MTecknology> ChmEarl: I'm not seeing where to saet the network card to the bridged interface - it's usually --bridge=br0 or something similar - how do I do it with kvm?
[20:48] <ChmEarl> like -net tap
[20:48] <ChmEarl> I have to look it up
[20:49] <MTecknology> -net tap,ifname=br0 ?
[20:50] <MTecknology> ro maybe s/ifname/fd/ ?
[20:53] <ChmEarl> MTecknology, if your bridge is defined (#brctl show) its all automagic with -net tap
[20:54] <ChmEarl> no ifname token is needed
[20:54] <MTecknology> yay
[20:54] <MTecknology> ChmEarl: how far off am I with this? http://dpaste.com/201551/
[20:59] <ChmEarl> MTecknology, add a port to -vnc, like -vnc :0
[21:00] <ChmEarl> you want to pixie boot the first time you use kvm?
[21:01] <ChmEarl> with a port to vnc the -net will parse OK
[21:03] <ChmEarl> add -boot d
[21:03] <ChmEarl> wait unless the pxe bios implies otherwise
[21:06] <ChmEarl> MTecknology, the pxe bios is usually found in /usr/share/kvm : not sure about karmic/lucid
[21:10] <ChmEarl> MTecknology, you may need a script for qemu-ifup.. lots of examples for using br0
[21:12] <n8w> how do i run /proc/sys/vm/drop_caches as a nonroot?
[21:12] <ChmEarl> MTecknology, see if your OS has /etc/qemu-ifup... ubuntu should have it
[22:07] <scar> would having a gigabit switch between two machines, containing at least a few virtual machines mirrored with DRBD, increase performance or not so much?
[22:09] <MTecknology> ChmEarl: sorry - had to run
[22:17] <edan> hey, i'm trying to install the samba package using a simple "apt-get install samba", it unpacks OK but then it says "start: Job failed to start", any ideas?
[22:17] <edan> i've also tried downloading the deb package from samba's website and installing manually with dpkg but i get the same error ^_^
[22:20] <azteech> if I recall, samba usually is started by a daemon .. have to go to System > Preferences > Start Applications to have the service start when the computer starts
[22:20] <MTecknology> vmbuilder <hypervisor> <distro> [OPTIONS]...    <distro>      Distribution. Valid options: ubuntu
[22:20] <MTecknology> many choices :P
[22:23] <edan> thanks for the reply :) unfortunately it doesn't get that far in the installation, on the previous line it says "smbd start /running, process 2431", not sure what smbd even is
[22:23] <azteech> smbd is the samba daemon ...
[22:24] <azteech> !smbd
[22:25] <edan> ah ok, i was expecting to find a manual startup in /etc/init.d/samba but there is nothing there
[22:25] <edan> and it doesn't appear under Startup Applications either btw
[22:27] <azteech> don't have samba running on my desktop ... so, can't verify one way or the other ... but, if you run top, you should see smbd running as process 2431 ... or another process id ..
[22:27] <azteech> the man pages for smbd should have all the info you need ...
[22:31] <edan> ah, just checked the smbd man, and it's just one part of the samba suite
[22:32] <edan> so it's probably not completely the whole install as smbd is running
[22:32] <edan> thanks a lot :)
[22:41] <MTecknology> With vm-builder, --bridge=br0 works exactly as expected - with virt-install --bridge=br0 doesn't make networking work in centos
[22:41] <MTecknology> this is really really starting to irk me...
[22:43] <MTecknology> For this I get Device model: Hypervisor default - in every other machine made my vm-builder virt-manager shows it as being Device model: virtio ...
[22:52] <MTecknology> I have it coming up as a virtio device now .. but now no networking is possible... grr
[23:58] <deslector> hi, I want to have dhcp+dns and have one update the other automagically... what is the recommended way to do that on ubuntu server? On the server guide I only see a reference to Bind and DHCPD, but I think it may be overkill...
[23:59] <deslector> should I just use dnsmasq? any ideas?
[23:59] <julianc> dnsmasq is the easiest way to have them mesh.
[23:59] <julianc> If you only need the basics of both, you should be fine.