[01:13] I don't know about 9.04, but in 8.04, I simply installed the program cmus on server, and it installed all the dependencies necessary to play sound [01:14] using an onboard AC'97 card [04:02] hey #ubuntu-server [04:02] I've setup an ubuntu server, how do i hook it up with my domain name/ [04:02] ? [04:07] marshall: You need to have your DNS provider point the A record(s) to your server. [04:07] do i need to install bind or any of that nonsense? [04:08] marshall: It depends. If you have an external DNS provider (your domain provider might offer DNS, or you can use another service), then no. If you don't have a DNS provider, then you will need to either find one or get two IPs to your server and setup bind. [04:09] ok, ill give it a try [04:09] thankya [04:10] No problem. [04:10] Where is your server running? If it isn't in a decent datacenter with a reliable connection, I'd recommend a third-party DNS provider. [04:11] You definitely don't want your connection to go down, or have your IPs change for some reason and have your site down for 24-48 hours while the DNS server changes propagate. [04:12] i have cloud hosting with rackspace [04:12] my domain is with sibername.com [04:12] i have an existing site with another host hooked up to the domain [04:13] i want to switch it to my new custom server [04:13] marshall: Does your domain provider offer DNS? [04:13] i believe so [04:13] What's the domain? [04:14] iamjeffmarshall.ca [04:14] Ah, your nickname seems fitting :) [04:15] Yeah, you're using sibername DNS servers. It shouldn't be an issue to have them setup the proper A records. They probably have an interface to do it without having to contact them. [04:16] A records eh [04:16] lol thanks, ill look into it [04:20] marshall: Let me know if you have any issues getting it done. [04:37] nick125: ok, thanks [04:37] actually [04:37] i feel i may be in way over my head [04:40] marshall: It's not impossible.... [04:41] nick125: lol yeah, im sure its all pretty straightforward [04:41] i setup my website with a prepackaged hosting provider, then pointed it to my nameservers at sibername for my domain [04:41] I am building a home server, what filesystem would be best for my audio and video etc. It will be accessed via samba and other methods as well as streamed across a network [04:42] im now trying to setup a server from scratch and assign a domain name to it [04:42] android6011: personally, I'd go with ext3 optimizied for larger files [04:42] so not ext4? [04:43] android6011: You can do ext4 as well...but I just don't feel confident about using it on a server yet. [04:44] ok ill keep that in mind [04:45] nick125: im also trying to setup svn for web development, i want to have svn.iamjeffmarshall.ca point to my svn server [04:46] Just curious..why SVN? [04:48] i dont know any particular reason to use it, as far as i can see its the most cohesive version control [04:48] Ever look into bzr or git? [04:50] no [04:50] i havent [04:50] also, i have this spiffy mac app called versions [04:50] Ah. For SVN, are you using SSH or WebDAV? [04:50] but what advantages or disadvantages are there to using svn? [04:51] i feel like ssh would be better, but ive got it setup through webDAV i think [04:51] i followed this how to [04:51] http://ariejan.net/2006/12/01/how-to-setup-a-ubuntu-development-server-part-1/ [04:51] SVN seems to have the GUI clients while distributed VCSes have benefits resulting from its distributed nature (work offline, etc) [04:52] Yeah, that's WebDAV. SSH is easier imho. [04:53] marshall: Are you the only one that will need to access the SVN repos? [04:53] ill have to set up an svn for others too [04:54] im doing this on my own server so i can get comfortable with using it for web dev [04:54] before i use it with my team [04:54] Okay, then you might want to stick with WebDAV unless you feel comfortable giving SSH access to those people. [04:54] i could give them ssh with only certain privs right? [04:55] Well, you could give them a normal user SSH account...I know with Git, there is a special "shell" that only allows them to use git and nothing else. [04:55] hmm [04:56] Infact, Git has a real nice package called gitosis that handles all of that for you. The only caveat is that you can only use SSH and only use SSH keys. [05:00] IF that isn't an issue, it's a really nice package that automates a lot of the processes of managing Git. [05:00] hmm [05:01] my main concern is that the trunk of my repos be live on the web [05:01] as in served by apache [05:02] marshall: On your server, what do you have setup so far? [05:03] i just wiped it, lol [05:03] Haha. [05:03] im going to setup apache2 [05:04] also, i dont want to do all this as root, it just feels wrong [05:04] can i setup a user account with my own name that has all the privs of root? [05:04] yeah, I always keep the root accounts on my server disabled [05:04] You can use sudo... [05:05] ok, but i dont want to have to sudo everything i do on my webserver [05:06] where can i find a list of packages that have been updated in Ubuntu 8.04.3 in the past week [05:06] marshall: If, for some reason, you need a root shell, you can always do sudo bash [05:07] hi, is this an ok place to ask about configuring xen on ubuntu? I'm having trouble w/ networking and am not finding much help on the net. [05:09] newz2000: I don't see anything wrong with asking, but #ubuntu-virt might be better if you don't get any answers here. [05:09] nick125: yeah, but if im going to upload files through sftp, i want to be able to access /var/www with my user account [05:10] marshall: I think you can add your user to the www-data group and have access to /var/www [05:11] nick125: hmm [05:12] nick125: how can i see a listing of available groups on my system? lsgroup or something? [05:13] marshall: I usually just do cat /etc/groups [05:13] er, /etc/group [05:16] how do i add my new user account to the sudoers file? [05:18] marshall: Add them to the admin group. [05:19] usermod -a -G admin , I think. [05:19] it says the admin group doesnt exist when i do adduser jeff admin [05:20] maybe i can add jeff to the 'sudo' group? [05:21] Check /etc/sudoers [05:21] It should have something like "% ALL=(ALL) ALL" [05:22] root ALL=(ALL) ALL [05:23] You get edit /etc/group and it's enough. [05:34] VERY BAD IDEA to give www-data user and additional access [05:35] s/and/any/ [05:35] huh? [05:35] Boohbah has a point. [05:36] www-data is the user used by Apache, so, for example, a malicious PHP application would be able to modify and delete files...which is a bad idea imho. [05:36] ok, i want jeff to be able to read and write files in /var/www [05:36] and to be able to sudo and do commands as root when necessary [05:36] Maybe a POSIX ACL would work better [05:37] i just added jeff to 'sudo' group, doesnt seem to have given him sudo power though [05:37] now im looking up how to remove him from sudo group [05:37] what is posix acl? [05:40] It's a finer-grain permissions system [05:44] when i do a ls -l the dates listed are the last modified dates of the files correct? [05:51] i've added 'jeff' to 'www-data' but it doesnt seem that im able to change anything in my /var/www as jeff [06:03] yeah, I was incorrect and wrong - www-data doesn't have write access into /var/www. [06:42] nick125: how should I go about letting jeff read and write to /var/www? [06:45] marshall: my suggestion would be to create a www-pub group, chown jeff:www-pub -R /var/www [09:54] hi, i'm trying to run two websites from single server and i couldn't figure out how to do it. I followed the instructions given at http://www.debianadmin.com/creating-name-based-and-ip-based-virtual-hosts-in-apache.html [09:54] the "default" website is working fine, but other one is not [09:59] i'll be glad if someone can assist me [10:00] there's something wrong in my /etc/apache2/sites-available/secondsite.com file [10:01] http://pastebin.com/m2faede95 [10:06] try #httpd [10:09] RoyK: thanks [10:10] np [10:26] New bug: #410628 in lsb (main) "lsb_release crashed with ImportError in () (dup-of: 383697)" [Undecided,New] https://launchpad.net/bugs/410628 === twb` is now known as twb [13:32] anyone able to tell me if the promise TX2 is able to work on ubuntu server (even if its just as a simple pata controler [13:33] ichat: first of all, [13:33] ichat: first of all, "hardware raid" on a $20 card is fakeraid, and should be avoided [13:33] twb i know, [13:33] its just that i need more pata channels [13:33] As to support, if you have the card already you can ask lspci for a model string, and google for that [14:45] is there an easy way to test sound from command line on server 9.04 [17:41] New bug: #410669 in hundredpapercuts "Files incoming through nautilus-share should be created with user ownership, instead of "nobody" (dup-of: 268663)" [Undecided,New] https://launchpad.net/bugs/410669 [18:20] New bug: #410771 in samba (main) "package swat 2:3.3.2-1ubuntu3.1 failed to install/upgrade: subprocess post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/410771 [18:35] I am having some trouble getting a Wordpress plugin called Subscribe2 to send Email successfully. I am running Debian Lenny, Apache2, and PHP5, and exim4. I am able to send Email from the console using exim but am unable to through the plugin which uses the PHP mail function which I was told uses senndmail. I have a symbolic link setup so that sendmail works using exim. Can anyone help me,... [18:35] ...I'm not sure where the problem lies, I have full server access. [18:39] relegated: presuming exim has been configured properly ... you're done [18:39] the symbolic link is simple -- and will work as expected [18:40] Right, which is why I am very frustrated because it won't work through Wordpress [18:40] I can send outgoing Email fine from the command line to Gmail but not through wordpress [18:40] "won't work" unfortunately, isn't anything we can troubleshoot with [18:41] have you tried sending mail using the symlink you created? [18:41] if it works -- this is a php issue [18:41] if not -- then it's an exim/symlink issue [18:42] ya I can send using the symlink also [18:42] then php may be misconfigured, or confused [18:42] or maybe wordpress checked to see if it could send mail when you installed it -- and this wasn't set up then [18:42] and it's disabled that functionality [18:43] you might want to try getting assistance from wordpress [18:43] Been trying that also [18:43] since exim and ubuntu seem to be functioning just fine [18:43] and wordpress isn't exactly a key part of ubuntu [18:45] also, it would be wise to check exim logs [18:46] to see if there's any record of mail attempts from php/wordpress [19:01] Hello there. [19:02] I just started the chkrootkit and I got: INFECTED (PORTS: 60001) [19:02] This isn't good right? [19:02] o_O anyone here? [19:03] ArchType: ... waiting more than 60 seconds for a response before asking if anyone's here is a good idea [19:03] it may or may not be a problem -- chkrootkit is just checking a list of things it thinks represent a hacked server -- sometimes they're false positives [19:04] hum [19:04] well rtorrent uses this port [19:04] anything can use that port [19:04] hence why chkrootkit is doing nothing but guessing [19:05] try running "sudo netstat -anp | grep :60001" [19:05] any results? [19:10] giovani: yes [19:10] as I said, only rtorrent: tcp 0 0 0.0.0.0:60001 0.0.0.0:* LISTEN 5137/rtorrent [19:11] well if you knew that -- then you probably knew this wasn't an issue, and you didn't need to demand an answer within 60 seconds on irc on a saturday [19:11] it's saturday already :S [19:12] giovani: well I've learned something new [19:13] Also what firewall do u suggest for beginners [19:13] I know iptables are the best [19:13] but what about guarddog and why not? [19:13] guarddog isn't a firewall [19:13] it's an iptables configuration tool [19:16] I see [19:18] iptables (or more accurately, netfilter) is the only linux firewall [19:19] all of the "firewall tools" you find are just front-ends for configuring netfilter/iptables [19:23] giovani: I got it, my misconfiguration and I ended up reconfiguring Exim to use a smart host since i have a dynamic IP and was getting flagged as spam because I dont have a rDNS record [19:25] relegated: alright ... so then this was totally unrelated to php/wordpress -- and worked the same whether you used the command line sendmail replacement or php's function [19:25] I did have the sendmail_path in php.ini set to /usr/bin instead of sbin so it might have been a combination of the two [21:28] Anyone here familar with POSIX ACLs? I'm wondering if new child objects (i.e., files and subdirectories) can "inherit" the ACL from the parent directory. [21:51] Ah, it looks like if you create a default POSIX ACL on that directory, the children will inherit the ACL. Sweeeet. [21:52] anyone around to look at a vhost file for me and give me clues as to why my apache will not start with it? [21:52] http://pastebin.com/d6de4c551 [21:52] maybe i am blind and need fresh eyes [21:52] What error are you getting? [21:53] none, that is the weird part, just says fail [21:54] Anything in the logs? [21:54] not in the error log [21:54] at least, nothing that points to failure [21:55] Mind pastebinning the last....150 lines of the error log? [21:55] so, just to make sure, do you mean the log for that particular vhost? [21:56] how about running apachectl configtest? [21:56] Have you checked your overall error log file? If there's an error in one of your declarations, it might not go into the vhost's log [21:56] Will there be a ksplice backport to 8.04? [21:56] aha [21:57] addisonj: Find it? [21:57] sorry, on phone one sec [21:58] Phones suck. [22:02] yeah they do, which log do you want /var/log/messages? or another? [22:02] Something like /var/log/httpd/error.log or whatever it might be on your system. [22:03] bah! found it, [22:03] didn't knwo there were apache logs here too :P [22:05] no wait, i did, i just need eat lunch and get away for a bit [22:05] odd though, wrong path name pointing to my log files killed the server with no output in console [22:05] it didn't "kill" the server -- it just prevented it from starting [22:13] addisonj: and, as a note, if you used /etc/init.d/apache2 restart|start -- it would've printed that to console (STDERR, more precisely) [22:15] i did use that, i had another error in filename that did print, but the logfile one did not [22:16] that's because it probably only evaluated the first fatal error ... and stoped ... it shouldn't continue [22:16] so then you should've fixed that, and run it again, and seen the error you wanted [22:16] s/stoped/stopped/ [23:04] if a process has nice value of 19 will other processes be allowed to saturate the CPU and it get no time at all... [23:05] other processes all have 0 or lower nice values [23:10] IRConan: were you hansderagon? [23:11] guntbert: what? [23:12] I read exactly the same question two days ago but the nick was different [23:12] oh... fair enough [23:13] any idea? I thought that a process with a nice that high wouldn't impact performance of others at all really but it seems to use about 70% processor even when another is running [23:13] IRConan: are you sure that the nice value is correct? [23:14] absolutely [23:14] shows in htop as 19 [23:15] IRConan: and it still hogs the cpu?, what is the system load? [23:16] the "background" process is intended to use all spare cycles so it's at 100% all the time really [23:17] IRConan: what background process? [23:17] this is where you'll laugh :P [23:17] Folding@Home [23:17] I guess I might just have to stop it... [23:17] having the server responsive is far more important [23:17] I have a few php applications which use lots of processor (generating graphs mainly) [23:18] IRConan: why should I laugh? but once again: what is the system load (in htop upper right corner) [23:18] the "Load average" ? [23:18] 0.77 [23:19] peaked at 0.84 when running one of the PHP apps just then [23:20] oh... it's much higher now... I guess it might be distorted from my messing [23:20] 0.77 is fairly low, everey other process should get all it needs - 2 or 3 is another thing - your machine "has all the time" - I wouldn't worry [23:21] thing is... if I run a php request with F@H running php uses 30%, if I run it without F@H it uses 70-100% [23:22] maybe those figures aren't very accurate... if php isn't sleeping when it could it would show high usage anyway [23:23] IRConan: I wouldn't worry too much about % [23:23] ok then... thanks for the advice [23:23] I'm hoping to implement caching on the graph generation anyway [23:23] it's impractical to have them generated for every request! [23:24] IRConan: right now I have a load of 1.8 on my notebook and I don't notice any sluggishness at all [23:24] cool [23:24] what do those load figures actually reperesent? [23:26] I never figured that out "exactly" - just lower is better :-) and the % don't have the same weight as in windows [23:26] never looked at windows loading really [23:26] occasionally 100% when I'm running prime95 on my gaming rig but that's it [23:27] you can make a test though: run some benchmark with and without F@H and see what difference it makes - I guess nearly none [23:28] or compile a kernel (just for fun) [23:28] and time that [23:34] another question, how do i redirect a folder to a file, for example www.mydomain.com/sales to www.mydomain.com/sales/index.php [23:35] addisonj: setup a default index file [23:35] so when someone goes to mydomain.com/sales/, it will look for index.html, then index.php, etc. [23:36] aha, so i just need to add that to my vhost then in DocumentIndex? [23:36] addisonj: apache should do this by default, but you can always ask in #httpd [23:36] addisonj: I believe so. [23:37] think i got it, just needed a little push in the right direction, thanks