=== wedgwood is now known as wedgwood_away | ||
Oblivion1500 | hello i have a recently installed version of ubuntu server long term and i was wondering if there was some sort of firewall installed by default that my not be allowing me ssh access to it | 03:30 |
---|---|---|
Oblivion1500 | though, i am able to access it locally... well that was a dumb question | 03:30 |
sarnold | Oblivion1500: there's the ufw front end to raw iptables ... | 03:30 |
Oblivion1500 | will that allow local connections but not public? | 03:31 |
sarnold | it may.. | 03:31 |
Oblivion1500 | how do i change settings for it? | 03:32 |
sarnold | Oblivion1500: check "sudo ufw status" output for information... | 03:32 |
Oblivion1500 | ok | 03:32 |
Oblivion1500 | and it is inactive, great i have done almost everything i can to get ssh working.. i dont know what im doing wrong i have even gone to the extent of putting my router in dmz then from there my server in dmz | 03:33 |
sarnold | Oblivion1500: does netstat -nl | grep :22 show sshd accepting connections from 0.0.0.0:*? | 03:34 |
Oblivion1500 | interesting, let me give you a screen shot, it doesent show it now but i beleave i did it before and it did,, though im also trying to ftp into it and that doesent work and 21 is showing up.. let me get that screenshot | 03:38 |
devral | my server is acting really weird. it's taking a long time to execute commands. I did an strace on "echo hi" and it took 5 seconds to execute "brk(0) = 0x1594000" this just randomly started happening. | 03:39 |
Oblivion1500 | http://imgur.com/8uMSpVI | 03:39 |
sarnold | devral: check free output to see if you're deep into swap; vmstat 1 will show you swap in and swap out traffic | 03:40 |
Oblivion1500 | depending on how much ram i have i usually set swap to 10 or 0 | 03:41 |
sarnold | Oblivion1500: ps auxw | grep ssh -- that's odd, looks like sshd might not even be running. | 03:41 |
Oblivion1500 | that is a screen shot of me using ssh to log into that server, locally of course | 03:42 |
Oblivion1500 | http://imgur.com/KV3HTuP | 03:44 |
sarnold | Oblivion1500: heh, indeed -- there's no process 2832. You'd expect to see a line like this one: | 03:45 |
sarnold | root 1200 0.0 0.0 49968 2828 ? Ss Feb19 0:00 /usr/sbin/sshd -D | 03:45 |
Oblivion1500 | so can you tell me how to fix it? | 03:45 |
sarnold | Oblivion1500: I'd try another "service sshd restart" command.. | 03:47 |
sarnold | Oblivion1500: chcek the logs if it doesn't start | 03:47 |
Oblivion1500 | it doesent see it as a service... | 03:47 |
Oblivion1500 | how does the daemon not come with openssh | 03:48 |
Oblivion1500 | wtf lol | 03:48 |
sarnold | Oblivion1500: oh, my fault. "service ssh restart" | 03:49 |
Oblivion1500 | nothing, actually did this, ill get you a screen | 03:50 |
Oblivion1500 | http://imgur.com/6anRmJ4 | 03:52 |
Oblivion1500 | also if the service is restarted shouldnt i get disconected from the server? | 03:54 |
Oblivion1500 | like what happens if i do: ssh restart | 03:54 |
sarnold | Oblivion1500: no, it only kills te listening daemon | 03:55 |
Oblivion1500 | oh i see | 03:55 |
sarnold | if it killed all sessions, that'd make it way harder to do server maintainence ;) | 03:55 |
Oblivion1500 | yea your right | 03:56 |
Oblivion1500 | so am i going to have to sudo apt-get remove openssh then reinstall or what am i to do? | 03:56 |
sarnold | Oblivion1500: check your logs for some more information... hopefully it reports why it won't start | 03:57 |
sarnold | Oblivion1500: check /var/log/auth.log first -- I see some "Server listening" messages in there... | 03:57 |
Oblivion1500 | http://imgur.com/1MZrbKc | 03:59 |
sarnold | Oblivion1500: heh, those are from four days ago :) | 04:00 |
sarnold | Oblivion1500: look towards the end of the file | 04:00 |
Oblivion1500 | oh wow | 04:00 |
Oblivion1500 | sorry | 04:00 |
Oblivion1500 | found the error, i think http://imgur.com/Gudkdh6 | 04:04 |
Oblivion1500 | or that was me trying to restart without root | 04:04 |
sarnold | Oblivion1500: .. that | 04:05 |
Oblivion1500 | either way still an error lol | 04:05 |
sarnold | man. that's just confusing. | 04:05 |
devral | sarnold: free says 0 used, 8514556 free, 8514556 total. doesn't seem to be using swap. | 04:05 |
sarnold | devral: I did not expect that. | 04:05 |
sarnold | devral: loadaverage? (not that that's great, but .. it's a start...) | 04:05 |
devral | sarnold: how do you mean? | 04:06 |
sarnold | devral: well, a high load average doesn't necessarily mean anything, but if you're used to seeing '4' and you suddenly see '200', it means something. :D | 04:07 |
sarnold | Oblivion1500: try this, "sudo sshd -D" -- and then try to log in from another terminal | 04:07 |
devral | sarnold: in what command, I mean? cpu load in top? | 04:08 |
sarnold | devral: oh :) sorry. top or cat /proc/loadavg | 04:08 |
devral | sarnold: it's not really going above 1, lol. | 04:09 |
Oblivion1500 | sshd re-exec requires execution with an absolute path | 04:09 |
sarnold | devral: wow. | 04:09 |
devral | sarnold: "load average: 0.08, 1.05, 1.64" | 04:09 |
sarnold | Oblivion1500: oh :) okay, sudo /usr/sbin/sshd -D | 04:09 |
sarnold | devral: well, it's dropped a lot -- is the machine still horrible? | 04:10 |
Oblivion1500 | ohhh, lol hold on | 04:10 |
devral | sarnold: not so much right now, but it was rather sporadic before so we'll see | 04:10 |
Oblivion1500 | changed a yes no arg to all | 04:11 |
sarnold | devral: _maybe_ you hit an updatedb or automatic security update thing ... | 04:11 |
Oblivion1500 | just give me a min to change that | 04:11 |
Oblivion1500 | i was trying to allow tcp forwarding to see if that would fix my problem, well thought i could use arg all | 04:13 |
sarnold | Oblivion1500: it's just about time for me to bail; if I'm gone and your latest effort doesn't fix it, try "sudo /usr/sbin/sshd -d" -- not -D -- that'll give some debug info. | 04:13 |
sarnold | Oblivion1500: but the sshd process is not started. tcp forwarding may _also_ be a problem :) but it might not be the only one. | 04:14 |
Oblivion1500 | ill just change AllowTcpForwarding to yes | 04:14 |
sarnold | oh, sshd option... yeah. | 04:15 |
sarnold | sorry, I thought you had a firewalling option somewhere :) | 04:15 |
Oblivion1500 | it should be yes by default though right, i think thats why i did all lol | 04:15 |
sarnold | alright, time to run :) good luck Oblivion1500 and devral :) | 04:16 |
Oblivion1500 | thanks, i wish you could stay you have been more help than most people | 04:16 |
devral | thanks | 04:17 |
Oblivion1500 | damn still didnt work.. anyone else want to give it a go? | 04:19 |
Oblivion1500 | and i will provide you with this http://imgur.com/JOBjIEw | 04:21 |
=== Oblivion1500_ is now known as Oblivion1500 | ||
Oblivion1500 | does anyone else maybe know why i cant connect to my server via ssh? http://imgur.com/W4kYm68 | 05:08 |
Oblivion1500 | my on my modem my router is in dmz and im forwarding ports on my router to my server for port 22 | 05:08 |
DarthEaron | hey guys imtrying to install an email server on my website and i cave mbox squirmail installed but as far as i can tell i have no users, i go to %domain%/squirellmail, and i cant log in | 05:16 |
DarthEaron | anyone? i fallowd alot fo guides on the ubuntu forums and i cant see were to add users | 05:21 |
DarthEaron | also i have dovecot and postfix installed | 05:21 |
DarthEaron | anyone? | 05:43 |
=== smb` is now known as smb | ||
Oblivion1500 | can anyone here help me set up ssh on my server so i can access it via my public ip? | 08:31 |
nibalizer | sure | 08:38 |
nibalizer | you have to install the ssh server software | 08:38 |
nibalizer | which you can do with apt-get install openssh-server | 08:39 |
nibalizer | Oblivion1500: | 08:39 |
=== Nafallo_ is now known as Nafallo | ||
=== yofel_ is now known as yofel | ||
yolanda | Daviey, jamespage: https://code.launchpad.net/~yolanda.robla/ceilometer/grizzly/+merge/150004 | 10:21 |
=== Manu__ is now known as nodist | ||
swordfischer | Hi, I am trying to set up heartbeat with my ubuntu server, and I've run into this issue where service heartbeat start / /etc/init.d/heartbeat start returns no information (as opposed to my CentOS setup). The logfile I've specified is not created, so cannot debug from that. At a loss right now. Any ideas? | 10:45 |
nibalizer | have you read the init script? | 11:19 |
nibalizer | swordfischer: | 11:19 |
swordfischer | nibalizer: the one in init.d? not really, I guess I should then? | 11:58 |
nibalizer | yea | 12:43 |
nibalizer | maybe there is a directory it is experting to exist that doesn't and the whole script just bails | 12:43 |
zul | yolanda: +1 | 12:45 |
swordfischer | nibalizer: well I'll have a look later, but something like that should at least create a error/warning.. I followed a tutorial on ubuntus site :) | 12:49 |
nibalizer | yea | 12:52 |
nibalizer | you could also check syslog | 12:52 |
nibalizer | or /var/log/* for heartbeaty things | 12:52 |
nibalizer | link to the docs youor following? | 12:52 |
swordfischer | nibalizer: https://wiki.ubuntu.com/UbuntuHighAvailabilityTeam/Heartbeat - well I fixed it, ln -s /usr/lib/ /usr/lib64/ | 13:08 |
swordfischer | thanks though :) | 13:10 |
yolanda | zul, thx | 13:14 |
gary_poster | hallyn or stgraber, hi. Odd question, but from official channels: am I right that LXC has no official or even semi-official associated icon/image? | 13:14 |
gary_poster | s/official channels/Canonical UX people working on company project who contacted us/ :-) | 13:16 |
=== yofel_ is now known as yofel | ||
=== wedgwood_away is now known as wedgwood | ||
mskau | Need help: No image on newly installed 12.10 server - no boot progress or anything. Can access prompt via install cd rescue option. | 13:48 |
hallyn | gary_poster: like an icon for a running lxc process in unity panel? | 13:53 |
gary_poster | hallyn, more juju related in this case, but exactly the right idea. | 13:54 |
hallyn | gary_poster: not that i know of | 13:54 |
gary_poster | hallyn, cool. You have now provided the official answer. ;-) Thanks! | 13:54 |
hallyn | <cringe> | 13:55 |
gary_poster | hallyn, heh. You want me to ask anyone else? | 13:55 |
hallyn | gary_poster: i wouldn't know who :) | 13:55 |
hallyn | stgraber might walk in with an idea | 13:55 |
gary_poster | hallyn, :-) OK, I'll wait for him to weigh in. Thanks again | 13:56 |
hallyn | \o | 13:56 |
zul | hallyn = offical answer definently cringeworth ;) | 14:01 |
mskau | Help: 12.10. No image after boot. Shift does not bring up Grub menu, but I can see from disk activity that OS is loading. New installation, all default settings.... | 14:09 |
mskau | See short flash of "Grub loading", and then I'm left out in the cold... | 14:12 |
stgraber | gary_poster: no project logo/icon that I'm aware of | 14:17 |
gary_poster | ok thanks much stgraber | 14:17 |
zul | yolanda: https://code.launchpad.net/~zulcss/keystone/keystone-g3/+merge/150055 | 14:30 |
yolanda | zul, ok | 14:31 |
yolanda | that python-oslo-config is everywhere :) | 14:32 |
yolanda | done | 14:32 |
zul | yolanda: thanks | 14:33 |
zul | adam_g: http://people.canonical.com/~chucks/ca/oslo-config_2013.1~b3-0ubuntu1~cloud0_source.changes | 14:43 |
zul | yolanda: https://code.launchpad.net/~zulcss/glance/glance-g3/+merge/150064 | 15:09 |
yolanda | ok | 15:10 |
yolanda | done | 15:11 |
zul | thanks | 15:14 |
zul | yolanda: https://code.launchpad.net/~zulcss/nova/nova-g3/+merge/150069 | 15:30 |
zul | yolanda: 4 more after this | 15:30 |
yolanda | ready for that! | 15:30 |
yolanda | zul, done that one | 15:39 |
zul | thanks | 15:40 |
zul | yolanda: next https://code.launchpad.net/~zulcss/horizon/horizon-g3/+merge/150079 | 15:47 |
yolanda | done | 15:49 |
zul | yolanda: you merged your ceilometer stuff right? | 15:55 |
yolanda | zul, yes, it's merged | 15:55 |
zul | yolanda: excelente! | 15:55 |
yolanda | nice spanish! | 15:56 |
hallyn | zul: so libvirt now adds members of groups admin and sudo to libvirtd... but the ubuntu netinst places the default user into.... group adm | 16:01 |
hallyn | just a note. | 16:01 |
zul | hallyn: okies | 16:01 |
=== andreas__ is now known as ahasenack | ||
pythonirc1011 | If I install raid 10 on 4 drives, and install ubuntu on the drive, if one drive fails, does the server still boot? | 16:08 |
patdk-wk | pythonirc1011, depends on your motherboard | 16:11 |
pythonirc1011 | patdk-wk: MB? My BIOS is setup up to boot from disk 1/2/3/4 in that sequence | 16:11 |
patdk-wk | and if disk 1 fails? | 16:11 |
pythonirc1011 | it will try to boot from disk 2 | 16:12 |
patdk-wk | will the motherboard ignore disk 1? hopefully it will | 16:12 |
patdk-wk | what if the disk isn't completely failed, but still responds? | 16:12 |
pythonirc1011 | but will RAID 10 keep grub ready on disk 2 | 16:12 |
patdk-wk | no | 16:12 |
patdk-wk | grub will keep itself ready | 16:12 |
pythonirc1011 | patdk-wk: then i'm willing to pull its cord out. But I want the machine to boot without my intervention | 16:12 |
zul | yolanda: next https://code.launchpad.net/~zulcss/quantum/quantum-g3/+merge/150087 | 16:13 |
yolanda | zul, a little typo here: New usptream release | 16:16 |
zul | yolanda: k ill fix it up | 16:16 |
pythonirc1011 | patdk-wk: do you have a raid 5/10 installation/mdadm? | 16:22 |
pythonirc1011 | do i have to manually create a /boot (128MB) or something similar so that RAID boots automatically after 1 disk failure? | 16:24 |
dodo3773 | Quick question guys: Aside from /var/www is there any other directories that lamp developers may need access to? | 16:46 |
=== matsubara is now known as matsubara-lunch | ||
zul | yolanda: https://code.launchpad.net/~zulcss/cinder/cinder-g3/+merge/150101 | 16:47 |
yolanda | zul, sorry, in changelog it says "add python-rtslib and python-mock", but in control shows that python-rtslib is removed? | 16:50 |
zul | yolanda: hold on | 16:50 |
zul | yolanda: nope its there | 16:51 |
yolanda | mm, diff is showing that as removed? 52- rtslib>=2.1.fb27 | 16:51 |
yolanda | 53+ python-swiftclient | 16:51 |
yolanda | Resubmit proposal | 16:51 |
yolanda | Delete proposal to merge | 16:51 |
yolanda | Subscribers | 16:51 |
yolanda | People subscribed via source and target branches | 16:51 |
yolanda | to all changes: | 16:51 |
yolanda | Chuck Short | 16:51 |
yolanda | Openstack Ubuntu Testers | 16:51 |
zul | yolanda: grr...lemme fix it | 16:51 |
zul | yolanda: thats nto what im seeing | 16:53 |
dodo3773 | Okay another question: Can a "fully qualified hostname" be anything I want? Just make something up? I do not understand this | 16:53 |
maco | i think it's "fully qualified" if it ends in . | 16:53 |
zul | yolanda: nm | 16:53 |
yolanda | what do you see in lines 52 and 53? | 16:53 |
maco | like example.com. | 16:53 |
maco | as opposed to example.com | 16:53 |
yolanda | mm, the removal is in the patch | 16:54 |
dodo3773 | maco: So it doesn't really matter what I set it to? | 16:55 |
yolanda | zul, done | 16:56 |
zul | thanks | 16:56 |
maco | dodo3773: as far as i know, not really. what's in the list or in /etc/hosts for your ip can determine some stuff about what apache will respond to (like "oh hey that domain's not me. *do nothing*" if you lack a * entry in apache...i think..been a while since i used apache) but the no fqhn error has never actually been a problem for me either (doesnt affect anything i notice) | 16:56 |
maco | mailservers might care? | 16:57 |
dodo3773 | maco: The reason I was looking into this is because it seems to be a requirement for virtualmin. I have webmin setup now but the current setup is a security nightmare in my opinion. So I need to get my developers onto usermin or virtualmin. That is why I was asking early about besides the /var/www directory if there is maybe anywhere else these guys might need acccess (for phpmyadmin, mysql, etc..). I am brand new to this server stuff. | 16:58 |
rbennacer | how can i see the last security patch installed on my ubuntu server ? | 17:01 |
maco | ah. ive never used that. i'm a web dev, but I live on the shell ;) i presume this is an internal system? if so, do you have internal dns or are devs typing ip addresses? | 17:01 |
genii-around | rbennacer: I usually do grep security /var/log/apt/term.log | 17:03 |
rbennacer | what is the term.log? | 17:03 |
genii-around | rbennacer: It's the terminal output that has been generated when apt-get is run | 17:04 |
rbennacer | someone told me about the apt history log but it is not really useful | 17:04 |
rbennacer | nice thanks | 17:05 |
dodo3773 | maco: I have the devs logging into webmin froma web browser with an ip address | 17:08 |
dodo3773 | maco: So as a web dev yourself is there anywhere on the system besides /var/www that you need write access to if you were a regular user? | 17:09 |
maco | nope | 17:09 |
maco | as long as you have a login for whatever mysql client you're using, that should be it | 17:10 |
maco | i suppose if the devs needed to go install ruby gems, there'd be that | 17:10 |
maco | but i think they'd just as you to do "i need this dependency" type stuff | 17:10 |
maco | *ask | 17:10 |
dodo3773 | maco: Yeah. That's what they did for /var/www | 17:12 |
dodo3773 | maco: Just trying to get it setup right to make their lives a little easier | 17:13 |
=== matsubara-lunch is now known as matsubara | ||
zul | Daviey: ping | 17:24 |
Daviey | zul: PONG | 17:30 |
zul | Daviey: python-wsme is still stuck in binary-new can you have a look at it | 17:32 |
Daviey | sure | 17:35 |
adam_g | zul: should build with -v, and | 17:35 |
adam_g | [(status)] | 17:35 |
adam_g | oops | 17:36 |
Daviey | zul: err, it's source NEW | 17:36 |
Daviey | I don't have time to review it this very moment, but will later on. | 17:36 |
adam_g | zul: 2013.1~b3 shouldn't that be 2013.1-g3 ? | 17:36 |
agu10^ | hiii! | 17:36 |
zul | adam_g: nope thats not a typo | 17:37 |
adam_g | zul: oh, ok :) | 17:38 |
zul | Daviey: k ill upload ceilometer later then | 17:38 |
Daviey | adam_g: 2013.1~b3 .. means, it is almost 2013.1 . milestone g3. (~ means less than) | 17:39 |
Daviey | (inverse of +) | 17:39 |
adam_g | Daviey: right, i was talking about b3 vg g3. wasn't aware of the 'b' versioning | 17:41 |
Daviey | Oh! | 17:41 |
Daviey | Sorry.. And yes, i thought you knw about ~ :) | 17:42 |
Daviey | zul: Sure it's not a typo? | 17:42 |
zul | Daviey: sure | 17:42 |
Daviey | ok. | 17:42 |
Daviey | afk | 17:42 |
zul | Daviey: http://tarballs.openstack.org/oslo-config/ | 17:43 |
=== tarzxvf is now known as ubuntu-phone | ||
=== ubuntu-phone is now known as tarzxvf | ||
zul | adam_g: can you check again? should be fixed | 17:51 |
adam_g | zul: lgtm | 17:53 |
zul | adam_g: cool thanks | 17:53 |
zul | adam_g: g3 uploaded for raring im going to get some lunch and start on precise | 17:54 |
dodo3773 | maco: thanks. take care. | 17:59 |
ecco | Hi room, just going to lurk for a while. | 18:14 |
* genii-around makes more coffee and passes the mugs around | 18:16 | |
hallyn | thanks | 18:18 |
hallyn | after hours of patch wranging for *)&$*)%*)% libvirt backports, that hits the spot | 18:19 |
hallyn | but \o/, think i'ts done and working | 18:19 |
Daviey | heck, i think the whiskey sould be opened | 18:19 |
ecco | After all, its friday so a little whiskey would be nice | 18:20 |
RoyK | Daviey: whiskey or whisky? ;) | 18:22 |
hiro5id | Hello guys. Can anyone help with a problem installing Ubuntu Server? My installation is stuck at "Configuring apt". I have posted a questiona about it on stack exchange: http://askubuntu.com/questions/259847/help-installing-ubuntu-server-and-it-is-stuck-at-configuring-apt | 18:22 |
RoyK | hm... wierd | 18:23 |
RoyK | hiro5id: for reference, could you try with 12.04.1? what hardware are you using? | 18:23 |
Daviey | RoyK: i guess i've had a few already | 18:24 |
hiro5id | VMware ESXi | 18:24 |
hiro5id | its not physical hardware | 18:24 |
hiro5id | But i can try downloading 12.04.1 and restart the installation though | 18:24 |
RoyK | hiro5id: haven't tried 12.04.2 on ESXi yet | 18:24 |
RoyK | I have some 12.04.2 machines running in there, though, but they were installed on 12.04.1 | 18:25 |
hiro5id | ok... thanks for your quick reply.. i'll try 12.04.1 | 18:25 |
RoyK | hiro5id: if it works with 12.04.1, please post a bug with whatever logs you have | 18:26 |
hiro5id | Ok Royk ... Oh.... do you guys think it might have something to do with using "VMXNET3" as the network adapter for the Virtual Machine configuration ? | 18:27 |
RoyK | lemme check what I use | 18:27 |
hiro5id | great :) | 18:27 |
RoyK | vmxnet3 in use | 18:29 |
hiro5id | hhmmmm.... k | 18:29 |
RoyK | this is in a 4-node cluster | 18:30 |
RoyK | shouldn't matter, though | 18:30 |
hiro5id | Just for kicks, i'm going to try again with a E1000 Ethernet adapter configured this time and see if it makes a difference with 12.04.2 | 18:32 |
RoyK | might do | 18:33 |
RoyK | iirc 12.04.2 uses a newer kernel | 18:33 |
RoyK | which I think is rather strange, since by doing that, the lads (or lassies) at canonical will have to patch up two different kernel trees or force people to upgrade | 18:34 |
hiro5id | ...i'll be afk for a bit. By the way this is my first time trying to get help from the community. I'm very surprised at the prompt response. | 18:36 |
=== NomadJim_ is now known as NomadJim | ||
ModFather | hi there, how i can add a printer through ip:port to my ubuntu 12.10 ? | 18:56 |
ModFather | i've install cups and hplip but still i get: "/usr/lib/cups/filter/foomatic-rip-hplip failed" | 18:56 |
holstein | https://help.ubuntu.com/11.10/serverguide/cups.html | 18:57 |
holstein | theres a webgui as well that i have used before | 18:57 |
ModFather | holstein i have used that and i install successfully cups | 18:57 |
ModFather | also i added my printer with the correct driver through Web GUI of Cups | 18:58 |
ModFather | still get a weired error | 18:58 |
holstein | i would try other drivers | 18:58 |
ModFather | ppd file? | 18:58 |
holstein | i dont know what printer you have.. but i would just try other ones | 18:59 |
ModFather | drivers can cause that error: "/usr/lib/cups/filter/foomatic-rip-hplip failed" | 18:59 |
ModFather | ? | 18:59 |
holstein | sure.. that error is not very helpful.. "failed" coule mean anything | 19:00 |
sarnold | ModFather: perhaps your problem is already documented? https://bugs.launchpad.net/ubuntu/+source/hplip | 19:00 |
sarnold | ModFather: check logs to see if you can find a more detailed error message | 19:00 |
holstein | ideally, you would run a live CD, and test the printer with *some* functional driver, then you can add that, knowing the driver works | 19:00 |
ModFather | holstein i tried add another driver i got the same error | 19:08 |
holstein | ModFather: i have sometimes tried 20 or so til i found one that worked.. i like to test from a live CD though since now you are troubleshooting several things at once, as well as the driver support | 19:09 |
=== matsubara is now known as matsubara-afk | ||
Quebert | hi guys. could someone here tell me what you would normally have your file permissions setup as e.g. user ubuntu group www-data or something else? | 20:01 |
RoyK | Quebert: for the web stuff? | 20:09 |
Quebert | hey RoyK, yeah I was thinking from the public_html folder down | 20:09 |
Quebert | everything below that I have owned as root | 20:10 |
Quebert | root:root | 20:10 |
RoyK | Quebert: so long that www-data can read it, it's good | 20:12 |
RoyK | Quebert: if www-data can write to it, it's normally not good, since things may be changed in case of a security breach | 20:13 |
Quebert | so would it be safe to say all files below public_html could be owned by group www-data and user ubuntu with permissions of 755 ? | 20:15 |
RoyK | Quebert: that should be safe, yes | 20:16 |
Quebert | ok cool, thank you Royk! | 20:16 |
RoyK | Quebert: not sure why the group ownership would be needed, though | 20:17 |
Quebert | RoyK doesnt each folder/file need to belong to a group? | 20:17 |
RoyK | yes | 20:17 |
RoyK | just use root:root for the lot and 755 | 20:18 |
resno | RoyK: you dont use www-data? | 20:18 |
sarnold | or user:user if you don't want to have to sudo to root to update the content.. | 20:18 |
RoyK | resno: why would I? | 20:18 |
resno | sarnold: i was recommended to use suexec for that | 20:19 |
sarnold | resno: the apache config thingy? | 20:19 |
Quebert | I'm using nginx, doesn't nginx need to write to cache files? | 20:20 |
Quebert | nginx belongs to www-data | 20:20 |
RoyK | Quebert: if nginx needs to write cache files, it shouldn't be in /var/www | 20:20 |
Quebert | what do you mean RoyK | 20:21 |
Quebert | I have a static folder just above public_html | 20:21 |
RoyK | Quebert: nginx may need a cache dir | 20:21 |
Quebert | yeah that's the static folder | 20:21 |
RoyK | but giving www-data write access to the whole thing, isn't too smart | 20:21 |
xsl | guys im lost... after 2 days the server always hangs ... i'm in a dead end... i dont see errors... i dunno what to do .. :( plz any pointers | 20:22 |
RoyK | xsl: console access? | 20:22 |
xsl | it does not respond | 20:22 |
Quebert | Royk is execute ok? | 20:22 |
RoyK | not for files | 20:22 |
Quebert | for www-data | 20:22 |
resno | out of ram? out of hdd? | 20:22 |
Quebert | just foders? | 20:22 |
RoyK | Quebert: +x is needed for directories | 20:23 |
Quebert | rwxr-xr-x | 20:23 |
Quebert | ? | 20:23 |
resno | RoyK: you basically limit read to only folders apache needs to write to. essetnially. | 20:23 |
resno | err, write i mean | 20:23 |
xsl | resno i tought of that ... maybe its a problem of inodes or something :( | 20:23 |
xsl | im running a server with several lx-containers | 20:24 |
RoyK | resno: yes | 20:24 |
resno | xsl: if you asked me guess based on your symtoms thats what i would go after first | 20:24 |
sarnold | xsl: _nothing_ in the logs? | 20:24 |
xsl | nothing = 0 | 20:24 |
sarnold | ouch. | 20:24 |
resno | i bet theres something there though | 20:24 |
xsl | inside or outside the containers | 20:24 |
sarnold | xsl: when I once had to troubleshoot an annoying system, we found it very useful to have something like this running: while true ; do sleep 1 ; mv /root/procs /root/procs.1 ; ps auxw > /root/procs ; done | 20:26 |
sarnold | xsl: it gave us some kind of snapshot of the system seconds before it got unusable. | 20:26 |
sarnold | xsl: .. you may find e.g. dmesg | tail -20 more useful. or free output... | 20:27 |
xsl | yeah i understand your point | 20:27 |
xsl | i'm asking some stuff on the #lxcontainers related to ext4 ( to know it they are supported as a container backend ) | 20:28 |
xsl | i bet it i wanted to create a simple "LAMP" server it was still up ... but wen we go paranoid and do containers and tweaking .. ffs :( | 20:28 |
pmatulis | am i the only person who is having trouble booting a kvm guest using 'bus=scsi'? so far i'm reading this is not supported at the bios level | 20:41 |
alaing | hi guys any idea why when I try ftp to my /var/www on the ubuntu server it timesout but if I use putty it works fine. | 21:41 |
alaing | I'm filezilla client and I've tried dreamweavers built in ftp | 21:41 |
holstein | alaing: i would just put files up where you have permissions, and ssh in with putty and move them | 21:44 |
alaing | i'm using the same username/password in filezilla and putty | 21:45 |
alaing | I thought it would be a permissions but its strange seeing as I can access it from one app and not the other | 21:46 |
holstein | alaing: i would use filezilla to put files wher you know you have permission.. and use putty to move them | 21:46 |
holstein | alaing: test with other locations.. other users.. smaller test files | 21:46 |
holstein | alaing: you are probably ssh with putty and ftp with filezilla | 21:47 |
alaing | its a web server that I'm running from my home broadband so I should have permission for all folders and system etc | 21:47 |
holstein | alaing: its likey that you are connecting ftp with filezilla, and ssh with putty | 21:47 |
alaing | holstein: actually I'm using the same port | 21:48 |
holstein | alaing: i would move them to another location that you *can* connect filezilla to.. then move them with putty via ssh where you want them to be | 21:48 |
alaing | actually could that be the problem filezilla and putty using the same port | 21:49 |
holstein | otherwise, you'll just need to troubleshoot permissions, and maybe enable a root login, which i wouldnt do, to be able to put things directly into /var/www | 21:49 |
holstein | alaing: they are clients.. ftp and ssh shouldnt be using the same port AFAIK | 21:49 |
holstein | alaing: how are you connect wiht putty? how are you connecting with filezilla? what user? does that user have access to the directory? | 21:50 |
alaing | filezilla is using sftp | 21:51 |
alaing | port 2221 | 21:51 |
holstein | i would put the files up in the user home, and ssh in with putty and sudo move them to /var/www | 21:51 |
alaing | and putty is using port 2221 | 21:51 |
alaing | using ssh | 21:52 |
holstein | alaing: you are likely just able to navigate to that directory with putty.. try putting something there, and you wont have permission | 21:53 |
alaing | ls shows me the files/folders in there from putty | 21:54 |
holstein | alaing: sure.. but you probably dont have permission to put anything there... and thats why filezilla is failing to connect to that location.. just let filezilla connect to the /home of the user, and put the files there, and move them from putty to where you want them with sudo | 21:55 |
alaing | ok i've redirected filezilla to the /home/myUser and its still timing out | 21:56 |
holstein | alaing: what operating system are you connection from? | 21:57 |
alaing | win 7 home prem | 21:57 |
alaing | it gets to "Listing directory /home/myuser" | 21:58 |
holstein | alaing: http://hartvig.de/2008/mounting-your-ssh-shares-in-microsoft-windows/ is an option | 21:58 |
alaing | and then times out and gives this msg Error:Failed to retrieve directory listing | 21:58 |
holstein | alaing: sometime i just blow it out and start over. username, port.. IP.. everything | 21:59 |
alaing | download link does work on that linky | 22:00 |
alaing | yeah i was afraid you were going to say that | 22:00 |
fehwalker | are you sure filezilla is using sftp and not ftps? | 22:01 |
alaing | fehwalker: well according to the site manaer its using sftp | 22:02 |
holstein | alaing: its using ssh, since you are connecting ssh | 22:02 |
alaing | sorry still not quiet confident on the cmd line | 22:03 |
alaing | what command could I use to create a document in /var/www | 22:04 |
alaing | just to see if it fails | 22:04 |
holstein | nano to make a text document... or touch | 22:05 |
alaing | how do you save and exit from nano? | 22:06 |
escott | alaing, touch | 22:06 |
alaing | ^x? | 22:06 |
uvirtbot | alaing: Error: "x?" is not a valid command. | 22:06 |
alaing | touch? | 22:07 |
holstein | touch filename.html will make that file | 22:08 |
sarnold | touch /var/www/testing ; ls -l /var/www/testing | 22:08 |
xsl | ^help | 22:09 |
uvirtbot | xsl: (help [<plugin>] [<command>]) -- This command gives a useful description of what <command> does. <plugin> is only necessary if the command is in more than one plugin. | 22:09 |
alaing | it createed it | 22:09 |
alaing | so my user must have access to /var/www/ | 22:09 |
alaing | and permission to write | 22:09 |
alaing | i think i use vsftp on the server | 22:14 |
sarnold | I thought you were using sftp? that'd be handled through sshd | 22:15 |
alaing | actually it might be sshd - I'm just double checking | 22:15 |
alaing | I was wondering whether there would be logs on the attempts which may give a clue as to why is failing | 22:16 |
sarnold | alaing: /var/log/auth.log ought to have the logins, at least | 22:17 |
holstein | alaing: if you can ssh in, you should be able to use filezilla... double check the credentials | 22:17 |
alaing | holstein: filezilla is connecting | 22:18 |
alaing | its just timing out when it tries to list the directory | 22:18 |
alaing | actually I just had putty "hang" on me as well | 22:19 |
alaing | i went into /var/log/ and dir dir and it only list about 3 items and then stopped | 22:19 |
alaing | I cant escape it. | 22:20 |
alaing | looks like I have to reset the session | 22:20 |
holstein | alaing: all i have been basing my comments on is a fully connected and fucntioning ssh connection from putty | 22:20 |
holstein | i think you might have issues server side, or other issues with your connectitivy | 22:20 |
theriwolf | Removing sendmail-bin ... | 22:24 |
theriwolf | /var/lib/dpkg/info/sendmail-bin.prerm: 91: /var/lib/dpkg/info/sendmail-bin.prerm: invoke-rc.d: not found | 22:24 |
theriwolf | dpkg: error processing sendmail-bin (--remove): | 22:24 |
theriwolf | subprocess installed pre-removal script returned error exit status 127 | 22:24 |
theriwolf | Any idea how to fix this? | 22:24 |
sarnold | theriwolf: invoke-rc.d is supplied by the sysv-rc package -- is that installed? | 22:25 |
theriwolf | I need to install a package to remove a package? | 22:26 |
theriwolf | it is installed yes | 22:27 |
sarnold | theriwolf: is there anything funny with ls -l /usr/sbin/invoke-rc.d ? | 22:27 |
theriwolf | hm.. | 22:28 |
theriwolf | updating that package helped | 22:28 |
alaing | thanks for your help anyway guys | 22:29 |
alaing | I'll try a few more things | 22:29 |
keithzg | Arghh, this is driving me crazy. One of my servers has entirely lost the ability to resolve names, despite having "dns-nameservers" defined with the same internal network nameserver that all the other servers are using just fine. | 23:51 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!