/srv/irclogs.ubuntu.com/2013/05/09/#ubuntu-server.txt

=== Jikan is now known as Jikai
=== sv is now known as discopig
jasonmsphey all..  I have a strange occurance.  I copied .bashrc from one of my servers to another one and in the old instance it works fine, but in the new one when I fire up screen all of the data I have at the prompt is underlined.01:20
sarnoldjasonmsp: screen/tmux can modify how bold/underline/reverse/colors are interpreted.. those are exactly fun problems to track down :(01:44
sarnoldjasonmsp: chances are your PS1 environment variable  has control sequences in it that are handled funny in screen..01:44
jasonmspboth servers are running the same version of screen.  Screen version 4.00.03jw4 (FAU) 2-May-0601:45
jasonmspserver a = 10.04 ; server b =12.04 (unbuntu)01:45
sarnoldit could be a new terminfo file for screen on 12.04..01:47
=== Jikai is now known as Jikan
jasonmspthat sounds like it could be it.; i'll have to go back and rewrite the PS1 line another day but not tonight!  Thanks!01:49
sarnoldgood luck :)01:50
jasonmsp8-)01:50
Legend2013Hello02:06
Legend2013is there a difference between a LAN and setting up a local network using a server?02:10
sarnoldLegend2013: what do you mean?02:10
Legend2013The way LANs are explained, it fails to mention anything about a local server being used02:11
sarnoldindeed, you do not need a "server" to have multiple machines connected on a LAN02:11
sarnoldif you statically assign IPs to your machines, they'll just know how to talk with each other02:12
sarnoldif you choose to nominate one computer a dhcp server so you can put the network information in one place, once, and let them allocate IPs on their own, that's fine too :)02:13
Legend2013ok well that means I dont want a LAN. I want everything to route via a server.02:13
Legend2013I want to have a master device overseeing all the other devices. What would that be called?02:13
sarnoldLegend2013: do you really intend for the different hosts on the network to only communicate via a router?02:14
sarnoldyou might call that a star topology, with your server as router..02:15
Legend2013arnold have you heard of Novell's Open enterprise server?02:16
sarnoldyes, but it's been a while, I've forgotten most details..02:17
sarnold.. something like re-implemented netware services as linux daemons02:17
sarnold.. or netware running alongside linux using xen. I forget the details..02:17
Legend2013I want something like that. its damn hard to explain02:17
Legend2013about 12 linux pcs connected to a linux server through ethernet02:18
Legend2013they have full system power but the server can track their activities, and internet access is routed through the server02:18
sarnoldchances are good you -do- want a LAN, and use that machine as a router between the LAN and the internet. (You probably don't want to buy 13 NICs for this server. :)02:21
Legend2013I think im missing some vital piece of info that doesnt explain networking as it should02:21
sarnoldcould be could be02:21
Legend2013do you know any reliable info sites?02:22
Legend2013i found this, but not sure if it fits:02:22
Legend2013http://www.benamy.info/guides/setting-up-a-small-linux-network02:22
sarnoldthis book is now a bit old (bad for services configuration details..) but ought to still be good for laying the tcp/ip groundwork.. http://shop.oreilly.com/product/9780596002978.do02:22
sarnoldthat looks like a decent enough 'cookbook' style copy-and-paste sort of source, but it misses a huge piece on the description of tcp/ip networking...02:24
Legend2013but is the application appropriate? you mentioned the NICs which is a specific piece of redundant hardware for a local network02:25
Legend2013I better read up on it. Thanks for the guidance arnold02:27
Legend2013bye02:27
=== Masshuu_ is now known as masshuu
=== ENOSLEEP is now known as greppy
jkylehow can I get the gpg key/server for the ubuntu cloud archive so I can install directly instead of with the ubuntu-cloud-keyring package?05:17
=== megha is now known as baba
eltigrehey, I tried to remove plesk from an ubuntu server and now I am stuck with broken dependencies07:20
eltigrehttp://pastebin.com/EreeGSkR07:22
eltigremost forum posts etc recommend doing apt-get install -f but that fails miserably...07:23
eltigreany idea what I can do short of wiping the server (which I can't do ...)07:23
=== akashj87_ is now known as akashj87
=== guntbert_ is now known as guntbert
RoyKanyone seen the Current_Pending_Sector value on a disk been *reduced*? I thought that wasn't possible, but a drive in this server showed Current_Pending_Sector 41 yesterday, and now it's zero... :s12:25
qman__while I haven't seen it before, that does match the definition of "pending"12:35
patdk-wk_royk, your suppost to not have current_pending_sectors13:05
patdk-wk_when it's >0, it means you had a read failure from that location13:06
RoyKI know13:06
patdk-wk_it's removed when you write to that sector, and it relocates it13:06
RoyKbut now it's reduced to zero, http://paste.ubuntu.com/5647819/13:06
patdk-wk_and your relocated count went up13:06
RoyKit didn't - see above13:06
patdk-wk_then it must have gotten a good read then13:06
RoyKbut - 41 to zero in a day?13:07
RoyK41 pending sectors is rather a lot13:07
RoyKand the drive is still giving errors http://paste.ubuntu.com/5647827/13:08
RoyKata4 here13:08
patdk-wk_maybe you just have bad firmware13:09
patdk-wk_hmm, you have offline-uncorrectables too13:10
RoyKjust waiting for the raid to rebuild to r6 - a friend's home server - told him to get new drives13:10
RoyKsda, sdd and sdf shows errors :s13:11
patdk-wk_no idea why that count vanished though, it shouldn't have13:12
patdk-wk_what I normally do, to fix them up13:12
patdk-wk_is a long smart scan13:12
patdk-wk_followed by writes to the lba_of_first_error locations it finds13:12
patdk-wk_that normally remaps them to new locations13:12
RoyKI'll run a test once the raid is rebuilt...13:14
patdk-wk_might have a cable issue too, but that would be a seperate issue13:14
patdk-wk_the udma crc errors13:14
RoyKany idea what Multi_Zone_Error_Rate is about?13:18
patdk-wk_multible sectors in a row had errors13:18
RoyKguess sdd is going out the window, then13:20
RoyKhttp://paste.ubuntu.com/5647847/ <-- do you see any particular bad drives here?13:20
patdk-wk_WD-WCAVY0219138 looks like it could use a badblocks run on it13:22
patdk-wk_same for WD-WCAVY046220113:22
patdk-wk_probably the samsung also, thought badblocks on it could be considered overkill13:23
patdk-wk_not sure what the abrt errors are though13:24
RoyKsd[ab] are IDE drives for the root, in a mirror, so I guess a few errors can be handled - probably possible to get an old drive from somewhere to replace sda13:24
RoyKfor sd[bf], I guess new drives like wd red or something should do13:24
LargePrimeMy Fast Zombies are back and i caught them13:56
LargePrimehttp://paste.ubuntu.com/5647943/13:56
RoyKI don't think minecraft zombies are well supported by ubuntu :P13:58
Chris_W_can anyone help me with monitor resolution?14:46
Chris_W_ i have the monitor saying it is currently using 1600x900 resolution, i have added GRUB_CMDLINE_LINUX="video=VGA:1600x900" to /etc/defaults/grub  but the monitor is still only using 3/5 of the screen14:47
mdeslaurDaviey: happy birthday :)14:48
ivokssmoser: https://bugs.launchpad.net/ubuntu/+source/ntp/+bug/60471715:14
uvirtbotLaunchpad bug 604717 in ntp "Please convert init script to upstart" [Wishlist,Triaged]15:14
ivoksjamespage: ^15:15
pythonirc1013I've 10 servers that I just created  sudo user in. I would like to setup my laptop to passwordless ssh to these boxes and run commands automatically on these 10 boxes. What should I do?15:24
ivokscreate ssh key15:25
chilicuilpythonirc1013: after configuring the passwordless settings (with the ssh keys) you may want to use this quick & dirty script: https://pastee.org/m24yg , that's how I do it15:27
pythonirc1013ivoks: I've to type the password 10 times for that15:27
ivokspythonirc1013: for ssh key? no... no passwords15:34
ivoksssh key + sudo NOPASSWD15:35
ivokshttp://www.ducea.com/2006/06/18/linux-tips-password-usage-in-sudo-passwd-nopasswd/15:35
pythonirc1013ivoks: to place the ssh key on the 10 machines I've to type in passwords15:37
pythonirc1013I actually have more than 10 machines right now.15:37
ivokspythonirc1013: what, you'd like anyone to be able to put ssh keys on servers?15:40
med_pythonirc1013, cry me a river...15:40
pythonirc1013ivoks: I would like my script to type the password for me. Without learning expect please :)15:42
ivokssigh15:42
ivokshave you tried typing 'expect ssh' into google?15:43
ivoksfirst links is 'Expect with SSH - Ubuntu Forums'15:43
PiciIts very bad practice to do that.15:43
ivoksi agree15:43
pythonirc1013ivoks: looked painful15:44
GrueMasterpythonirc1013: You might also look at python's pexpect.  They have good examples on http://www.noah.org/wiki/pexpect.15:54
GrueMasterpassmass.py specifically on that site is a good eample of how to do this.15:56
QuestI have a dsl modem (192.168.1.1)  -> server for QoS and monitoring (192.168.77.10)   -> clients (192.168.77.1-255) .    Now in the clients ip configs, I have to add 192.168.77.10 as gateway and 192.168.1.1 as DNS . I want the clients to make 77.10 as the DNS and not 1.1  as then clients would be independant and see only the server. I can change the dsl of 1.1 and say plug in the 2.1 and the client w16:08
Questont have to change their ip config.   how it can be16:08
Questdone as right now I cant just use 77.10 as a DNS in clients. why?16:08
shaunoQuest: would the sensible answer not be to just change the domain-name-servers option on your dhcp server?16:12
GrueMasterQuest: First, it looks like you have an overlap in your client ip range "server for QoS and monitoring (192.168.77.10)   -> clients (192.168.77.1-255)".  Your dns should be moved out of the way of the clients (i.e. move the clients to 77.15-255).   Also, you are trying to span two separate subnets (77.* and 1.1).16:13
Questshauno,  I never installed a dhcp server16:13
QuestGrueMaster,  yes. i agree. its a type . its actually 50.25516:14
Questshauno,  I never installed a dhcp server. i mean i never installed a dhcp software specifically. iam just shairing internet between eth0 and eht1  of server16:15
QuestGrueMaster, ^16:15
GrueMasterQuest: If you have the dsl connected to one system, and the clients have to go through that system to get outside, why not configure the dsl modem as a pass-through and have your firewall system do all the work?16:16
Questsure. how16:16
Quest?16:16
Quest nor i installed a DNS software16:16
GrueMasterThat setup is exactly how i have my home network.16:16
Questdo i need a dhcp software or DNS software?16:16
GrueMasterGive me a sec and I'll pastebin my dhcp setup.16:16
shaunoit sounds like you're going to need something on .10 to answer/relay those requests if you want it to answer dns.  either a small proxy like dnsmasq to answer, or just that port on your internal if to your existing service16:17
shaunobut personally, I'd move the clients onto dhcp.  the problem of re-writing all the client configs was solved eons ago16:18
Questshauno,  ok. so what do i need. ? (i need simple most setup)16:18
Questshauno,  clients use static ips. not by dhcp16:18
GrueMasterQuest: http://paste.ubuntu.com/564831316:19
QuestGrueMaster,  ok. do i need a DNS software?16:20
GrueMasterQuest: I use dhcp for every system, then assign them a static IP in my dhcp config (above link).16:20
QuestGrueMaster,  i have setup the clients to use a static ip. (for each client)16:20
GrueMasterI have bind setup as well, just for internal dns resolution.16:20
QuestGrueMaster,  so i need bind?16:21
=== wedgwood_away is now known as wedgwood
QuestGrueMaster,  how hard is to configure bind on ubuntu. for the 77.10 server to pass on client requests to 1.1 ?  then i can just put 77.10 for dns and gatway in clients config16:21
GrueMasterYOu oinly need bind if you need to connect between systems internally.16:21
QuestGrueMaster,  i only need the clents to have gateway and dns as 77.10 (server ip) and the clients should not worry about the ip of the dsl modem.16:22
GrueMasteri.e. If I want my PS3 to resolve to my master media server.16:22
GrueMasterright.16:23
GrueMasterI assume 77.10 is configured as some sort of proxy for external dns resolution on the internet?16:23
GrueMasterI.e. each machine can ping google.com through it?16:24
Questno16:24
Quest77.10 has just traffic monitoring tools . i have shared its eth1 and eth0 with each other. eth1 is Wan. eth0 is Lan16:24
GrueMasterAh.16:25
GrueMasterSo no real firewall?16:25
Questthere is but i dont use it much16:25
Questwell i have done the sharing with the firefwall16:26
Questfirestarter...16:26
GrueMasterI.e. one system that blocks and routes incoming packets.16:26
QuestGrueMaster,  yes i gues16:27
GrueMasterMost "firewall" programs for Linux are just a series of scripts that configure the Linux IPTables.16:27
GrueMasterBut it sounds like you have something in place.16:27
QuestGrueMaster, either way. it works16:27
Quest it works with 1.1 .but i want to give it 77.10 as dns for clients. so if i change the dsl from 1.1 to 2.1 . the clients wont have to be reconfigured16:28
GrueMaster(I use shorewall).16:28
GrueMasterI honestly can't remember all the details that I did when I initially configured my system (Ubuntu 10.10, upgraded from Mandriva 9).  It sits in a rack in my basement and just works.16:30
GrueMasterLooking at my configs, I have bind setup to forward dns requests to my isp.  That gives me internet resolution to my home systems.16:32
shaunoI honestly think insisting on static IPs is causing the problems you're trying to solve.  you're trying to manage the clients instead of managing the network16:34
GrueMasterI agree.  Easier to have a master ip list on the dhcp server.16:35
Questshauno,  GrueMaster  i have to recognise clients by their ips.....16:36
Questso i have to give static ips16:36
shaunoyou can still do this with dhcp, as GrueMaster's config is doing.  but it means if you need to change your dns server, for example, you change one line in dhcpd.conf16:37
GrueMasterMy dhcp server automagically updates dns, so the only time I need to change anything is when I want to move a new system into a defined range.  This also makes it easier to spot and control leaches on my network (wifi drive-by, neighbors, etc).16:39
shaunoI know it doesn't answer your question, but it is the fix that keeps on giving.  like when you decide your phones need to be on their own subnet, you just match option vendor-class-identifier in dhcpd.conf and the phones will all move themselves16:40
shaunoyou can also hand out configs and firmware updates to your phones that way, it really is sanity++16:43
GrueMasterIn my case I was doing a lot of Ubuntu testing on arm, which required a LOT of reimaging (sometimes 10x/day).  My setup required less configuration, as I could have a generic preseed that worked on all systems, regardless of system name/architecture.16:43
shaunothe easiest way to do what you're actually trying to do, just so that I'm not preaching, is to put dnsmasq on .1016:44
jacobwPreseed are hostname/architecture dependent?16:45
GrueMasterjacobw: Only if you have static ip's and arch specific kernels (in the case of omap4 testing).16:47
jacobwI see16:47
GrueMasterThe whole point of preseeding is to automate installation without interaction.  I could just nuke the bootloader on a system, reboot, and it would do a new install via pxe.  After 10-20 minutes (depending on system speed and package selection), the system would reboot to a login, complete with user ssh keys preinstalled and everything was fresh.16:49
GrueMasterMy preseeds were extremely generic, and I had scripts that would customize them as needed on the fly for testing.  So if I wanted to build a glusterfs cluster with all my panda boards (7 at the time), 1 would be imaged as the controller, one as the client, and 5 as teh redundant fs cluster.16:51
GrueMaster20 minutes after launching the job in Jenkins, I had a GlusterFS cluster comprised of (essentially) a cluster of cell phones.  :P16:55
* GrueMaster enjoys the geek moment in that.16:55
jacobwGrueMaster: :)16:57
=== wedgwood is now known as wedgwood_away
=== wedgwood_away is now known as wedgwood
=== wedgwood is now known as wedgwood_away
pythonirc1013how can I ask apt-get upgrade not to ask a "Y/n"?17:44
pythonirc1013-y , thanks17:44
Picinp17:44
Chris_W_anyone here?17:55
sarnoldChris_W_: a few hundred people..17:56
Chris_W_huh. i only saw you respond.17:57
shaunoif 'anyone' got 400 replies each time, it'd be quite unbarable17:58
Chris_W_true17:59
Chris_W_im having video issues and i could use some help.17:59
Chris_W_im using a laptop with a broken screen to run the server, but the vga output is shrunk to like 2/3 of the screen18:00
Chris_W_if i booted into windows it would think i have two monitor, but im only using the VGA output, so i think ubuntu is doing the same thing.18:01
Chris_W_is there any way to disable one of the 'outputs' ?18:01
sarnoldChris_W_: many laptops have a key that let you swap between video outputs for easy use with projectors18:03
justizinChris_W_: also worth a shot, plug in a keyboard and mouse and close the laptop lid.  also try booting that way, so it never initializes the LCD.18:05
Chris_W_ive tried using the fn-f8 combo which would change between lcd/vga output, but id doesnt do anything now.  but the lcd is removed and there are no lcd cables connected to the motherboard.  it still thinks its there, but it forces video out through vga without me pressing the button combo18:10
Chris_W_is there a command to see what displays or outputs it is currently using?18:12
sarnoldChris_W_: xrandr without arguments dumps a huge pile of display information18:14
Chris_W_sarnold: im not using x.  im on ubuntu server, with only command line18:24
sarnoldChris_W_: ah :) dmesg may have details on the video devices being used..18:26
=== Ursinha-afk is now known as Ursinha
mathainohi all, i am new, so sorry if my question is stupid...how can i install html5 on ubuntu server?18:48
sarnoldmathaino: html5 is a specification, not a specific thing that you can install18:49
sarnoldmathaino: if you want html5, hire html programmers and tell them what to write :) hehe18:49
mathainoi see, lets say i want to learn html5, do i have to install something on the ubuntu server?18:50
shaunoa text editor would be handy18:51
=== wedgwood_away is now known as wedgwood
shaunotry it the other way around.  just starting learning, and go looking for tools if & when you find something you're lacking.  this isn't something that requires any kind of toolbox to get started18:52
=== wedgwood is now known as wedgwood_away
sarnoldmathaino: you'll want firefox and chromium-browser, so you can test what you write; you should test your code via a webserver, rather than just accessing files on the filesystem, to prevent silly mistakes from making it through to the code; apache or nginx are useful there, but setting up a full-featured webserver can take some effort18:54
mathainosarnold: i have already an apache2 running so that is not such a big deal, just want to start playing with html5, that's why i asked if i need to install any package for that. thanks for the hints :)18:57
sarnoldmathaino: aha, good :)18:57
justizinare there any plans to make ufw transactional, like iptables-save and iptabes-restore? we're using the opscode's community firewall cookbook for chef, which currently only supports the ufw provider, and when chef runs and reconciles the firewall, all connectivity fails for a brief period.  obviously, this is not our preference on prod boxen. ;)19:09
jdstrandjustizin: ufw runs iptables-restore under the hood19:11
justizinhm.19:11
justizini thought it might, i'll have to dig a bit deeper before casting blame ;)19:11
justizini'm basically just trying to figure out if there's a bug somewhere that i can fix, rather than abandoning ufw19:12
jdstrandjustizin: so you could supply your various *.rules file and then just run /lib/ufw/ufw-init reload at the end19:12
justizincould be opscode's cookbook19:12
justizinhm..19:12
=== wedgwood_away is now known as wedgwood
=== wedgwood is now known as wedgwood_away
BlinkizHello. I have a libvirt+kvm server with bridge interface. I do not want the bridge to forward tagged VLANs to every machine (vnetX), how can I filter this?20:11
=== VD is now known as Guest73519
bekksBlinkiz: Using a bridge, thats not possible.20:19
bekksBlinkiz: A bridges bridges all traffic.20:19
Blinkizbekks, I found the solution. It is to use ebtables to control the bridge. Like dropping all frames, "ebtables -t broute -A BROUTING -i eth0 -p 802_1Q -j DROP "20:22
BlinkizI can control which virtual machine gets what VLAN without having to set up a bunch of virtual vlan interfaces in the /etc/network/interface file.20:24
BlinkizIt was a nice feature.. Did not know about ebtables. Am used to setting up everything in the interface file and the default br0 bridge do not forward tagged VLANs. That was changed some kernel ago..20:25
=== megha is now known as baba
bekksGood to know. :)20:26
=== smb` is now known as smb
pythonirc1012ubuntu 10.04 LTS was supposed to e supported till 2015 or so, right?21:22
sarnoldparts of it, yes21:22
pythonirc1012sarnold: so I can run it safely in production?21:23
pythonirc1012sarnold: or do I need a reinstall?21:23
sarnoldpythonirc1012: yes, you can run it in production21:23
pythonirc1012I just updated the 10.04 lts. nginx got updated. And now it won't start21:24
sarnoldpythonirc1012: see here for details on how long which pieces are going to be supported: https://wiki.ubuntu.com/LucidLynx/ReleaseManifest21:24
pythonirc1012anyone uses nginx+ubuntu here that could help?21:24
sarnoldpythonirc1012: nginx-extras or something?21:24
pythonirc1012no just pure nginx - It won't start after the latest update21:25
sarnoldpythonirc1012: hrm, this page suggests that last update for nginx on 10.04 was in June, 2012: https://launchpad.net/ubuntu/+source/nginx21:27
pythonirc1012sarnold: I had not run updates for a long time. I ran update today and got to 1.4.1. now when I try to start nginx - nginx: invalid option: "/var/run/nginx.pid"21:27
pythonirc1012Even though that option is commented out in nginx.conf21:27
sarnoldpythonirc1012: that makes me think perhaps you've got a local configuration error of some sort..21:27
pythonirc1012ngingx configtest -> says OK21:28
pythonirc1012the same config used to work well before the upgrade21:28
sarnold1.4.1?? lucid's nginx was version 0.7.65-1ubuntu2.3 ..21:28
sarnoldeven our devel release just has 1.2.6-1ubuntu421:29
pythonirc1012mine says nginx version: nginx/1.4.121:29
TheLordOfTimepythonirc1012:  are you using the PPA21:39
TheLordOfTimesarnold:  they're probably on the PPA, it has 1.4.1-121:39
sarnoldTheLordOfTime: ahhhhh.21:40
TheLordOfTimesee, weird nginx questions like that are why I'm here.21:40
sarnoldwell, I guess it doesn't much matter one way or another, it's not like it's in main..21:40
TheLordOfTimesarnold:  no it's not in main :P21:40
sarnold(probably should be, but that's another matter :)21:40
pythonirc1012seems like long time back I added the ppa and then removed it :(21:40
pythonirc1012readded and then trying to update everything again21:40
TheLordOfTime(oh there's an active merge request to merge 1.4.1 into saucy, sarnold)21:40
pythonirc1012hopefully I don't break anything21:40
sarnoldTheLordOfTime: woot21:41
TheLordOfTimepythonirc1012:  if you want something "stable" for production you might want 12.0421:41
TheLordOfTimebut nginx will be 1.4.1 regardless if you stick to the PPA21:41
TheLordOfTime(it's supported through Saucy)21:41
sarnoldTheLordOfTime: he's on 10.04, he's still got two years for most of it..21:41
TheLordOfTimes/PPA/stable PPA/21:41
pythonirc1012TheLordOfTime: I'll stick to 10.04 for another year21:41
TheLordOfTimesarnold:  he's OK then but there won't be any updates past 1.4.1 for nginx21:42
* TheLordOfTime manages the nginx stable PPA and is not going to update past nginx 1.4.1 for Lucid21:42
sarnoldTheLordOfTime: ahhhhhh :)21:42
TheLordOfTimejust for their reference :)21:42
pythonirc1012TheLordOfTime: as long as if there are no security hazards that are patched.21:42
TheLordOfTimepythonirc1012:  if there's any new CVEs I may or may not patch them21:42
pythonirc1012TheLordOfTime: when was the PPA last updated for lucid?21:43
TheLordOfTimepythonirc1012:  yesterday21:43
TheLordOfTimewith 1.4.1-1 from Debian21:43
pythonirc1012that is what broke my machine I think21:43
TheLordOfTimepythonirc1012:  define "broke"21:43
pythonirc1012k21:43
pythonirc1012after update - nginx won't start at boot21:43
TheLordOfTimecheck the logs21:43
TheLordOfTimeit should throw errors about why21:43
TheLordOfTimeprobably a conf thing21:44
sarnoldis that the ipv6_only=on bug or whatever that was?21:44
TheLordOfTimeor me forgetting to apply a patch to the default conf...21:44
TheLordOfTime... crap.21:44
pythonirc1012when I try to start /etc/init.d/nginx start, it gives me: nginx: invalid option: "/var/run/nginx.pid"21:44
* TheLordOfTime facedesks21:44
TheLordOfTimesarnold:  probably21:44
* TheLordOfTime checks something21:44
pythonirc1012I commented out the line in my conf --> pid /var/run/nginx.pid  -- still there was a problem21:45
TheLordOfTimepythonirc1012:  you can't comment that out21:45
TheLordOfTimethat's a required line21:45
TheLordOfTimebut...21:45
pythonirc1012k21:45
pythonirc1012I'll uncomment after reboot21:45
TheLordOfTimepythonirc1012:  can you do `sudo nginx restart` and pastebin the EXACT ERROR MESSAGE21:45
pythonirc1012yes, will do in a moment, brb21:46
TheLordOfTimesarnold:  probably that bug and the fact that the lucid one doesn't check the right pid location21:47
pythonirc1012TheLordOfTime: http://bpaste.net/show/FpJHJwUaM4CInWpo04v4/21:47
pythonirc1012uncommenting: pid /var/run/nginx.pid;21:48
pythonirc1012exact same error before uncommenting21:48
TheLordOfTimehmm...21:50
TheLordOfTimethat shouldn't happen even on normal updates and upgrades21:51
TheLordOfTime... and my last lucid VM died a week ago...21:51
TheLordOfTimehmm...............................21:51
TheLordOfTimepythonirc1012:  and this is in a production environment?21:51
pythonirc1012TheLordOfTime: yes :) Well it doesn't have that much traffic yet.21:52
pythonirc1012I still have my job :)21:52
TheLordOfTimepythonirc1012:  the only thing I can think is you're using an invalid conf file21:54
TheLordOfTimebut that file there...21:54
pythonirc1012TheLordOfTime: configtest passes21:54
TheLordOfTimeor rather the error21:54
TheLordOfTimethe error doesn't say WHERE it's erroring21:54
TheLordOfTimeand there's no reason for it to be erroring21:54
TheLordOfTimethe program is direct from debian21:55
TheLordOfTimeno other modifications21:55
TheLordOfTimeand it works on every other release21:55
blackthorhmm... is anyone running a file system with >1 billion of files ?21:55
TheLordOfTimesarnold:  now you know why I don't like working with really old releases :/21:55
TheLordOfTimelol21:55
TheLordOfTimepythonirc1012:  which nginx did you install, nginx-full, nginx-light, or what?21:56
pythonirc1012I don't remember21:56
pythonirc1012how can I find out?21:56
TheLordOfTimesomeone else might be able to answer that one better than I21:57
sarnolddpkg -l 'nginx*'21:57
pythonirc1012TheLordOfTime: http://bpaste.net/show/TPAbbFKnkBAjGvJrksvk/21:58
pythonirc1012sarnold: thanks21:58
TheLordOfTimeso you're on nginx-full i guess21:58
pythonirc1012I guess so21:58
TheLordOfTimedid you try to reinstall the nginx web server software after backing up your site configs?21:59
TheLordOfTimeactually better question have you modified the default config files at all, for the sites-available and such21:59
pythonirc1012yes21:59
TheLordOfTimeback those up21:59
pythonirc1012k21:59
TheLordOfTimesave them somewhere, because i'm going to walk you through reinstalling the nginx webserver software22:00
TheLordOfTimebecause that looks like a runtime error I've never seen before22:00
pythonirc1012you want me to backup /etc/nginx?22:00
TheLordOfTime(also did I mention how much I hate working with old releases?)22:00
TheLordOfTimepythonirc1012:  i want you to back up what you've modified substantially from there yes.22:00
TheLordOfTimein fact back up everything :p22:00
TheLordOfTimefrom /etc/nginx22:00
pythonirc1012done22:01
TheLordOfTime`sudo apt-get purge nginx-full nginx-common nginx`22:01
TheLordOfTimewithout the ` of course22:01
pythonirc1012done22:02
TheLordOfTimepythonirc1012:  sudo apt-get install nginx-full nginx-common nginx22:03
pythonirc1012done22:03
TheLordOfTimenow restore your configuration files22:03
TheLordOfTimethe ones i had you back up22:03
TheLordOfTime(you may need to overwrite the default ones)22:04
pythonirc1012done22:04
TheLordOfTimesudo /etc/init.d/nginx stop22:05
TheLordOfTimesudo /etc/init.d/nginx start22:05
pythonirc1012same error:  * Starting nginx nginx                                                                                    nginx: invalid option: "/var/run/nginx.pid"22:06
sarnoldTheLordOfTime: I wonder if it would help to see the entire config..22:07
pythonirc1012Lemme do one thing. Lemme just run it with the default config and see if that starts it?22:08
TheLordOfTimewhoopsies22:08
* TheLordOfTime exploded22:08
TheLordOfTimepythonirc1012:  yeah see if it can run with the defaults22:08
TheLordOfTimeit SHOULD22:08
pythonirc1012yes it runs with the defaults22:09
pythonirc1012ah, no it does not22:09
TheLordOfTimehmm...22:09
TheLordOfTimei wonder if this is a lucid problem22:09
pythonirc1012nginx stop; nginx start; nginx status -> nginx is not running22:09
TheLordOfTimeand JUST a lucid problem22:09
TheLordOfTimeoh i know that one22:09
TheLordOfTimepythonirc1012:  that one's my fault and a known bug22:09
TheLordOfTimebecause the pid isn't in the right locatoin22:09
TheLordOfTimepythonirc1012:  lemme push an update to fix that one22:11
pythonirc1012k22:11
TheLordOfTimepythonirc1012:  do me a favor: pidof nginx22:12
pythonirc1012TheLordOfTime: no output22:13
TheLordOfTimeokay yeah that's a KNOWN bug22:13
TheLordOfTimelemme push an update, but we'll have to wait for it to build22:13
* TheLordOfTime shall return after food22:14
pythonirc1012I'll leave for food as well22:14
pythonirc1012will be back later22:15
markthomasAnybody here proficient on LVM storage underneath KVM volumes?22:18
TheLordOfTimepythonirc1012:  try again, `sudo apt-get update; sudo apt-get upgrade`22:31
TheLordOfTimethen try and run again22:31
=== Endafy is now known as Guest63387
=== Guest63387 is now known as Endafy`
TheLordOfTimewhoops hang on23:01

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