[01:10] <Hypoglybetic> Can someone explain to me how to read the instructions on a web page. Specifically, some lines of instructions place a # infront of the command.
[01:11] <Hypoglybetic> example "#sudo vi /etc/samba/smb.conf" when I type it nothing happens.
[01:11] <jeiworth> # prefix is remark
[01:12] <Hypoglybetic> Is it the same as commenting out a line of code?
[01:12] <jeiworth> yes
[01:12] <Hypoglybetic> So then why do they tell me to use it? Did they make a typo (multiple times) on the tutorial?
[01:13] <jeiworth> probably there is a space between the # and the command, in a shell this usually means that you have to run the command as root (indicated by a # at the prompt
[01:13] <Hypoglybetic> I'm trying to setup Samba and I get to where they say "do this: "#command" " and nothing happens.
[01:13] <jeiworth> so in this case, the # is not part of the command
[01:15] <jeiworth> now why you would need sudo when you alread have a root (#) prompt is beyond me ;)
[01:22] <Hypoglybetic> jeiworth, after using the vi command to open a file, how do I exit?
[01:25] <jeiworth> type: ":q!"
[01:26] <jeiworth> if you are not familiar with vi i suggest you use nano instead
[01:26] <Hypoglybetic> I have no idea what these commands are, I'm just trying to learn and follow the tutorials to set up everything
[01:32] <Hypoglybetic> jeiworth, I am trying to explore my existing windows network, is Samba required? I get an unable to mount error when I try to browse.
[01:35] <jeiworth> for browsing you should just need samba-client iirc
[01:35] <jeiworth> and avahi
[01:36] <jeiworth> on a server i usually mount samba shares using cifs
[01:36] <Hypoglybetic> I installed Samba
[01:36] <Hypoglybetic> I'm in ubuntu desktop btw
[01:38] <Hypoglybetic> and I'm confused. mind explaining?
[01:41] <jeiworth> hmm
[01:42] <jeiworth> well, samba is a bit tricky, anyway... try this: in your filemanager put this in the navigation bar: smb:// and hit enter
[01:43] <Hypoglybetic> I dont have that option
[01:43] <Hypoglybetic> I can't type in the location ..............
[01:44] <Hypoglybetic> oh, there we go
[01:46] <Hypoglybetic> okay, I got an error. Failed to retrieve list.
[02:16] <izinucs> hi all.. I've found a project on bazaar.launchpad.net that I'd like to download and test (no deb it's a php web app).  It has a decent tree structure.. How can I down load it easily.. as opposed to recreating the tree locally and downloading files one at a time.. there's got to be a better way.. so far wget doesn't like me.. Any help appriciated :)
[02:21] <thesheff17> izinucs: the project should provide a tar.gz which is just a compressed file that can be extracted into web server directory.
[02:25] <izinucs> thesheff17: nope.. not on this one..
[02:26] <thesheff17> izinucs: which project?
[02:26] <izinucs> thesheff17: http://bazaar.launchpad.net/~mparic/openauctionlive/trunk/files/head:/
[02:37] <thesheff17> izinucs: ok I got it...I wasn't too familiar with bzr command
[02:38] <thesheff17> first install bzr apt-get install bzr
[02:38] <thesheff17> then clone the repo: bzr clone http://bazaar.launchpad.net/~mparic/openauctionlive/trunk
[02:41] <izinucs> thesheff17: interesting... I had to create a ssh key pair to do it..
[02:41] <izinucs> thesheff17: success! looks like I got it.. just another learning curve
[02:42] <thesheff17> izinucs: yea I have never used bzr but I assume it similar to git/svn etc.
[02:42] <thesheff17> izinucs: at least with cloning the repo
[02:44] <izinucs> thesheff17: well your help was invalueble.  I've been looking for days on how to do it.
[02:47] <izinucs> thesheff17: If I delete the branch off my HD will it effect the online branch? It seems the directory I downloaded it in now gives me the option to "update" from the online branch.. I just don't want to wipe out the other guys work if I delete off my HD
[02:48] <thesheff17> izinucs: it won't break anything on the site.
[02:49] <thesheff17> izinucs: you would need commit access and then he would have to merge the branch. etc
[02:49] <izinucs> thesheff17: ah.. ok..good to know
[02:54] <izinucs> thesheff17: ok.. to copy the entire mess from me local to the machine I'm ssh'd into (also on my lan).. while in the ssh session on the remote machine I ... scp -r <user_name>@IP:/home/<name>/path/to/files/*   ?? but it doesn't work .. syntax error I believe
[02:56] <thesheff17> izinucs: scp -r * username@destServer:/folder/
[02:56] <thesheff17> make sure you are in the dir you want to transfer
[02:56] <izinucs> yep.. syntax.. thanks
[02:58] <izinucs> thesheff17: that gives me a *: no such file or directory
[02:59] <thesheff17> that means the folder you are trying to send it to doesn't exist on the dest.
[02:59] <izinucs> except I'm in it in the ssh session that I'm initiating the scp from
[03:00] <izinucs> or maybe I should be local doing it
[03:00] <thesheff17> izinucs: you can unlimited logins to linux machines.
[03:00] <thesheff17> izinucs: are you on a server ed or do you have GUI?
[03:01] <izinucs> not sure I understand that sentence
[03:01] <izinucs> both.. I'm ssh'd into a server and on a laptop
[03:01] <izinucs> with gui
[03:01] <thesheff17> izinucs: ctrl-t will just bring up another terminal tab
[03:01] <thesheff17> and ssh into the destination server and mkdir the folder you want
[03:02] <izinucs> did that.. I'm actually on the server now using screen and irssi
[03:02] <thesheff17> izinucs: try the scp command again
[03:02] <izinucs> from the server side or local side
[03:03] <thesheff17> izinucs: scp works both ways if the two servers can reach each other
[03:03] <thesheff17> izinucs: to push files is scp -r * user@ip:/folder/
[03:04] <izinucs> I think I got it.. I have to push it to /home on the server then cp to the /var/www directory and change owners..
[03:04] <izinucs> I can't scp directly to /var/www
[03:04] <thesheff17> izinucs: prob because you aren't using the user root to send the files
[03:05] <thesheff17> izinucs: but yes sending to the home dir and then moving/copying the files around and fixing permissions is safer.....I usually allow ssh root access.
[03:06] <izinucs> I have in the past as well.. just haven't done that on this machine.
[03:34]  * Slyboots blinks
[03:34] <Slyboots> Uh.. how fast is Wifi G again?
[03:35] <Slyboots> Im pretty sure its faster than 2MB/sec
[03:41] <qman__> Slyboots, in practice, not really
[03:42] <qman__> the data rate is 54mpbs, but that doesn't account for interference and the fact that all associated devices divide that bandwidth up
[03:42] <Slyboots> Man; its more garbage than I though
[03:43] <qman__> wired is always better
[03:43] <qman__> even 10baseT
[03:43] <Slyboots> mM
[04:52] <Jkessler> I just installed ubuntu server 10.04, i'm trying to set up a print server.  I'm assuming I need to compile a driver for my HP P1006 printer.  I followed the instructions at http://foo2xqx.rkkda.com/  ..  I installed build-essential and tried to 'make', was told to install dc, installed and i'm getting an error at "zjsdecode.c: In function'decode':" then "zjsdecode.c:153: internal compiler
[04:52] <Jkessler> error: Aborted"  any ideas?  Thanks.
[04:59] <gobbe> source codes has somekind of problems
[05:00] <gobbe> jpj@bumba:~/Downloads$ apt-cache search foo2zjs
[05:00] <gobbe> foo2zjs - Support for printing to ZjStream-based printers
[05:01] <gobbe> why dont you use one from packet management?
[07:00] <mark-kraevskijj> hey, guys!
[07:01] <mark-kraevskijj> need help
[07:02] <gobbe> well, mind to ask your question ;)
[07:03] <mark-kraevskijj> i need to install dvd ubuntu without DVD-drive... i have USB 4gb hi speed... but for install i need delete some programms... but how?
[07:04] <gobbe> delete from where?
[07:04] <mark-kraevskijj> from complect
[07:05] <gobbe> sorry, i didn't get you. You want to install it from USB-stick, why you need to delete programs?
[07:07] <mark-kraevskijj> cause DVD version weights 4.3gb.... stick is 4gb... (exact 3.9)
[07:09] <twb> "dvd ubuntu" sounds like a desktop CD
[07:09] <twb> We support the server install media here
[07:12] <mark-kraevskijj> i'm sorry...
[07:12] <mark-kraevskijj> where can i ask about this situation?
[07:13] <gobbe> so you are using desktop?
[07:13] <gobbe> #ubuntu then
[07:13] <gobbe> mark-kraevskijj: but i would buy bigget stick, or use alternative and install rest from internet
[07:15] <twb> Or just install the ENTIRE THING from the network
[07:15] <mark-kraevskijj> yeah, desk....
[07:15] <gobbe> that's option also, but alternative installer gives you base system easily
[07:16] <mark-kraevskijj> yeah... you right)
[07:17] <twb> http://archive.ubuntu.com/ubuntu/dists/hardy/main/installer-amd64/current/images/netboot/ boot.img.gz
[07:17] <mark-kraevskijj> i just wanted to delete some from distr... it'll become lighter...)
[07:18] <gobbe> it's not that easy
[07:18] <gobbe> but you could mount it to linux with loop option and remove deb-files, however that's quite stupid way
[07:18] <gobbe> you waste lots of time
[07:20] <twb> gobbe: or jigdo
[07:21] <twb> But in that case you're still downloading the pool in advance
[07:22] <gobbe> yes
[07:22] <Vamps_> hey guys.. i'm tryin to find soem Ubuntu Server package for a hosting server.. but apt doesnt find them.. what can i do
[07:23] <twb> Vamps_: pick an alternative?
[07:23] <gobbe> Vamps_: what package?
[07:23] <Vamps_> libsas12 pkg and sas12
[07:24] <mark-kraevskijj> gobbe, how to mount?
[07:24] <Vamps_> i'm intalling 10.10 from the HOWTOForge ISPconfig install
[07:25] <gobbe> mark-kraevskijj: with loop-option
[07:26] <mark-kraevskijj> how?
[07:26] <gobbe> Vamps_: its libsasl2
[07:26] <Vamps_> gobbe : libsasL2 lowercase ofc
[07:28] <vlad> i runned amazon instance with ubuntu 10.04, but sshd not in autoload. how to add sshd in autoload?
[07:29] <Vamps_> gobbe : thank you very much .. that solved the problem.. couldnt read it on the website as an L and not a 1
[07:29] <ignarps> is openssh-server install vlad?
[07:29] <vlad> openssh-server installed by default
[07:30] <vlad> sshd just not in autoload
[07:30] <ignarps> update-rc.d ssh defaults
[07:31] <awanti> hi. can any one tell how to configure domain controller on Ubuntu server 10.04 (64bit)
[07:31] <vlad> thanks!
[07:32] <ignarps> update-rc.d ssh enable
[07:33] <qman__> awanti, if by domain controller you mean a Microsoft Active Directory Domain Controller, that's only partially achievable
[07:33] <qman__> there is no drop-in replacement, yet
[07:37] <awanti> no actually i am going to install Ubuntu server 64 bit OS on my hp server machine. Now i want to create a domain, from that domain some windows 7 machines will be loging.
[07:37] <awanti> So i need your help to setup
[07:39] <qman__> that's what I meant
[07:39] <airtonix> awanti, google : ubuntu bloke ldap
[07:39] <qman__> it's not currently possible, at least not completely
[07:40] <airtonix> qman__, what do you mean ?
[07:40] <qman__> the software to do it is still in alpha last I checked, samba4
[07:40] <airtonix> qman__, active directory is just ldap samba & kerberos
[07:40] <airtonix> and microsoft ldap schems
[07:41] <qman__> standard samba3 can only emulate NT/2003 level, and windows 7 is not going to like it one bit
[07:43] <airtonix> ah i see now, looks like it will be a lot neater
[07:44] <a7ndrew> qman__: hang on now, you can easily reconfigure Win7 to bind to a Samba3 domain.
[07:44] <qman__> it's a lot of work and I've not yet found a guide that actually works and covers all bases
[07:44] <airtonix> i actually like using apache directory server instead of openLDAP
[07:44] <qman__> of course it's been a couple years since I last tried
[07:45] <qman__> but aside from samba4, I haven't seen anything to change my mind
[07:45] <a7ndrew> all you need to do is google for windows 7 samba. First hit will be here:
[07:45] <a7ndrew> http://wiki.samba.org/index.php/Windows7
[07:46] <a7ndrew> visit that website from the win7 client and follow the bugzilla link, it will make the necessary registry changes (2 keys)
[07:46] <a7ndrew> you can't do group policy from samba3, but you can configure accounts through openldap
[07:49] <a7ndrew> guide to setting up the Samba DC is here: https://help.ubuntu.com/10.04/serverguide/C/samba-dc.html
[07:52] <Vamps_> ugh.. ok one more question.. if i didnt put an X in the apache2 box for the phpmyadmin install.. does it use apache automatically or will i have to edit
[07:53] <qman__> apache is the default web server, so probably
[07:53] <qman__> unless it, for some reason, doesn't actually depend on a web server
[07:53] <Vamps_> qman: it gave 2 options apache2 and lithttpd
[07:54] <twb> php5 will use mod_php instead of php5-cgi by default, though either would do
[07:54] <Vamps_> how can i check to see if mpa is set to apache2 after install
[07:55] <a7ndrew> run aptitude install -s phpmyadmin
[07:55] <a7ndrew> that will tell you what will be installed. On my machine it said that yes, it would install apache2
[07:56] <Vamps_> mine said no packages to install
[07:56] <a7ndrew> type aptitude show apache2 and that will tell you if it is installed ... you may have it already
[07:57] <Vamps_> i do know i installed apache2.. im tryin to figure out if phpmyadmin when it installed and config phpmyadmin.. i didnt X the apache2.. will it still bind to apache2
[07:57] <a7ndrew> ahh
[07:58] <Vamps_> how do i check that
[07:58] <a7ndrew> well you can run sudo dpkg-reconfigure phpmyadmin to get the configuration prompts again
[07:59] <Vamps_> perfect let me try that first
[07:59] <Vamps_> reinstall DB or no
[08:00] <a7ndrew> hmm probably not necessary
[08:00] <Vamps_> there we go.. got a different output then the first time.. thanks a7ndrew
[08:00] <a7ndrew> a pleasure
[08:07] <twister004> hii guys... im connecting to an ubuntu machine using VNC... i want to get console access via vnc.. how can i do this?
[08:08] <qman__> twister004, use ssh
[08:08] <twister004> qman_.. i need to see the gui
[08:08] <qman__> it's a lot more secure and a lot less complicated
[08:08] <twister004> some connection changes
[08:09] <twister004> Im using ssh.. but I need gui access
[08:10] <qman__> well, that's not really an #ubuntu-server question, since ubuntu server doesn't have a GUI
[08:10] <qman__> someone may be able to help with that but it isn't me
[08:10] <qman__> sorry
[08:12] <twister004> thanks qman__
[08:19] <Vamps_> man i dislike edit fstab for quota..
[08:22] <Vamps_> ok, so im edit fstab with the following entry edit on the / dir ## the edit is ,usrjquota=quota.user,grpjquota=quota.group,jqfmt=vfsc0 .. when i mount -o remount / it fails.. why
[08:24] <Vamps_> wait.. is there supposed to be a $ at the end of the line after 0 0
[08:24] <Vamps_> or is 1 the correct value
[08:51] <Vamps_> how do i get back to the *@* instead of the $ prompt
[09:32] <airtonix> /etc/apache2/httpd.conf shouldn't be empty right ?
[09:34] <airtonix> nvm
[09:44] <CERNUNN0S> Greetings, has anyone had any experience using virtual box to set up an Ubuntu 10.04 LTS cluster for local testing?
[10:12] <chrislabeard_> I'm having trouble getting my ubuntu box to show up as a shared device on my mac
[10:12] <chrislabeard_> I'm able to connect to it with bonjour but its just not broadcasting I suppose.
[10:15] <Adman65> Hi. What is the prefered ftp package?
[10:21] <twb> Adman65: ssh
[10:22] <twb> Adman65: for read-only exports, HTTP is a better protocol; for uploads, SFTP is a better protocol.
[10:22] <Adman65> ok, what do you recommend for sftp?
[10:23] <twb> OpenSSH.
[10:37] <Neikius> hello, a short question regarding dovecot - what would be the best way to install dovecot 2.0 in ubuntu (10.4)? This version of ubuntu has only 1.2.9 in apt repositories, so is there any way to do it (I would prefer not building the source myself)
[10:42] <andreasf> Neikius: This PPA has dovecot-2.0.3: https://launchpad.net/~kramerica/+archive/kra-dovecot (I have no experience with it)
[10:43] <airtonix> i love driveby questions
[10:43] <airtonix> :<
[10:53] <Neikius> andreasf: just btw, does 10.10 have dovecot 2? I am contemplating how to upgrade so I can mantain this mess easily, but I *need* the 2.0 (dsync)
[10:54] <andreasf> Neikius: I have no idea (I don't use dovecot). Have a look at http://packages.ubuntu.com/
[10:57] <gobbe> Version: 1:1.2.12-1ubuntu8
[10:57] <gobbe> in 10.10
[11:04] <Neikius> meh ... they stick to stable as crazy. rh has 2 for some time already I think :) means I will have to download from outside source. Thank you both.
[11:06] <twb> Neikius: I was gonna check whohas(1), but it can't see the RHUN :-/
[11:06] <twb> Ahaha, it fails with -d fedora, too.
[11:09] <Neikius> damn lol, even natty still has 1.2
[11:10] <Neikius> is 2.0 so unstable or what? its out for quite some time now already
[11:11] <Neikius> anyway here -> http://wiki2.dovecot.org/PrebuiltBinaries link to xiaoka repository, but hey, I prefer to use the official ones no wonder why...
[11:11] <twb> Neikius: Ubuntu probably just takes whatever Debian dishes out
[11:11] <twb> They spend all their money on desktop wank
[11:14] <Neikius> it IS rock stable on server ... but a bit far behind with features
[11:19] <twb> If by "stable" you mean "regularly makes itself unbootable for bloody silly reasons"
[11:30] <Neikius> ah anyway, I just noticed that xiaoka only had 32bit packages
[11:30] <Neikius> I guess I will have to build it myself :(
[11:30] <twb> Neikius: does it have source packages?
[11:31] <twb> (.dsc, .orig.tar.xz, .debian.tar.xz)
[11:32] <Neikius> it has
[11:34] <twb> apt-get build-dep dovecot; apt-get install build-essential dpkg-dev devscripts; dget <url to .dsc>; dpkg-source -x <path to .dsc>; cd <dir>; debuild
[11:34] <twb> ...that'll give you a package built against your current system (i.e. release and arch)
[11:37] <Neikius> since I have added the repo do I need to operate via urls to get the source and dsc?
[11:37] <twb> If you added a deb-src line, then you can apt-get source it
[11:38] <Neikius> ah
[11:38] <Neikius> just so btw
[11:38] <Neikius> I started getting an error about libapache2-mod-fcgid but haven't the time to check ... since some update this week
[11:38] <Neikius> any clue? if not just ignore this for now
[11:38] <twb> Sorry, I don't read minds
[11:39] <Neikius> I've done aptitude safe-upgrade, since then I am having some weird error :) mah disregard this
[11:40] <Neikius> hm
[11:40] <Neikius> I can do 'apt-get source dovecot'
[11:41] <Neikius> ah I will google it
[11:44] <Neikius> I see the difference now, dovecot from ubuntu/debian has like ... 10 patches applied so this is the risk
[11:48] <twb> That is called "integration"
[11:48] <twb> it's why debian (or ubuntu) isn't just a big bag of upstream sources and an .ebuild
[11:49] <Neikius> and why I can always do apt-get install dovecot-postfix and it will work I guess
[11:50] <Neikius> yea I appreciate it, that is why I do use debian/ubuntu
[11:50] <Neikius> but sometimes I need a new feature like this about dovecot and then its all custom onwards
[11:51] <twb> If your fu is strong, you can import debian/patches into the new upstream
[11:52] <twb> I'm guessing your not ready for that yet, grasshopper
[11:53] <Neikius> time is all
[11:53] <Neikius> some day maybe :) thank you for the help though, you have been most helpful from what I got
[11:55] <twb> That's because I'm a Debian user :P
[11:57] <Neikius> I almost died yesterday when I had to hack a gentoo arf
[11:57] <Neikius> I guess debian makes people soft :)
[11:57] <twb> I only deal with gentoo systems when they stop booting
[11:58] <Neikius> oh that one was easy, just force mdadm to boot with 1 disk ...
[11:58] <Neikius> the dude that made it locked out all ssh access to virtual machines and the host
[11:58] <Neikius> I mean password access
[11:59] <twb> Well, single-factor auth IS evil
[11:59] <Neikius> it is, but when you get a custom-built machine with no manual and no access its just tedious
[12:00] <Neikius> while the machine has to run in the background ofc
[12:01] <Neikius> the root machine doesn't even have modules to mount snapshots in lvm
[12:01] <Neikius> oh I missed debian so much :)
[14:09] <tdn> In /etc/network/interfaces, what is the difference between 'auto' and 'allow-hotplug'? I have read man 5 interfaces, however, it barely describes this.
[14:24] <RoyK> tdn: iirc allow-hotplug will up the interface when detected. I've seen this fail at times, so I just use auto
[14:25] <\sh> RoyK: allow-hotplug is debian, ubuntu doesn't have allow-hotplug ... read the bonding release notes from aeh karmic or lucid
[14:25] <RoyK> k
[14:26] <\sh> RoyK: /usr/share/doc/ifenslave-2.6/examples/two_hotplug_ethernet  is a good example in lucid...karmic had a bug in the doc
[14:46] <tdn> \sh, ok
[15:23] <WinstonSmith> good day people! i hear webmin is a no-no now. any suggestions for a replacement?
[15:29] <pmatulis> WinstonSmith: not really
[15:30] <WinstonSmith> pmatulis, ok thanks. what is the equivalent of update-rc.d now?
[15:31] <WinstonSmith> i mean to enable/disable services?
[15:32] <Wolfsherz> hi, when updating apache "service apache2 start" does not work anymore, the reason is in /etc/init.d/, there is now a new script: apache2.1 while apache2 is zero bytes. why does this happen? (ubuntu 10.04).
[15:33] <RoyK> 10.04 should have the apache2 script
[15:35] <Wolfsherz> it does, but it is only zero byte after the update, and a new one is there apache2.1 which does the job...
[15:35] <Wolfsherz> but this is a bug for sure.
[15:35] <RoyK> well, report it :)
[15:35] <pmatulis> WinstonSmith: it's a little confusing i'm afraid, due to some services using upstart and some not
[15:36] <Wolfsherz> ok found it in launchpad already... some people were reporting it last year...
[15:36] <WinstonSmith> pmatulis, exactly my point. when i finally had the old System-V style figured out they changed :(
[15:37]  * RoyK installs native zfs
[15:37] <WinstonSmith> pmatulis, so how do i disable o service using upstart?
[15:38] <WinstonSmith> s/o service/a service/
[15:38] <pmatulis> WinstonSmith: and to my knowledge update-rc.d is even not guaranteed to work with all sysvinit services
[15:38] <WinstonSmith> :O
[15:38]  * WinstonSmith thinks i actually hadnt figured out anything
[15:38] <pmatulis> WinstonSmith: upstartified services should have conf files under /etc/init
[15:39] <genii-around> I think initctl is the upstart equivalent of update-rc.d
[15:40] <WinstonSmith> pmatulis, so if i just move the script out of the directory should i be safe?
[15:41] <WinstonSmith> genii-around, thanks that looks promising. there is no option to disable a job though
[15:42] <pmatulis> WinstonSmith: what release are you using anyway?
[15:42] <WinstonSmith> 10.10
[15:42] <WinstonSmith> sorry should have supplied info right away
[15:47] <pmatulis> WinstonSmith: you can either rename the upstart file (ex: ssh.conf.OFF) or comment out the 'start on' line in ssh.conf
[15:48] <WinstonSmith> pmatulis, thanks! have a nice day & a better weekend!
[15:49] <pmatulis> WinstonSmith: in 11.04 you will be able to add a one-word line in the conf file: manual
[15:49] <WinstonSmith> pmatulis, sounds good
[15:49] <pmatulis> WinstonSmith: i prefer the file rename method as it's obvious what going on
[15:49] <pmatulis> *what's going on
[15:50] <WinstonSmith> pmatulis, yes with one glance of the dir you can discern the disabled ones
[15:50] <pmatulis> WinstonSmith: all very sub-optimal but...
[15:51] <WinstonSmith> pmatulis, yes well linux is a work-in-progress (i like that actually...always new things to learn ;) )
[15:59] <genii-around> WinstonSmith: I made a test script which just runs ls, added it with the old update-rc.d method. Was able to call it with new upstart method: sudo service ls-test                  and it lists / contents. But adding start/stop or so on as options give an error. Upstart has file /etc/init/rc-sysinit.conf which runs old-style scripts based on runlevels as before
[16:00] <aliverius> with linux raid, can i mirror a portion of 2 disks?
[16:00] <pmatulis> aliverius: yes
[16:00] <gobbe> aliverius: yep
[16:00] <aliverius> with lvm or not?
[16:02] <WinstonSmith_> genii-around, thank you for that info - will check that out. but it seems to me that upstart/system-v mix is far from ironed out
[16:04] <genii-around> WinstonSmith_: I think because I didn't write a wrapper for ls which would accept start/stop/reload options is why
[16:04] <aliverius> basically this is the layout i want: 1 mirrored portion of the disks will be the rootfs and a /home with sensitive data - raid 1, and what is left should be one logical volume that i dont care if they be lost. is it feasible?
[16:05] <aliverius> also can i setup 1 disk for raid and lvm with ubuntu server and add the second disk at a later time? and just swap the drives whenever/if they fail?
[16:06] <WinstonSmith_> genii-around, no i dont mean your test script just the mix of the 2 systems and not so much info around. did you try to stop pulse audio with "service pulseaudio stop" for example? and i searched a bit (well like 5 min) and did not find a easy solution to stop pulse
[16:08] <genii-around> WinstonSmith: I don't have any sound system running :)
[16:09] <WinstonSmith> genii-around, well just as an example. had this problem on my laptop
[16:10] <WinstonSmith> genii-around, i just mean before one could always rely on doing "/etc/init.d/servicename stop" and it WOULD stop :(
[16:10]  * RoyK thinks the move to upstart was a bit hasty
[16:10]  * WinstonSmith concurs
[16:11] <RoyK> good old sysv scripts work
[16:11]  * genii-around makes more coffee
[16:11] <WinstonSmith> and one could easily write one
[16:12] <pmatulis> aliverius: you can't seriously think that if you lose one drive you can insert a 2nd blank one and boot up???
[16:13] <RoyK> aliverius: you should start with two drives. if you need to add the second half of the mirror later, that's doable, but not with lvm iirc
[16:14] <RoyK> aliverius: adding one later will involve creating a broken MD mirror on the second drive, copying the data, and adding (or "replacing") the initial drive as the second half of the mirror
[16:14] <genii-around> As soon as we get used to upstart they'll probably switch to systemd anyhow
[16:15] <WinstonSmith> genii-around, yes they like to keep us on the edge ^_^
[16:18]  * WinstonSmith wants a coffee too
[16:43] <aliverius> thank you RoyK. pmatulis that was a more productive answer :p
[16:44] <pmatulis> genii-around: that's funny but i don't think so
[16:46] <genii-around> pmatulis: Because upstart is an inhouse project?
[16:48] <pmatulis> genii-around: not really, upstart is just a good product.  it's introduction has been shaky is all  ;)
[16:50]  * genii-around sips his coffee and ruminates
[16:57] <genii-around> pmatulis: Some decent management tool for upstart would probably go a long ways
[16:57]  * genii-around ponders upstart-rc.d
[17:06] <aliverius> i have another question. say my volume group consists of physical volumes in two different disks. then one and only logical volume is created. if one disk fails and so one pv is lost, how possible is it that the data in the good physical volume will survive?
[17:06] <aliverius> i mean it will survive but will it be accessible?
[17:07] <aliverius> retreivable?
[17:08] <RoyK> no
[17:09] <RoyK> if using a striped setup without redundancy, the whole volume will be lost
[17:09] <compdoc> doesnt sound striped
[17:09] <RoyK> the data will still be on the remaining disks, but you'll have a bit of an issue to retrieve it
[17:10] <RoyK> aliverius: is this a mirrored setup, or striped?
[17:11] <aliverius> neither. contiguous
[17:11] <RoyK> then if you lose one pv, you lose it all
[17:11] <RoyK> disks are too cheap these days to risk your data on non-redundant installs
[17:12] <aliverius> so then better have two separate partitions, instead of one logical...
[17:12] <aliverius> i want to get 2 disks. one part of them will be mirrored for safety
[17:12] <RoyK> aliverius: that is, the data stored on the drive not malfunctioning will obviously be there, but you'll spend more time getting it out than you want to know
[17:13] <aliverius> no tools to do that huh?
[17:13] <RoyK> aliverius: even 2TB drives costs less than $100 these days
[17:13] <RoyK> aliverius: mirroring is supported with md and lvm, you can use either
[17:14] <RoyK> md also supports raid[56], which can be handy if you want more drives
[17:15] <compdoc> youd think that JOBD in an lvm would allow one disk the survive one dying
[17:16] <compdoc> JBOD
[17:16] <RoyK> compdoc: well, he asked, and got an answer
[17:16] <compdoc> something thats easy enough to test
[17:16] <gobbe> raid5 isn't very handy with big disks
[17:16] <RoyK> huh?
[17:16] <compdoc> handy?
[17:17] <RoyK> gobbe: why would that be?
[17:17] <gobbe> RoyK: rebuild takes long, and causes lot's of disk io to rest of disks, and might cause more disk damages
[17:17] <gobbe> that's why raid6
[17:17] <gobbe> for extra parity
[17:17] <compdoc> I use raid 5 and four 2TB disks
[17:17] <compdoc> well, one has five 2TB drives
[17:18] <RoyK> rebuild takes a bit longer, sure, but it's still vastly better than striping
[17:18]  * RoyK uses zfs for that sort of things
[17:18] <gobbe> RoyK: that's why you use both ;)
[17:19] <RoyK> gobbe: I quite understand the raid5/6 thing - I have a box with 11x7-drive raidz2 at work
[17:19] <gobbe> RoyK: i mean that the bigger disk, longer it takes to build and rebuild causes lot's of io to rest of disks, which might cause more damage
[17:19] <RoyK> small raidz2 volumes, lots of data
[17:19] <gobbe> but i don't say that you shouldnt use it
[17:19] <gobbe> disks are quiet cheap so raid6 is better
[17:20] <RoyK> gobbe: I can't really agree with the i/o part of this - i/o to one disk doesn't affect that to another
[17:20] <compdoc> 3.5" drives are cheap. Im hoping 2.5" drives will become cheap
[17:20] <gobbe> RoyK: well, rebuild reads all disks
[17:20] <RoyK> obviously, yes
[17:21] <gobbe> and risk that disks breaks is bigger when it's under heavy io
[17:21] <RoyK> 2,5" drives are quite cheap too, the only thing being rather expensive these days are 10k or 15k drives, and SSDs, especially SLCs
[17:21] <gobbe> yep
[17:21] <RoyK> but you can't pack 2TB into a slim 2,5" drive
[17:21] <RoyK> at least not yet
[17:22]  * RoyK wants a 2TB SSD for his laptop
[17:22] <gobbe> don't get me wrong however, raid5 is ofcourse better than raid1, but due the fact of low disk price, i wouldn't go with raid5 anymore
[17:23] <gobbe> one friend of mine has raid5 with three 512GB OCZ colossus's
[17:23] <gobbe> :-)
[17:24] <compdoc> I seen 1TB 2.5" drives, but they want a lot for them
[17:25] <RoyK> the bad thing with large storage and most filesystems, is that they, the filesystems, mostly can't detect corrupted data
[17:25] <gobbe> RoyK: that's why you run zfs
[17:25] <RoyK> so use ext4 on 10TB and just wait for something funny to happen
[17:25] <compdoc> I use a small drive to boot servers from, and raid for storage
[17:25] <RoyK> gobbe: indeed :P
[17:25] <compdoc> ext4 would cause something funny?
[17:26] <gobbe> well, like ext3 or jfs
[17:26] <gobbe> they cannot detect corrupted data
[17:26] <RoyK> gobbe: http://pastebin.com/qRrQe0cQ
[17:26] <RoyK> :P
[17:26] <gobbe> and bigger the filesystem, better change that you find corrupted blocks
[17:27] <RoyK> this is just 100TB
[17:27] <compdoc> is there a native zfs for ubuntu? not fuse, I hope
[17:27] <gobbe> RoyK: nice pool :-)
[17:27] <RoyK> compdoc: I just installed native zfs for testing - seems to find my pool etc, but didn't mount - it's in early alpha
[17:28] <compdoc> where did you get it?
[17:28] <RoyK> http://zfsonlinux.org/
[17:28] <compdoc> I tried zfs-fuse, and write times were cut in half
[17:28] <RoyK> write speed on zfs-fuse tend to suck, yes
[17:28] <gobbe> KQstor promises native zfs
[17:29] <compdoc> I liked zfs though - cool features
[17:29] <RoyK> compdoc: installing openindiana isn't very hard, though :P
[17:29] <RoyK> http://hub.opensolaris.org/bin/download/Community+Group+zfs/docs/zfslast.pdf
[17:29] <gobbe> solaris has two good things, zfs and dtrace, but rest is quite crap :-)
[17:29] <RoyK> not really
[17:30] <RoyK> service managability is far beyond what's in current linux distros
[17:30] <gobbe> there's much more software for linux
[17:30] <compdoc> true
[17:30] <gobbe> without need to compile
[17:30] <compdoc> more support
[17:30] <RoyK> well, that's package management for you, not OS
[17:30] <gobbe> support is most cases
[17:30] <gobbe> RoyK: i don't mean package management, i mean software with support
[17:31] <gobbe> commercial
[17:31] <gobbe> i would say that when linxu get's native zfs it will be killer
[17:31] <RoyK> I talked to this guy from CERN who tried to install a fileserver on linux on 10Gbps ethernet - could hardly get 5Gbps out of that - no load issues, probably IP stack problems. same hardware on openindiana gave full wirespeed
[17:32] <gobbe> networking stack in linux isn't by default as powerfull as it is in solaris
[17:32] <gobbe> but by tweaking you can get same performance
[17:32] <RoyK> gobbe: I doubt it'll arrive in ubuntu - CDDL is still incompatible with GPL
[17:32] <gobbe> but solaris provides it without any job :)
[17:33] <RoyK> that's why I stick to solaris (or openindiana) for storage
[17:33] <RoyK> application servers run linux
[17:33] <gobbe> u use solaris also in fileservers
[17:33] <gobbe> and applications with linux
[17:33] <gobbe> same as you :)
[17:33] <RoyK> it's possible to use a screwdriver as a hammer, but it works better to get the right tools for the right job :P
[17:34] <gobbe> so waiting for native zfs
[17:35] <RoyK> as I said, just tried it, but it didn't mount the fs
[17:35] <gobbe> yep
[17:35] <gobbe> so still waiting ;)
[17:35] <RoyK> and I can't find much data on the net either
[17:35] <compdoc> ever try gfs?
[17:36] <RoyK> that's for shared storage - I don't need that, really
[17:36] <gobbe> i run gfs2
[17:36] <gobbe> gfs2+drbd
[17:36] <RoyK> gobbe: shared storage for VMs or something?
[17:36] <gobbe> http://www.kqstor.com/Home.aspx?page=home
[17:36] <gobbe> that's interesting
[17:37] <gobbe> RoyK: i have clustered mail,web,dns etc
[17:37] <gobbe> RoyK: so shared home, shared mailpool etc
[17:37] <gobbe> both servers are independent, and attached to different operators
[17:38] <RoyK> gobbe: I don't really see the need for gfs in that setup
[17:38] <JanC> gobbe: I thought there was a patch to get "native" zfs on linux?
[17:38] <RoyK> there is
[17:38] <RoyK> http://zfsonlinux.org/
[17:39] <RoyK> it's a wee bit more than a patch, but still
[17:39] <JanC> I used "patch" as you can't distribute a kernel built with it
[17:40] <JanC> it's legal as long as you don't distribute it, I guess
[17:40] <RoyK> you can't distribute binaries
[17:40] <gobbe> RoyK: you cannot do active-active without gfs
[17:41] <gobbe> RoyK: or how would you do it
[17:41] <RoyK> can't drbd do that for you?
[17:41] <gobbe> RoyK: no, drbd only does sync, you cannot mount it to both machines without gfs or other cluster-fs
[17:42] <patdk-wk> you can do it without gfs
[17:42] <RoyK> gobbe: sure, but why do they share the filesystems?
[17:42] <patdk-wk> ocfs
[17:42] <gobbe> RoyK: because both machines write there, and read it
[17:42] <RoyK> spool area?
[17:42] <gobbe> patdk-wk: of course, but you need filesystem that supports dual write nodels
[17:43] <gobbe> like gfs
[17:43] <gobbe> you could do active-passive with just drbd+ext4 (for example)
[17:43] <gobbe> but if you want to write in both nodes you need to have fs that supports it :)
[17:44] <gobbe> at least i didn't find out any way to doit, so if you know, please tell :)
[17:44] <RoyK> what apps are running on these servers?
[17:44] <gobbe> http://www.drbd.org/users-guide/s-dual-primary-mode.html
[17:44] <gobbe> RoyK: postfix, lighttpd etc
[17:45] <RoyK> then, why do you have two active nodes on this?
[17:45]  * patdk-wk still wonders what is wrong with ocfs, and why gfs must be used?
[17:45] <gobbe> because if one network connection fails, other will be working
[17:45] <patdk-wk> but ya, I personally wouldn't do either, but use one at a time
[17:45] <gobbe> patdk-wk: well, ocfs works also, but i like gfs2 more
[17:47] <gobbe> i like to have my mail and web-server up, even the case when other connection is down
[17:47] <gobbe> this is the way to avoid really expensive BGP-routing ;)
[17:47] <patdk-wk> no it's not
[17:47] <aliverius> i see everyone talk alot about zfs but not a word on btrfs? not mature yet?
[17:48] <gobbe> patdk-wk: why it isn't?
[17:48] <patdk-wk> gobbe, what your doing only solves the case of if a single server goes down
[17:48] <patdk-wk> it does nothing if your isp goes down
[17:48] <patdk-wk> and that is what bgp solves
[17:48] <gobbe> patdk-wk: well, i have TWO separate conenctions
[17:48] <gobbe> patdk-wk: so ISP's
[17:48] <patdk-wk> so you just made your system worse?
[17:49] <gobbe> why?
[17:49] <patdk-wk> if one isp1->computer1 and isp2->computer2, if computer1 and isp2 go down, your screwed?
[17:49] <patdk-wk> and assume your using some kind of dns failover
[17:49] <gobbe> yes
[17:49] <gobbe> that's the case
[17:50] <gobbe> patdk-wk: remember that this is not corporate solution, but my personal
[17:50] <gobbe> patdk-wk: i don't want to pay 10 times more for ISP with bgp :)
[17:50] <gobbe> and yes, if isp1 and computer2 goes down i don't have anything
[17:50] <patdk-wk> you should fix that
[17:51] <gobbe> i could, addind ip from isp1 to computer2
[17:51] <patdk-wk> use a layer3 switch, and put them on vlans
[17:51] <patdk-wk> then each computer can access each isp
[17:51] <patdk-wk> it's called, failover :)
[17:51] <gobbe> i cannot do it
[17:51] <gobbe> because i don't have access to locations where my machines are
[17:52] <gobbe> and second problem is that servers are not in same location
[17:52] <gobbe> that's why i cannot have both isp's on both servers
[17:52] <patdk-wk> well, you need bgp then
[17:52] <patdk-wk> bgp is only like $500 a year
[17:53] <patdk-wk> hmm $41 a month
[17:53] <gobbe> maybe there, here it's like 500 EUR per month
[17:53] <patdk-wk> no, ripe does not charge that much
[17:53] <gobbe> you cannot join to ripe if you are private
[17:53] <RoyK> erm - with BGP, you don't need dns failover :P
[17:53] <gobbe> again, this is my personal
[17:53] <gobbe> :)
[17:54] <gobbe> RoyK: of course don't, but i dont run it
[17:54] <gobbe> patdk-wk: and ripe is not enough, you still need to buy connections from ISP and they charge extra if you want to use BGP
[17:54] <RoyK> gobbe: how much data do you have on your zfs setups?
[17:55] <patdk-wk> hmm, none if my isp's charge extra for bgp
[17:55] <gobbe> patdk-wk: well, that's there
[17:56] <gobbe> patdk-wk: here you need to pay extra
[17:56] <RoyK> patdk-wk: enduser-targeted ISPs don't give you bgp :P
[17:56] <gobbe> yep
[17:56] <gobbe> you need to buy corporate-dsl
[17:56] <gobbe> and it's 10x price of consumer
[17:56] <patdk-wk> yuk, dsl
[17:56] <RoyK> we're on a 1Gbps link now, at work
[17:56] <gobbe> and signing to ripe is 2000e
[17:56] <patdk-wk> gobbe, this is what colocation is for :)
[17:56] <RoyK> dual everything
[17:57] <gobbe> and 1300e/year
[17:57] <patdk-wk> gobbe, but that include ipspace
[17:57] <gobbe> patdk-wk: and again, it's my _personal_ server
[17:57] <patdk-wk>  I guess arin doesn't require ip spcae, so only 500usd for the asn
[17:57] <patdk-wk> and use the isp address space
[17:57] <patdk-wk> ya, I have so been thinking of getting my own asn/ip space for my personal server
[17:57] <patdk-wk> only cost me $115 a month extra
[17:58] <gobbe> that's nice
[17:58] <gobbe> in fact you cannot even get ripe membership without having company
[17:59] <gobbe> this solution cost's me zero euros extra, and i get better availability free
[17:59] <gobbe> :)
[17:59] <gobbe> better than just one server
[18:00] <gobbe> if this would be corporate solution, i would definately pay for bgo
[18:00] <gobbe> bgp
[18:01] <gobbe> and to be honest, i have run this setup for year without any problems in either nodes ;)
[18:19] <aliverius> ext3 or ext4 to keep important backups in?
[18:21] <pmatulis> aliverius: doesn't matter, just keep them off-disk  ;)
[18:21] <aliverius> you mean not under use?
[18:21] <aliverius> like an external hdd or bluray or whatever?
[18:22] <pmatulis> aliverius: not on the same disk as the source files
[18:22] <aliverius> ah yes. well that is what makes it a backup!
[18:22] <gobbe> tape for backups ;)
[18:22] <aliverius>  i miss tape...
[18:22] <aliverius> never had the chance to own one
[18:23] <pmatulis> tape, ugh.  for massive amounts of data i suppose it still makes sense
[18:23] <patdk-wk> I just wish it didn't require an lto library in order to backup to tape
[18:23] <gobbe> one lto-drive
[18:23] <aliverius> i thought tape cant take lots of data nowadays
[18:23] <gobbe> and lto5 tapes
[18:23] <patdk-wk> lto5 is 800gigs
[18:24] <gobbe> yep
[18:24] <gobbe> native
[18:24] <aliverius> mmmm...
[18:24] <aliverius> i thought tape was dead...
[18:24] <patdk-wk> I would still require a 12tape lib to backup my stuff :(
[18:24] <gobbe> no it isnt
[18:24] <patdk-wk> defently not
[18:24] <gobbe> tape is good
[18:24] <aliverius> price?
[18:24] <patdk-wk> have a 24tape lib for work
[18:24] <patdk-wk> the drives are like 1k-2k
[18:25] <patdk-wk> the tapes, cheap, $50 or less
[18:25] <gobbe> yea
[18:25] <aliverius> i will buy an old drive then :p i need to make my bedroom fancier!
[18:25] <gobbe> and the speed is awesome
[18:25] <aliverius> ah ytes.. tell me about speed
[18:26] <aliverius> like spectrum cassette?
[18:26] <gobbe> it can take more than avverage disk can push
[18:26] <patdk-wk> lto3 is 80MB/sec, lto5 is 140MB/s
[18:28] <patdk-wk> oh wait, lto4 is 800gig
[18:28] <gobbe> lto5 ia 1600
[18:28] <aliverius> jesus! i cant believe that tape is so useful these days
[18:28] <patdk-wk> no, lto5 is only 1500
[18:28] <patdk-wk> they are hitting a limit :)
[18:29] <gobbe> sorry 1500 yes
[18:29] <gobbe> aliverius: it is
[18:29] <gobbe> for longterm backups its almost only usable media
[18:30] <aliverius> and is the material durable?
[18:30] <gobbe> yes
[18:30] <gobbe> if you store  them properly
[18:30] <patdk-wk> says here, 260 uses
[18:30] <patdk-wk> 15 to 30years archive
[18:30] <aliverius> ok i will buy one when i create my first space agency :p
[18:31] <gobbe> ;)
[18:31] <gobbe> lto6 is coming
[18:31] <gobbe> with 3TB capacity
[18:31] <gobbe> maybe 2012
[18:32] <gobbe> 3.2 to be excact
[18:32] <gobbe> exact
[18:33] <gobbe> i cant type correctly with my n900
[18:41] <Koheleth> Cor you guys messed up the other night
[18:42] <Koheleth> my webserver went down till you put things right
[18:43] <pmatulis> huh?
[18:44] <Koheleth> pmatulis: some security upgrade with php went tits up
[18:44] <Koheleth> they sorted it though
[18:44] <Koheleth> day and a half later
[18:44] <pmatulis> Koheleth: alright, all is well that ends well
[18:45] <patdk-wk> ya, never upgrade *too* soon :)
[18:45] <Koheleth> nearly paid 30 euros/ 15 minutes but the fix came
[18:45] <Koheleth> padk : Just learnt that :)
[18:46] <Koheleth> Thanks for all the work :)
[18:46] <Koheleth> Great server
[18:47] <RoyK> gobbe: 3TiB?
[18:48] <aliverius> so... will ubuntu server let me setup my raid 1 and lvm etc etc easily through that curses interface?
[18:48] <aliverius> i have one in my single disk server
[18:49] <patdk-wk> sure
[18:49] <aliverius> ok :)
[18:49] <aliverius> cant wait to buy those disks
[18:49] <patdk-wk> I think you need the alt disk though
[18:49] <patdk-wk> not sure,  always use the miniiso
[18:49] <aliverius> i think server only has an alt iso
[18:49] <aliverius> no graphics
[18:49] <aliverius> or am i wrong
[18:50] <patdk-wk> desktop, server, alt, netbook, cloud, ...
[18:51] <aliverius> one day they will have ubuntu-patdk-wk, ubuntu-aliverius aso
[18:51] <aliverius> out of the box ofc course
[18:53] <patdk-wk> I use miniiso to install everything :)
[18:54] <abhijeet> hi guys..
[18:55] <abhijeet> i want to deploy around 100 ubuntu desktops and want to manage then from ubuntu server..
[18:55] <abhijeet> is it possible??
[18:55] <abhijeet> just like windows servers.. pushing updates and doing all the admin stuff from the server
[18:56] <pmatulis> abhijeet: use Landscape
[18:57] <abhijeet> is it free?
[18:57] <\sh> use puppet
[18:57] <\sh> and mcollective
[18:58] <\sh> http://docs.puppetlabs.com/mcollective/
[18:58] <abhijeet> is puppet and mcollective same product
[19:01] <abhijeet> is there other tools available for it??
[19:03] <patdk-wk> hell, you could make one that works just like windows wsus
[19:03] <patdk-wk> would take about an hour
[19:14] <pmatulis> abhijeet: no, Landscape is not free
[19:14] <pmatulis> abhijeet: http://www.canonical.com/enterprise-services/ubuntu-advantage/landscape
[19:16] <abhijeet> pmatulis, opps..
[19:16] <abhijeet> i want to use it in my college..
[19:16] <abhijeet> i need to do the setup out of complete free softwares..
[19:17] <pmatulis> abhijeet: ok
[19:17] <abhijeet> pmatulis, is it possible to have such configuration??
[19:18] <pmatulis> abhijeet: maybe contract out to patdk-wk, one hour shouldn't cost too much
[19:18] <abhijeet> pmatulis,  who are patdk-wk
[19:19] <pmatulis> abhijeet: that guy up there ⤴
[19:19] <abhijeet> pmatulis, :)
[19:19] <patdk-wk> now he's down here
[19:19] <abhijeet> :)
[19:19] <pmatulis> oh wow, he moves around quick
[19:20] <abhijeet> patdk-wk, hi
[20:08] <Join-D> has anyone a samba setup with iptables? i have a specific question
[20:08] <Join-D> !
[20:15] <xlemming> is anyone familiar with setting up a repository and building source packages from tarballs with svn-buildpackage?
[20:16] <jmyles> I'm about ready to pull my hair out just trying to forward a simple port with iptables.  I'm issuing this command: iptables -t nat -A PREROUTING -p tcp -i $external_int -d mydomain.com --dport 420 -j DNAT --to-destination somewhere.local:420
[20:17] <jmyles> The only thing I can think might be a problem is that I'm issuing: "iptables -P FORWARD ACCEPT" and "iptables --table nat -A POSTROUTING -o $external_int -j MASQUERADE" first so that the server acts as a gateway
[20:18] <RoyK> jmyles: that iptable line should work
[20:18] <jmyles> RoyK:  I'm not sure what to do next, to test and see where the packet is being dropped
[20:18] <RoyK> the nic part isn't needed, though
[20:18] <pmatulis> jmyles: test by removing any blocks, if possible
[20:19] <RoyK> also, if the dport is the same from the request and destination, :xx won't be needed
[20:20] <RoyK> as in iptables -t nat -A PREROUTING -p tcp -d 1.2.3.4 --dport 123 -j DNAT --to-destination 192.168.1.2
[20:21] <jmyles> RoyK: What's the difference between --to and --to-destination ?
[20:21] <RoyK> iirc DNAT only takes --to-destination
[20:22] <RoyK> after a -j somewhere, that module takes the arguments
[20:22] <jmyles> So I'm CURLing from a remote host.  How can I tell where the packet fails?
[20:23] <RoyK> jmyles: is this box on the net? I can try from here to see what I can find
[20:23] <jmyles> yep slashrootcafe.com
[20:24] <jmyles> (My little 'fair trade and open source' cafe in New Paltz, NY :-))
[20:24] <RoyK> :)
[20:24] <RoyK> any particular port I should probe?
[20:24] <jmyles> 4290 is the one I'm trying to forward
[20:25] <RoyK> roy@utest:~$ telnet slashrootcafe.com 4290
[20:25] <RoyK> Trying 24.39.111.54...
[20:25] <RoyK> telnet: Unable to connect to remote host: Connection refused
[20:25] <jmyles> So what do you do?  nmap?
[20:25] <jmyles> OK, so now what?  How can I tell where it's being blocked?
[20:25] <pmatulis> jmyles: first see that the original packet is hitting you
[20:26] <RoyK> jmyles: try tcpdump or tshark
[20:26] <pmatulis> jmyles: 'sudo tcpdump -qtn port 4290'
[20:28] <jmyles> OK, nothing
[20:28] <jmyles> hmm
[20:29] <jmyles> (I ran tcpdump and then tried curling from a remote host)
[20:29] <RoyK> may the isp be blocking?
[20:29] <jmyles> That'd certainly be new
[20:29] <RoyK> some isps can be a bit nazi
[20:30] <RoyK> jmyles: on the router, try to tcpdump, and I'll try to nmap you
[20:30] <RoyK> I'll be coming from roy@utest:~$ telnet slashrootcafe.com 4290
[20:30] <RoyK> Trying 24.39.111.54...
[20:30] <RoyK> telnet: Unable to connect to remote host: Connection refused
[20:30] <RoyK> ops
[20:30] <RoyK> wrong
[20:30] <RoyK>  81.191.177.34
[20:31] <donvito> anyone can tell me how to make a script check in crontab every 5 minutes
[20:32] <RoyK> check in crontab?
[20:32] <donvito> ok
[20:32] <donvito> but dont know the command
[20:32] <RoyK> man 5 crontab is a good start
[20:32] <donvito> what to type
[20:32] <donvito> dont start iwth it
[20:32] <donvito> please
[20:32] <donvito> just tell me how
[20:32] <Pici> check what in crontab?
[20:32] <donvito> a script
[20:32] <donvito> pici
[20:32] <RoyK> */5 * * * * somecommand
[20:32] <donvito> tunel.sh
[20:32] <Pici> Then what RoyK said.
[20:33] <Pici> crontab -e
[20:33] <RoyK> man 5 crontab
[20:33] <donvito> */5 * * * * /home/ipv6/tunneupdate.sh
[20:33] <donvito> will be ok this ?
[20:33] <RoyK> are tee eff em
[20:33] <RoyK> should do
[20:33] <Pici> Yes, but you should read the manpage to learn why it does work.
[20:34] <donvito> okey
[20:34] <donvito> pici
[20:34] <donvito> i need for friend
[20:34] <donvito> never need for me
[20:34]  * RoyK hands Pici a beer
[20:34] <RoyK> donvito: not a good excuse for asking silly questions
[20:34] <donvito> its help
[20:34] <donvito> not a question
[20:34] <\sh> oh wow...puppetting drbd is real black magic
[20:35] <RoyK> donvito: it's a question, and a quick google would have led you to the answer quicker
[20:35] <Pici> Well this *is* a support channel.
[20:36] <donvito> thats why i asked here
[20:36] <RoyK> Pici: somehow, but we're not paid, so we answer what we want, RTFM next time, will you?
[20:36] <donvito> were can i see the log
[20:36] <donvito> that it works?
[20:36] <Pici> RoyK: This channel still has rules, like not telling people to rtfm when they ask a question.
[20:38] <RoyK> Pici: I know, this channel has many rules, some of them are good, some are bad. Asking silly questions is ok, but then, I answered him, gave him the solution to his problem, but asked him to please read the sodding manual next time
[20:38] <Pici> RoyK: Fine with me.
[20:39] <jmyles> So bizarre; I can nmap from remote and see a bunch of ports open, suggesting that my ISP is not blocking
[20:41] <jmyles> Also, I get the same radio silence when trying to curl from inside my network
[20:45] <jmyles> So strange - OK, if I use canyouseeme.org now tcpdump lights up!
[20:46] <jmyles> So the packet, on port 4290, is making it in to the server
[20:47] <cap_00> anyone good with samba and group file permissions?
[20:48] <jmyles> ....and if I run tcpdump on the computer to which I want the packets forwarded, it only lights up from curling from within the network.  So one way or another, the server ain't making good.
[20:48] <cap_00> using a windows client, i can't seem to make files "hidden" on a samaba share
[20:49] <cap_00> it looks like it's just being ignored
[20:50] <Join-D> if I run samba, iptables -F it works. If i run samba with iptables and ports opened for samba it doesnt connect from remote (it seems to do from same subnet xxx.xxx.xxx.*) any ideas? Problem is in iptables, not smbd
[20:52] <jmyles> Well, it is working now.  I'm not really sure why.
[21:09] <oljas> cap_00: there is no way to mark files as hidden from your Windows machine, because in POSIX world they just starts with dot, however you can hide files by regexp in smb.conf http://bit.ly/ggoRHM
[21:10] <mathiaz> SpamapS: hi!
[21:11] <mathiaz> SpamapS: how is the rally doing?
[21:11] <SpamapS> mathiaz: not the same without you
[21:11]  * mathiaz blushes
[21:11] <SpamapS> hardly anybody is fist bumping
[21:12] <mathiaz> SpamapS: arghh - traditions are being lost
[21:12] <mathiaz> SpamapS: hopefully new ones are being borned
[21:12] <mathiaz> SpamapS: question related to the PHP world:
[21:12] <zul> like medeival times
[21:12] <mathiaz> SpamapS: is there a tool to convert PEAR modules into debian packages?
[21:12] <SpamapS> mathiaz: none that I know of
[21:12] <mathiaz> SpamapS: I've got the PDB module that isn't packaged anywhere AFAICT
[21:13] <SpamapS> mathiaz: its like rubygems really
[21:13] <mathiaz> SpamapS: yeah!
[21:14] <donvito> RoyK
[21:14] <donvito> well is the same
[21:14] <donvito> crontab and crontab -e
[21:14] <donvito> ?
[21:15] <Join-D2> i am currently running samba, but my firewall blocks it (iptables), even if i open the right ports. Do i need to open anything else then the right ports?
[21:15] <\sh> crontab -e edits the users crontab file
[21:15] <Join-D2> i can connect without firewall
[21:21] <lambda_x> anybody knows how to connect navicli/naviseccli to EMC AX4-5f? (tcpdump shows server communicating with array, but navicli returns Caller not privilaged)
[21:23] <cap_00> ok, i know how to control who can write to a share using write list = USER or @GROUP but how do i control who can even read? is there a read list = ?
[21:26] <Patrickdk> wouldn't that just be the normal access list? :)
[21:26] <Patrickdk> valid users = ....
[21:27] <oljas> cap_00: read list = @"Domain Users"
[21:29] <cap_00> i didn't think it could be that simple
[21:31] <cap_00> and how long does it take samba to see those changes in /etc/samba/smb.conf ?
[21:32] <RoAkSoAx> kirkland: could you please sync bug #702593 and review/sponsor bug #703008
[21:36] <gobbe> cap_00: what kind of changes?
[21:36] <gobbe> cap_00: @Domain Users?
[21:39] <cap_00> or is that valid list = ?
[22:31] <geekbri> how does one list all installed packages with apt-get
[22:36] <ahs3> dpkg --get-selections
[22:37] <geekbri> ahs3: thanks
[22:38] <donvito> libmd5-perl
[22:38] <donvito> why E: Couldn't find package libmd5-perl
[22:38] <donvito> ?
[22:39] <erichammond> "dpkg --get-selections" also lists packages that were deinstalled, so be careful, depending on what you want to do with that list.
[22:56] <geekbri> erichammond: roger that
[23:06] <donvito> how to restart my etho interface?
[23:09] <eric_hill> donvito: ifdown eth0 && sleep 1 && ifup eth0
[23:10] <binBASH> .oO( I see blackholes )
[23:13] <donvito> huh guys is the webmin and ubuntu as router usable if i have wlan0 ?
[23:19] <\sh> webmin?
[23:19] <binBASH> hi \sh ;)
[23:19] <\sh> moins binBASH
[23:19] <binBASH> eh you're fast!
[23:19] <\sh> binBASH: I'm still sitting in the office..and working...:(
[23:20] <binBASH> doh!
[23:20] <binBASH> still? ;)
[23:20] <\sh> binBASH: since this morning from 8am (UTC+1)
[23:21] <binBASH> \sh: I hope you can have some sleep soon
[23:21] <\sh> deploying now storage boxes automagically with fai + puppet (and puppetting drbd is really foobar)
[23:21] <\sh> binBASH: until this morning 8am...and then we are starting to redeploy our server farm from scratch (hopefully without a downtime)
[23:22] <binBASH> sounds like fun, eh
[23:22] <binBASH> Next week I need to switch our company servers as well.
[23:23] <\sh> it's an adventure..and in between I'm writing an amazon ec2 lib for DC²
[23:23] <binBASH> Ahh, that step we had already last month ;)
[23:26] <\sh> binBASH: well, I wrote today round about 1500 lines of code...without focusing on it ;)
[23:28] <binBASH> \sh: I'm currently creating new ec2 like service ;)
[23:28] <binBASH> also a lot of work needs to be done
[23:28] <binBASH> just waiting for the server systems to be shipped since a week now
[23:30] <mrothhh> what is the  best ubuntu server book out
[23:30] <erichammond> binBASH: Instead of waiting for hardware to be delivered, you could just fire up some EC2 instances and have servers within 60 seconds ;-)
[23:31] <binBASH> erichammond: I think you missunderstood :) I'm creating something simmilar like EC2 ;)
[23:31] <binBASH> however hosted on German servers
[23:33] <mrothhh> oh
[23:34] <\sh> binBASH: UEC?
[23:35] <binBASH> \sh: I didn't decided that 100% yet, but plan was to go with OpenNebula + something homegrown ;)
[23:39] <\sh> binBASH: make it something where someone can startup virtual machines which can do PXE boots ;)
[23:40] <\sh> binBASH: I will write the deployment support and bookkeeping stuff for it ;) well, actually it's already done
[23:40] <binBASH> \sh: The plan was to make it open.
[23:40] <binBASH> so people should be able to develop cool addons
[23:43] <binBASH> \sh: if you want I can tell you when betatest starts ;)
[23:44] <\sh> binBASH: if you need a hand...release it :)
[23:45] <MatBoy> anyone an idea why my upgraded maverick installation does not boot, hangs on /boot which it cannot find but still boots when I skip it ? when I do a mount-a after booting /boot is just there... !
[23:53] <binBASH> \sh: sure, will tell you soon ;)
[23:53] <binBASH> \sh: You know currently I got usual problems when ordering Next-Gen Hardware. Pieces need to be shipped from USA first
[23:56] <\sh> binBASH: ever thought about trying out Cisco UCS Servers? (http://www.cisco.com/en/US/netsol/ns944/index.html)
[23:57] <binBASH> Cisco, that sounds already expensive :D
[23:58] <binBASH> \sh: Can't afford that right now I think
[23:59] <\sh> binBASH: well, they want to bang HP and IBM with their servers...
[23:59] <binBASH> \sh: I run only commodity hardware.
[23:59] <binBASH> doing it the google way ;)