[00:04] any zenoss users here? i'm tinkering with the vmdk version [00:12] 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] close [01:08] 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] 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] panfist, are the permissions the same on the directory itself? [02:15] yes [02:15] panfist, other then that, check /var/log/apache2/{access,error}.log for clues [02:15] all directories are drwxr-xr-x [02:16] error.log shows Directory index forbidden by Options directive: /usr/share/ampache/www [02:16] oh [02:17] i had to restart apache because i moved ampache files to /var/www [02:54] 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] Does anyone know how to set up RAID configurations? [03:57] Anyone here? [03:59] mrhoden2009, whatsup? [03:59] raid? [04:03] 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] 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] Does anyone know how to migrate a folder from an old drive to a new RAID 0 configuration? [04:22] The old drive would be basically my server now. [04:52] mrhoden2009: RAID 0 is striping. If *either* disk fails, you lose everything. [04:53] So RAID0 *doubles* your failure rate, rather than halving it. [04:53] RAID0 is only useful in certain limited applications, such as holding temporary copies of data while it is being crunched. [04:54] 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] mrhoden2009: the right question is: do you care about your data? [04:54] If so, you do not want RAID0. [04:54] I see your point. [04:55] 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] let me see something real quick [04:56] 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] 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] could anybody help me out I can send out emails ok on my mail server but I cant receive any emails [04:59] 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] TimReichhart: What mail server program are you using? [04:59] im using dovecot/postfix [05:00] TimReichhart: OK. What does /var/log/mail.log tell you about delivery attemps? [05:00] ScottK: fakeraid will not be significantly faster than md raid. [05:00] Sorry, bad completion. [05:00] well see im using mysql also that is been setup for the mail server [05:01] TimReichhart: Look in the logs. [05:01] ok [05:01] let me take a look here [05:03] Do I need to word that better or do you know what I'm talking about? [05:04] mrhoden2009: I think I already answered your question: 14:01 *** TimReichhart JOIN [05:04] Gah. [05:04] mrhoden2009: I think I already answered your question: 14:01 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] Okay, thank you [05:06] what are you talking about twb? [05:07] TimReichhart: He just over copy/pasted. [05:08] 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] 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] hey [06:41] 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] 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] 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] 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] T-KILLER: You may find some things at https://help.ubuntu.com/9.04/serverguide/C/index.html helpful. [07:50] thanks, ill go take a look now... [07:53] 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] 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] or are there better alternatives ? [08:11] does anyone know if there is a copy of the 7.10/gutsy repo anywhere? [08:13] T-KILLER: apt-get install ffmpeg [08:14] 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] 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] web based gui are there for people who don't want to bother learning how to properly manage a server / desktop [08:16] albeit desktop users should not have to be as well informed but then again you are in the ubuntu-server room [08:18] 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] only one I know of that is close to being complete is called windows server [08:19] emphasis on close [08:22] jetole: old-releases.ubuntu.com iirc [08:27] a|wen: thanks, will check in a minute, just doing some tweaks on tc / routing === gaveen__ is now known as gaveen [08:32] jetole: while I agree with your sentiment, there are ways around that [08:32] like use a database to store configuration, ie ldap [08:33] ftp daemons support ldap, there's an apache plugin to read your whole apache config from ldap, dhcpd supports ldap, ... [08:35] postfix supports ldap [08:52] hey fast question, any tools " other than FAI " to do auto / mass installation for ubuntu servers ? [09:00] ok, thanks for the advice [09:28] is there any reason why joomla isn't packaged for ubuntu? [09:41] Chipzz: I have no idea what I said that you responded to you agreed with my sentiment [09:41] Chipzz: I run postfix and dovecot both over ldap [09:42] Chipzz: with details stored in MySQL [09:42] * jetole shrugs [09:43] XiXaQ: yes. because no one has packaged it but you are more then welcome to [09:44] it is packaged? [09:44] http://developer.joomla.org/section-blog/17-developer-team-blog/86-joomla-debian-package.html [09:46] 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] btw, does anyone know how long and LTS release lasts for? [09:46] your hopefully temporary solution [09:47] jetole: the server-part lasts 5 years [09:47] jetole, 3 years on the desktop and 5 years on the server. [09:47] 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] a|wen: thanks, do you know how often the server parts are released? [09:48] hmmm, you know thats actually kinda depressing? the LTS have lower shelf life windows on updates [09:49] jetole: it is released around every 2 years for what i know [09:49] so 10.4 should be another one I guess [09:49] it might ... not announced yet, so no guarantees [09:49] cool [09:50] well I was able to install a package I needed on 7.10 just now so I am happy [09:50] it can keep you going at least [09:51] 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] or per IP [09:52] you know, say no single IP in this network can go over this limit without specifying each IP [09:53] that might be right ... haven't played much with it [09:53] well I am guessing I could go with a for loop in bash and set them all up [09:54] normally my challenge have been supporting dynamic IP lists [09:54] 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] dynamic IP on routing? [09:55] dynamically open/close IPs in the firewall [09:55] i.e. tc filters? [09:55] oh [09:55] well there are a few ways around that [09:55] there is a nmap sniffer / iptables rule tool, trying to remember what it is called [09:55] also inline snort [09:56] NAC such as openfire with compatible smart switch is good [09:56] i got it working with 100% iptables [09:56] our firm uses two hp procurve 2650 btw, I love those switches [09:57] oh you mean with the recent module? [09:57] yeah ... took some time finding that one though [09:57] I used recent a couple years ago [09:57] havn't had much of a use for it lately [09:58] psad is a cool tool [09:58] it's the anti-Nmap [09:58] which it also claims to be but it does work [10:00] there are so many tools in this area [10:00] yeah [10:00] I'm going for a smoke, bbiab [10:16] Hi [10:16] Trying to get some clarification of a problem while installing Server 9.04 [10:17] Wassup? [10:17] This is my first time installing Server so I just went ahead and did a default install and everything worked fine [10:18] I then went back and started the install process again to setup ths time on raided disks [10:18] I have used software raid plenty of times before but never at install time [10:18] I followed a couple of online guides but at the part where you create the raid disks in software it fails [10:19] The error on console 4 is mdcfg: mdadm: /dev/mdmd0 is not valid [10:19] That looks like a typo or error in the scripting to me? [10:20] I would expect that to be /dev/md0 [10:20] Should just be /dev/md0? [10:20] :) [10:20] ok well that is kinda out of my hands as it is done during the install [10:20] so is there a proper way to log this as a bug then? [10:20] not sure how i move on from here [10:21] 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] I am using server 9.04 but I got the same error trying alt 9.04 as well both on amd64 [10:21] Thanks Gargoyle [10:22] Just two disks with a mirror? [10:23] yes a pair of 320 ide disks [10:23] I created 2 partitions on each as I plan to raid / and Swap [10:28] Just downloading the ISO, hang around in here for a bit and I'll let you know how I get on. [10:28] ok thanks. I am afk a bit but will keep checking here [10:28] Thanks again [10:28] np, been planning to have a poke around with 9.04 anyways! :D [10:28] btw just fyi I checked the hash on all the isos I have downloaded just to be sure [11:02] 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] BioGuyver: I followed this guide (https://help.ubuntu.com/community/Installation/SoftwareRAID) using the normal server CD [11:09] 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] 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] 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] Is that when you try to create the first raid partition? [11:14] 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] 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] md0 even [11:25] Hi [11:25] 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] I think that is something to do with the metric [11:28] LMJ: Routing or HideNAT maybe.. Why do it matter when they are on the same subnetwork.. [11:29] LMJ:lok for 70-persistent-net.rules [11:29] LMJ:it is in /etc/udev/rules.d [11:30] one ip is the administration, would like to hide it instead of spread it on each emails ;) [11:30] great Barbarella, thanks [11:30] thanks Gargoyle & TeLLuS too [11:30] Gargoyle: Just started the install with 8.04 alternate and I get the same problem but with a different error message [11:31] Barbarella : that's udev rules, sound more insteresting to play with metric or route, no ? [11:31] BioGuyver: Just recording you a vid incase your missing something from the instructions. [11:31] 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] thanks Gargoyle [11:34] LMJ:you can tell which driver to load on which eth [11:34] 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] *check [11:35] celephais_: Do you have CAT5e cable? [11:35] 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] Gargoyle, let me check.... [11:36] Gargoyle, yes 5e [11:39] LMJ:than you can use ifconfig for it, if it is a static ip [11:39] Barbarella : ifconfig eth0 ip.ip.. netmask etc.. ? [11:39] yes [11:40] and route your default gateway [11:41] BioGuyver: Can you play quicktime .mov's? [11:45] BioGuyver: http://ga.rgoyle.com/irc/Ubuntu-9.04_Server_Install.mov [11:47] 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] 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] 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] 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] Gargoyle. Going to go and try that now :) [11:58] Gargoyle: Used the auto partition tool and still get 'mdadm: another array by this name is already running' :( [11:58] BioGuyver, Strange! [11:59] very [11:59] 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] that is the same error for both 8.04.2 and 9.04 [12:00] yes tried that while using the LIVECD [12:00] will try again now thou and then use the auto partition as per your video [12:01] Thanks for the help thou Gargoyle [12:01] No probs [12:01] I am thinking about using zimbra for my email system, are they any other alternatives? [12:02] New bug: #374427 in openssh (main) "doesn't accept multiple keys in id_rsa" [Undecided,New] https://launchpad.net/bugs/374427 [12:09] 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] Gargoyle: Thanks for all the help thou [12:09] BioGuyver: OK, Hope you get it sorted. [12:10] 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 [13:21] New bug: #297576 in samba (main) "cifs mounts become inaccessible when another user fails to mount cifs share" [Undecided,Invalid] https://launchpad.net/bugs/297576 [14:09] 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] i have another mysql user with all privileges, could i perhaps change this back somehow? [14:10] via command linevia SSH [14:11] philsturgeon, did you run mysql_secure_installation? it should take care of all those users, etc. [14:11] i do not know what that is [14:11] man mysql_secure_installation [14:12] ok [14:12] however i dont know, if it will work, if your mysqld is already fubar. [14:13] well it asks for a password then says access denied again [14:14] 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] ahh i can leave it blank and set a new one :) [14:17] no joy. its blocked with the error http://pastie.org/473638 [14:18] hmmm. i have had a similar problem some time ago. [14:18] this might help: http://dev.mysql.com/doc/refman/5.0/en/resetting-permissions.html [14:23] UPDATE mysql.user SET Host='localhost' WHERE User='root'; [14:23] whoop, my plan worked. logged in via command line and ran update user set host = "localhost" where host = ""; [14:23] that should help you. [14:23] thank god for having that extra user with rights. last time this happened i rebuilt the server :$ [14:24] well, i've just given you all you need to reset it. [14:25] i've committed that "fatal mistake" before and was that >< close to purging mysql, but i figured it out, how to resolve it. === asac_ is now known as asac [15:49] damn it, jaunty ldap-auth-config doesn't generate working config [15:49] Hecate: easiest solution is: cp /etc/mysql/debian.cnf ~/.my.cnf ; editor ~/.my.cnf [15:49] (as root) [15:50] Chipzz, for doing what? resetting the authorized host/password of a suer? [15:54] hey .. any chance to get a xen kernel running on jaunty ? [15:55] New bug: #374501 in likewise-open5 (universe) "Likewise-open5 login gives error code 0x0000200c" [Undecided,New] https://launchpad.net/bugs/374501 [16:01] leOn: dom0 or domU? [16:07] dom0 [16:07] well .. both actually [16:11] i read somewhere that kvm was the official virtualization platform in ubuntu [16:12] leOn: -server works as a domU. [16:12] leOn: That's also true. [16:12] but i was hoping to get it working with xen too [16:12] hmmm [16:12] ok .. i use xen all the time, and this is my first serious ubuntu try out [16:13] You can use the dom0 from Hardy. [16:13] and user the -server kernel as domU. [16:13] is there any nice gui tool to manage kvm platform in ubuntu? [16:14] the problem is that for hardware support reasons i need a kernel >= 2.6.27 .. [16:16] leOn: As your dom0? [16:17] yep [16:17] virt-manager is the preferred gui tool to manage kvm VM's. [16:17] I don't think we have a dom0 more recent than 2.6.24. [16:18] 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] either way it's a shame that ubuntu doesn't provide dom0 kernels in recent versions [16:21] 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] slestak: They are, yes. [16:23] soren: thx. [16:24] soren: can i use the -generic kernel instead of the -server with the kvm solution ? [16:25] leOn: Yes. [16:27] guess i'll give kvm a try ... [16:28] can you pont me any ubuntu related docs for kvm ? [16:35] leOn: https://help.ubuntu.com/community/KVM [16:41] thanks [16:42] for windows the only choice is full virtualization, right? [16:43] Yes. [16:45] Is there any way to remove the ubuntu-desktop dependencies? [16:45] Hi, do you know any issues with module sky2 on hardy? [16:45] I installed ubuntu-desktop on my server, and now I want it gone ^^ [16:45] It give me data corruption with scp [16:54] celephais: are you sure it's the NIC? [16:54] using the secondary NIC ( 10/100 ) no data corruption with scp [16:55] that is 3Com Corporation 3c905B 100BaseTX [16:55] the one that give data corruption is Marvell Technology Group Ltd. 88E8053 PCI-E Gigabit Ethernet Controller [16:56] have you tried with a different kernel version? [16:56] now i use 8.04 but some month ago i tried 8.10, same problem [16:57] better to buy a different NIC? [17:58] 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:00] New bug: #374537 in munin (universe) "Munin-node have a empty /etc/munin/plugins folder" [Undecided,New] https://launchpad.net/bugs/374537 [18:05] Anyone around? [18:05] no [18:06] ntpdate "fixes" my time =\ [18:06] only problem is it says my time is tmw... [18:07] chris@chr1831:~$ sudo ntpdate pool.ntp.org [18:07] 11 May 01:06:45 ntpdate[10827]: step time server 64.62.228.129 offset 54000.686280 sec [18:07] is the time correct? [18:07] is 01:06? [18:07] no lol [18:07] is it... [18:07] then you have misconfigured system [18:08] set to a wrong timezone [18:08] how do i reconfigure it, i ran dpkg --reconfigure tzconfig, i set it to etc -> gmt -8 (california) [18:08] tzconfig [18:08] tzconfig is outdated :P [18:08] tzselect :) [18:09] check /etc/timezone [18:10] ivoks, =( [18:10] what's in /etc/timezone? [18:10] how do i set this system wide?, TZ='America/Los_Angeles'; [18:10] it just says i can put that in my .profile... [18:11] what's in /etc/timezone? [18:11] Etc/GMT-8 [18:11] change it to America/Los_Angeles? [18:11] yes [18:11] but i guess that's the same timezone [18:12] 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] root@chr1831:~# ntpdate pool.ntp.org [18:12] 11 May 01:11:58 ntpdate[10875]: adjust time server 64.62.228.129 offset -0.000370 sec [18:12] root@chr1831:~# date [18:12] Mon May 11 01:12:02 GMT-8 2009 [18:13] don't paste here [18:13] sorry [18:13] it says its giving me the gmt -8... [18:14] hm, i don't know where ntpdate checks the timezone :/ [18:15] can i disable ntp? [18:15] you should really use it [18:15] let's fix the problem, not override it [18:15] give me a minute or two [18:15] ok [18:16] ah... [18:16] /etc/localtime [18:17] cp /usr/share/zoneinfo/America/Los_Angeles /etc/localtime [18:17] ok now? [18:17] ntpdate [18:17] that fixed it :D [18:18] instantly... [18:19] i'd suggest runing ntp server, instead of ntpdate [18:20] ntpdate shifts time, if diff is > than 0.5 seconds [18:20] that could cause problems for some programs [18:20] kk [18:20] ntp server makes time slower or faster if there's a diff [18:21] dovecot, for example, will die when time shifts [18:21] why do we count up in seconds from a date? [18:21] (when using linux) [18:21] since 1.1.1970.? [18:22] that sounds about right :D [18:22] yeah [18:22] that's the begining of time for unix [18:22] http://en.wikipedia.org/wiki/Unix_time [18:22] but why? [18:22] why not :-P [18:22] hahaha [18:22] why is now 2009.? [18:22] lol [18:23] read the link [18:23] and because... isn't storing a long string like that a waste of mem? [18:24] it's an integer, not a string :) [18:25] since it's a signed 32bit integer, having it 0 or 1234567890 takes the same amount of memory [18:25] and as we as shifting to 64bit that amount will even get bigger :) [18:25] http://en.wikipedia.org/wiki/Year_2038_problem [18:27] ivoks, my cpu is 64bit but i still use 32... [18:27] 64bits ftw ;) [18:27] not everything (damn flash...) works in 64bit... [18:27] FFForever, it does. [18:28] flash works in 54bit [18:28] 64 even :D [18:28] since when... last time i tried flash it didn't work in 64bit.. [18:28] that was like 2 years ago though... [18:28] 2 years in posix time is... a lot [18:28] http://labs.adobe.com/downloads/flashplayer10.html [18:28] XD [18:28] is ti as stable as 32bit? [18:29] probably the first time linux was favoured. [18:29] it is. [18:29] perfect :D [18:29] ill make the change next time i have to redo my system... [18:30] * ivoks doesn't have 64bit cpu in laptop :/ [18:30] want some pity? [18:31] ;) [18:31] :) [18:32] take care [18:34] has anyone gotten suphp to work with ubuntu? [18:34] when i try it i get could not execute "/path/to/index.php" [18:39] FFForever: I use suPHP on a couple of servers. [18:40] andol, could u help me get it working? [18:40] FFForever: Well, if nothing else I should be able to give you a few pointers [18:41] any idea why i get the could not execute error? [18:41] 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] 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] FFForever: Have you looked in syslog? [18:42] * Nafallo uses andol on a few servers [18:42] no, i got pissed and removed all suphp config lol [18:42] 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] FFForever: Well, just did a simple tests myself. At least I got my error in /var/log/apache2/error.log [18:43] nope =( [18:43] only error i got was from restarting apache... [18:44] 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] i compiled myself, brb resetting up suphp gimmie 5mins :D [18:44] i am on 8.10 only ubuntu the vps provider offered [18:47] andol, http://vps.chr1831.com/ and lemme install pastebinit [18:48] 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] and i added this to my vhost http://pastebin.com/df815590 [18:50] FFForever: A "ls -la" of your DocRoot wouldn't hurt either. [18:50] andol, http://pastebin.com/d41ae3da3 [18:51] the .htaccess is blank [18:52] FFForever: Well, can't see any major errors upfront. Sure everything is installed/compiled correctly? php5-cgi installed? [18:52] FFForever: Tried using the version from the repositoires? [18:52] yeah php5-cgi is installed [18:52] andol, the version is so outdated... [18:52] 0.6.2 [18:52] FFForever: Anything you need in newer versions? [18:53] andol, no but the i already tried 0.6.2 :D [18:53] andol, anyways this is the only real error in the error log =\, File does not exist: /home/chris/public_html/favicon.ico [18:53] That error shouldn't matter [18:54] Have you tried keeping it none-world-writable, just for debuging (no matter what the conf says) [18:54] andol, yeah =\ [18:55] hmm.. trying out kvm. there's something wrong with the keyboard mapping [18:55] andol, http://pastebin.ca/1418424 [18:55] thats from the suphp.conf... [18:55] i mean suphp.log [18:56] hi all - anyone know how to fix this? [18:56] Your account has expired; please contact your system administrator [18:56] chfn: PAM authentication failed [18:56] adduser: `/usr/bin/chfn phon' returned error code 1. Exiting. [18:56] andol, can i see what you added to your vhost? [18:57] that was after an adduser [18:57] FFForever: did you enable chroot in suphp.conf ? [18:57] leOn, no [18:57] its commented out [18:57] 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] FFForever: You don't have any other PHP directives in your apache conf? Have you tried simply moving the .htaccess away? [18:59] man .. are you sure you want all those allow_file_* and allow_directory_* writable = true? [18:59] andol, i have tried =\, and there is no other php directives... i disabled php5 [19:00] leOn, yeah :D [19:00] what version of suphp are you using ? [19:00] FFForever: This is the suphp-conf I add to apache, by modes-enabled/suphp.conf http://paste.ubuntu.com/168940/ [19:00] FFForever: Perhaps a stupid question, but since you've done this yourself, I'm sure you'r loading the module as well? [19:01] andol, yeah look @ vps.chr1831.com it says suphp 0.7.1 :D [19:01] it surely has to mean its loaded right no? [19:01] should meen that yes [19:01] 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] ive spent exactly 1 week on this... [19:02] andol, LOL!!!, its just using the .php extension and the only thing in that in BLAH!!! - this is a test [19:02] no wait i am wrong.. i changed it to phpinfo(); [19:03] FFForever: How about if you just give us a pastebin of your index.php, just for the sake of it? [19:03] FFForever: what should be the docroot? [19:04] leOn, i have it set to / since ${HOME}/public_html/ does not work for me... [19:04] and one moment ill pastebin it [19:04] andol, leOn, index.php http://pastebin.com/f5afa204c [19:05] that file is in a users public_html folder already ? [19:05] leOn, nothing i made it manually [19:06] and i already deleted .htaccess [19:06] what does exactly happen when you try to access it? [19:06] FFForever: Sure you don't have any userdir settings confusing apache, how about using a folder not named public_html? [19:07] andol, i am sure thats not the problem, i already moved it to /home/chris/blah once :D [19:07] also i get the same error when using ~chris at the end of the url [19:08] FFForever: Another option, instead of putting docroot to /, how about just "commenting it out" using a ; [19:08] andol, one moment [19:08] andol, same thing =\ [19:09] FFForever: Wait, now I think I have it :) [19:09] what? [19:10] replace x-httpd-php="php:/usr/bin/php5" with application/x-httpd-php=php:/usr/bin/php-cgi [19:10] nope [19:10] won't change anything... =( [19:10] FFForever: /usr/bin/php is the CLI version, while php-cgi is the cgi version [19:10] since php5 is a symlink for php5-cgi [19:10] Ohh, bummer [19:10] i don't have the cli version [19:11] ive had it set to php5-cgi, php5, php, php-cgi lol [19:11] sorry but i didn't "hear" the problem from start .. what is exactly the problem? [19:11] ... [19:11] andol, changing it to php5-cgi works :D [19:11] ... [19:11] ... [19:12] i guess after installing the php5 module for apache it fixed something =\ [19:12] and disabling it [19:13] FFForever: Another stupid question :) You've been restarting apache between changes, right? [19:13] andol, ofc :D [19:13] woot my week long problem has been fixed :D [19:14] Well, glad it worked out, for whatever reason it did :) [19:14] good day all [19:14] i am an idiot.... [19:14] root@chr1831:/etc/apache2# ls /usr/bin | grep php [19:14] php-cgi [19:14] php5-cgi [19:14] whoops sorry didn't mean to paste that in this room.... [19:14] 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] billybigrigger_: you want to mirror the disks or concatenate them ? [19:15] probably mirror [19:16] i.e. .. use the 2 disks to have 500gb and in the case on fails you don't loose the data [19:16] 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] ya mirror [19:16] how can i add a user quota of 500mb? [19:16] or use the 2 disks and concatenate them in 1TB logical drive and risk loosing everything in case of them dies ..? [19:16] leOn, raid is not a backup solution :D [19:17] if someone hacks ur server and deletes the files ur screwed... [19:17] leOn::: no, i don't need 1TB, i'd rather have 500gb mirrored [19:17] billybigrigger_: you want raid1 then [19:17] k [19:17] leOn::: and hardware raid though my bios is the best option correct? [19:17] leOn, do u know how i can give a user a quota?, for /home/username [19:17] FFForever: i never said that raid was a backup solution [19:18] billybigrigger_: my personal opinion would be software raid [19:18] leOn, just making sure :D, i know someone who ran a pretty big website using raid as a backup... [19:18] hw raid only really matters for raid5 [19:18] and raid5 is? [19:19] raid5 will make you more space available than raid1 and still get data integrity in the case of a disk failure [19:19] but mininum of disks for raid5 is 3 disks [19:20] raid 5 is striping no? [19:20] and you loose 1/3 of disk capacity [19:20] raid0 is stripping [19:21] the thing about hw raid is that if your controler dies, you need to get another similar controler [19:22] ahh [19:22] and it doesn't really pay off unless it's for raid5, in terms of performance [19:22] onboard controller = no good [19:22] ok, so i setup raid in the ubuntu install? [19:22] i would say yes [19:22] or after ubuntu's installed? i've never really paid attention so im new to this [19:23] FFForever: mount the /home filesystem with the usrquota option [19:23] and enforce disk quotas [19:23] leOn, /home is part of /, its a vps [19:23] 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] FFForever: that kinda sucks then [19:24] =) [19:25] billybigrigger_: i would advise you ext3 or xfs [19:25] not ext4? [19:25] is that becuase of the early ext4 problems? [19:25] with data loss and such? [19:25] or do ext4 and raid not play nice or why? [19:26] 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] i have a mix [19:26] apt-clean just cleared my system of 500mb... =\ [19:26] i have small mp3's, to my large HD camera videos [19:26] big files vs small files, etc [19:26] imho ext4 is still a baby [19:27] i wouldn't use it for anything important [19:27] 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] billybigrigger_: both [19:28] thought so [19:28] billybigrigger_: you confuse disks with file systems I think [19:28] billybigrigger_: two disks, one file system [19:28] hehe no i dont [19:28] both disks have to run the same fs no? [19:28] or can i have 2 disks with ext3 and ext4 on each disk? [19:28] no. both disks are seen as ONE disk. [19:28] im just new to raid, i know the difference between a disk and a fs :P [19:28] on top of that ONE disk you put ONE file system [19:29] k [19:29] raid means that you build a logical drive [19:29] and it's in that drive (like it was a new disk) that you're going to make the fs [19:29] ahh [19:29] so the system actually only sees 1 harddrive [19:29] see. you were confused about disks and file systems ;-) [19:29] which is logical and is composed by the two physical drives [19:30] no, confused how raid worked :P [19:30] well. that's not really relevant. [19:30] what's relevant is that you will have ONE file system :-D [19:31] 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] k [19:32] off to reinstall i guess then [19:32] any tips? :P [19:32] raid 1 with ext3 should suit my needs then? [19:32] i would say it's the safe bet [19:33] roger [19:33] thanks a bunch, ill let ya know how it went [19:35] also [19:36] 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] or is that looking to get some broken packages? [19:41] New bug: #374567 in tomcat6 (main) "tomcat6 with spring throws org/springframework/core/NestedExceptionUtils" [Undecided,New] https://launchpad.net/bugs/374567 [19:57] i need help of someone to guide me true installing and configuring email server [20:00] what websvn tool do people like? === PhotoJim is now known as PhotoJim_ [20:44] virt-manager is calling kvm with -k en-us [20:44] how can i change that? [20:51] New bug: #374589 in samba (main) "samba server fails to start on boot time when laptop is not connected to any network." [Undecided,New] https://launchpad.net/bugs/374589 [21:00] ok .. i managed to change the -k parameter .. but deadkeys don't work [21:00] any ideas? [21:03] is there any useless packages i can remove? [21:03] to slim down ubuntu-server [21:18] 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] FFForever: On the other hand, not sure how much you'd actually gain. [21:20] i have a 6gb vps..., ubuntu takes about 1gb =\ [21:22] Can anyone help me force the www in my domain name? [21:22] FFForever: You could probobly save a couple of hundred MBs by keeping your apt-cache empty [21:22] how do i do that? [21:23] i don't use apt-cache search.... [21:23] FFForever: apt-cache search will work anyway. I'm talking about the saved deb-files apt likes to keep around [21:23] ohhh i already cleaned them... [21:24] 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] i clean it after all installs :D === edsoncanto is now known as edson [21:26] 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] lol :) === edson is now known as edsoncanto === edsoncanto is now known as edson === edson is now known as edsoncanto === ecanto is now known as edson === edson is now known as ecanto [22:03] how do i install a ppa file ? [22:09] quizme: Adding a ppa file? Downloading a specific .deb from a ppa or adding a ppa as a repository? [22:57] 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] i still don't know what a ppa is [22:59] a PPA is a repository [22:59] specifically one that's available on launchpad where everyone can upload source packages to their personal archive & they get built [23:02] 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] andol is launchpad a famous company or something? [23:17] quizme: Heard about Canonical? :) [23:18] andol: no [23:20] quizme: Well, it might just be a good company to be at least somewhat familiar with if you run Ubuntu... [23:20] http://en.wikipedia.org/wiki/Canonical_Ltd. === hggdh_ is now known as hggdh [23:30] andol: very interesting. i just read about him [23:31] mark shuttleworth [23:44] wow cool [23:44] i think ubuntu will win [23:48] $30M/yr [23:56] 30mil a year for what?