/srv/irclogs.ubuntu.com/2010/12/23/#ubuntu-server.txt

blaenkJanC: I found it ! I think, pool.d/www.conf00:00
blaenkyeeee00:00
blaenkbut I'm still thikning about compiling it myself, to run the newer packages00:00
blaenkso if you could comment on the package removal method I'm thinking about I would appreciate it00:00
JanCeh, looking at what php5-fpm is, you can probably configure the user in nginx00:00
JanCin the FastCGI config/script or such?00:01
JanCor whatever you use to connect00:01
blaenkoh nah00:04
blaenkphp-fpm runs as separate processes00:04
blaenkor are you saying I should just make them run as the same nginx user?00:04
blaenknginx runs as user nginx00:04
KenHello. 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.00:49
axisyshow do I redirect the session to console ttyS0 when booting from live cd ?01:08
F3RR1Swhere is a good place to get a multi-use server?01:25
F3RR1SI am planning to have no more than 50 connections01:26
F3RR1SI am basically wanting to serve media (streaming video), mp3, file, and a website01:26
KenF3RR1S: I'm not that knowledgeable on servers but you could consider buying a barebones system them building to your spec.01:27
F3RR1SThat will probably be the way I go01:28
F3RR1Sbut I would rather get one out of the box without an os...01:30
GF3RR1S: not advertising for any one company, but you might like the Supermicro servers01:30
F3RR1Sthanks G,01:30
GF3RR1S: which is kinda what I think Ken was hinting at01:30
F3RR1SI appreciate it.... this will be the first server I will purchase and probably the last for quite some time01:31
GF3RR1S: I'm pretty sure in America there are a lot of non-big brand servers out there01:31
GF3RR1S: but SuperMicro is the one that I keep hearing people talking about01:32
F3RR1SYeah... that can be a problem... I have seen standard desktop pc's being sold as a "server"01:32
F3RR1Swhich is complete bs.01:32
F3RR1Syeah... I am definitely going to check them out01:32
KenF3RR1S: 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:32
GF3RR1S: nah the Supermicro ones from what I've seen a proper rackmount etc w/ proper server hardware01:33
GF3RR1S: but also consider, that there are a lot of tower servers as well, especially for SMB markets01:33
F3RR1SKen, but you are not selling it either... btw I have an old POS that I have setup as a server several times...01:33
KenF3RR1S: That's a very good point.01:34
Gmy 'server' keeps crashing it, so I'm turning my current desktop into my 'server' and my laptop into my 'desktop' :)01:34
F3RR1Si think it is great to reuse some of the old crappy computers for servers... my doesn't cut it anymore01:34
patdk-lapsupermicro and tyan are the two largest non-name brand server makers01:36
KenI'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 though01:36
Gpatdk-lap: ahhh Tyan, knew I was missing one01:36
patdk-lapor should I say, the largest two, build it yourself, server part suppliers01:36
F3RR1SG, 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 2u01:36
KenAlso, since there are people here. Anyone know much about FireWire network transfer speeds?01:36
F3RR1Sthanks patdk-lap I will check out tyan as well01:37
Gpatdk-lap: I was pretty sure Supermicro was more just add storage though than Tyan?01:37
patdk-lapwell, tyan mainly just makes motherboards01:37
Gyeah, but Supermicro does the chasis and all that as well right?01:37
patdk-lapsupermicro used to, and still do, make complete systems01:37
* G only ever sees the Tyan MBs in NZ01:38
patdk-lapbut I think intel and some of the other chip makers are into their market01:38
patdk-lapcause supermicro used to make nice northbridge, now it's really just intel01:38
hikeonpastHi 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
F3RR1Shas the linux / xeon issues been resolved or does xeon not run linux as well as M$01:40
GF3RR1S: depends which Xeons really01:40
patdk-lapI never new xeon had an issue, run linux on only xeons for a long time01:40
hikeonpastUnder what use cases would this represent an issue / has anyone had problems maintaining a high rate of task switching?01:41
patdk-laphikeonpast, well, a 100hz timer interrupt, means 100 task switchs per second, basically01:41
patdk-lapunless programs issue sleep or other thing to give up cpu time01:42
GF3RR1S: 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 support01:42
GF3RR1S: i.e. older distros had to be updated when the Nehalem's came out01:42
hikeonpastAssuming that is 100 switches per core, why set it so low by default?  Does the increased efficiency warrant that in a modern server?01:42
patdk-lapI am pretty sure server doesn't use 100hz timer, checking01:43
hikeonpastI understand the inverse relationship between task switching overhead and task latency.01:43
patdk-laphell, desktop uses 250hz01:43
hikeonpastpatdk-lap:  https://help.ubuntu.com/community/Server/TechSpecs/1004LTS01:43
patdk-laphmm, -server is 100hz, heh01:43
Gbit silly isn't it?01:44
patdk-lapdunno, doesn't bother me really01:45
patdk-lapI generally only run event based programs01:46
* G goes back to deciding on the next machine name01:46
patdk-lapnot threaded/forked to hell programs01:46
KenYou 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:46
hikeonpastah.  Event-driven would probably be clean in that case.  I have to run a mix of thread pool and event-driven.01:47
patdk-lapheh, you will love mine :)01:47
KenDo share.01:47
GKen: all my machine names are after NZ Native birds01:47
KenOh, that's nice.01:47
patdk-lapfirewall01, firewall02, web01, web02, web03, web04, ...01:47
GKen: with one exception, my Mac01:47
Kenpatdk-lap: Haha. That's descriptive at least.01:47
patdk-lapfor servers I do care about, and have long life spans (my personal servers)01:47
KenWhat is your Mac called, G?01:48
patdk-lapI generally name them japanese01:48
patdk-lapG2 :)01:48
patdk-laplittle-G :)01:48
KenThat's kinda.. y'know, cute.01:48
GKen: I think the DNS Name is nigel-imac and nigel-imac-wlan01:48
G:P01:48
* Ken rubs his head with confusion.01:48
KenI 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
Gheh, finally putting my home network on Gigabit was an eyeopener01:49
twbI can only manage 16MB/s on gigE01:50
twbThe 7200 RAID1 might be the bottleneck there, though01:51
KenI'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-laphmm, isn't firewire 400mbit or 800mbit, full duplex?01:51
KenI'm going to eventually look into software RAID and VPN in time. I don't use Windows (often) so I ignore Samba.01:51
Gtwb: not bad, doing a test atm, 55-76MB/sec01:52
Kenpatdk-lap: I thought so.01:52
Gon a 3.27GB file01:52
KenOh, very nice.01:52
patdk-lapheh, I have been on gigabit so long, I'm annoyed01:52
patdk-lapI'm ready for 10 or 40gbit01:52
KenYou make me sick with your fast connections, knowledge and cute server names, G.01:52
twbCapacity 400–3200 Mbit/s (50–400 MB/s)01:52
KenPfft, just you rub it in too patdk-lap.01:52
GKen: you haven't heard how fast my ADSL connection is yet01:53
KenNor do I want to, G.01:53
G2Mbit/s on a good day....01:53
twb"nigel-imac-wlan" isn't a cute  name01:53
G:P01:53
patdk-lap256kbit?01:53
twbIt's a direct violation of RFC95201:53
KenI'm in the countryside. I'm on 512kb01:53
twbSorry, RFC117801:53
* patdk-lap wonders if rfc1178 is older than G01:53
twb(952 defines hostnames for ARPANET.)01:54
twbpatdk-lap: August 199001:54
Gnope, I'm older than it01:54
KenEven i'm older than that.01:54
twbWow, that was 20 years ago01:55
Gtwb: it's just a case of I can't be bothered giving it a proper name yet01:55
twbG: you should do that at install time :-/01:55
KenG: Can we name it for you? Maybe hold a vote?01:55
twbCrappy Apple crap01:55
KenHaha.01:55
Gtwb: actually Apple is smart, dynamically grabs the machine name from DNS01:55
twbKen: here's my hostnaming scheme:01:56
twbegrep -x '[A-Z][a-z]{3}' /usr/share/dict/words | fmt -w $COLUMNS # hostnames are four-letter proper nouns - RFC117801:56
Glike a lot of Linux OS'es did before Network Manager :)01:56
twbG: d-i still does that01:56
Kentwb: I'm going to pretend i understand how to read more than three or four bits of that rexp.01:56
Kenregexp* too.01:56
twbKen: man 7 regex01:56
Kentwb: it's 2am. I think it's a bit late for me to learn anything new tonight.01:57
Gand as a last resort it names it: <firstname>s-mac where the name it grabs is whoever it's registered to01:57
Gwhich is nice01:57
Kentwb: and boy do I have a lot to learn.01:57
Gmy naming list is the first two columns of: http://www.nzbirds.com/birds/gallery.html01:57
twbKen: regex(7) is not new01:57
twbKen: it probably IS older than you01:57
Kentwb: I meant new to me :D01:58
twbG: I'm not sure "Ngutuparore" would be a good one01:58
Gtwb: no, even I have standards01:58
twbWe have legacy hosts like "worcestershire" and "barbecue" that nobody can spell.01:58
Gfor instance, I'm never going to name a machine 'titi' for obvious reasons01:59
twbI don't see why01:59
twbtiti, tata, toto -- obvious Italian names01:59
Gtwb: I'd be a bit weird if someone overheard "Oh yeah, just connect to titi and do your stuff" :)01:59
twbI guess02:00
Gactually I lied, it's the first 2 columns and the 4th column02:00
twbAs opposed to "si, connecto a titi e se irarlo" or whatever.02:00
GI'd use 'weka' but I swear I've already used and retired that02:02
KenOkay, thanks for the conversation and lessons. I think it's time to sleep. Good night02:10
wubbaWhat is the purpose of cloud software for ubuntu - isn't it just using Amazon already?02:43
twbwubba: private clouds02:46
wubbatwb - are you able to basically start your own private cloud service then?02:46
twbYes.02:46
wubbaInteresting.02:47
twbi.e. you replace amazon in this scenario -- either for internal use within your company, or onselling to your customers02:47
wubbaThat is what we are looking to do - replace amazon.02:47
twbThere are probably other reasons, but that's the obvious one to me02:47
wubbaThough 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:48
pmatuliswubba: you may want to visit #ubuntu-cloud02:51
wubbaoh - didn't know that - thank you02:51
axisysreposting 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 tty003:26
axisysso need help suggestion with that03:26
axisyswould be nice if ubuntu offered a live cd iso that allow you to boot into ttyS0 console03:27
twbaxisys: how many routers do you have with CD drives?03:30
axisystwb: for servers..03:30
twbPersonally I just use netinst03:31
axisystwb: sometimes i need to fix the fstab or system wont boot.. how would I do it with netinst ?03:33
axisystwb: with fsck status 4 - need a live cd to boot into03:34
twbaxisys: you turn the live CD into a netboot live image03:37
twbThat's basically how my prisonpc.com product works03:37
twbOr you boot the netinst d-i image with rescue/enable=true03:37
axisystwb: how do you turn a live cd into a netboot image.. that is what I am looking for then..03:43
axisystwb: ^03:43
twbaxisys: the easiest way is to use Debian Squeeze and to generate an image from scratch using live-build03:44
twbThe hard way is to bugger about extracting the ubuntu live CD iso and passing undocumented options to casper03:45
axisystwb: there is no ubuntu image available ?03:45
axisystwb: hehe03:45
twbUbuntu images are available, ubuntu code to BUILD images is not (or at least, it only works if you are launchpad)03:45
axisystwb: so once i install debian squeez (will install as VM) just run live-build with the modification in my grub ?03:48
twbuh, grub?03:49
axisystwb: i need to append console=ttyS003:50
twbIf you're netbooting, you're using pxelinux, not grub.03:50
axisystwb: oh ok.. so I need to make change in the pxelinux so the live cd boot into console ttyS003:51
twbYes.03:51
axisysis debian 5.07 is squeeze ?03:52
twbNo.03:52
twbOr just tell the image to run gettys on both tty[1-6] and ttyS003:52
twbSqueeze will be Debian 6.0; currently it is "testing".03:52
twbYou can generate debian 5.0 (etch) images using live-build, but they aren't as nice.03:53
axisystwb: not sure how to do that.. do you happend to have any steps .. unless you dont mine me bugging you :-)03:53
twbIn THEORY you can run live-build on ubuntu and tell it to generate ubuntu images, but that is not as well supported03:53
axisystwb: i will get the testing release.. dvd or cd ?03:53
twbaxisys: sed -i /etc/inittab -e s/tty2/ttyS0/p03:53
twbaxisys: or if upstart, sed s/tty2/ttyS0/ /etc/init/tty2.conf >/etc/init/ttyS0.conf03:54
axisysdebian squeez has upstart ? i will i will find out03:54
twbaxisys: well, install testing using netboot, not optical media03:54
twbaxisys: re upstart I meant if you make an ubuntu image03:54
twbaxisys: debian has upstart but it basically doesn't work03:55
axisystwb: yep.. i prefer that.. cant offer a cd to remote site as often03:55
axisystwb: i will stick with debian as my live netboot image03:55
twbhttp://paste.debian.net/103053/ contains URLs to netboot install media, and some other notes03:55
axisystwb: would be nice if i could follow complete steps03:55
twbaxisys: I'm not your mum; there's a limit to how much I'm gonna hold your hand.03:56
axisystwb: you have been very helpful.. thank you for the link03:56
tubnubPerhaps 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?03:56
blaenkhey is there a way to set a directory such that any file created in it is automatically owned by the same group?04:12
twbtubnub: yes, but you'll probably need hostapd04:14
tubnubtwb: hostpad?04:15
twbThe thing that turns a radio device into a wifi AP04:16
tubnubright.04:16
tubnubIs that likely to interfere with my wired setup, twb?04:16
twbI don't see why it would04:18
tubnubk04:18
tubnubAny specific area I might Google for further? Or should installing hostapd be just about sufficient?04:19
twbI can't remember04:34
twbYou probably need to give it symmetric crypto or the location of your RADIUS server if you want to lock it down04:35
=== andrew_ is now known as Guest10983
Error404NotFoundI 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
Error404NotFoundany/all ideas are welcome...05:50
twbnagios and cacti do different jobs.05:51
twbThe former monitors availability, the latter performance.05:51
xixorI 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:20
xixorpackages.ubuntu.com I suppose?06:21
gobbeyea06:22
xixor10.10 would be the server version to install at this point, right?06:23
xixorIm currently running debian lenny, but I think it would be good to switch to ubuntu, it seems that the packages are more recent06:24
twbxixor: no, LTS06:28
twbThe packages are more recent than lenny because lenny is contemporary with hardy.06:28
twbIf you want something that's as new/buggy as lucid, look at squeeze, which is close to release.06:28
xixoryeah, I also think that debian is getting close to releasing a new stable version06:29
ScottKThey are.06:29
twbYou don't need to "think" it; it's a fact06:29
ScottKIt's got ~the same versions of packages as Ubuntu Lucid.06:29
Error404NotFoundtwb, just read your message... ya... cacti is more sort of graphing like MRTG. Looking into nagios vs zabbix vs zenoss06:29
xixorso does ubuntu use debian packages directly then?  How does that work?06:35
twbxixor: it uses some Debian *SOURCE* packages, but it recompiles them06:41
xixoroh, I see06:41
twbMost packages in Ubuntu's main tree (which is very small) have been buggerized around with06:41
xixoryeah06:41
twbStuff in universe tends to be straight from Debian06:41
xixorso universe is "free" software, but isn't supported?06:42
twbCanonical doesn't support anything in universe AFAIK06:50
twbI wrote a little cron job to report on what is and isn't supported06:50
twbhttp://paste.debian.net/103055/06:51
xixorcool stuff06:52
ScottKIt is supported or not (it varies widely) by the community.06:54
ScottKit == Universe.06:54
ScottKSo Universe != unsupported, just that you need to look into it.06:54
xixorah06:54
xixorbut multiverse == unsupported?06:54
twbxixor: multiverse is to restricted what universe is to main06:56
gobbemultiverse contains software that is not free06:56
xixorah, sorry, yes, my bad, multiverse is non-free06:56
gobbeand universe contains software supported by community but not by official support06:57
xixorwhat does supported by community vs. official support imply?06:58
gobbexixor: well. if you buy advantage from canonical it's official support07:00
The_Tickis that worth much?07:00
xixorso canonical is the commercial side to Ubuntu?07:00
gobbecanonical is sponsoring ubuntu07:00
xixorhm.. cool07:00
xixor350 staff it says.. that is quite a bit actually07:00
The_Tickfree ubuntu is a good marketting campaign07:00
The_Tickwell, at least it helps07:01
xixoryeah, I bet07:01
gobbeto be succesfull in commercial environments you need to provide professional support also07:01
gobbethat's what canonical does07:01
xixoryes07:01
gobbeit's like redhat07:01
gobbethey have free linux but they sell support07:02
The_Tickgobbe: indeed07:02
gobbeThe_Tick: the best support is 1200e/year/server if i remmeber correctly07:03
The_Tickeuros?07:03
The_TickI'm sure they have custom support contracts too07:03
twbI also *strongly* suspect that main gets more attention from the ubuntu security team than universe07:03
The_Tickif they don't they're stupid07:04
gobbetwb: that's correct07:04
twbWhich is the real reason I use that script I pasted07:04
gobbeThe_Tick: i dont know about that, i have several customers using ubuntu + advantage07:04
The_Tickgobbe: where I work we give someone like you a partner status07:06
The_Tick:)07:06
xixorso, what do you get with that support contract?07:06
The_Tickand you get treated differently07:06
gobbeThe_Tick: where do you work :-)07:06
The_Tickat a windows shop07:06
gobbexixor: you get email and phone support, for example07:06
xixordoes it involve things like apache/php/mysql setup and maintenance at all?07:06
gobbexixor: like in all enterprise os's07:06
The_Tickbut if you sell product to your own customers and support them, then it's assumed you do the base level troubleshooting07:07
The_Ticketc etc07:07
gobbeThe_Tick: yea07:07
gobbeThe_Tick: that's what i basicly do, i try to help them at first, if not possobile i'll escalate case to canonical07:07
gobbeThe_Tick: works perfectly, and i'v been doing that also with redhat for years07:07
The_Tickya07:08
The_Tickanyhow, back to hanging this new fan07:09
gobbeyea, i'll back my laptop and head to car, need to drive 250km to my parents for christmas and it's damm cold there07:11
The_Tickis it the 23rd there?07:11
gobbeyea07:12
The_Tickya, get your ass moving07:12
gobbewell, it's just morning07:12
The_Tickthat's not a short hop :)07:12
gobbe=)07:12
The_Tickhold on07:12
gobbeno it's not, and it's something like -21 degrees celcius outside07:12
The_Tickhttp://i.imgur.com/7RtjZ.jpg07:12
The_Tickthat's in norway07:12
gobbewell, i'm in finalnd07:12
gobbefinland07:12
gobbeand we have more snow here atm07:13
gobbe:D07:13
gobbesomething like ~50cm07:13
The_TickI'm in the states myself07:13
gobbeneed to sell car and byu a reindeer07:13
The_Tickand wearing shorts outside still07:13
The_Tickand sandals07:13
The_Tickanyhow, fan hanging continues07:13
The_Tickhave a good trip, drive safe07:13
gobbethanx07:14
gobbesee you, i'll leave now07:14
blaenkanyone have experience with setting up file permissions on a wordpress installation?07:22
uvirtbotNew bug: #693745 in ntp (main) "wront time report for turkey" [Undecided,New] https://launchpad.net/bugs/69374511:36
FrenkHey 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 denied11:43
FrenkThe file does not even exist11:43
_rubendoes /var/run/clamav/ exist?11:52
_rubenif so, its permissions are probably busted11:53
Frenkyes the folder exists and there is a file freshclam something11:55
Frenkmh okay _ruben do you know what permissions it should have if im using amavids?11:59
_rubenthe 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 check12:02
FrenkLocalSocket /var/run/clamav/clamav.sock FixStaleSocket true User postfix12:03
Frenkso the user is postfix =) but now a dumb question - how to fix  those permissions for postfix?12:07
Frenkwith chown12:07
Frenk?12:07
veovis_muaddibOkay, 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 login12:09
veovis_muaddibFileZilla fails with a 530 Login incorrect, followed by Critical error and Could not connect to server12:11
Frenk_ruben the folder clamav has following permissions: drwxrwxr-x 2 postfix    postfix      60 2010-12-23 12:35 clamav12:11
RoyKhm... 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 80012:52
RoyKany idea?12:53
RoyKrunning 2.6.32-26-server on lucid12:53
Kohelethremote?12:53
RoyKremote what?12:53
RoyKI'm logged into ssh on the box, yes12:53
Kohelethmaybe your service is lying12:53
RoyKthe box is 150km from here12:54
RoyKboth /proc/cpuinfo _and_ /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq ?12:54
Kohelethmine actually double what I paid for, nice engineers12:54
RoyK/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq is also 80012:54
RoyKbut cpuinfo says model name: Intel(R) Core(TM)2 CPU          6420  @ 2.13GHz12:54
Kohelethtake it up with your provider maybe?12:54
RoyKnot funny12:55
RoyKit's my bloody server12:55
Kohelethreally though, lot of jokers out there12:55
* RoyK doesn't laugh much of Koheleth's attemts to joke12:56
Kohelethnot joking, they try it on at times12:56
Kohelethif the output is that I would wonder a bit12:57
Kohelethwill try mine12:58
RoyKanyone 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:10
qman__I don't know enough about how it works to be certain, but is there a way to manually override it?13:11
RoyKseems not with cpuinfo_max_freq=80013:12
RoyKcpuinfo_max_freq=800000 - it should be 213000013:12
twb23: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 80013:13
twbRoyK: what cpufreq driver?13:13
RoyKhow do I check?13:13
qman__RoyK, perhaps scaling_driver in the same directory?13:17
RoyKacpi-cpufreq13:18
patdk-lappowertop will also show it13:26
RoyKall the same - doesn't seem to want to clock anything higher than 80013:27
Kohelethyou have to take that up with your servive provider support@etc...13:33
Kohelethsevice13:33
Kohelethservice even13:33
RoyKKoheleth: what are you talking about?13:33
Koheleththe guy is not getting his full service13:34
RoyKwhich guy?13:34
Kohelethbet its not software13:34
Koheleththe guy with the cpu prob13:34
RoyKthat's me13:35
Koheleth:)13:35
RoyKplease, Koheleth, what are you smoking/drinking?13:35
Kohelethdrinking, single malt13:35
RoyKit must be rather good, given your answers in here13:35
Kohelethoops13:35
Kohelethkeep thinking I in off topic13:35
RoyKanswering people to call fucking service in a  technical channel is directly rude13:36
Kohelethno one has answered anyway13:36
RoyKand yes, sir, it's a software problem in the linux kernel13:36
Kohelethlol13:36
RoyKprobably related to ACPI somehow13:36
Kohelethmy ubuntu server runs perfect, thank you Bunt and just donated13:37
Kohelethjust a webserver mind13:37
RoyKgood for you13:37
Kohelethtotally free till 2013 :)13:38
Kohelethperfect web/mail server13:38
KohelethBunt rocks13:38
RoyKKoheleth: next time someone asks about something about which you have no idea, please remain silent instead of barging out idiocity13:38
Kohelethgreat support as well13:38
KohelethRoyK: sry keep thinking I am in off topic13:39
FrenkMe again: I have a problem with clamav => http://pastebin.com/qS8G7LTy Here are extracts from config |  the file itself does not exist.13:48
Kohelethtry #aptitude purge clamav    ... thats a bit in tongue in cheek.  ;)13:49
KohelethFrenk:  what exactly do you want from this program?13:51
FrenkKoheleth: Postfix -> Amavis = Spam and Viruscheck13:52
KohelethWhats it going to do?  Save you from non virtually virus in Linux13:52
KohelethKick it to touch13:52
FrenkFor endusers who also use windows?13:55
twbKoheleth: plonk13:56
twbFrenk: presumably it's normal for clamav to run as postfix?13:57
Frenktwb: yes it is. It worked for weeks but all of a suddon - stopped13:57
twbFrenk: apparmor?13:57
twbDoes the setuid from 0 to postfix happen in the init script or in clamav itself?13:58
twbthe init script is ridiculously long :-/13:58
Frenkclamd -c /etc/clamav/clamd.conf -> ERROR: initgroups() failed.13:59
twbUgh, the init script actually PARSES the config file13:59
twbAnd it's using su instead of start-stop-daemon.  FFS14: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:00
Frenktwb: running as root14:01
twbFrenk: no it isn't14:01
Frenkroot@mail /tmp # clamd -c /etc/clamav/clamd.conf ERROR: initgroups() failed.14:01
twbthe init script parses the .conf, gets $User=postfix, and runs su postfix ...14:01
Frenkso i need to change to what?14:02
Frenk$User=root?14:02
twbWhy do you want to run it as root?14:02
twbAlso, what's in "ls -lds /var/run/clamav/" ?14:03
Frenktwb: 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:04
twbsu postfix -p -s /bin/sh -c ". /lib/lsb/init-functions && start_daemon -p /var/run/clamav/clamd.pid /usr/sbin/clamd"14:06
Frenkit shows one >14:10
twbSorry, I can't be bothered helping more14:11
dschuettok, 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:31
dschuettit kills my network before i even add the ipt rules to my existing firewall script.14:33
RoyKany idea where to start digging when scaling_available_frequencies only shows 600/800MHz, and the cpu is a core2duo 6420 2,13MHz?14:36
SpamapSdschuett: does it actually kill the local network, or does it just replace your default route?14:37
dschuettSpamapS: 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 anymore14:56
RoyKhrmf. seems automatic cpu frequency adjustment is fscked on this box. it sticks to 800MHz. any idea how I can disable it all?14:56
=== mquin_ is now known as mquin
=== roy__ is now known as RoyK
RoyKanyone got a nice howto on grub2 and serial consoles?15:50
RoyKseems 'https://help.ubuntu.com/community/Grub2#Booting from a serial console' shows it15:52
RoyKbut then, does this disable the usual console?15:52
=== roy__ is now known as RoyK
qman__RoyK, I haven't done it in lucid, but in hardy, it was handled with a script for each TTY16:35
qman__if you wanted to eliminate the local consoles you'd have to disable all the scripts16:35
disposablethe 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:40
RoyKqman__: that's the tty, I thought more about the console16:42
veovis_muaddibOkay, 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 login17:23
pmatulisveovis_muaddib: check logs17:27
RoyKanyone here that might know how I can make this PoS kernel understand it's running on CPUs capable of 2,1GHz?17:27
RoyKveovis_muaddib: also, check user public's shell - if it's /bin/false or doesn't exist, vsftpd won't allow login17:28
veovis_muaddibRoyK: Oh.  I set it to /bin/false because it wasn't supposed to log in at all.  What could I do instead?17:29
veovis_muaddibDo I have to leave it on /bin/bash or equivalent?17:30
RoyKveovis_muaddib: first hit on google http://ubuntuforums.org/showthread.php?t=29205717:30
veovis_muaddibRoyK: Thanks17:31
qman__veovis_muaddib, you can also use /usr/sbin/nologin17:40
qman__at least, that works for sftp17:40
veovis_muaddibqman__: Thanks, I'll try that out as well17:42
geekbrii you have 1 ubuntu server with 1 public interface, can it have multiple ip addresses?18:58
KurtKrautgeekbri, yes.18:58
geekbriKurtKraut: how exactly does that work? You can just use ifconfig to give an interface multiple ips?18:58
KurtKrautgeekbri, each IP address will be handled by eth0:0, eth0:1, eth0:2 and so on.18:58
geekbriKurtKraut: ahhh ok, now it makes sense to me... thank you so much18:59
KurtKrautgeekbri, I've never did this manually but I can state this is pretty comon thing to do.18:59
KurtKrautgeekbri, I suggest you to seek for a tutorial or howto.18:59
geekbriKurtKraut: i plan to i was just a bit confused but you cleared it up for me!18:59
pmatulisgeekbri: yes, search for 'ethernet alias'19:02
geekbrithank you19:08
UnguidedHi all. Anyone have time for a few questions for a newb pleaase.19:16
pmatulis!ask | Unguided19:18
ubottuUnguided: Please don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-)19:18
UnguidedOk. 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:20
baggar11Unguided: gui for what?19:21
UnguidedI dont know command line. I thought using a GUI like gnome would make it easier for me to configure the server19:22
qman__Unguided, it will not19:23
qman__you CAN install one, but it will not make the process of configuring your server any simpler19:23
qman__as all the configuration will still be done via command line and text editor19:23
baggar11Unguided: what functions do you want to control from the gui?19:24
UnguidedI would like to configure dhcp samba etc from a "desktop." i thought that would be easier19:25
baggar11Unguided: you may try a targeted distro, like zentyal that has a web-gui for configuration19:25
UnguidedOk. 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/dvd19:27
qman__Unguided, configuring those is not very difficult, it's a simple matter of copying and pasting some commands and configurations from tutorials19:29
baggar11Unguided: zentyal is ubuntu based19:29
qman__however, what I'm assuming you're after is a point and click interface, and ubuntu does not have one for those19:30
baggar11Unguided: or like qman__ said, google is your oyster for help on configuring ubuntu-server19:30
qman__it is not inherently more or less difficult19:30
qman__just different19:30
UnguidedOk. Any other suggestions besides zentyal i can look at?19:31
baggar11Unguided: not sure about ubuntu based, but lots of others that provide web-gui configuration19:34
UnguidedZentyal looks very interesting.19:34
baggar11Unguided: untangle, redwall, amahi, ipfire19:34
qman__untangle is a good gateway/firewall system, but it's not a good general purpose server19:35
qman__I haven't used any of the others19:36
Unguidedqman: im looking for general purpose server19:36
baggar11Unguided: you may give amahi a looksee, if you're coming from whs19:36
Unguidedwhs 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:38
serardhello19:53
serardI have registered my .42 TLD domain, and I want it to be served by my computer; using bind, how can I do that ?19:53
patdk-wkno idea, didn't think .42 was a valid tld19:54
serardit is now :) http://42registry.org19:54
patdk-wkdoesn't work for me19:55
serardit'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-wkoh, it's not a real tld, no wonder, it doesn't exist :)19:55
serardit is a real one, but not an official one, imo :)19:56
patdk-wkreal == I can access it without any configuration changes :)19:57
patdk-wkreal == my customers can access it :)19:57
serardimo you are confusing real and official :p19:58
patdk-wkreal == hotspots that intercept and redirect dns requests, can access it :)19:58
serardthe 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)19:59
patdk-wkit takes years normally to get a tld accepted20:00
serardand it is not official in the ICANN sense, as .42 doesnt pay fees to ICANN20:00
patdk-wkbut anyways, just read up on any website on how to add that domain to your dns server20:00
patdk-wkthere are hundreds of thousands of howto's on google20:00
serardyeah 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 want20:01
serardI'll reread it :)20:01
joebob777as7trying 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 plz20:51
joebob777as7when 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 unsafe20:51
joebob777as7nothing i've found online seems to work20:52
joebob777as7this 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 /media20:53
i0nicis dh_make available on ubuntu server?21:15
i0nicif so what package is this under?21:16
binBASHdh-make21:17
=== squishy is now known as SquishyNotHere
=== SquishyNotHere is now known as squishy
Smaughey 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:28
leniosis it the first time you launch it?22:30
mdeslaurSmaug: those are all scripts on my system, so I would guess not, no22:30
Smauglenios: i launched it during the summer (last time i checked in on my server), don't remember what it said then22:31
Smaugmdeslaur: i mean those are all standard scripts, but they've been modified perhaps?22:31
leniosdid you upgrade packages since last summer?22:31
Smaugnot sure, don't think so.  i have upgraded packages though22:32
Smaugwas going to upgrade some packages after running rkhunter....22:32
Smaugcould that cuase it?22:32
Smaug*have caused it?22:32
Smaugmore importantly - how do I determine if this is an issue22:33
Smaugis there a way to compare adduser with what it should be22:33
Smaugwhile i'm waiting for someone to answer this question, someone tell me is it a problem to apt-get update now?22:35
leniosyou should run rkhunter before running upgrade22:42
lenioscheck it's ok, and then upgrade packages22:42
leniosupdate is just updating packages list22:42
leniosapt-get upgrade is the one modifying files22:43
Smaugright i meant update and upgrade, i run them one after the other so one connotes the other to me22:43
Smauganyway, how do i check its okay?  how do I check that those scrpts are not compromising me?22:43
Smaugor are evidence of compromise etc22:43
leniosyou have signatures of the files, and you're not sure you changed them or not22:44
leniosyou can try to check updated packages, and see if an upgrade impacted the files giving a warning22:45
leniosbut thing is, something changed those files, either someone or apt-get upgrade22:46
leniosand you don't really know22:46
Smaugso.....what do you reccomend I do?22:48
leniosi'd recommend you get clean files22:49
leniosand run rkhunter after that22:50
Smaugthat sounds good.  where do i get clean files?22:51
SmaugI'm sorry to be such a pain lenios, i really appreciate the help22:51
leniosthe most clean would be to reinstall system, the least would be to apt-get install --reinstall debianutils libc-bin adduser coreutils22:56
leniosmaybe force22:56
lenioschecking you're getting it from a good source22:56
Smaugreinstall the system?  won't that mess up any websites i have going on?22:59
Smaugwill i have to resetup everthing?23:00
Smaugi suppose i will try the ap-get install --reinstall debianutils libc-bin adduser coreutils option23:00
Smaugbefore i do, is there any chance it would affect any sort of websites i have hosted on apache?23:01
leniosas much as last time you upgraded those packages23:04
leniosdo you run apt-get commands as sudo?23:05
leniosyou can check in /var/log/apt/ for logs of last upgrades23:05
leniosmaybe you can see what happened in the last few months23:06
SilverWolfHi. 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:07
Smauglenios: yes, will do23:08
SilverWolfIt is NET-SNMP 5.4.3 there is installed23:08
yann2hello! What is a good value for swappiness for an ubuntu server?23:13
pmatulisyann2: it depends what it's being used for23:19
yann2yeah? cause my vms often use swap when there is still quite a lot of ram available23:20
yann2pmatulis, do you know any documentation that discusses this topic in depth?23:22
Smauglenios: 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:26
leniosSmaug, dpkg -S ldd23:27
pmatulisyann2: kvm?23:32
Smaugi ran that, got as output: dpkg-dev: /usr/bin/dpkg-checkbuilddeps  and libc6: /usr/bin/ldd23:33
Smaugand some locations of some gzipped stuff23:33
Smaugwhat should i do with this information?23:33
yann2pmatulis, yes, but speaking of the guests23:33
pmatulisyann2: right, but the hypervisor is involved23:34
yann2didnt know that, I thought the choice of putting something to swap on a guest was 100% guest specific23:34
pmatulisyann2: swap is tricky with virtualization23:34
yann2tell me more :)23:35
yann2pmatulis, any litterature I could read, or should I just accept it as it is?23:45
leniosSmaug, aptitude install --reinstall libc623:45
lenioserr, apt-get*23:47
=== doko_ is now known as doko

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!