[00:04] <slestak> any zenoss users here?  i'm tinkering with the vmdk version
[00:12] <somnolence> is it possible that qemu-dm doesn't utilize proper drivers to boot from my cd-drive, it seems to crash every time it tries to boot the windows xp disk.
[01:03] <Iceman_B|SSH> close
[01:08] <afief> I've got an old Gusty machine I'd like to upgrade, could someone tell me what the best thing to do would be?
[02:14] <panfist> hi, i have LAMP running and I have three folders in /var/www ... i can go to two of them and it starts serving me PHP, but if i go to the third folder it says forbidden. the permissions are all the same for all files and folders
[02:14] <Kamping_Kaiser> panfist, are the permissions the same on the directory itself?
[02:15] <panfist> yes
[02:15] <Kamping_Kaiser> panfist, other then that, check /var/log/apache2/{access,error}.log for clues
[02:15] <panfist> all directories are drwxr-xr-x
[02:16] <panfist> error.log shows Directory index forbidden by Options directive: /usr/share/ampache/www
[02:16] <panfist> oh
[02:17] <panfist> i had to restart apache because i moved ampache files to /var/www
[02:54] <jetole> does anyone know where I can ask questions about tc filters and queues and routing? I have asked a few places where no one seems to know the answer, especially the official spot lartc on oftc.net which I am one of two people to say something in 5 days
[03:42] <mrhoden2009> Does anyone know how to set up RAID configurations?
[03:57] <mrhoden2009> Anyone here?
[03:59] <poningru> mrhoden2009, whatsup?
[03:59] <poningru> raid?
[04:03] <beornlake> hello - I'm looking for help with setting up a virtual interface for hosting a PPTPd VPN - anyone available to answer some questions by any chance?
[04:09] <beornlake> I'll just toss this out there to see what sticks: I'm looking to set up a PPTPd server on my 9.04 VPS, but the VPS is configured at the host to have only one network interface (the global-facing en0). I'm looking for some guidance to help set up a virtual interface (or VLAN?) that I can hook the PPTP daemon to (for itself and the clients to use) - feel free to PM me if you like
[04:22] <mrhoden2009> Does anyone know how to migrate a folder from an old drive to a new RAID 0 configuration?
[04:22] <mrhoden2009> The old drive would be basically my server now.
[04:52] <twb> mrhoden2009: RAID 0 is striping.  If *either* disk fails, you lose everything.
[04:53] <twb> So RAID0 *doubles* your failure rate, rather than halving it.
[04:53] <twb> RAID0 is only useful in certain limited applications, such as holding temporary copies of data while it is being crunched.
[04:54] <mrhoden2009> I'm looking for speed which is why I was looking to do that, I already have pretty fast hardware, is there a way to use RAID 0 and RAID 1?
[04:54] <twb> mrhoden2009: the right question is: do you care about your data?
[04:54] <twb> If so, you do not want RAID0.
[04:54] <mrhoden2009> I see your point.
[04:55] <twb> Sometimes people use RAID0 on top of RAID1 (four disks), but IMO you'd be better off using RAID5 or RAID5 with two parity disks (sometimes called RAID6).
[04:55] <mrhoden2009> let me see something real quick
[04:56] <twb> Also, you will want md RAID (software RAID) unless you paid a couple of hundred dollars for your RAID controller.  Cheaper controllers are called "fakeraid", which you can read about on Wikipedia.
[04:56] <twb> Regarding migration from a single-disk to a RAID system, the easiest way to go about this is to have a spare disk -- you set up the array, then copy the data across from the original disk.
[04:58] <TimReichhart> could anybody help me out I can send out emails ok on my mail server but I cant receive any emails
[04:59] <mrhoden2009> Two things: The reason I would do hardware is to speed things up. and Is it possible to set up the RAID config with some HDD's then copy the stuff from the original one that also has the OS on it
[04:59] <ScottK> TimReichhart: What mail server program are you using?
[04:59] <TimReichhart> im using dovecot/postfix
[05:00] <ScottK> TimReichhart: OK.  What does /var/log/mail.log tell you about delivery attemps?
[05:00] <twb> ScottK: fakeraid will not be significantly faster than md raid.
[05:00] <twb> Sorry, bad completion.
[05:00] <TimReichhart> well see im using mysql also that is been setup for the mail server
[05:01] <ScottK> TimReichhart: Look in the logs.
[05:01] <TimReichhart> ok
[05:01] <TimReichhart> let me take a look here
[05:03] <mrhoden2009> Do I need to word that better or do you know what I'm talking about?
[05:04] <twb> mrhoden2009: I think I already answered your question: 14:01 *** TimReichhart JOIN
[05:04] <twb> Gah.
[05:04] <twb> mrhoden2009: I think I already answered your question: 14:01 <twb> Regarding migration from a single-disk to a RAID system, the easiest way to go about this is to have a spare disk -- you set up the array, then copy the data across from the original disk.
[05:05] <mrhoden2009> Okay, thank you
[05:06] <TimReichhart> what are you talking about twb?
[05:07] <ScottK> TimReichhart: He just over copy/pasted.
[05:08] <twb> My IRC client suppresses display of some messages, but they still exist in the buffer.  So I can inadvertently select them if the cursor is at their boundary.
[05:09] <beornlake> anyone here happen to have experience with OpenVPN and/or setting up virtual network interfaces for a VPN server? I'd love to ask a few questions. :)
[06:40] <lwizardl> hey
[06:41] <lwizardl> I was wondering generally what does a traditional server (in a rack server case like 1U or 2U) cost to run in electricity ?
[07:46] <T-KILLER> Hello there! I've just installed Ubuntu Server 9 and am looking to set it up for local and remote administration.  I want it to be a fully working web, mail and video server for a youtube type site using a CMS.  I have selected all the installed packages such as LAMP Java server, mail server, DNS server and so on but ommited the installation of virtual machine.  Just looking for general help...
[07:47] <T-KILLER> setting up a control panel of some sort for remote administration and accessing ftp etc to install the cms once the web server is working to my liking...
[07:48] <T-KILLER> but i really dont know where to start, I'm presented with te command line on the local server and don't really know where to go from there, a real newbie here!  Someone offer some guidelines and some directions what to do next ?
[07:50] <infinity> T-KILLER: You may find some things at https://help.ubuntu.com/9.04/serverguide/C/index.html helpful.
[07:50] <T-KILLER> thanks, ill go take a look now...
[07:53] <T-KILLER> i need to install ffmpeg to this server but i cant find any apt get type install procedures on the ffmpeg site, it there an easy way to fully install the entire ffmpeg package to Ubuntu Server 9 using the command line ?
[07:55] <T-KILLER> and reading a little bout ebox, would it be worth my while installing it on the server so i have a web gui to administrer the system ?
[07:55] <T-KILLER> or are there better alternatives ?
[08:11] <jetole> does anyone know if there is a copy of the 7.10/gutsy repo anywhere?
[08:13] <jetole> T-KILLER: apt-get install ffmpeg
[08:14] <jetole> you can either use "apt-cache search" or "apt-file search" although you will have to install apt-file and do an apt-file update or you can take a look at packages.ubuntu.com
[08:16] <jetole> T-KILLER: I don't know about ebox but I know a lot of people ask about webmin which has a habit to break systems since it's an ambigious management tool for many versions of the same program but the best way to maintain your software is _KNOW_ how to maintain your software
[08:16] <jetole> web based gui are there for people who don't want to bother learning how to properly manage a server / desktop
[08:16] <jetole> albeit desktop users should not have to be as well informed but then again you are in the ubuntu-server room
[08:18] <jetole> and yeah, running a server means knowing how to run a server essentially, I would not trust any general purpose all server management solution no matter what it's called unless it comes with and provides updates for all packages it manages i.e. a distro which includes the management software
[08:19] <jetole> only one I know of that is close to being complete is called windows server
[08:19] <jetole> emphasis on close
[08:22] <a|wen> jetole: old-releases.ubuntu.com iirc
[08:27] <jetole> a|wen: thanks, will check in a minute, just doing some tweaks on tc / routing
[08:32] <Chipzz> jetole: while I agree with your sentiment, there are ways around that
[08:32] <Chipzz> like use a database to store configuration, ie ldap
[08:33] <Chipzz> ftp daemons support ldap, there's an apache plugin to read your whole apache config from ldap, dhcpd supports ldap, ...
[08:35] <Chipzz> postfix supports ldap
[08:52] <DarKnesS_WolF> hey fast question, any tools " other than FAI " to do auto / mass installation for ubuntu servers ?
[09:00] <T-KILLER> ok, thanks for the advice
[09:28] <XiXaQ> is there any reason why joomla isn't packaged for ubuntu?
[09:41] <jetole> Chipzz: I have no idea what I said that you responded to you agreed with my sentiment
[09:41] <jetole> Chipzz: I run postfix and dovecot both over ldap
[09:42] <jetole> Chipzz: with details stored in MySQL
[09:42]  * jetole shrugs
[09:43] <jetole> XiXaQ: yes. because no one has packaged it but you are more then welcome to
[09:44] <XiXaQ> it is packaged?
[09:44] <XiXaQ> http://developer.joomla.org/section-blog/17-developer-team-blog/86-joomla-debian-package.html
[09:46] <jetole> a|wen: I just changed the sources.list to use old.releases (after looking over the site first) and it worked like a charm, thanks
[09:46] <jetole> btw, does anyone know how long and LTS release lasts for?
[09:46] <a|wen> your hopefully temporary solution
[09:47] <a|wen> jetole: the server-part lasts 5 years
[09:47] <XiXaQ> jetole, 3 years on the desktop and 5 years on the server.
[09:47] <jetole> a|wen: well when I have a chance to upgrade this machine I may but it is a firewall at a remote data center which means I won't be doing it remotely and will have to route around it when I do
[09:48] <jetole> a|wen: thanks, do you know how often the server parts are released?
[09:48] <jetole> hmmm, you know thats actually kinda depressing? the LTS have lower shelf life windows on updates
[09:49] <a|wen> jetole: it is released around every 2 years for what i know
[09:49] <jetole> so 10.4 should be another one I guess
[09:49] <a|wen> it might ... not announced yet, so no guarantees
[09:49] <jetole> cool
[09:50] <jetole> well I was able to install a package I needed on 7.10 just now so I am happy
[09:50] <a|wen> it can keep you going at least
[09:51] <jetole> you know, I have spent the last week reading over tc and lartc and traffic shapping and queing disciplines and I find it odd that I don't see an automated way to limit bandwidth per connection
[09:51] <jetole> or per IP
[09:52] <jetole> you know, say no single IP in this network can go over this limit without specifying each IP
[09:53] <a|wen> that might be right ... haven't played much with it
[09:53] <jetole> well I am guessing I could go with a for loop in bash and set them all up
[09:54] <a|wen> normally my challenge have been supporting dynamic IP lists
[09:54] <jetole> I am really killing time right now too, have a project that needs to be done this weekend but I am half way through a 4 hour copy that I have to wait on atm
[09:54] <jetole> dynamic IP on routing?
[09:55] <a|wen> dynamically open/close IPs in the firewall
[09:55] <jetole> i.e. tc filters?
[09:55] <jetole> oh
[09:55] <jetole> well there are a few ways around that
[09:55] <jetole> there is a nmap sniffer / iptables rule tool, trying to remember what it is called
[09:55] <jetole> also inline snort
[09:56] <jetole> NAC such as openfire with compatible smart switch is good
[09:56] <a|wen> i got it working with 100% iptables
[09:56] <jetole> our firm uses two hp procurve 2650 btw, I love those switches
[09:57] <jetole> oh you mean with the recent module?
[09:57] <a|wen> yeah ... took some time finding that one though
[09:57] <jetole> I used recent a couple years ago
[09:57] <jetole> havn't had much of a use for it lately
[09:58] <jetole> psad is a cool tool
[09:58] <jetole> it's the anti-Nmap
[09:58] <jetole> which it also claims to be but it does work
[10:00] <a|wen> there are so many tools in this area
[10:00] <jetole> yeah
[10:00] <jetole> I'm going for a smoke, bbiab
[10:16] <BioGuyver> Hi
[10:16] <BioGuyver> Trying to get some clarification of a problem while installing Server 9.04
[10:17] <Gargoyle> Wassup?
[10:17] <BioGuyver> This is my first time installing Server so I just went ahead and did a default install and everything worked fine
[10:18] <BioGuyver> I then went back and started the install process again to setup ths time on raided disks
[10:18] <BioGuyver> I have used software raid plenty of times before but never at install time
[10:18] <BioGuyver> I followed a couple of online guides but at the part where you create the raid disks in software it fails
[10:19] <BioGuyver> The error on console 4 is mdcfg: mdadm: /dev/mdmd0 is not valid
[10:19] <BioGuyver> That looks like a typo or error in the scripting to me?
[10:20] <BioGuyver> I would expect that to be /dev/md0
[10:20] <Gargoyle> Should just be /dev/md0?
[10:20] <Gargoyle> :)
[10:20] <BioGuyver> ok well that is kinda out of my hands as it is done during the install
[10:20] <BioGuyver> so is there a proper way to log this as a bug then?
[10:20] <BioGuyver> not sure how i move on from here
[10:21] <Gargoyle> I'll have a quick check and see if the same happens here. Did you get any specific iso or just the standard one?
[10:21] <BioGuyver> I am using server 9.04 but I got the same error trying alt 9.04 as well both on amd64
[10:21] <BioGuyver> Thanks Gargoyle
[10:22] <Gargoyle> Just two disks with a mirror?
[10:23] <BioGuyver> yes a pair of 320 ide disks
[10:23] <BioGuyver> I created 2 partitions on each as I plan to raid / and Swap
[10:28] <Gargoyle> Just downloading the ISO, hang around in here for a bit and I'll let you know how I get on.
[10:28] <BioGuyver> ok thanks. I am afk a bit but will keep checking here
[10:28] <BioGuyver> Thanks again
[10:28] <Gargoyle> np, been planning to have a poke around with 9.04 anyways! :D
[10:28] <BioGuyver> btw just fyi I checked the hash on all the isos I have downloaded just to be sure
[11:02] <Gargoyle> Seems OK so far. Only difference I can think of is that my VM is setup with virtual discs that showup as SCSI not IDE
[11:06] <Gargoyle> BioGuyver: I followed this guide (https://help.ubuntu.com/community/Installation/SoftwareRAID) using the normal server CD
[11:09] <BioGuyver> that is the exact guide i followed and my disks althou IDE show up constantly as scsi and as /dev/sda and /dev/sdb
[11:10] <BioGuyver> at point 9 of the configuring raid bit if I take a look over at console 4 I get the error there where there is a prob creating /dev/mdmd0
[11:12] <BioGuyver> for the record I just installed ubuntu desktop 9.04 and 8.10 on the box just clicking next next next and both installs are fine although they default to a single partition on the disks
[11:13] <Gargoyle> Is that when you try to create the first raid partition?
[11:14] <BioGuyver> the error on console 4 shows up as I create the first raid partition and I get the same error if I try and create a second too.
[11:15] <BioGuyver> Then back on the partioner page after using finish I still only have my 2 raw devices listed. I don't have an MD) or MD1 to set mount points on etc
[11:15] <BioGuyver> md0 even
[11:25] <LMJ> Hi
[11:25] <LMJ> Got to 2 ips on my server, how to tell him by default, use the IP eth0:0 not the one from eth0?
[11:27] <Gargoyle> I think that is something to do with the metric
[11:28] <TeLLuS> LMJ: Routing or HideNAT maybe.. Why do it matter when they are on the same subnetwork..
[11:29] <Barbarella> LMJ:lok for 70-persistent-net.rules
[11:29] <Barbarella> LMJ:it is in /etc/udev/rules.d
[11:30] <LMJ> one ip is the administration, would like to hide it instead of spread it on each emails ;)
[11:30] <LMJ> great Barbarella, thanks
[11:30] <LMJ> thanks Gargoyle & TeLLuS too
[11:30] <BioGuyver> Gargoyle: Just started the install with 8.04 alternate and I get the same problem but with a different error message
[11:31] <LMJ> Barbarella  : that's udev rules, sound more insteresting to play with metric or route, no ?
[11:31] <Gargoyle> BioGuyver: Just recording you a vid incase your missing something from the instructions.
[11:31] <BioGuyver> this time it tells me an array by that name is already running but no indication of what array it is refering to. This is at point 9 again
[11:31] <BioGuyver> thanks Gargoyle
[11:34] <Barbarella> LMJ:you can tell which driver to load on which eth
[11:34] <celephais_> Hi, when i transfer files with scp using gigabit ethernet i get Corrupted MAC on input. If i use a different NIC 10/100 i get no error. I red that it can due to NIC buffer corruption. Is there a way to chack this?
[11:35] <celephais_> *check
[11:35] <Gargoyle> celephais_: Do you have CAT5e cable?
[11:35] <LMJ> Barbarella : ha yes, I could use /etc/iftab too but this ip is a failover IP, it could be used on several server and I only have one ethernet card
[11:35] <celephais_> Gargoyle, let me check....
[11:36] <celephais_> Gargoyle, yes 5e
[11:39] <Barbarella> LMJ:than you can use ifconfig for it, if it is a static ip
[11:39] <LMJ> Barbarella : ifconfig eth0 ip.ip.. netmask etc.. ?
[11:39] <Barbarella> yes
[11:40] <Barbarella> and route your default gateway
[11:41] <Gargoyle> BioGuyver: Can you play quicktime .mov's?
[11:45] <Gargoyle> BioGuyver: http://ga.rgoyle.com/irc/Ubuntu-9.04_Server_Install.mov
[11:47] <BioGuyver> Gargoyle: Thanks, I am just gonna watch it now. I have put a couple of pictures of the screen I am getting here: http://www.miracles.co.uk/Temp
[11:52] <BioGuyver> Gargoyle: watching your video and we are both the same right up until you choose automatic partition on the new disks. I did mine manually
[11:53] <Gargoyle> BioGuyver: You could try automatic. Not sure if there is something extra it does - I just knew it was a quick way to crate a main partition + swap partition.
[11:53] <BioGuyver> Gargoyle: then when you create the first raid device itremoves sda1 and sdb1 from your options for creating the second raid device but for me it still shows both pairs as it has failed to create any raid devices at this point
[11:53] <BioGuyver> Gargoyle. Going to go and try that now :)
[11:58] <BioGuyver> Gargoyle: Used the auto partition tool and still get 'mdadm: another array by this name is already running' :(
[11:58] <Gargoyle> BioGuyver, Strange!
[11:59] <BioGuyver> very
[11:59] <Gargoyle> BioGuyver: Have you tried completely removing the partitions from the disk with fdisk and then restarting the install ** OBVIOUSLY THIS WILL DELETE ALL THE DATA ON YOUR DISK **
[11:59] <BioGuyver> that is the same error for both 8.04.2 and 9.04
[12:00] <BioGuyver> yes tried that while using the LIVECD
[12:00] <BioGuyver> will try again now thou and then use the auto partition as per your video
[12:01] <BioGuyver> Thanks for the help thou Gargoyle
[12:01] <Gargoyle> No probs
[12:01] <incorrect> I am thinking about using zimbra for my email system, are they any other alternatives?
[12:09] <BioGuyver> Gargoyle: Used fdisk to delete the partion tables from the disks and it made no difference. At this point I think I will do a single disk install and convert to raid once the machine is up and running :(
[12:09] <BioGuyver> Gargoyle: Thanks for all the help thou
[12:09] <Gargoyle> BioGuyver: OK, Hope you get it sorted.
[12:10] <BioGuyver> Gargoyle: yep I have no idea why it is failing on my system. I am gonna run up another hardware box during the week and try again just to find out if it is the hardware in this server
[14:09] <philsturgeon> i've done it again... my mysql is locked out.in virtualmin it listed root as having 3 different permission entries. the permissions were the same but the hosts were different. one saying localhost, one saying server host name and one saying 127.0.0.1. i changed localhost to Any (%) and now i get there error DBI connect failed : Access denied for user 'root'@'localhost' (using password: YES)
[14:10] <philsturgeon> i have another mysql user with all privileges, could i perhaps change this back somehow?
[14:10] <philsturgeon> via command linevia SSH
[14:11] <Hecate> philsturgeon, did you run mysql_secure_installation? it should take care of all those users, etc.
[14:11] <philsturgeon> i do not know what that is
[14:11] <Hecate> man mysql_secure_installation
[14:12] <philsturgeon> ok
[14:12] <Hecate> however i dont know, if it will work, if your mysqld is already fubar.
[14:13] <philsturgeon> well it asks for a password then says access denied again
[14:14] <philsturgeon> as i said i have another user that can do anything to any db. can i simply edit a field in mysql or information_schema
[14:14] <philsturgeon> ahh i can leave it blank and set a new one :)
[14:17] <philsturgeon> no joy. its blocked with the error http://pastie.org/473638
[14:18] <Hecate> hmmm. i have had a similar problem some time ago.
[14:18] <Hecate> this might help: http://dev.mysql.com/doc/refman/5.0/en/resetting-permissions.html
[14:23] <Hecate> UPDATE mysql.user SET Host='localhost' WHERE User='root';
[14:23] <philsturgeon> whoop, my plan worked. logged in via command line and ran update user set host = "localhost" where host = "";
[14:23] <Hecate> that should help you.
[14:23] <philsturgeon> thank god for having that extra user with rights. last time this happened i rebuilt the server :$
[14:24] <Hecate> well, i've just given you all you need to reset it.
[14:25] <Hecate> i've committed that "fatal mistake" before and was that >< close to purging mysql, but i figured it out, how to resolve it.
[15:49] <incorrect> damn it, jaunty ldap-auth-config doesn't generate working config
[15:49] <Chipzz> Hecate: easiest solution is: cp /etc/mysql/debian.cnf ~/.my.cnf ; editor ~/.my.cnf
[15:49] <Chipzz> (as root)
[15:50] <Hecate> Chipzz, for doing what? resetting the authorized host/password of a suer?
[15:54] <leOn> hey .. any chance to get a xen kernel running on jaunty ?
[16:01] <soren> leOn: dom0 or domU?
[16:07] <leOn> dom0
[16:07] <leOn> well .. both actually
[16:11] <leOn> i read somewhere that kvm was the official virtualization platform in ubuntu
[16:12] <soren> leOn: -server works as a domU.
[16:12] <soren> leOn: That's also true.
[16:12] <leOn> but i was hoping to get it working with xen too
[16:12] <leOn> hmmm
[16:12] <leOn> ok .. i use xen all the time, and this is my first serious ubuntu try out
[16:13] <soren> You can use the dom0 from Hardy.
[16:13] <soren> and user the -server kernel as domU.
[16:13] <leOn> is there any nice gui tool to manage kvm platform in ubuntu?
[16:14] <leOn> the problem is that for hardware support reasons i need a kernel >= 2.6.27 ..
[16:16] <soren> leOn: As your dom0?
[16:17] <leOn> yep
[16:17] <soren> virt-manager is the preferred gui tool to manage kvm VM's.
[16:17] <soren> I don't think we have a dom0 more recent than 2.6.24.
[16:18] <leOn> i may be wrong .. but i'm not so convinced that kvm is a more serious virtualization platform than xen ... but that's only MHO
[16:19] <leOn> either way it's a shame that ubuntu doesn't provide dom0 kernels in recent versions
[16:21] <slestak> is libvirt and kvm usable for a production server?  I have been tinkering with vmware-server for a couple of weeks.  would rather stick with foss stack
[16:21] <soren> slestak: They are, yes.
[16:23] <slestak> soren: thx.
[16:24] <leOn> soren: can i use the -generic kernel instead of the -server with the kvm solution ?
[16:25] <soren> leOn: Yes.
[16:27] <leOn> guess i'll give kvm a try ...
[16:28] <leOn> can you pont me any ubuntu related docs for kvm ?
[16:35] <soren> leOn: https://help.ubuntu.com/community/KVM
[16:41] <leOn> thanks
[16:42] <leOn> for windows the only choice is full virtualization, right?
[16:43] <soren> Yes.
[16:45] <Noble> Is there any way to remove the ubuntu-desktop dependencies?
[16:45] <celephais> Hi, do you know any issues with module sky2 on hardy?
[16:45] <Noble> I installed ubuntu-desktop on my server, and now I want it gone ^^
[16:45] <celephais> It give me data corruption with scp
[16:54] <leOn> celephais: are you sure it's the NIC?
[16:54] <celephais> using the secondary NIC ( 10/100 ) no data corruption with scp
[16:55] <celephais> that is 3Com Corporation 3c905B 100BaseTX
[16:55] <celephais> the one that give data corruption is Marvell Technology Group Ltd. 88E8053 PCI-E Gigabit Ethernet Controller
[16:56] <leOn> have you tried with a different kernel version?
[16:56] <celephais> now i use 8.04 but some month ago i tried 8.10, same problem
[16:57] <celephais> better to buy a different NIC?
[17:58] <saylar> hey guys. I'm stuck with my mail server setup and I could need some help. Right now I'm sending my mail through the local exim server which then uses my isp smarthost to send the mail. Furthermore I'm polling 4 different pop3 server with getmail and deliver the mails to the local imap server. all this is working well. what I wanna do now is, send and receive my mails through local ssh tunnels. any suggestions or hints are very welcome 
[18:05] <FFForever> Anyone around?
[18:05] <ivoks> no
[18:06] <FFForever> ntpdate "fixes" my time =\
[18:06] <FFForever> only problem is it says my time is tmw...
[18:07] <FFForever> chris@chr1831:~$ sudo ntpdate pool.ntp.org
[18:07] <FFForever> 11 May 01:06:45 ntpdate[10827]: step time server 64.62.228.129 offset 54000.686280 sec
[18:07] <ivoks> is the time correct?
[18:07] <ivoks> is 01:06?
[18:07] <FFForever> no lol
[18:07] <ivoks> is it...
[18:07] <ivoks> then you have misconfigured system
[18:08] <ivoks> set to a wrong timezone
[18:08] <FFForever> how do i reconfigure it, i ran dpkg --reconfigure tzconfig, i set it to etc -> gmt -8 (california)
[18:08] <ivoks> tzconfig
[18:08] <FFForever> tzconfig is outdated :P
[18:08] <ivoks> tzselect :)
[18:09] <ivoks> check /etc/timezone
[18:10] <FFForever> ivoks, =(
[18:10] <ivoks> what's in /etc/timezone?
[18:10] <FFForever> how do i set this system wide?, TZ='America/Los_Angeles';
[18:10] <FFForever> it just says i can put that in my .profile...
[18:11] <ivoks> what's in /etc/timezone?
[18:11] <FFForever> Etc/GMT-8
[18:11] <FFForever> change it to America/Los_Angeles?
[18:11] <ivoks> yes
[18:11] <ivoks> but i guess that's the same timezone
[18:12] <FFForever> ivoks, so i need to reboot after the change?, or can i do it without a reboot it is a server after all...
[18:12] <FFForever> root@chr1831:~# ntpdate pool.ntp.org
[18:12] <FFForever> 11 May 01:11:58 ntpdate[10875]: adjust time server 64.62.228.129 offset -0.000370 sec
[18:12] <FFForever> root@chr1831:~# date
[18:12] <FFForever> Mon May 11 01:12:02 GMT-8 2009
[18:13] <ivoks> don't paste here
[18:13] <FFForever> sorry
[18:13] <FFForever> it says its giving me the gmt -8...
[18:14] <ivoks> hm, i don't know where ntpdate checks the timezone :/
[18:15] <FFForever> can i disable ntp?
[18:15] <ivoks> you should really use it
[18:15] <ivoks> let's fix the problem, not override it
[18:15] <ivoks> give me a minute or two
[18:15] <FFForever> ok
[18:16] <ivoks> ah...
[18:16] <ivoks>  /etc/localtime
[18:17] <ivoks> cp /usr/share/zoneinfo/America/Los_Angeles /etc/localtime
[18:17] <FFForever> ok now?
[18:17] <ivoks> ntpdate
[18:17] <FFForever> that fixed it :D
[18:18] <FFForever> instantly...
[18:19] <ivoks> i'd suggest runing ntp server, instead of ntpdate
[18:20] <ivoks> ntpdate shifts time, if diff is > than 0.5 seconds
[18:20] <ivoks> that could cause problems for some programs
[18:20] <FFForever> kk
[18:20] <ivoks> ntp server makes time slower or faster if there's a diff
[18:21] <ivoks> dovecot, for example, will die when time shifts
[18:21] <FFForever> why do we count up in seconds from a date?
[18:21] <FFForever> (when using linux)
[18:21] <ivoks> since 1.1.1970.?
[18:22] <FFForever> that sounds about right :D
[18:22] <FFForever> yeah
[18:22] <ivoks> that's the begining of time for unix
[18:22] <ivoks> http://en.wikipedia.org/wiki/Unix_time
[18:22] <FFForever> but why?
[18:22] <gourgi> why not :-P
[18:22] <ivoks> hahaha
[18:22] <ivoks> why is now 2009.?
[18:22] <FFForever> lol
[18:23] <ivoks> read the link
[18:23] <FFForever> and because... isn't storing a long string like that a waste of mem?
[18:24] <ivoks> it's an integer, not a string :)
[18:25] <ivoks> since it's a signed 32bit integer, having it 0 or 1234567890 takes the same amount of memory
[18:25] <ivoks> and as we as shifting to 64bit that amount will even get bigger :)
[18:25] <ivoks> http://en.wikipedia.org/wiki/Year_2038_problem
[18:27] <FFForever> ivoks, my cpu is 64bit but i still use 32...
[18:27] <Hecate> 64bits ftw ;)
[18:27] <FFForever> not everything (damn flash...) works in 64bit...
[18:27] <Hecate> FFForever, it does.
[18:28] <ivoks> flash works in 54bit
[18:28] <ivoks> 64 even :D
[18:28] <FFForever> since when... last time i tried flash it didn't work in 64bit..
[18:28] <FFForever> that was like 2 years ago though...
[18:28] <ivoks> 2 years in posix time is... a lot
[18:28] <Hecate> http://labs.adobe.com/downloads/flashplayer10.html
[18:28] <FFForever> XD
[18:28] <FFForever> is ti as stable as 32bit?
[18:29] <Hecate> probably the first time linux was favoured.
[18:29] <Hecate> it is.
[18:29] <FFForever> perfect :D
[18:29] <FFForever> ill make the change next time i have to redo my system...
[18:30]  * ivoks doesn't have 64bit cpu in laptop :/
[18:30] <Hecate> want some pity?
[18:31] <Hecate> ;)
[18:31] <ivoks> :)
[18:32] <ivoks> take care
[18:34] <FFForever> has anyone gotten suphp to work with ubuntu?
[18:34] <FFForever> when i try it i get could not execute "/path/to/index.php"
[18:39] <andol> FFForever: I use suPHP on a couple of servers.
[18:40] <FFForever> andol, could u help me get it working?
[18:40] <andol> FFForever: Well, if nothing else I should be able to give you a few pointers
[18:41] <FFForever> any idea why i get the could not execute error?
[18:41] <FFForever> nothing happens in the error.log or suphp.log (says it changed the uid/guid) and access.log shows it was a 500 error
[18:41] <andol> FFForever: First of all you should make sure you configure /etc/suphp/suphp.conf the way you want it. The default is not neccesary what you might expect.
[18:41] <andol> FFForever: Have you looked in syslog?
[18:42]  * Nafallo uses andol on a few servers
[18:42] <FFForever> no, i got pissed and removed all suphp config lol
[18:42] <FFForever> andol, i had to set the docroot to / or else it would error script not in doc root (even with the check set to false...)
[18:43] <andol> FFForever: Well, just did a simple tests myself. At least I got my error in /var/log/apache2/error.log
[18:43] <FFForever> nope =(
[18:43] <FFForever> only error i got was from restarting apache...
[18:44] <andol> FFForever: Well, feel free to give me a paste.ubuntu.com of your suphp.conf as well as a "ls -la" of the script directory
[18:44]  * andol is running Ubuntu 8.04 on his servers by the way
[18:44] <FFForever> i compiled myself, brb resetting up suphp gimmie 5mins :D
[18:44] <FFForever> i am on 8.10 only ubuntu the vps provider offered
[18:47] <FFForever> andol, http://vps.chr1831.com/ and lemme install pastebinit
[18:48] <FFForever> andol, http://pastebin.com/f4a8d971b i know the permissions should not be enabled for group/world writeable but i need it for a few scripts :D
[18:49] <FFForever> and i added this to my vhost http://pastebin.com/df815590
[18:50] <andol> FFForever: A "ls -la" of your DocRoot wouldn't hurt either.
[18:50] <FFForever> andol, http://pastebin.com/d41ae3da3
[18:51] <FFForever> the .htaccess is blank
[18:52] <andol> FFForever: Well, can't see any major errors upfront. Sure everything is installed/compiled correctly? php5-cgi installed?
[18:52] <andol> FFForever: Tried using the version from the repositoires?
[18:52] <FFForever> yeah php5-cgi is installed
[18:52] <FFForever> andol, the version is so outdated...
[18:52] <FFForever> 0.6.2
[18:52] <andol> FFForever: Anything you need in newer versions?
[18:53] <FFForever> andol, no but the i already tried 0.6.2 :D
[18:53] <FFForever> andol, anyways this is the only real error in the error log =\, File does not exist: /home/chris/public_html/favicon.ico
[18:53] <andol> That error shouldn't matter
[18:54] <andol> Have you tried keeping it none-world-writable, just for debuging (no matter what the conf says)
[18:54] <FFForever> andol, yeah =\
[18:55] <leOn> hmm.. trying out kvm. there's something wrong with the keyboard mapping
[18:55] <FFForever> andol, http://pastebin.ca/1418424
[18:55] <FFForever> thats from the suphp.conf...
[18:55] <FFForever> i mean suphp.log
[18:56] <jussi01> hi all - anyone know how to fix this?
[18:56] <jussi01> Your account has expired; please contact your system administrator
[18:56] <jussi01> chfn: PAM authentication failed
[18:56] <jussi01> adduser: `/usr/bin/chfn phon' returned error code 1. Exiting.
[18:56] <FFForever> andol, can i see what you added to your vhost?
[18:57] <jussi01> that was after an adduser
[18:57] <leOn> FFForever: did you enable chroot in suphp.conf ?
[18:57] <FFForever> leOn, no
[18:57] <FFForever> its commented out
[18:57] <FFForever> leOn, http://pastebin.com/f4a8d971b should be my suphp.conf
[18:58]  * andol wishes the channel wouldn't scroll when he is trying to copy and paste :-)
[18:58] <andol> FFForever: You don't have any other PHP directives in your apache conf? Have you tried simply moving the .htaccess away?
[18:59] <leOn> man .. are you sure you want all those allow_file_* and allow_directory_* writable = true?
[18:59] <FFForever> andol, i have tried =\, and there is no other php directives... i disabled php5
[19:00] <FFForever> leOn, yeah :D
[19:00] <leOn> what version of suphp are you using ?
[19:00] <andol> FFForever: This is the suphp-conf I add to apache, by modes-enabled/suphp.conf http://paste.ubuntu.com/168940/
[19:00] <andol> FFForever: Perhaps a stupid question, but since you've done this yourself, I'm sure you'r loading the module as well?
[19:01] <FFForever> andol, yeah look @ vps.chr1831.com it says suphp  0.7.1 :D
[19:01] <FFForever> it surely has to mean its loaded right no?
[19:01] <andol> should meen that yes
[19:01] <andol> FFForever: Nothing fishy about your index.php then? Have you tried something really simple like a script only doing an echo statement or so?
[19:02] <FFForever> ive spent exactly 1 week on this...
[19:02] <FFForever> andol, LOL!!!, its just using the .php extension and the only thing in that in BLAH!!! - this is a test
[19:02] <FFForever> no wait i am wrong.. i changed it to phpinfo();
[19:03] <andol> FFForever: How about if you just give us a pastebin of your index.php, just for the sake of it?
[19:03] <leOn> FFForever: what should be the docroot?
[19:04] <FFForever> leOn, i have it set to / since ${HOME}/public_html/ does not work for me...
[19:04] <FFForever> and one moment ill pastebin it
[19:04] <FFForever> andol, leOn, index.php http://pastebin.com/f5afa204c
[19:05] <leOn> that file is in a users public_html folder already ?
[19:05] <FFForever> leOn, nothing i made it manually
[19:06] <FFForever> and i already deleted .htaccess
[19:06] <leOn> what does exactly happen when you try to access it?
[19:06] <andol> FFForever: Sure you don't have any userdir settings confusing apache, how about using a folder not named public_html?
[19:07] <FFForever> andol, i am sure thats not the problem, i already moved it to /home/chris/blah once :D
[19:07] <FFForever> also i get the same error when using ~chris at the end of the url
[19:08] <andol> FFForever: Another option, instead of putting docroot to /, how about just "commenting it out" using a ;
[19:08] <FFForever> andol, one moment
[19:08] <FFForever> andol, same thing =\
[19:09] <andol> FFForever: Wait, now I think I have it :)
[19:09] <FFForever> what?
[19:10] <andol> replace x-httpd-php="php:/usr/bin/php5" with application/x-httpd-php=php:/usr/bin/php-cgi
[19:10] <FFForever> nope
[19:10] <FFForever> won't change anything... =(
[19:10] <andol> FFForever: /usr/bin/php is the CLI version, while php-cgi is the cgi version
[19:10] <FFForever> since php5 is a symlink for php5-cgi
[19:10] <andol> Ohh, bummer
[19:10] <FFForever> i don't have the cli version
[19:11] <FFForever> ive had it set to php5-cgi, php5, php, php-cgi lol
[19:11] <leOn> sorry but i didn't "hear" the problem from start .. what is exactly the problem?
[19:11] <FFForever> ...
[19:11] <FFForever> andol, changing it to php5-cgi works :D
[19:11] <FFForever> ...
[19:11] <FFForever> ...
[19:12] <FFForever> i guess after installing the php5 module for apache it fixed something =\
[19:12] <FFForever> and disabling it
[19:13] <andol> FFForever: Another stupid question :) You've been restarting apache between changes, right?
[19:13] <FFForever> andol, ofc :D
[19:13] <FFForever> woot my week long problem has been fixed :D
[19:14] <andol> Well, glad it worked out, for whatever reason it did :)
[19:14] <billybigrigger_> good day all
[19:14] <FFForever> i am an idiot....
[19:14] <FFForever> root@chr1831:/etc/apache2# ls /usr/bin | grep php
[19:14] <FFForever> php-cgi
[19:14] <FFForever> php5-cgi
[19:14] <FFForever> whoops sorry didn't mean to paste that in this room....
[19:14] <billybigrigger_> im new to raid, and have 2 identical seagate 500gb 7200.11 sata disks, and i want to run them in raid, they are both ext4, what is my best option for raid? and should i do software? or configure raid through my asus bios?
[19:15] <leOn> billybigrigger_: you want to mirror the disks or concatenate them ?
[19:15] <billybigrigger_> probably mirror
[19:16] <leOn> i.e. .. use the 2 disks to have 500gb and in the case on fails you don't loose the data
[19:16] <billybigrigger_> as then if one goes down i can rma the drive or buy a new one as they're $70 and still have my data right?
[19:16] <billybigrigger_> ya mirror
[19:16] <FFForever> how can i add a user quota of 500mb?
[19:16] <leOn> or use the 2 disks and concatenate them in 1TB logical drive and risk loosing everything in case of them dies ..?
[19:16] <FFForever> leOn, raid is not a backup solution :D
[19:17] <FFForever> if someone hacks ur server and deletes the files ur screwed...
[19:17] <billybigrigger_> leOn::: no, i don't need 1TB, i'd rather have 500gb mirrored
[19:17] <leOn> billybigrigger_: you want raid1 then
[19:17] <billybigrigger_> k
[19:17] <billybigrigger_> leOn::: and hardware raid though my bios is the best option correct?
[19:17] <FFForever> leOn, do u know how i can give a user a quota?, for /home/username
[19:17] <leOn> FFForever: i never said that raid was a backup solution
[19:18] <leOn> billybigrigger_: my personal opinion would be software raid
[19:18] <FFForever> leOn, just making sure :D, i know someone who ran a pretty big website using raid as a backup...
[19:18] <leOn> hw raid only really matters for raid5
[19:18] <billybigrigger_> and raid5 is?
[19:19] <leOn> raid5 will make you more space available than raid1 and still get data integrity in the case of a disk failure
[19:19] <leOn> but mininum of disks for raid5 is 3 disks
[19:20] <billybigrigger_> raid 5 is striping no?
[19:20] <leOn> and you loose 1/3 of disk capacity
[19:20] <leOn> raid0 is stripping
[19:21] <leOn> the thing about hw raid is that if your controler dies, you need to get another similar controler
[19:22] <billybigrigger_> ahh
[19:22] <leOn> and it doesn't really pay off unless it's for raid5, in terms of performance
[19:22] <billybigrigger_> onboard controller = no good
[19:22] <billybigrigger_> ok, so i setup raid in the ubuntu install?
[19:22] <leOn> i would say yes
[19:22] <billybigrigger_> or after ubuntu's installed? i've never really paid attention so im new to this
[19:23] <leOn> FFForever: mount the /home filesystem with the usrquota option
[19:23] <leOn> and enforce disk quotas
[19:23] <FFForever> leOn, /home is part of /, its a vps
[19:23] <billybigrigger_> next question, filesystems, am i going to gain/lose performance by going with a certain fs for raid? ie will my two ext4 disks perform better than using reiser or ext3? or does raid configuration have no effect on performace?
[19:24] <leOn> FFForever: that kinda sucks then
[19:24] <leOn> =)
[19:25] <leOn> billybigrigger_: i would advise you ext3 or xfs
[19:25] <billybigrigger_> not ext4?
[19:25] <billybigrigger_> is that becuase of the early ext4 problems?
[19:25] <billybigrigger_> with data loss and such?
[19:25] <billybigrigger_> or do ext4 and raid not play nice or why?
[19:26] <leOn> and i would advise you also to read some benchmarks comparisons and think what type of files and folder arrangement you're going to have on that fs
[19:26] <billybigrigger_> i have a mix
[19:26] <FFForever> apt-clean just cleared my system of 500mb... =\
[19:26] <billybigrigger_> i have small mp3's, to my large HD camera videos
[19:26] <leOn> big files vs small files, etc
[19:26] <leOn> imho ext4 is still a baby
[19:27] <leOn> i wouldn't use it for anything important
[19:27] <billybigrigger_> but having raid1 will have a copy of my files if the ext4 fs gets corrupted? or does it corrupt both since its a mirror?
[19:27] <Nafallo> billybigrigger_: both
[19:28] <billybigrigger_> thought so
[19:28] <Nafallo> billybigrigger_: you confuse disks with file systems I think
[19:28] <Nafallo> billybigrigger_: two disks, one file system
[19:28] <billybigrigger_> hehe no i dont
[19:28] <billybigrigger_> both disks have to run the same fs no?
[19:28] <billybigrigger_> or can i have 2 disks with ext3 and ext4 on each disk?
[19:28] <Nafallo> no. both disks are seen as ONE disk.
[19:28] <billybigrigger_> im just new to raid, i know the difference between a disk and a fs :P
[19:28] <Nafallo> on top of that ONE disk you put ONE file system
[19:29] <billybigrigger_> k
[19:29] <leOn> raid means that you build a logical drive
[19:29] <leOn> and it's in that drive (like it was a new disk) that you're going to make the fs
[19:29] <billybigrigger_> ahh
[19:29] <leOn> so the system actually only sees 1 harddrive
[19:29] <Nafallo> see. you were confused about disks and file systems ;-)
[19:29] <leOn> which is logical and is composed by the two physical drives
[19:30] <billybigrigger_> no, confused how raid worked :P
[19:30] <Nafallo> well. that's not really relevant.
[19:30] <Nafallo> what's relevant is that you will have ONE file system :-D
[19:31] <billybigrigger_> yeah, i thought raid would still see 2 disks, both with the same fs, and both disk 2 would be a copy of disk 1, i didnt realise raid created 1 disk out of both disks
[19:31] <billybigrigger_> k
[19:32] <billybigrigger_> off to reinstall i guess then
[19:32] <billybigrigger_> any tips? :P
[19:32] <billybigrigger_> raid 1 with ext3 should suit my needs then?
[19:32] <leOn> i would say it's the safe bet
[19:33] <billybigrigger_> roger
[19:33] <billybigrigger_> thanks a bunch, ill let ya know how it went
[19:35] <billybigrigger_> also
[19:36] <billybigrigger_> what dir can i backup to my /home for my apt packages? like i've already downloaded them once, can i copy them to home and back after the reinstall and then just sudo apt-get update && sudo apt-get upgrade and it just updates without downloading?
[19:36] <billybigrigger_> or is that looking to get some broken packages?
[19:57] <wizardslovak> i need help of someone to guide me true installing and configuring email server
[20:00] <incorrect> what websvn tool do people like?
[20:44] <leOn> virt-manager is calling kvm with -k en-us
[20:44] <leOn> how can i change that?
[21:00] <leOn> ok .. i managed to change the -k parameter .. but deadkeys don't work
[21:00] <leOn> any ideas?
[21:03] <FFForever> is there any useless packages i can remove?
[21:03] <FFForever> to slim down ubuntu-server
[21:18] <andol> FFForever: Generally useless, probably not, but perhapse useless for you. If nothing else you can always do a "dpkg --list" and see if you find something you know you won't need.
[21:19] <andol> FFForever: On the other hand, not sure how much you'd actually gain.
[21:20] <FFForever> i have a 6gb vps..., ubuntu takes about 1gb =\
[21:22] <Noah0504> Can anyone help me force the www in my domain name?
[21:22] <andol> FFForever: You could probobly save a couple of hundred MBs by keeping your apt-cache empty
[21:22] <FFForever> how do i do that?
[21:23] <FFForever> i don't use apt-cache search....
[21:23] <andol> FFForever: apt-cache search will work anyway. I'm talking about the saved deb-files apt likes to keep around
[21:23] <FFForever> ohhh i already cleaned them...
[21:24] <andol> FFForever: Should some setting somewhere allowing you to tell apt how much of those to keep around. Otherwise apt-get clean is the easiest way.
[21:24] <FFForever> i clean it after all installs :D
[21:26] <andol> FFForever: How about you install some kind of virtuell ubuntu server, running from your desktop computer or so. Then you can try removing packages and picking it apart until it breaks :)
[21:26] <FFForever> lol :)
[22:03] <quizme> how do i install a ppa file ?
[22:09] <andol> quizme: Adding a ppa file? Downloading a specific .deb from a ppa or adding a ppa as a repository?
[22:57] <quizme> andol i figured it out.  basically, i didn't need to do anything with the ppa.  I was just confused by the website.  i just needed to add a repository source then do apt-get update then apt-get install keepassx.
[22:57] <quizme> i still don't know what a ppa is
[22:59] <ajmitch> a PPA is a repository
[22:59] <ajmitch> specifically one that's available on launchpad where everyone can upload source packages to their personal archive & they get built
[23:02] <andol> quizme: Well, glad it worked out anyway :) If you want to read more about PPAs, feel free to take a look at https://help.launchpad.net/Packaging/PPA
[23:07] <quizme> andol is launchpad a famous company or something?
[23:17] <andol> quizme: Heard about Canonical? :)
[23:18] <quizme> andol: no
[23:20] <andol> quizme: Well, it might just be a good company to be at least somewhat familiar with if you run Ubuntu...
[23:20] <andol> http://en.wikipedia.org/wiki/Canonical_Ltd.
[23:30] <quizme> andol: very interesting.  i just read about him
[23:31] <quizme> mark shuttleworth
[23:44] <quizme> wow cool
[23:44] <quizme> i think ubuntu will win
[23:48] <quizme> $30M/yr
[23:56] <wizardslovak> 30mil a year for what?