[00:00] <blaenk> JanC: I found it ! I think, pool.d/www.conf
[00:00] <blaenk> yeeee
[00:00] <blaenk> but I'm still thikning about compiling it myself, to run the newer packages
[00:00] <blaenk> so if you could comment on the package removal method I'm thinking about I would appreciate it
[00:00] <JanC> eh, looking at what php5-fpm is, you can probably configure the user in nginx
[00:01] <JanC> in the FastCGI config/script or such?
[00:01] <JanC> or whatever you use to connect
[00:04] <blaenk> oh nah
[00:04] <blaenk> php-fpm runs as separate processes
[00:04] <blaenk> or are you saying I should just make them run as the same nginx user?
[00:04] <blaenk> nginx runs as user nginx
[00:49] <Ken> Hello. Not specifically a server question. I'm connecting to a server for what it's worth. I've networked my laptop and server via Firewire for large file transfers and connection speed is not exceeding that of my wired connection (about 4mb/s). Any suggestions as to what might be going wrong or how to improve? I wouldn't mind it being a bit faster.
[01:08] <axisys> how do I redirect the session to console ttyS0 when booting from live cd ?
[01:25] <F3RR1S> where is a good place to get a multi-use server?
[01:26] <F3RR1S> I am planning to have no more than 50 connections
[01:26] <F3RR1S> I am basically wanting to serve media (streaming video), mp3, file, and a website
[01:27] <Ken> F3RR1S: I'm not that knowledgeable on servers but you could consider buying a barebones system them building to your spec.
[01:28] <F3RR1S> That will probably be the way I go
[01:30] <F3RR1S> but I would rather get one out of the box without an os...
[01:30] <G> F3RR1S: not advertising for any one company, but you might like the Supermicro servers
[01:30] <F3RR1S> thanks G,
[01:30] <G> F3RR1S: which is kinda what I think Ken was hinting at
[01:31] <F3RR1S> I appreciate it.... this will be the first server I will purchase and probably the last for quite some time
[01:31] <G> F3RR1S: I'm pretty sure in America there are a lot of non-big brand servers out there
[01:32] <G> F3RR1S: but SuperMicro is the one that I keep hearing people talking about
[01:32] <F3RR1S> Yeah... that can be a problem... I have seen standard desktop pc's being sold as a "server"
[01:32] <F3RR1S> which is complete bs.
[01:32] <F3RR1S> yeah... I am definitely going to check them out
[01:32] <Ken> F3RR1S: Hey, don't diss it. I have a server set up from a six year old PC. Admittedly it has one connection. Er.. me.
[01:33] <G> F3RR1S: nah the Supermicro ones from what I've seen a proper rackmount etc w/ proper server hardware
[01:33] <G> F3RR1S: but also consider, that there are a lot of tower servers as well, especially for SMB markets
[01:33] <F3RR1S> Ken, but you are not selling it either... btw I have an old POS that I have setup as a server several times...
[01:34] <Ken> F3RR1S: That's a very good point.
[01:34] <G> my 'server' keeps crashing it, so I'm turning my current desktop into my 'server' and my laptop into my 'desktop' :)
[01:34] <F3RR1S> i think it is great to reuse some of the old crappy computers for servers... my doesn't cut it anymore
[01:36] <patdk-lap> supermicro and tyan are the two largest non-name brand server makers
[01:36] <Ken> I've considered using an old laptop as a personal server. It'd be very, very nice at taking up very little space. Lack of HD is an issue though
[01:36] <G> patdk-lap: ahhh Tyan, knew I was missing one
[01:36] <patdk-lap> or should I say, the largest two, build it yourself, server part suppliers
[01:36] <F3RR1S> G, I am looking for a tower server as I have no rack mount and I really do not want to spend a ton of cash... they seem to be a little cheaper than 1u or 2u
[01:36] <Ken> Also, since there are people here. Anyone know much about FireWire network transfer speeds?
[01:37] <F3RR1S> thanks patdk-lap I will check out tyan as well
[01:37] <G> patdk-lap: I was pretty sure Supermicro was more just add storage though than Tyan?
[01:37] <patdk-lap> well, tyan mainly just makes motherboards
[01:37] <G> yeah, but Supermicro does the chasis and all that as well right?
[01:37] <patdk-lap> supermicro used to, and still do, make complete systems
[01:38]  * G only ever sees the Tyan MBs in NZ
[01:38] <patdk-lap> but I think intel and some of the other chip makers are into their market
[01:38] <patdk-lap> cause supermicro used to make nice northbridge, now it's really just intel
[01:40] <hikeonpast> Hi all -- I've been testing using 10.04LTS without issue so far, but have increasingly heard about issues with task switching under high load, with fingers pointed at the 100Hz timer interrupt.
[01:40] <F3RR1S> has the linux / xeon issues been resolved or does xeon not run linux as well as M$
[01:40] <G> F3RR1S: depends which Xeons really
[01:40] <patdk-lap> I never new xeon had an issue, run linux on only xeons for a long time
[01:41] <hikeonpast> Under what use cases would this represent an issue / has anyone had problems maintaining a high rate of task switching?
[01:41] <patdk-lap> hikeonpast, well, a 100hz timer interrupt, means 100 task switchs per second, basically
[01:42] <patdk-lap> unless programs issue sleep or other thing to give up cpu time
[01:42] <G> F3RR1S: the only potential Xeon issues that could crop up, would be if Intel comes out w/ a new series of Xeons that needed extra kernel support
[01:42] <G> F3RR1S: i.e. older distros had to be updated when the Nehalem's came out
[01:42] <hikeonpast> Assuming that is 100 switches per core, why set it so low by default?  Does the increased efficiency warrant that in a modern server?
[01:43] <patdk-lap> I am pretty sure server doesn't use 100hz timer, checking
[01:43] <hikeonpast> I understand the inverse relationship between task switching overhead and task latency.
[01:43] <patdk-lap> hell, desktop uses 250hz
[01:43] <hikeonpast> patdk-lap:  https://help.ubuntu.com/community/Server/TechSpecs/1004LTS
[01:43] <patdk-lap> hmm, -server is 100hz, heh
[01:44] <G> bit silly isn't it?
[01:45] <patdk-lap> dunno, doesn't bother me really
[01:46] <patdk-lap> I generally only run event based programs
[01:46]  * G goes back to deciding on the next machine name
[01:46] <patdk-lap> not threaded/forked to hell programs
[01:46] <Ken> You know, I never even though about coming up with a nifty name for my server. I just called it "k-server" "K" being the initial of my forename.
[01:47] <hikeonpast> ah.  Event-driven would probably be clean in that case.  I have to run a mix of thread pool and event-driven.
[01:47] <patdk-lap> heh, you will love mine :)
[01:47] <Ken> Do share.
[01:47] <G> Ken: all my machine names are after NZ Native birds
[01:47] <Ken> Oh, that's nice.
[01:47] <patdk-lap> firewall01, firewall02, web01, web02, web03, web04, ...
[01:47] <G> Ken: with one exception, my Mac
[01:47] <Ken> patdk-lap: Haha. That's descriptive at least.
[01:47] <patdk-lap> for servers I do care about, and have long life spans (my personal servers)
[01:48] <Ken> What is your Mac called, G?
[01:48] <patdk-lap> I generally name them japanese
[01:48] <patdk-lap> G2 :)
[01:48] <patdk-lap> little-G :)
[01:48] <Ken> That's kinda.. y'know, cute.
[01:48] <G> Ken: I think the DNS Name is nigel-imac and nigel-imac-wlan
[01:48] <G> :P
[01:48]  * Ken rubs his head with confusion.
[01:49] <Ken> I really need to learn a lot more about computers. Firewire is achieving a transfer rate of about 5MB/s. Ethernet over Cat5 is pushing 10.
[01:49] <G> heh, finally putting my home network on Gigabit was an eyeopener
[01:50] <twb> I can only manage 16MB/s on gigE
[01:51] <twb> The 7200 RAID1 might be the bottleneck there, though
[01:51] <Ken> I'm pretty much a servernoob right now anyway. 10.04 for server, 10.10 for Desktop. The server is an old PC and it's just about learning more than anything. Yes, i'll freely admit it's my new hobby. I've managed SSH, Apache, FTP etc etc. Just the basic stuff.
[01:51] <patdk-lap> hmm, isn't firewire 400mbit or 800mbit, full duplex?
[01:51] <Ken> I'm going to eventually look into software RAID and VPN in time. I don't use Windows (often) so I ignore Samba.
[01:52] <G> twb: not bad, doing a test atm, 55-76MB/sec
[01:52] <Ken> patdk-lap: I thought so.
[01:52] <G> on a 3.27GB file
[01:52] <Ken> Oh, very nice.
[01:52] <patdk-lap> heh, I have been on gigabit so long, I'm annoyed
[01:52] <patdk-lap> I'm ready for 10 or 40gbit
[01:52] <Ken> You make me sick with your fast connections, knowledge and cute server names, G.
[01:52] <twb> Capacity 400–3200 Mbit/s (50–400 MB/s)
[01:52] <Ken> Pfft, just you rub it in too patdk-lap.
[01:53] <G> Ken: you haven't heard how fast my ADSL connection is yet
[01:53] <Ken> Nor do I want to, G.
[01:53] <G> 2Mbit/s on a good day....
[01:53] <twb> "nigel-imac-wlan" isn't a cute  name
[01:53] <G> :P
[01:53] <patdk-lap> 256kbit?
[01:53] <twb> It's a direct violation of RFC952
[01:53] <Ken> I'm in the countryside. I'm on 512kb
[01:53] <twb> Sorry, RFC1178
[01:53]  * patdk-lap wonders if rfc1178 is older than G
[01:54] <twb> (952 defines hostnames for ARPANET.)
[01:54] <twb> patdk-lap: August 1990
[01:54] <G> nope, I'm older than it
[01:54] <Ken> Even i'm older than that.
[01:55] <twb> Wow, that was 20 years ago
[01:55] <G> twb: it's just a case of I can't be bothered giving it a proper name yet
[01:55] <twb> G: you should do that at install time :-/
[01:55] <Ken> G: Can we name it for you? Maybe hold a vote?
[01:55] <twb> Crappy Apple crap
[01:55] <Ken> Haha.
[01:55] <G> twb: actually Apple is smart, dynamically grabs the machine name from DNS
[01:56] <twb> Ken: here's my hostnaming scheme:
[01:56] <twb> egrep -x '[A-Z][a-z]{3}' /usr/share/dict/words | fmt -w $COLUMNS # hostnames are four-letter proper nouns - RFC1178
[01:56] <G> like a lot of Linux OS'es did before Network Manager :)
[01:56] <twb> G: d-i still does that
[01:56] <Ken> twb: I'm going to pretend i understand how to read more than three or four bits of that rexp.
[01:56] <Ken> regexp* too.
[01:56] <twb> Ken: man 7 regex
[01:57] <Ken> twb: it's 2am. I think it's a bit late for me to learn anything new tonight.
[01:57] <G> and as a last resort it names it: <firstname>s-mac where the name it grabs is whoever it's registered to
[01:57] <G> which is nice
[01:57] <Ken> twb: and boy do I have a lot to learn.
[01:57] <G> my naming list is the first two columns of: http://www.nzbirds.com/birds/gallery.html
[01:57] <twb> Ken: regex(7) is not new
[01:57] <twb> Ken: it probably IS older than you
[01:58] <Ken> twb: I meant new to me :D
[01:58] <twb> G: I'm not sure "Ngutuparore" would be a good one
[01:58] <G> twb: no, even I have standards
[01:58] <twb> We have legacy hosts like "worcestershire" and "barbecue" that nobody can spell.
[01:59] <G> for instance, I'm never going to name a machine 'titi' for obvious reasons
[01:59] <twb> I don't see why
[01:59] <twb> titi, tata, toto -- obvious Italian names
[01:59] <G> twb: I'd be a bit weird if someone overheard "Oh yeah, just connect to titi and do your stuff" :)
[02:00] <twb> I guess
[02:00] <G> actually I lied, it's the first 2 columns and the 4th column
[02:00] <twb> As opposed to "si, connecto a titi e se irarlo" or whatever.
[02:02] <G> I'd use 'weka' but I swear I've already used and retired that
[02:10] <Ken> Okay, thanks for the conversation and lessons. I think it's time to sleep. Good night
[02:43] <wubba> What is the purpose of cloud software for ubuntu - isn't it just using Amazon already?
[02:46] <twb> wubba: private clouds
[02:46] <wubba> twb - are you able to basically start your own private cloud service then?
[02:46] <twb> Yes.
[02:47] <wubba> Interesting.
[02:47] <twb> i.e. you replace amazon in this scenario -- either for internal use within your company, or onselling to your customers
[02:47] <wubba> That is what we are looking to do - replace amazon.
[02:47] <twb> There are probably other reasons, but that's the obvious one to me
[02:48] <wubba> Though we are writing a front end to connect to Amazon cloud for windows.  Is there a programming guide to connect to the private cloud (ie. writing of windows software to attach to the ubuntu cloud)
[02:51] <pmatulis> wubba: you may want to visit #ubuntu-cloud
[02:51] <wubba> oh - didn't know that - thank you
[03:26] <axisys> reposting my question for anyone just joined.. i like to create a custom live cd iso that I can use to boot a server into console=ttyS0 .. most of my servers at remote location so no access to console tty0
[03:26] <axisys> so need help suggestion with that
[03:27] <axisys> would be nice if ubuntu offered a live cd iso that allow you to boot into ttyS0 console
[03:30] <twb> axisys: how many routers do you have with CD drives?
[03:30] <axisys> twb: for servers..
[03:31] <twb> Personally I just use netinst
[03:33] <axisys> twb: sometimes i need to fix the fstab or system wont boot.. how would I do it with netinst ?
[03:34] <axisys> twb: with fsck status 4 - need a live cd to boot into
[03:37] <twb> axisys: you turn the live CD into a netboot live image
[03:37] <twb> That's basically how my prisonpc.com product works
[03:37] <twb> Or you boot the netinst d-i image with rescue/enable=true
[03:43] <axisys> twb: how do you turn a live cd into a netboot image.. that is what I am looking for then..
[03:43] <axisys> twb: ^
[03:44] <twb> axisys: the easiest way is to use Debian Squeeze and to generate an image from scratch using live-build
[03:45] <twb> The hard way is to bugger about extracting the ubuntu live CD iso and passing undocumented options to casper
[03:45] <axisys> twb: there is no ubuntu image available ?
[03:45] <axisys> twb: hehe
[03:45] <twb> Ubuntu images are available, ubuntu code to BUILD images is not (or at least, it only works if you are launchpad)
[03:48] <axisys> twb: so once i install debian squeez (will install as VM) just run live-build with the modification in my grub ?
[03:49] <twb> uh, grub?
[03:50] <axisys> twb: i need to append console=ttyS0
[03:50] <twb> If you're netbooting, you're using pxelinux, not grub.
[03:51] <axisys> twb: oh ok.. so I need to make change in the pxelinux so the live cd boot into console ttyS0
[03:51] <twb> Yes.
[03:52] <axisys> is debian 5.07 is squeeze ?
[03:52] <twb> No.
[03:52] <twb> Or just tell the image to run gettys on both tty[1-6] and ttyS0
[03:52] <twb> Squeeze will be Debian 6.0; currently it is "testing".
[03:53] <twb> You can generate debian 5.0 (etch) images using live-build, but they aren't as nice.
[03:53] <axisys> twb: not sure how to do that.. do you happend to have any steps .. unless you dont mine me bugging you :-)
[03:53] <twb> In THEORY you can run live-build on ubuntu and tell it to generate ubuntu images, but that is not as well supported
[03:53] <axisys> twb: i will get the testing release.. dvd or cd ?
[03:53] <twb> axisys: sed -i /etc/inittab -e s/tty2/ttyS0/p
[03:54] <twb> axisys: or if upstart, sed s/tty2/ttyS0/ /etc/init/tty2.conf >/etc/init/ttyS0.conf
[03:54] <axisys> debian squeez has upstart ? i will i will find out
[03:54] <twb> axisys: well, install testing using netboot, not optical media
[03:54] <twb> axisys: re upstart I meant if you make an ubuntu image
[03:55] <twb> axisys: debian has upstart but it basically doesn't work
[03:55] <axisys> twb: yep.. i prefer that.. cant offer a cd to remote site as often
[03:55] <axisys> twb: i will stick with debian as my live netboot image
[03:55] <twb> http://paste.debian.net/103053/ contains URLs to netboot install media, and some other notes
[03:55] <axisys> twb: would be nice if i could follow complete steps
[03:56] <twb> axisys: I'm not your mum; there's a limit to how much I'm gonna hold your hand.
[03:56] <axisys> twb: you have been very helpful.. thank you for the link
[03:56] <tubnub> Perhaps someone can help: I'm running an ubuntu install with 1 wired nic to the cable modem, 1 wired nic sharing internet to a wired network, and now I have a wireless.  can I also share the internet to a wireless network?
[04:12] <blaenk> hey is there a way to set a directory such that any file created in it is automatically owned by the same group?
[04:14] <twb> tubnub: yes, but you'll probably need hostapd
[04:15] <tubnub> twb: hostpad?
[04:16] <twb> The thing that turns a radio device into a wifi AP
[04:16] <tubnub> right.
[04:16] <tubnub> Is that likely to interfere with my wired setup, twb?
[04:18] <twb> I don't see why it would
[04:18] <tubnub> k
[04:19] <tubnub> Any specific area I might Google for further? Or should installing hostapd be just about sufficient?
[04:34] <twb> I can't remember
[04:35] <twb> You probably need to give it symmetric crypto or the location of your RADIUS server if you want to lock it down
[05:50] <Error404NotFound> I am researching on what would be best tool(nagios, zabbix, cacti, etc) to create a central monitoring server in cloud to watch 10+ nodes for Apache, tomcat, CPU, RAM, Load, Disk, Users, and any other stuff. I have previously used nagios but nrpe wasn't a good experience specially when clients had outdated versions.
[05:50] <Error404NotFound> any/all ideas are welcome...
[05:51] <twb> nagios and cacti do different jobs.
[05:51] <twb> The former monitors availability, the latter performance.
[06:20] <xixor> I dont' have ubuntu server installed yet, but is there a place on the website I can search the packages to see what version of the packages is used?
[06:21] <xixor> packages.ubuntu.com I suppose?
[06:22] <gobbe> yea
[06:23] <xixor> 10.10 would be the server version to install at this point, right?
[06:24] <xixor> Im currently running debian lenny, but I think it would be good to switch to ubuntu, it seems that the packages are more recent
[06:28] <twb> xixor: no, LTS
[06:28] <twb> The packages are more recent than lenny because lenny is contemporary with hardy.
[06:28] <twb> If you want something that's as new/buggy as lucid, look at squeeze, which is close to release.
[06:29] <xixor> yeah, I also think that debian is getting close to releasing a new stable version
[06:29] <ScottK> They are.
[06:29] <twb> You don't need to "think" it; it's a fact
[06:29] <ScottK> It's got ~the same versions of packages as Ubuntu Lucid.
[06:29] <Error404NotFound> twb, just read your message... ya... cacti is more sort of graphing like MRTG. Looking into nagios vs zabbix vs zenoss
[06:35] <xixor> so does ubuntu use debian packages directly then?  How does that work?
[06:41] <twb> xixor: it uses some Debian *SOURCE* packages, but it recompiles them
[06:41] <xixor> oh, I see
[06:41] <twb> Most packages in Ubuntu's main tree (which is very small) have been buggerized around with
[06:41] <xixor> yeah
[06:41] <twb> Stuff in universe tends to be straight from Debian
[06:42] <xixor> so universe is "free" software, but isn't supported?
[06:50] <twb> Canonical doesn't support anything in universe AFAIK
[06:50] <twb> I wrote a little cron job to report on what is and isn't supported
[06:51] <twb> http://paste.debian.net/103055/
[06:52] <xixor> cool stuff
[06:54] <ScottK> It is supported or not (it varies widely) by the community.
[06:54] <ScottK> it == Universe.
[06:54] <ScottK> So Universe != unsupported, just that you need to look into it.
[06:54] <xixor> ah
[06:54] <xixor> but multiverse == unsupported?
[06:56] <twb> xixor: multiverse is to restricted what universe is to main
[06:56] <gobbe> multiverse contains software that is not free
[06:56] <xixor> ah, sorry, yes, my bad, multiverse is non-free
[06:57] <gobbe> and universe contains software supported by community but not by official support
[06:58] <xixor> what does supported by community vs. official support imply?
[07:00] <gobbe> xixor: well. if you buy advantage from canonical it's official support
[07:00] <The_Tick> is that worth much?
[07:00] <xixor> so canonical is the commercial side to Ubuntu?
[07:00] <gobbe> canonical is sponsoring ubuntu
[07:00] <xixor> hm.. cool
[07:00] <xixor> 350 staff it says.. that is quite a bit actually
[07:00] <The_Tick> free ubuntu is a good marketting campaign
[07:01] <The_Tick> well, at least it helps
[07:01] <xixor> yeah, I bet
[07:01] <gobbe> to be succesfull in commercial environments you need to provide professional support also
[07:01] <gobbe> that's what canonical does
[07:01] <xixor> yes
[07:01] <gobbe> it's like redhat
[07:02] <gobbe> they have free linux but they sell support
[07:02] <The_Tick> gobbe: indeed
[07:03] <gobbe> The_Tick: the best support is 1200e/year/server if i remmeber correctly
[07:03] <The_Tick> euros?
[07:03] <The_Tick> I'm sure they have custom support contracts too
[07:03] <twb> I also *strongly* suspect that main gets more attention from the ubuntu security team than universe
[07:04] <The_Tick> if they don't they're stupid
[07:04] <gobbe> twb: that's correct
[07:04] <twb> Which is the real reason I use that script I pasted
[07:04] <gobbe> The_Tick: i dont know about that, i have several customers using ubuntu + advantage
[07:06] <The_Tick> gobbe: where I work we give someone like you a partner status
[07:06] <The_Tick> :)
[07:06] <xixor> so, what do you get with that support contract?
[07:06] <The_Tick> and you get treated differently
[07:06] <gobbe> The_Tick: where do you work :-)
[07:06] <The_Tick> at a windows shop
[07:06] <gobbe> xixor: you get email and phone support, for example
[07:06] <xixor> does it involve things like apache/php/mysql setup and maintenance at all?
[07:06] <gobbe> xixor: like in all enterprise os's
[07:07] <The_Tick> but if you sell product to your own customers and support them, then it's assumed you do the base level troubleshooting
[07:07] <The_Tick> etc etc
[07:07] <gobbe> The_Tick: yea
[07:07] <gobbe> The_Tick: that's what i basicly do, i try to help them at first, if not possobile i'll escalate case to canonical
[07:07] <gobbe> The_Tick: works perfectly, and i'v been doing that also with redhat for years
[07:08] <The_Tick> ya
[07:09] <The_Tick> anyhow, back to hanging this new fan
[07:11] <gobbe> yea, i'll back my laptop and head to car, need to drive 250km to my parents for christmas and it's damm cold there
[07:11] <The_Tick> is it the 23rd there?
[07:12] <gobbe> yea
[07:12] <The_Tick> ya, get your ass moving
[07:12] <gobbe> well, it's just morning
[07:12] <The_Tick> that's not a short hop :)
[07:12] <gobbe> =)
[07:12] <The_Tick> hold on
[07:12] <gobbe> no it's not, and it's something like -21 degrees celcius outside
[07:12] <The_Tick> http://i.imgur.com/7RtjZ.jpg
[07:12] <The_Tick> that's in norway
[07:12] <gobbe> well, i'm in finalnd
[07:12] <gobbe> finland
[07:13] <gobbe> and we have more snow here atm
[07:13] <gobbe> :D
[07:13] <gobbe> something like ~50cm
[07:13] <The_Tick> I'm in the states myself
[07:13] <gobbe> need to sell car and byu a reindeer
[07:13] <The_Tick> and wearing shorts outside still
[07:13] <The_Tick> and sandals
[07:13] <The_Tick> anyhow, fan hanging continues
[07:13] <The_Tick> have a good trip, drive safe
[07:14] <gobbe> thanx
[07:14] <gobbe> see you, i'll leave now
[07:22] <blaenk> anyone have experience with setting up file permissions on a wordpress installation?
[11:43] <Frenk> Hey I have a problem with my Ubuntu-Server I never seen before: When I try to start clamav it says: ERROR: LOCAL: Socket file /var/run/clamav/clamav.sock could not be bound: Permission denied
[11:43] <Frenk> The file does not even exist
[11:52] <_ruben> does /var/run/clamav/ exist?
[11:53] <_ruben> if so, its permissions are probably busted
[11:55] <Frenk> yes the folder exists and there is a file freshclam something
[11:59] <Frenk> mh okay _ruben do you know what permissions it should have if im using amavids?
[12:02] <_ruben> the user as which clamd is configured to run should have write access there, i dont run any ubuntu boxes with clamav currently, so can't check
[12:03] <Frenk> LocalSocket /var/run/clamav/clamav.sock FixStaleSocket true User postfix
[12:07] <Frenk> so the user is postfix =) but now a dumb question - how to fix  those permissions for postfix?
[12:07] <Frenk> with chown
[12:07] <Frenk> ?
[12:09] <veovis_muaddib> Okay, I have vsftp set up to allow local users to log in through ftp.  I have my main user, and that account can log in with their username and password.  However, I made another account called public, changed the password, and restarted vsftpd, but public cannot login
[12:11] <veovis_muaddib> FileZilla fails with a 530 Login incorrect, followed by Critical error and Could not connect to server
[12:11] <Frenk> _ruben the folder clamav has following permissions: drwxrwxr-x 2 postfix    postfix      60 2010-12-23 12:35 clamav
[12:52] <RoyK> hm... this core2duo is said to be 2,13MHz, but max cpu speed as reported by  /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq is 800MHz, and starting a couple of processes doing while (1) {}, cpu is never clocked over 800
[12:53] <RoyK> any idea?
[12:53] <RoyK> running 2.6.32-26-server on lucid
[12:53] <Koheleth> remote?
[12:53] <RoyK> remote what?
[12:53] <RoyK> I'm logged into ssh on the box, yes
[12:53] <Koheleth> maybe your service is lying
[12:54] <RoyK> the box is 150km from here
[12:54] <RoyK> both /proc/cpuinfo _and_ /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq ?
[12:54] <Koheleth> mine actually double what I paid for, nice engineers
[12:54] <RoyK> /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq is also 800
[12:54] <RoyK> but cpuinfo says model name	: Intel(R) Core(TM)2 CPU          6420  @ 2.13GHz
[12:54] <Koheleth> take it up with your provider maybe?
[12:55] <RoyK> not funny
[12:55] <RoyK> it's my bloody server
[12:55] <Koheleth> really though, lot of jokers out there
[12:56]  * RoyK doesn't laugh much of Koheleth's attemts to joke
[12:56] <Koheleth> not joking, they try it on at times
[12:57] <Koheleth> if the output is that I would wonder a bit
[12:58] <Koheleth> will try mine
[13:10] <RoyK> anyone that knows why this PoS server only seems to want to run on 800MHz? it's linux 2.6.32, and /proc/cpuinfo says (correctly) that it's a 2.13MHz core2duo, but running at 800MHz under full load, and then, /sys/devices/system/cpu/cpu0/cpufreq/* tells me it can be cloced to either 600 or 800MHz....
[13:11] <qman__> I don't know enough about how it works to be certain, but is there a way to manually override it?
[13:12] <RoyK> seems not with cpuinfo_max_freq=800
[13:12] <RoyK> cpuinfo_max_freq=800000 - it should be 2130000
[13:13] <twb> 23:52 <RoyK> hm... this core2duo is said to be 2,13MHz, but max cpu speed as reported by  /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq is 800MHz, and starting a couple of processes doing while (1) {}, cpu is never clocked over 800
[13:13] <twb> RoyK: what cpufreq driver?
[13:13] <RoyK> how do I check?
[13:17] <qman__> RoyK, perhaps scaling_driver in the same directory?
[13:18] <RoyK> acpi-cpufreq
[13:26] <patdk-lap> powertop will also show it
[13:27] <RoyK> all the same - doesn't seem to want to clock anything higher than 800
[13:33] <Koheleth> you have to take that up with your servive provider support@etc...
[13:33] <Koheleth> sevice
[13:33] <Koheleth> service even
[13:33] <RoyK> Koheleth: what are you talking about?
[13:34] <Koheleth> the guy is not getting his full service
[13:34] <RoyK> which guy?
[13:34] <Koheleth> bet its not software
[13:34] <Koheleth> the guy with the cpu prob
[13:35] <RoyK> that's me
[13:35] <Koheleth> :)
[13:35] <RoyK> please, Koheleth, what are you smoking/drinking?
[13:35] <Koheleth> drinking, single malt
[13:35] <RoyK> it must be rather good, given your answers in here
[13:35] <Koheleth> oops
[13:35] <Koheleth> keep thinking I in off topic
[13:36] <RoyK> answering people to call fucking service in a  technical channel is directly rude
[13:36] <Koheleth> no one has answered anyway
[13:36] <RoyK> and yes, sir, it's a software problem in the linux kernel
[13:36] <Koheleth> lol
[13:36] <RoyK> probably related to ACPI somehow
[13:37] <Koheleth> my ubuntu server runs perfect, thank you Bunt and just donated
[13:37] <Koheleth> just a webserver mind
[13:37] <RoyK> good for you
[13:38] <Koheleth> totally free till 2013 :)
[13:38] <Koheleth> perfect web/mail server
[13:38] <Koheleth> Bunt rocks
[13:38] <RoyK> Koheleth: next time someone asks about something about which you have no idea, please remain silent instead of barging out idiocity
[13:38] <Koheleth> great support as well
[13:39] <Koheleth> RoyK: sry keep thinking I am in off topic
[13:48] <Frenk> Me again: I have a problem with clamav => http://pastebin.com/qS8G7LTy Here are extracts from config |  the file itself does not exist.
[13:49] <Koheleth> try #aptitude purge clamav    ... thats a bit in tongue in cheek.  ;)
[13:51] <Koheleth> Frenk:  what exactly do you want from this program?
[13:52] <Frenk> Koheleth: Postfix -> Amavis = Spam and Viruscheck
[13:52] <Koheleth> Whats it going to do?  Save you from non virtually virus in Linux
[13:52] <Koheleth> Kick it to touch
[13:55] <Frenk> For endusers who also use windows?
[13:56] <twb> Koheleth: plonk
[13:57] <twb> Frenk: presumably it's normal for clamav to run as postfix?
[13:57] <Frenk> twb: yes it is. It worked for weeks but all of a suddon - stopped
[13:57] <twb> Frenk: apparmor?
[13:58] <twb> Does the setuid from 0 to postfix happen in the init script or in clamav itself?
[13:58] <twb> the init script is ridiculously long :-/
[13:59] <Frenk> clamd -c /etc/clamav/clamd.conf -> ERROR: initgroups() failed.
[13:59] <twb> Ugh, the init script actually PARSES the config file
[14:00] <twb> And it's using su instead of start-stop-daemon.  FFS
[14:00] <twb> (su being the answer to my question.)
[14:00] <twb>   if [ -z "$RUN_SUPERVISED" ] ; then [...] su "$User" -p -s /bin/sh -c ". /lib/lsb/init-functions && start_daemon -p $THEPIDFILE $DAEMON"
[14:01] <Frenk> twb: running as root
[14:01] <twb> Frenk: no it isn't
[14:01] <Frenk> root@mail /tmp # clamd -c /etc/clamav/clamd.conf ERROR: initgroups() failed.
[14:01] <twb> the init script parses the .conf, gets $User=postfix, and runs su postfix ...
[14:02] <Frenk> so i need to change to what?
[14:02] <Frenk> $User=root?
[14:02] <twb> Why do you want to run it as root?
[14:03] <twb> Also, what's in "ls -lds /var/run/clamav/" ?
[14:04] <Frenk> twb: I want to fix the issue but have no idea how. The output is: 0 drwxrwxr-x 2 postfix postfix 60 2010-12-23 14:45 /var/run/clamav/
[14:06] <twb> su postfix -p -s /bin/sh -c ". /lib/lsb/init-functions && start_daemon -p /var/run/clamav/clamd.pid /usr/sbin/clamd"
[14:10] <Frenk> it shows one >
[14:11] <twb> Sorry, I can't be bothered helping more
[14:31] <dschuett> ok, so i am trying to set up my very first openvpn connection: I followed this guide http://library.linode.com/networking/openvpn/ubuntu-10.04-lucid but it kills my LOCAL network instantly... any ideas?
[14:33] <dschuett> it kills my network before i even add the ipt rules to my existing firewall script.
[14:36] <RoyK> any idea where to start digging when scaling_available_frequencies only shows 600/800MHz, and the cpu is a core2duo 6420 2,13MHz?
[14:37] <SpamapS> dschuett: does it actually kill the local network, or does it just replace your default route?
[14:56] <dschuett> SpamapS: i'm not quite sure... I have my own box running as a router/firewall with iptables. As soon as i start openvpn I can't  reach the internet anymore
[14:56] <RoyK> hrmf. seems automatic cpu frequency adjustment is fscked on this box. it sticks to 800MHz. any idea how I can disable it all?
[15:50] <RoyK> anyone got a nice howto on grub2 and serial consoles?
[15:52] <RoyK> seems 'https://help.ubuntu.com/community/Grub2#Booting from a serial console' shows it
[15:52] <RoyK> but then, does this disable the usual console?
[16:35] <qman__> RoyK, I haven't done it in lucid, but in hardy, it was handled with a script for each TTY
[16:35] <qman__> if you wanted to eliminate the local consoles you'd have to disable all the scripts
[16:40] <disposable> the current lucid kernel source package is version linux-source-2.6.32_2.6.32-27.... where would i get linux-source-2.6.32_2.6.32-25.... ? (vserver patch doesn't work well with the newer one)
[16:42] <RoyK> qman__: that's the tty, I thought more about the console
[17:23] <veovis_muaddib> Okay, I have vsftp set up to allow local users to log in through ftp.  I have my main user, and that account can log in with their username and password.  However, I made another account called public, changed the password, and restarted vsftpd, but public cannot login
[17:27] <pmatulis> veovis_muaddib: check logs
[17:27] <RoyK> anyone here that might know how I can make this PoS kernel understand it's running on CPUs capable of 2,1GHz?
[17:28] <RoyK> veovis_muaddib: also, check user public's shell - if it's /bin/false or doesn't exist, vsftpd won't allow login
[17:29] <veovis_muaddib> RoyK: Oh.  I set it to /bin/false because it wasn't supposed to log in at all.  What could I do instead?
[17:30] <veovis_muaddib> Do I have to leave it on /bin/bash or equivalent?
[17:30] <RoyK> veovis_muaddib: first hit on google http://ubuntuforums.org/showthread.php?t=292057
[17:31] <veovis_muaddib> RoyK: Thanks
[17:40] <qman__> veovis_muaddib, you can also use /usr/sbin/nologin
[17:40] <qman__> at least, that works for sftp
[17:42] <veovis_muaddib> qman__: Thanks, I'll try that out as well
[18:58] <geekbri> i you have 1 ubuntu server with 1 public interface, can it have multiple ip addresses?
[18:58] <KurtKraut> geekbri, yes.
[18:58] <geekbri> KurtKraut: how exactly does that work? You can just use ifconfig to give an interface multiple ips?
[18:58] <KurtKraut> geekbri, each IP address will be handled by eth0:0, eth0:1, eth0:2 and so on.
[18:59] <geekbri> KurtKraut: ahhh ok, now it makes sense to me... thank you so much
[18:59] <KurtKraut> geekbri, I've never did this manually but I can state this is pretty comon thing to do.
[18:59] <KurtKraut> geekbri, I suggest you to seek for a tutorial or howto.
[18:59] <geekbri> KurtKraut: i plan to i was just a bit confused but you cleared it up for me!
[19:02] <pmatulis> geekbri: yes, search for 'ethernet alias'
[19:08] <geekbri> thank you
[19:16] <Unguided> Hi all. Anyone have time for a few questions for a newb pleaase.
[19:18] <pmatulis> !ask | Unguided
[19:20] <Unguided> Ok. Sorry. Again I am a newb. Im looking to run ubuntu server to replace an existing M$ windows home server in my home. Does ubuntu server have a GUI for it or can i load one.
[19:21] <baggar11> Unguided: gui for what?
[19:22] <Unguided> I dont know command line. I thought using a GUI like gnome would make it easier for me to configure the server
[19:23] <qman__> Unguided, it will not
[19:23] <qman__> you CAN install one, but it will not make the process of configuring your server any simpler
[19:23] <qman__> as all the configuration will still be done via command line and text editor
[19:24] <baggar11> Unguided: what functions do you want to control from the gui?
[19:25] <Unguided> I would like to configure dhcp samba etc from a "desktop." i thought that would be easier
[19:25] <baggar11> Unguided: you may try a targeted distro, like zentyal that has a web-gui for configuration
[19:27] <Unguided> Ok. What i am looking for is a windows home server replacement based on ubuntu with ease of configuration. I am an average home user and have never used linux other than livecd/dvd
[19:29] <qman__> Unguided, configuring those is not very difficult, it's a simple matter of copying and pasting some commands and configurations from tutorials
[19:29] <baggar11> Unguided: zentyal is ubuntu based
[19:30] <qman__> however, what I'm assuming you're after is a point and click interface, and ubuntu does not have one for those
[19:30] <baggar11> Unguided: or like qman__ said, google is your oyster for help on configuring ubuntu-server
[19:30] <qman__> it is not inherently more or less difficult
[19:30] <qman__> just different
[19:31] <Unguided> Ok. Any other suggestions besides zentyal i can look at?
[19:34] <baggar11> Unguided: not sure about ubuntu based, but lots of others that provide web-gui configuration
[19:34] <Unguided> Zentyal looks very interesting.
[19:34] <baggar11> Unguided: untangle, redwall, amahi, ipfire
[19:35] <qman__> untangle is a good gateway/firewall system, but it's not a good general purpose server
[19:36] <qman__> I haven't used any of the others
[19:36] <Unguided> qman: im looking for general purpose server
[19:36] <baggar11> Unguided: you may give amahi a looksee, if you're coming from whs
[19:38] <Unguided> whs is nice but it is gonna keep costing me money down the road not to mention the mess they are in with version 2. I think it may be time to jump ship while the getting is good. im just looking at what options are out ther.
[19:53] <serard> hello
[19:53] <serard> I have registered my .42 TLD domain, and I want it to be served by my computer; using bind, how can I do that ?
[19:54] <patdk-wk> no idea, didn't think .42 was a valid tld
[19:54] <serard> it is now :) http://42registry.org
[19:55] <patdk-wk> doesn't work for me
[19:55] <serard> it's not an offical TLD in the ICANN sense, but it works (adding the geeknode name servers to your /etc/resolv.conf)
[19:55] <patdk-wk> oh, it's not a real tld, no wonder, it doesn't exist :)
[19:56] <serard> it is a real one, but not an official one, imo :)
[19:57] <patdk-wk> real == I can access it without any configuration changes :)
[19:57] <patdk-wk> real == my customers can access it :)
[19:58] <serard> imo you are confusing real and official :p
[19:58] <patdk-wk> real == hotspots that intercept and redirect dns requests, can access it :)
[19:59] <serard> the fact is that having modifyed my resolv.conf, I can request .42 tld websites, so it is "real", it works. It is unofficial because it is not supported by mainstream name servers, as it is fairly young (released last sunday if I get it right)
[20:00] <patdk-wk> it takes years normally to get a tld accepted
[20:00] <serard> and it is not official in the ICANN sense, as .42 doesnt pay fees to ICANN
[20:00] <patdk-wk> but anyways, just read up on any website on how to add that domain to your dns server
[20:00] <patdk-wk> there are hundreds of thousands of howto's on google
[20:01] <serard> yeah I've found one on french ubuntu community doc on bind9 but I don't feel like it is showing me how to do what I want
[20:01] <serard> I'll reread it :)
[20:51] <joebob777as7> trying to access my old encrypted home directory followed a couple guides online but I keep getting my current home directory's files. need some help plz
[20:51] <joebob777as7> when i click on the link to my old files I get: The application launcher "Access-Your-Private-Data.desktop" has not been marked as trusted. If you do not know the source of this file, launching it may be unsafe
[20:52] <joebob777as7> nothing i've found online seems to work
[20:53] <joebob777as7> this is the guide I followed: http://www.kaijanmaki.net/2009/10/26/recovering-files-from-ecryptfs-encrypted-home/ and I only get the files for my current home directory not the one in /media
[21:15] <i0nic> is dh_make available on ubuntu server?
[21:16] <i0nic> if so what package is this under?
[21:17] <binBASH> dh-make
[22:28] <Smaug> hey all, i have rkhunter, and is says that "Warning: The command '/bin/which' has been replaced by a script: /bin/which: POSIX shell script text executable" for which, groups, ldd, and adduser.   should i be worried?
[22:30] <lenios> is it the first time you launch it?
[22:30] <mdeslaur> Smaug: those are all scripts on my system, so I would guess not, no
[22:31] <Smaug> lenios: i launched it during the summer (last time i checked in on my server), don't remember what it said then
[22:31] <Smaug> mdeslaur: i mean those are all standard scripts, but they've been modified perhaps?
[22:31] <lenios> did you upgrade packages since last summer?
[22:32] <Smaug> not sure, don't think so.  i have upgraded packages though
[22:32] <Smaug> was going to upgrade some packages after running rkhunter....
[22:32] <Smaug> could that cuase it?
[22:32] <Smaug> *have caused it?
[22:33] <Smaug> more importantly - how do I determine if this is an issue
[22:33] <Smaug> is there a way to compare adduser with what it should be
[22:35] <Smaug> while i'm waiting for someone to answer this question, someone tell me is it a problem to apt-get update now?
[22:42] <lenios> you should run rkhunter before running upgrade
[22:42] <lenios> check it's ok, and then upgrade packages
[22:42] <lenios> update is just updating packages list
[22:43] <lenios> apt-get upgrade is the one modifying files
[22:43] <Smaug> right i meant update and upgrade, i run them one after the other so one connotes the other to me
[22:43] <Smaug> anyway, how do i check its okay?  how do I check that those scrpts are not compromising me?
[22:43] <Smaug> or are evidence of compromise etc
[22:44] <lenios> you have signatures of the files, and you're not sure you changed them or not
[22:45] <lenios> you can try to check updated packages, and see if an upgrade impacted the files giving a warning
[22:46] <lenios> but thing is, something changed those files, either someone or apt-get upgrade
[22:46] <lenios> and you don't really know
[22:48] <Smaug> so.....what do you reccomend I do?
[22:49] <lenios> i'd recommend you get clean files
[22:50] <lenios> and run rkhunter after that
[22:51] <Smaug> that sounds good.  where do i get clean files?
[22:51] <Smaug> I'm sorry to be such a pain lenios, i really appreciate the help
[22:56] <lenios> the most clean would be to reinstall system, the least would be to apt-get install --reinstall debianutils libc-bin adduser coreutils
[22:56] <lenios> maybe force
[22:56] <lenios> checking you're getting it from a good source
[22:59] <Smaug> reinstall the system?  won't that mess up any websites i have going on?
[23:00] <Smaug> will i have to resetup everthing?
[23:00] <Smaug> i suppose i will try the ap-get install --reinstall debianutils libc-bin adduser coreutils option
[23:01] <Smaug> before i do, is there any chance it would affect any sort of websites i have hosted on apache?
[23:04] <lenios> as much as last time you upgraded those packages
[23:05] <lenios> do you run apt-get commands as sudo?
[23:05] <lenios> you can check in /var/log/apt/ for logs of last upgrades
[23:06] <lenios> maybe you can see what happened in the last few months
[23:07] <SilverWolf> Hi. I'm having trouble getting snmptrapd to accept authCommuunity in the /etc/snmp/snmptrapd.conf file. When snmptrapd start it says Unknown Token: authCommunity. Does anyone know what may cause it?
[23:08] <Smaug> lenios: yes, will do
[23:08] <SilverWolf> It is NET-SNMP 5.4.3 there is installed
[23:13] <yann2> hello! What is a good value for swappiness for an ubuntu server?
[23:19] <pmatulis> yann2: it depends what it's being used for
[23:20] <yann2> yeah? cause my vms often use swap when there is still quite a lot of ram available
[23:22] <yann2> pmatulis, do you know any documentation that discusses this topic in depth?
[23:26] <Smaug> lenios: i ran the apt-get install --reinstall debianutils libc-bin adduser coreutils, and it gave me an error "E: Couldn't find package libc-bin"
[23:27] <lenios> Smaug, dpkg -S ldd
[23:32] <pmatulis> yann2: kvm?
[23:33] <Smaug> i ran that, got as output: dpkg-dev: /usr/bin/dpkg-checkbuilddeps  and libc6: /usr/bin/ldd
[23:33] <Smaug> and some locations of some gzipped stuff
[23:33] <Smaug> what should i do with this information?
[23:33] <yann2> pmatulis, yes, but speaking of the guests
[23:34] <pmatulis> yann2: right, but the hypervisor is involved
[23:34] <yann2> didnt know that, I thought the choice of putting something to swap on a guest was 100% guest specific
[23:34] <pmatulis> yann2: swap is tricky with virtualization
[23:35] <yann2> tell me more :)
[23:45] <yann2> pmatulis, any litterature I could read, or should I just accept it as it is?
[23:45] <lenios> Smaug, aptitude install --reinstall libc6
[23:47] <lenios> err, apt-get*