/srv/irclogs.ubuntu.com/2010/11/29/#ubuntu-server.txt

=== cs278^kinslayer is now known as cs278
rougeleafHow do I setup ownership of a folder, so when a user via ftp or webaccess creates a folder it is not root? Every time a FTP or www-data user makes a new folder it is owned by root01:19
twbYou can't.01:21
rougeleafSo every time they make a file I have to go to command line and chmod to give them permission?01:23
twbOr fix your FTP server.01:23
rougeleafHow can I go about that?01:24
twbMy preference would be to stop using FTP altogether and start using SFTP01:24
PatrickDKsounds like your using ftp as root01:25
PatrickDKcause it makes the files owned by the user01:25
PatrickDKand so the user would have to be root01:25
PatrickDKrunning ftp and web as root?01:25
rougeleafI made a new user for it01:25
PatrickDKyou have the sticky bit on for the parent dir?01:26
twbI don't think the sticky bit does what you think it does.01:26
rougeleafI don't know sticky01:26
PatrickDKI think I'm thinking of group sticky01:26
PatrickDKnot sticky :)01:27
PatrickDKthe suid/sgid bits for directory01:27
rougeleafHow do I check how the programs are running?01:27
rougeleafrather what user they are running under01:28
PatrickDKnormally via ps axu01:28
PatrickDKbut depends01:28
PatrickDKlike ftp normally will run as root, and change to the user that logs in01:28
rougeleafI don't see the proftpd, but apache is running under www-data01:31
rougeleafthere it is... It is running under proftpd for user01:34
=== Ayrton` is now known as Ayrton
eriksson25Hi, how can I set so that a folder created in a sub folder gets its rw persmisson for the group automaticly01:50
eriksson25Anyone in that could give a hint?02:01
qman__eriksson25, umask02:10
qman__depending on how you create the subfolders, there are ways to force the create mask02:11
eriksson25Well, It one folder /hdd/temp And my user eriksson creats folders there automaticly. They are created with 744 permissions. But I want them to be 777. How would I set that up?02:13
qman__you could set your umask, but that will affect things globally02:14
qman__the best way would be to configure whatever it is that is creating them to set the permissions the way you want02:15
eriksson25how do you meen globaly? is umask efecting everything? not just one folder and sub folders?02:15
qman__setting your umask changes the default permissions for all files created by your user02:16
eriksson25Ohh, oki I see.02:16
eriksson25Well, its rtorrent making this subfolders.02:17
eriksson25Well, its time to sleep, but will take a look closer to umask tomorrow. Thanks for the help.02:19
qman__ah, I had a similar issue with torrentflux02:19
qman__I ended up setting a cron job to change the group periodically02:19
qman__there's definitely a better way, I just didn't bother to dig02:20
eriksson25=)02:20
=== Guest9149 is now known as squishy
Psi-JackDuring setup of Ubuntu 10.04.1, I setup iSCSI, not for the /, but for /home. Since doing that, the network setup completely ignores /etc/network/interfaces and uses DHCP instead of the static IP I specifically assigned it.02:49
=== EvilPhoe- is now known as EvilPhoenix
twbPsi-Jack: "set up iscsi" how?03:15
twbPsi-Jack: also pastebin "cat /etc/network/interfaces; ip l; ip a; ip r"03:15
Psi-JackFrom the disk manager during installation.03:15
Psi-JackAs I said, /etc/network/interfaces is correct, I gotta run to work, but I can make a screenshot of the actual kvm screen of the bootup, which shows what's going on.03:17
twbDid you do the install using the server CD?03:17
Psi-JackYep03:17
twbI haven't dealt with iscsi before; I might need to grovel through the code in places in /usr/share/initramfs-tools/03:17
Psi-JackWhat's a good quick image paste site? ;)03:20
twbNFI; I don't do images as a rule03:21
twbWith kvm -console or -nographic or ptys, you can get its output as text.03:22
* Psi-Jack shrugs. "Can't really give you the exactness that I need then. This is a kvm guest, and I have a snapshot of the kvm boot up process.03:22
twbPsi-Jack: no problem; I'll just go back to what I was doing :-P03:23
Psi-JackYou do that.03:23
Psi-Jack*coughs*jerk*coughs*03:23
twbWell, yes.03:27
twbThe nice thing about being a volunteer is I don't have to be polite.03:28
euphoria1how do install wireles tools when i have no internet connection on ubuntu-server04:37
ruben231hi guys is it possible like for ruben user my home directory is MIR3 another folder..04:40
ruben231because if i creatre user ruben the home directory will still be like ruben also...is it possible to rename but still home direcoty of ruben..?04:41
twbruben231: I don't understand the question.04:47
Psi-JackAnd no, twb, you don't /have/ to be polite, but it would sure be nicer. I mean, if you don't want to help, volunteer, why the hell bother attempting and end up being a douche about it? Seriously.05:01
twbPsi-Jack: plonk.05:02
Psi-JackWhat I am experiencing is obviously a VERY serious bug in Ubuntu 10.04.1, the way it's designed or what it does specifically during setup to cause this issue.05:03
Psi-JackIt only happends WHEN I setup iSCSI during the partitioning phase of the installation. If it's done afterwards, it doesn't happen.05:03
Psi-JackDone post-install that is, manually installing open-iscsi, etc.05:03
cappicardhey folks. i'm trying to get xen to work in ubuntu maverick.  If I follow the instructions, i dont get the initrd created unless i do mkinitramfs. And when I boot, i get a kernel panic.05:29
cappicardduring make linux-2.6-pvops-install, I get dpkg: version '/boot/xen.gz' has bad syntax: invalid character in version number05:30
Psi-Jackcappicard: Xen is no longer really supported. Recommend kvm.05:38
=== squishy is now known as rbniknej
=== rbniknej is now known as jenkinbr
=== jenkinbr is now known as squishy
veovis1Can anyone please recommend a command line application to convert flacs to both mp3 and aac?  One application for each task would be fine as well.  I want to point it at my music folder, have it read the subdirectories and convert everything in them, and put the results, with the same structure, in an aac folder and an mp3 folder respectively.05:42
MrPPShi all, apparently Ubuntu's php packages are still running a vulnerable version? < php v5.3.3 i believe06:02
MrPPSis this the case?06:02
andolMrPPS: What vulnerability would that be?06:05
lifelessandol: 'php'06:05
andollifeless: Yes, but I have a feeling that MrPPS is referring to something more specific.06:06
=== reisi_ is now known as joonas
=== joonas is now known as reisi
meatflagMrPPS: my php5 package is showing 5..2-1ubuntu4 as the version.06:10
MrPPSmeatflag, andol: php 5.3.2 and before are known to have multiple vulns, including RCE06:10
andolMrPPS: Yes, but say Ubuntu 10.04 for example. It doesn't provide PHP 5.3.2. It provides 5.3.2-1ubuntu4, which is PHP 5.3.2 plus a set of security fixes.06:14
ajmitch_MrPPS: security fixes are backported & applied to 5.3.206:14
MrPPSandol, ajmitch_ - thanks for letting me know, i wasn't aware of the situation/setup06:16
MrPPSmuch appreciated, and thank you for your time!06:17
cappicardPsi-Jack, there. kvm is running so much better. I'm now installing XP into it. kvm is on my server. I Have the virtual manager on one of my desktops.06:18
Psi-Jackkvm IS much better, in every way.06:18
ruben231hi guys if i have a sers whihc belongs to the 2 groups - how do i specify the home directory..of taht user..?06:18
cappicardhow's it with actual usb devices?06:19
Psi-JackThat's why Red Hat is going with it, Canonical is too.06:19
Psi-Jackcappicard: How's your IOMMU support?06:19
cappicardwell, i don't know. i have a phenom quad4. how can i check?06:19
cappicardah ok. i see it. i should be fine. looked in /etc/apparmor.d/abstractions/libvirt-qemu06:22
cappicardxp setup is taking abit longer than normal, but it's copying files.06:23
twbIs there any real alternative to puppet (for lucid)?07:11
joschitwb: depends on what you want to do and why exactly you are looking for an alternative07:12
twbI want configuraton management07:13
joschitwb: e.g. cfengine3 is also in the package tree07:13
twbpreferably something that doesn't feel like it's maintained by cowboys07:13
twbI guess I should try cfengine; the only reason I haven't is because everyone seems to enthusiastic about replacing it with puppet or chef07:14
joschitwb: well, take a look at cfengine3 or bcfg2 then07:14
twbThere's also landscape, but it's no good for me because I can't control the server side07:14
joschitwb: landscape has a different scope07:15
twbhttp://en.wikipedia.org/wiki/Comparison_of_open_source_configuration_management_software07:18
twbubuntu-serverguide doesn't endorse any implementation07:22
mvohey, good morning. I'm working on screen integration for the release upgrader, and have a (hopefully simple) question. when doing "screen ls" (as a example) it will run but then print "[screen is terminating]". is there a way to keep it from cleaning the screen on exit?08:33
lifelessmvo: the man page is usually win08:43
lifelessmvo: I can't see anything there08:44
twbmvo: set zombie mode on08:46
mvolifeless: thanks, I looked there first but did not find anything08:47
mvotwb: thanks! let me try this08:47
twbYou may prefer something designed for that role, e.g. nohup script -c 'f x y' &, where f is your program and x and y are its arguments.08:47
mvotwb: right, the "ls" was a bad example, my idea is to run the text-mode release upgrader inside screen and that requires that the user is able to interact with the window08:52
twbWhy inside screen?08:53
mvoas a safeguard if e.g. network drops during the upgrade briefly08:55
twbFair enough08:59
twbI guess zombie is most appropriate08:59
mvothanks twb, zombie works nicely09:03
uvirtbot`New bug: #682581 in mysql-dfsg-5.0 (universe) "package mysql-server-5.0 5.1.30really5.0.75-0ubuntu10.5 failed to install/upgrade: le sous-processus post-installation script a retourné une erreur de sortie d'état 1" [Undecided,New] https://launchpad.net/bugs/68258109:06
=== ihCiFriS is now known as SirFiChi
twbIn squid, the default appears to be "cache up to 100MB"09:20
twbBut du -smx /var/spool/squid shows it using 116MB when it filled the disk09:21
twbSo: WTF?09:21
veovis1Sorry about the frequent re/disconnects from veovis_muaddib.  I'm trying to set up ZNC.  I have it working for the most part, but for some reason the webadmin isn't working.  I'm connecting on the port I assigned, and I keep getting an error saying that the server unexpectedly dropped the connection in my browser.09:27
twbTo answer my own question: looks like the problem was dropping CAP_DAC_OVERRIDE and CAP_DAC_READ_SEARCH before starting upstart09:32
twbSo squid was creating spool dirs with "rwxr-x--- proxy proxy", which it wasn't able to search/delete.09:33
twb"adduser root proxy" fixed it09:33
twb(That and dialling the cache cap down to 50M, leaving 50M to 70M of the disk unused.)09:34
uvirtbot`New bug: #682592 in mysql-dfsg-5.1 (main) "package mysql-server-5.1 5.1.37-1ubuntu5.5 failed to install/upgrade: subproces installed post-installation script gaf een foutwaarde 1 terug" [Undecided,New] https://launchpad.net/bugs/68259209:47
=== Makere_ is now known as Makere
milliganDoes anyone here have any experience with amavisd-new? I'm trying to set @spam_kill_level_maps = (read_hash("/etc/amavis/conf.d/kill_level") .. but it appears to just ignore the hashes I define in the file .. ? The content of my kill_level file is { "user@domain.tld" => 5.0 }.10:03
kaihi folks10:06
kaion what basis does landscape decide that a system requires a restart?10:06
lieuwe[49ft] i'm trying to get ampache set up, but it says "Ampache.cfg.php Exists [ERROR]" and "Ampache.cfg.php Configured? [ERROR]", any idea what i'm doing wrong10:11
lieuwe[49ft]?10:11
=== jjohansen is now known as jj-afk
lieuwe[49ft]hey, i installed ubuntu-server with php support, but it doesnt seem to work, it just gives 404s for each and every php file11:02
mrmistthat would normally suggest that it's not looking where you think it should be looking for the files11:04
milliganDoes anyone here have any experience with amavisd-new? I'm trying to set @spam_kill_level_maps = (read_hash("/etc/amavis/conf.d/kill_level") .. but it appears to just ignore the hashes I define in the file .. ? The content of my kill_level file is { "user@domain.tld" => 5.0 }.12:51
pmatulismilligan: missing semicolon at the end?12:54
milliganpmatulis, guessing, or does each line require a semicolon ?12:54
milliganor after the } ?12:54
pmatulismilligan: yes12:55
pmatulis...5.0};12:55
milligantesting12:55
milliganIf that's the solution, I don't know if I should celebrate or kill myself12:56
pmatulismilligan: you can also start it in debug mode.  maybe will help?12:56
milligandidn't help :(13:00
pmatulismilligan: actually, i believe you always need the following form:13:03
pmatulis@spam_kill_level_maps = (\%some_hash, $sa_kill_level_deflt);13:03
milliganhow do I define %some_hash ?13:04
pmatulismilligan: like you did before13:04
pmatulismilligan: but the file would contain "user@domain.tld 5.0" (no quotes)13:05
milliganI've tried writing one entry pr line, but that generates errors.13:05
milliganso, instead of \%some_hash, I would put @spam_kill_level_maps = (\read_hash("myfile"), $sa_kill_level_deflt); ..and put one entry pr line, space separator for the score?13:06
pmatulismilligan: yeah13:07
pmatulismilligan: you can hardcode the default value if you want (or use the variable)13:07
pmatulis($sa_kill_level_deflt)13:08
milliganyep. doesn't accept one entry pr line with space though13:08
pmatulismilligan: what version are you running?13:08
milliganamavisd-new-2.6.413:08
milliganthe only syntax I have made work is 'user@domain.tld' => X.X, where x = score.13:09
pmatulismilligan: maybe try without an external file for now13:10
milliganwell, "work" is relative :P13:10
pmatulis@spam_kill_level_maps = (13:10
pmatulis{ '.domain1.com.au' => $sa_tag2_level_deflt, '.domain2.com.au' => $sa_tag2_level_deflt }, \$sa_kill_level_deflt13:10
pmatulis);13:10
=== fij0_ is now known as fij0
milliganthat works13:12
pmatulismilligan: ok, good13:12
milliganAny idea why the read_hash doesn't work though ?13:13
milliganMaybe missing some perl module or something ?13:14
pmatulismilligan: did you try starting in debug mode?13:14
milliganthe config is set to debug mode ..13:14
milliganplus this is a live server, so there's quite a lot of traffic on it :p13:14
pmatulismilligan: yeah, restarting amavisd-new constantly is not great then13:15
milliganI guess there's no significant gain in having the pr user rules in a separate file .. ? I would be fine maintaining an array in my config file for the few times it's needed?13:15
pmatulismilligan: it's a matter of organization.  subjective13:16
milliganyep13:17
pmatulismilligan: but i know the amavisd-new ML is pretty helpful.  i would send your question there13:17
milliganIs there any way I could easily maintain such a list via a database, without involving creating separate classification groups .. ?13:18
milliganyeah, I've signed up for the ML. Waiting for approval :)13:18
pmatulismilligan: i'm pretty sure you can put anything in MySQL13:18
milliganthat's what I thought as well .. just wondering if you know from the top of your head to do it for this specific need :)13:18
pmatulismilligan: no, i never did it13:18
patdk-wkseperate classification group?13:19
milliganit would be great to have a dynamically maintainable list, instead of having to restart amavis for every user that wants personal settings.13:19
patdk-wkI maintain per domain settings in mysql for amavisd13:19
milliganI need pr user .. and the server is strictly relaying. Just a filter, nothing more.13:20
patdk-wkI also have amavisd rip out a whitelist based on the horde address book :)13:20
patdk-wkwell, amavisd documentation is all about per user database usage13:20
milliganI have been reading up on it lately .. but I found mostly stuff involving pretty heavy config changes to start using it.13:21
patdk-wkjust write your own sql, and it's all good13:21
milliganI can write my own query for each lookup .. ?13:22
patdk-wkhttp://pastebin.com/KxxFDSCr13:24
patdk-wkpretty much all you need to adjust the basic stuff per user, or domain, or whatever you put in the address field13:24
milliganFair enough .. and where do I tell amavis to do a DB lookup ?13:26
patdk-wkok, you really need to read the amavisd docs13:26
cappicardhey folks. when i try installing xp pro, kvm is freezing when i try booting it after text-based setup completes.13:38
=== cemc_ is now known as cemc
andyhey guys what do you guys recommend for server monitoring14:06
andyi am currently looking at ebox14:06
Piciandy: Monitor or control?14:07
andyPici, monitor14:07
jpdsNagios/sysstat/cacti/munin/...14:07
jpdsI personally like sysstat.14:07
Piciandy: For long term stuff I use munin/cacti14:07
andyhaha thans again jpds14:07
andyPici, by long term stuff you mean for servers running for a long time?14:08
Piciandy: For analyzing trends over a long period of time.14:09
andyPici, so you use multiple softwares to monitor and control. Ebox (zentayl) claims to be like an all in one14:10
Piciandy: I don't use any dashboard for server control.  I prefer the console.14:11
=== yann__ is now known as Yann2
hggdhmdeslaur: ping re. test of JDK14:34
mdeslaurhggdh: hi!14:34
hggdhmdeslaur: morning sir. Do you still need it tested (AMD64)?14:35
mdeslaurhggdh: Daviey is currently testing it. Thanks!14:35
hggdhmdeslaur: roj, sorry for being on vacation ;-)14:36
Davieyslacker :)14:36
mdeslaurhggdh: don't apologize for that! :)14:36
hggdhDaviey: slacker, and happy!14:36
Daviey:)14:36
* mdeslaur likes turkey too :)14:36
hggdhDaviey: BTW...14:36
zuli like turkey in october14:36
andyhey guys. I need to run diagnostics on a hard disk which may be faulty on one of my server boxes. Can you guys recommend which tool to use?14:36
hggdhDaviey: do you want me to re-run the euca update?14:36
Davieyhggdh: might be a good idea, did you see my comments?14:37
Daviey(on the bug)14:37
hggdhDaviey: yes, I did. I really wonder who is caching it...14:37
hggdhwill run it again14:37
Davieyhggdh: I'd also like you to check the From field, please.14:38
Davieyandy: "badblocks" -- might be the tool you want.14:39
patdk-wkandy, well, smartctl, then badblocks14:40
patdk-wkbut first I would back it up probably with dd_rescue14:40
andythanks guys14:40
hggdhDaviey: will do14:41
uvirtbot`New bug: #522725 in bind9 (main) "host crashed with signal 7 in dns_rdataset_init()" [Low,Incomplete] https://launchpad.net/bugs/52272514:42
burntoutlamphey folks, I just set up a samba file share and I have force group 770 etc all the way I wanted on Ubuntu 10.04 and when users of a group created files and folders everything was fine. now, I have the same access denied issue. as I did before groupshare15:28
burntoutlampgroup force*15:29
=== txwikinger2 is now known as txwikinger
=== dannf` is now known as dannf
=== jj-afk is now known as jjohansen
uvirtbot`New bug: #682736 in samba (main) "package samba-common 2:3.4.7~dfsg-1ubuntu3.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/68273616:41
=== cs278||work is now known as cs278|work
=== NG_ is now known as ng_
XeNoT_anyone knows how to bind iSCSI on 1 specific NIC?17:11
SpamapSXeNoT_: for listening?17:12
XeNoT_for connecting17:13
XeNoT_at the moment it keeps trying to connect to the target with all my interfaces which is annoying17:13
syn-ackSpamapS, Got a second for a /pm?17:14
=== ng_ is now known as NG_
=== NG_ is now known as ng_
=== oubiwann is now known as oubiwann_
=== oubiwann_ is now known as oubiwann
=== oubiwann is now known as oubiwann_
zulttx: ping18:12
SpamapSzul: <accent>le pong!</accent>18:13
arrrghhhmaybe you guys will be the better crowd to ask...18:16
arrrghhhi have a failing hard disk that i'm trying to recover data from for a friend, and it's spewing a ton of stuff into my logs... it actually filled my root partition, because /var encompasses it...18:17
arrrghhhis there any way to get the logs to calm down while i trouble shoot the disk?18:17
SpamapSarrrghhh: stop rsyslogd18:17
arrrghhhoh ok18:17
arrrghhhand can i just delete kern.log and syslog.1, or should i just append nothing to the file...?18:19
arrrghhhi'd rather not reboot if i can help it...18:20
SpamapSarrrghhh: safer to just purge them18:20
arrrghhhk18:20
=== xfaf is now known as zul
SpamapSarrrghhh: meaning cp /dev/null /var/log/kern.log18:20
arrrghhhah ok18:20
arrrghhhi was going to > /dev/null18:20
arrrghhhbut i guess they're both the same eh?18:20
SpamapSarrrghhh: though I *think* rsyslogd will recreate them, I don't know that for 100% sure18:20
zulSpamapS: est-que tu savois le test due likewise-open?18:20
SpamapSarrrghhh: yeah same thing ;)18:20
arrrghhhawesome.  thanks :D18:21
SpamapSzul: non, merde!18:21
zulSpamapS: sacre bleu!!!18:21
arrrghhhlol18:21
highvoltagelol!18:21
SpamapSzul: c'est la vie18:22
zulSpamapS: pas rien18:22
highvoltage(I learned lots of new french swear words recently if anyone needs it)18:22
zulhighvoltage: quebecqouis french or french french18:22
highvoltagezul: well, quebecqouis french (but some french french too)18:23
zulhighvoltage: oh so like collis and tabernac?18:23
arrrghhhcrap, i keep getting permission denied even with sudo..?18:24
arrrghhhsudo cat /dev/null > /var/log/syslog.1, then bash: /var/log/syslog.1: Permission denied18:24
arrrghhhi've never had to blow up my logs before.18:25
SpamapSarrrghhh: sudo is just calling cat .. your shell is doing the >18:25
arrrghhhoh right.18:25
SpamapSarrrghhh: sudo sh -c 'cat > blah'18:25
arrrghhhi see why your command is more straightforward now :P18:25
jpdsarrrghhh: echo "" | sudo tee /var/log/syslog.118:26
arrrghhhjpds, cool.  i think i'm good now...18:27
air^or just "sudo -s" and it will give you an root shell :)18:28
arrrghhhah right18:28
arrrghhhso many ways to skin a cat...18:28
arrrghhh:D18:28
air^indeed :)18:28
resnoim adding anew drive to my ubuntu server, how do i go about getting it setup to be used as a /home drive?18:41
SpamapSresno: you'll need to partition it first, then add a filesystem, then sync the existing /home data onto it, and then add it to /etc/fstab18:47
SpamapSresno: unless you're using LVM, if thats the case, its a little more complex18:48
resnoi dont believe i am using lvm18:48
resnoi want to continue using the current drive... just add this one on SpamapS18:48
SpamapSresno: right, so first step is partitioning which you can do with parted or fdisk18:49
resnoright, ive had a ltitle experince with that18:50
resnoSpamapS: should i use ext3?18:50
resnoerr, ext418:51
SpamapSresno: for simplicity sake, ext4 is probably the right choice18:55
euphoria1how to get wifi tools when i have no internet? on ubuntu server18:55
euphoria1?18:55
euphoria1damn18:55
SpamapSeuphoria1: USB key?18:55
euphoria1yes18:55
euphoria1its usb18:55
SpamapSCromulent: ++ for that nick. :)18:55
Cromulentha :)18:56
resnoSpamapS: im checking out the /etc/fstab file. do i need the uuid when i add the new drive?18:56
euphoria1SpamapS ?18:56
euphoria1weird18:57
euphoria1no one uses ubuntu server18:57
euphoria1all guides say apt get apt get but18:57
SpamapSeuphoria1: I'm saying, put them on a USB key18:57
euphoria1ok18:57
euphoria1stupit ubuntu server18:57
euphoria1no wifi on ubuntu server18:58
euphoria1weird and stupido18:58
SpamapSresno: yeah, you can get it after you mkfs with dumpe2fs -h /dev/XXX18:59
SpamapSeuphoria1: wifi on a server? ;)18:59
SpamapSeuphoria1: do you have broadcom wifi?18:59
euphoria1i dont have another internet source18:59
euphoria1im sharing internet with guy next door18:59
euphoria1so no other solutions bro18:59
resnoSpamapS: broadcoms are the worest :(18:59
resnoSpamapS: so, should i make the option "/home" like the current drive? or how do i tell it that it can spill onto the new drive?19:00
SpamapSresno: you should first mount it somewhere else and copy all of the files with rsync19:01
SpamapSresno: so, 'mount /dev/XXX /mnt' then 'rsync -a /home/ /mnt/'19:02
euphoria1SpamapS how to access usb key19:02
euphoria1on ubuntu server bro19:02
SpamapSresno: then when you've verified its all there, mv /home /home.old and mkdir /home and mount -a19:02
SpamapSeuphoria1: 1st, not your bro. ;) second, it should be mounted automatically I think.. not sure about on a server.19:03
resnolol19:03
euphoria1pff19:03
euphoria1SpamapS19:03
euphoria1stupido19:03
euphoria1just like server :))19:03
resnoSpamapS: im curious why should i rsync everything to that drive?19:04
SpamapSeuphoria1: thanks for letting me know that you don't want any more help from me.19:05
SpamapSresno: because when you mount it, it will overlap the old stuff, so it will all disappear19:06
resnoSpamapS: ah... really?19:08
qman__SpamapS, nope, no automount on server, have to do it manually19:08
qman__that's provided by gnome/KDE apps19:08
wieshkaey - how can i allow user foo to run /etc/init.d/bar with /etc/sudoers file? foo ALL=NOPASSWD:/etc/init.d/bar ?19:10
SpamapSqman__: ah that makes sense19:10
qman__wieshka, yes19:11
qman__let me find the guide19:11
wieshkahmmm, still does not works - do i need to add maybe something to $PATH ?19:13
qman__user      ALL = (ALL) NOPASSWD: /etc/init.d/bar19:14
qman__full guide http://www.sudo.ws/sudo/sudoers.man.html19:14
wieshkaqman__ thx, i will give a try19:14
wieshkai was close :)19:14
wieshkahuh, it still asks for password19:16
wieshkaafter closing visudo screen, sudoers file is reloaded and active ?19:16
qman__yes19:16
wieshkastrange19:16
qman__you may need to re-log19:16
qman__it should just take effect but I would try that before banging your head against the wall19:16
wieshkayeah, i already tried even new ssh session19:17
RoyKqman__: shouldn't be necessary to re-login19:17
wieshkaso my line is zabbix ALL=(ALL) NOPASSWD: /etc/init.d/zimbra19:17
RoyKwieshka: is zabbix listed other places in sudoers?19:18
wieshkawhno19:18
wieshkano19:18
wieshkait last on only empty19:18
wieshkait is last and only entry19:19
RoyKk19:19
wieshkaI just wrote .sh script for zabbix agent what monitors via zabbix Zimbra services for me19:20
wieshkabut now i have problems with running this script19:20
RoyKwieshka: perhaps it'll need the full command with arguments - I have solved that with a shell script that does restarts19:20
wieshkaas user "zabbix"19:20
RoyKicinga  ALL=(ALL) NOPASSWD:/usr/local/bin/tw_cli, NOPASSWD:/usr/local/icinga/libexec/restart_mail_system.sh19:20
qman__according to the manual, the commands can simply be comma separated19:21
qman__don't need two NOPASSWD:s19:21
wieshkaRoyK ok - lets try little workaround with shell script19:22
RoyKqman__: oh, ok19:22
wieshkaso, according to tips and guide this line should allow to user zabbix run this to shell scripts with no asking passwword: zabbix ALL=(ALL) NOPASSWD:/etc/zabbix/zimbra/zimbra_status.sh, /etc/zabbix/check_zimbra.sh19:28
wieshkai am correct ?19:28
ruben23hi guys i want to create different directory with that setup of permission on user, any siggestion steps how to implement it on my case -------------------->http://i51.tinypic.com/24pcadu.jpg19:53
zulhggdh: can you bring up that kernel bug in the weekly meeting?20:09
hggdhzul: yes, I can and will. Just tested with today's ISO, no luck20:24
zulfreaking hell20:24
hggdhzul: this means no testing for alpha1 as of now :-(20:24
RoyKwhich bug is this?20:25
hggdhhttps://bugs.launchpad.net/ubuntu/+source/linux/+bug/67624520:26
uvirtbot`Launchpad bug 676245 in linux "Broadcom NetXtreme II BCM5709 -- no network found on ISO install" [High,New]20:26
hggdhRoyK: ^20:26
RoyKk20:27
solid_snakewhat is everything that I need to have an online webserver?20:32
Pici!lamp20:32
ubottuLAMP is an acronym for Linux-Apache-MySQL-PHP. However, the term is often used for setups using alternative but different software, such as Perl or Python instead of PHP, and Postgres instead of MySQL. For help with setting up LAMP on Ubuntu, see  https://help.ubuntu.com/community/ApacheMySQLPHP - See also the Server CD installation process (different in Edgy+)20:32
solid_snakePici, so using tasksel to install that should do fine? correct?20:33
PiciShort version: sudo tasksel install lamp-server20:33
Picisolid_snake: Yes20:33
solid_snakeNice!20:33
RoyKsolid_snake: for a simple webserver, apache or lighttpd will do, lamp is mysql+php in addition to that20:35
syn-acklighttpd is actually one heck of a webserver too.20:45
syn-ackAnymore I prefer it over Apache in a lot of cases.20:45
SpamapSlighttpd sits somewhere between apache and nginx in the scalability game.. but its code is actually readable, so it wins the maintenance war against nginx IMO. ;)20:46
syn-ackhaha20:46
syn-ackSpamapS++20:46
=== oubiwann_ is now known as oubiwann
uvirtbot`New bug: #682865 in vsftpd (main) "memory leak in vsftpd" [Undecided,New] https://launchpad.net/bugs/68286521:31
=== wqapol_ is now known as wqapol
DavieySpamapS: Does nginx still not have a code repository ?21:38
SpamapSDaviey: dunno about that, I just recall that it was developed mostly in secret.21:40
SpamapSDaviey: its been crazy popular, so I'd be surprised if it hasn't gotten a little better since 18 months ago when I last checked.21:40
DavieySpamapS: hope so!21:42
uvirtbot`New bug: #600783 in euca2ools "euca-bundle-vol, euca-bundle-image use invalid sha1sum" [Undecided,Fix committed] https://launchpad.net/bugs/60078321:46
=== uvirtbot` is now known as uvirtbot
ZacharyNewbhi22:37
IrishWristwatchhi22:38
ZacharyNewbI need a bit of help22:38
SpamapSZacharyNewb: we can probably help you, maybe you can ask a specific quesetion?22:39
ZacharyNewbI'm a rather new user to ubuntu22:39
ZacharyNewbI've install server22:39
ZacharyNewbgot the firewall working22:39
ZacharyNewbweb server22:39
ZacharyNewbprint server22:39
ZacharyNewbhowever, trying to setup ftp I'm having trouble with permissions22:40
ZacharyNewbvsftpd22:40
ZacharyNewbis what I'm using22:40
ZacharyNewbit's not allowing users to creates folders22:40
ZacharyNewbI get a 550 error22:40
ZacharyNewbin the ftp client22:41
SpamapSZacharyNewb: do you get any errors in /var/log/daemon.log and/or /var/log/syslog ?22:42
eriksson25Hi, anyone using rtorrent and know how you make it to create folders with diffrent permissons.22:43
ZacharyNewbThat's a no.22:44
ZacharyNewbThere are log files, but they're blank with nano22:44
IrishWristwatchZacharyNewb, does the user you are logging in with have the proper permissions in the directory you're writing to?22:45
IrishWristwatchyou can check the permissions with ls -l22:45
IrishWristwatchand you can change the permissions with sudo <user>:<user> (-R for recursive) /path/to/directory22:45
ZacharyNewbI did have to chown the folder to be able to write files to it22:47
ZacharyNewbbut I can't make folders22:47
ZacharyNewbusing ls -l22:47
ZacharyNewbI get "drwxr-sr-x" for the folder22:47
ZacharyNewbmy folder in blue text22:48
IrishWristwatchbut it is owned by the user you're logging in with your ftp22:48
ZacharyNewbah, no22:48
ZacharyNewbum22:48
ZacharyNewbyes, actually22:48
IrishWristwatchI see22:48
IrishWristwatchWhat is this FTP for anyway, are you sure you want to use something that's that insecure?22:49
IrishWristwatchunsecure*22:49
ZacharyNewbit's a personal server, I'm okay with this for now for certain means22:49
ZacharyNewbactually22:50
ZacharyNewbwhat would you suggest that's easy to set up?22:50
ZacharyNewbI can't get any friggin torrent daemon to work22:50
ZacharyNewbI use my network, Windows 7 to connect to the server using putty22:51
ZacharyNewbftp seems like the easiest way to manage large amounts of folders/files22:51
IrishWristwatchyou want a nice torrent server with a webui I suggets deluge22:52
IrishWristwatchdeluge + deluge-webui22:52
ZacharyNewbI was trying deluge22:52
ZacharyNewbbut it doesn't seem to work22:52
patdk-lapzachary, scp or sftp :)22:52
ZacharyNewbsudo apt-get install deluge deluged deluge-webui22:53
ZacharyNewband nothing, can't access it22:53
ZacharyNewbI know it was installed, but completely unable to interface, do ANYthing with it22:53
IrishWristwatchZacharyNewb, patdk-lap is right, SFTP is the best way to go22:55
IrishWristwatchIt uses the OpenSSH server to encrypt your file transfers.22:55
IrishWristwatchUnlike FTP, which everything including the username and password are transported in cleartext.22:55
ZacharyNewbYes, I know, susceptible to man in the middle22:56
ZacharyNewbbut I'm a home user22:56
IrishWristwatchI know, but still.22:56
IrishWristwatchIt's the principle of the thing.22:56
IrishWristwatchAlso it's in my opinion easier to set up.22:56
IrishWristwatchAs for the deluge webui, http://blog.bsodmike.com/articles/installing-and-configuring-deluge-1-0-7-in-ubuntu-8-10-with-web-ui-interface/22:57
ZacharyNewbMy problem is that these things seem to be very hard to setup22:57
IrishWristwatchThat is the guide I followed a few years ago to set it up.22:57
IrishWristwatchAnd it works flawlessly.22:57
ZacharyNewbI don't see how any of this is user intuitive22:58
IrishWristwatchAnd with Deluge you can make an autoadd directory, so all you have to do is save a torrent file to your autoadd directory over something like a Samba share22:58
ZacharyNewbsounds good22:58
ZacharyNewbFirst thing first22:59
ZacharyNewbwhat would you suggest for sftp?22:59
SpamapSSo you guys are mostly just doing this to share, what, ISO's of free software?22:59
IrishWristwatchSFTP is already installed if you have OpenSSH server installed.22:59
jiboumanssmoser: ping?22:59
IrishWristwatchBut, for a client I recommend Filezilla22:59
IrishWristwatchWhich is available for Linux/Win/Mac23:00
IrishWristwatchYou log in using the same credentials as your Unix user.23:00
jiboumanssmoser: have a moment to help me debug that cloud-init thing we spoke about last week?23:02
IrishWristwatchNow I don't know if you want to do this, since you said this was only a local server, but if you want to add extra security you can setup a chroot for the user, which pretty much locks them into their home directory so they can't browse the root directory from their client23:02
zacharynwebsorry about that23:02
uvirtbotNew bug: #682898 in gwt (main) "Sync gwt 1.6.4-1 (main) from Debian unstable (main)" [Wishlist,New] https://launchpad.net/bugs/68289823:02
zacharynwebclear23:02
zacharynwebIrishWristwatch: What would you suggest for sftp?23:02
IrishWristwatchserver or client?23:02
=== FireCrotch is now known as nickmoeck
IrishWristwatchGUI Client, FileZilla, CLI Client, just plain "sftp"23:03
klaaslftp :)23:03
zacharynwebIrishWristwatch: Newb Question, does the server need another daemon installed for me to use filezilla to connect to it with sftp?23:04
IrishWristwatchno, the sftp daemon is actually OpenSSH server23:04
zacharynwebI like filezilla23:04
zacharynwebawesome23:04
IrishWristwatchSFTP is FTP over SSH23:04
zacharynweband putty provides the ssh23:05
zacharynwebI have filezilla installed and putty23:05
zacharynwebhow would I make this work?23:05
IrishWristwatchputty provides ssh, but you don't need putty for sftp23:05
IrishWristwatchfilezilla does it all23:05
zacharynwebawesome, I'll try it23:05
IrishWristwatchzacharynweb, you should also check this out if you want to add extra security23:06
IrishWristwatchhttp://www.ericstockwell.com/?p=5423:06
zacharynwebwhat do I need to do with filezilla to connect to my server?23:07
IrishWristwatchBecause basically, with SFTP the user could view any file he/she could with plain ssh23:07
IrishWristwatchwhich in some cases causes security problems23:07
IrishWristwatchchroot makes it so with sftp they are locked to their home directories, or directory of your choice23:07
zacharynwebah23:07
zacharynwebI use chroot23:07
IrishWristwatchand are not free to roam your entire hard drive23:07
IrishWristwatchah, perfect then23:08
zacharynwebI noticed that problem.23:08
IrishWristwatchyou can make a group "sftponly" and add these users to them23:08
IrishWristwatchthen make a rule in your sshd_config23:08
zacharynwebI was making users to access the console/terminal remotely through putty23:09
IrishWristwatchah23:09
zacharynwebbt didn't want extra people, ftp users to be able to login with putty as well23:09
zacharynweband basically view the entire drive23:09
IrishWristwatchyou can change that by changing their shell23:09
zacharynwebfound the configuration file responsible for users able to connect via ssh and modified it23:10
IrishWristwatch/usr/sbin/nologin or /bin/false23:10
zacharynwebyeah23:10
zacharynwebSo what do I need to do to connect with filezilla?23:10
IrishWristwatchyou need the port number of your OpenSSH server, and the users credentials23:11
zacharynwebhave23:11
zacharynwebResponse:SSH-2.0-OpenSSH_5.5p1 Debian-4ubuntu423:12
zacharynwebError:Cannot establish FTP connection to an SFTP server. Please select proper protocol.23:12
=== ng_ is now known as NG_
IrishWristwatchdon't use quick connect23:12
IrishWristwatchgo to File > Site Manager and create it there23:12
zacharynwebsuccessful23:13
IrishWristwatch:]23:14
zacharynwebcool23:14
zacharynwebfinally, an easier way to edit text files23:14
zacharynweblol, or transfer things23:14
zacharynwebThat was indeed easier23:14
zacharynwebI'm with you, fuck FTP23:14
zacharynwebsudo apt-get autoremove vsftpd23:15
IrishWristwatchFTP is an old protocol that needs to go away.23:15
=== XeNoT_ is now known as XeNoT
zacharynwebI was using it because it felt easy23:15
IrishWristwatchYeah, and you can feel comfortable using it over the internet, no need for those passive/active mode bs, and it's as secure as SSH23:17
zacharynwebfor some reason23:18
zacharynwebusers I added using "adduser" aren't showing with the command  "users"23:18
jiboumanslooks like there's a problem with the us-east1 mirror in aws:23:20
jiboumansW: Failed to fetch http://us-east-1.ec2.archive.ubuntu.com/ubuntu/dists/lucid-updates/main/source/Sources.bz2  Hash Sum mismatch23:20
jiboumansW: Failed to fetch http://us-east-1.ec2.archive.ubuntu.com/ubuntu/dists/lucid-updates/universe/source/Sources.bz2  Hash Sum mismatch23:20
IrishWristwatchzacharynweb, what do you mean23:20
IrishWristwatchthe command "users" just show who's currently logged in23:21
zacharynwebah23:21
zacharynwebIrishWristwatch: I want to remove all the current users but two23:21
IrishWristwatcheh, don't23:21
zacharynwebdon't... know?23:22
IrishWristwatchsome of those users are "system users", which the system uses for daemons23:22
IrishWristwatchif you delete them you might break stuff23:22
zacharynwebhehe.23:22
zacharynwebI think I may have already23:22
IrishWristwatchwelp23:22
zacharynwebalright, I want to delete all but two of the users I've created23:23
IrishWristwatchif you do "cat /etc/passwd" you can see all the users on your system, as well as their shell23:23
zacharynwebdelete all the users I've created except for two I want to stay23:23
IrishWristwatchmost of these system accounts are locked anyway, so you can't log in through ssh or su23:23
IrishWristwatchDelete the users you created, or delete the users that were created with the server installation?23:23
IrishWristwatchBecause the system doesn't need the users you've created.23:24
IrishWristwatchAlso, you can explicitly deny everyone (except the users you want) from accessing ssh23:24
zacharynwebdelete what I created23:25
IrishWristwatchthat's easy23:25
IrishWristwatchuserdel user23:25
zacharynwebI created extra users for that damned ftp application, nonprivliged and blah blah blah23:25
IrishWristwatchor deluser23:25
zacharynwebIrishWristwatch: I've tried following various tutorials, or explanations online, I also can't deluge to work23:28
IrishWristwatchhttp://blog.bsodmike.com/articles/installing-and-configuring-deluge-1-0-7-in-ubuntu-8-10-with-web-ui-interface/23:28
IrishWristwatchdid you follow that one23:28
IrishWristwatchalso, did you open a port in your firewall?23:29
zacharynwebI'm inside my network right now23:29
zacharynwebeven using the network ip, I'm unable to connect, inside the firewall23:30
ikoniaIrishWristwatch: who gave you that link23:30
IrishWristwatchgoogle23:30
zacharynwebI haven't followed your recent link yet23:30
IrishWristwatchAnd it's what I used to set it up.  Why?23:30
IrishWristwatchIs it not correct anymore, ikonia ?23:30
zacharynwebwaiting for deluge and various other crap to uninstall before I follow instructions23:30
ikoniaIrishWristwatch: I just know the guy who writes that page23:31
IrishWristwatchOh, interesting.23:31
IrishWristwatchHis site went down a while back23:31
IrishWristwatchI'm glad it's now online again.23:31
IrishWristwatchzacharynweb, what user did you set it up to run as23:31
zacharynwebdon't remember23:31
zacharynwebI don't think I even got that far23:32
IrishWristwatchlol23:32
ikoniaI'm surprised he's writing it as he's not really a linux guy,23:32
IrishWristwatchzacharynweb, I don't know what to say, really.  Just follow that site to the letter and it should work.23:33
zacharynwebIrishWristwatch: Could you link me to those instructions again?  I had to refresh my irc a few minutes ago, it was cleared23:33
IrishWristwatchhttp://blog.bsodmike.com/articles/installing-and-configuring-deluge-1-0-7-in-ubuntu-8-10-with-web-ui-interface/23:33
IrishWristwatchikonia, his stuff has been helpful23:33
zacharynwebI disconnected from the ethernet cord at my dock area, it switched to wireless and reset my irc, thanks23:33
IrishWristwatchno problem23:34
zacharynwebIrishWristwatch: My server is guiless23:35
IrishWristwatchzacharynweb, that shouldn't be a problem23:35
IrishWristwatchthose instructions are all over commandline23:35
IrishWristwatchand then the gui stuff is through the web browser of your comupter23:35
IrishWristwatchsince it's a web ui23:35
zacharynwebAre you interested in photography?23:37
IrishWristwatcha little.23:38
zacharynwebFollowing your instructional link,23:44
zacharynwebWhere it says "deluged -d"23:44
zacharynwebI get the error message, "deluged is not installed"23:44
zacharynwebdo I need to install it?23:44
zacharynwebbecause it seems unusual for linux that I would have to go around searching for multiple things to install23:45
zacharynwebIrishWristwatch: problem23:46
IrishWristwatchWhat is it?23:46
IrishWristwatchoh23:46
IrishWristwatchtry23:46
IrishWristwatchsudo aptitude install deluged deluge-webui23:47
zacharynwebwhat does that do?23:47
IrishWristwatchinstalls the proper packages23:48
IrishWristwatchit seems like you're missing deludge23:49
zacharynwebrunning it again23:50
zacharynwebdeluged -d23:50
zacharynweb"There is a deluge daemon running with this config directory"23:51
zacharynweb"you cannot run multiple daemons with the same config directory set"23:51
IrishWristwatchohh, seems like it's already running23:52
zacharynweb"if you believe this is an error you can force a start by deleting /home/%user%/.config/deluge/deluged.pid.23:52
IrishWristwatchtry killall deluged23:52
zacharynweblolsy23:52
IrishWristwatchalthough23:52
IrishWristwatchyou shouldnt run it from the command line anyway23:52
IrishWristwatchyou should set up the user config file23:52
IrishWristwatchand then make the init script and start it through that23:52
zacharynwebI now just enetered "deluge -u web"23:53
zacharynweband it seems like it's frozen23:53
zacharynwebin the blackness23:53
IrishWristwatchpress ctrl+c23:53
zacharynwebthe little green box, hanging below the command I just made23:53
zacharynwebah, lol23:53
zacharynweb...23:54
zacharynweb"unable to connect"23:54
zacharynweb192.168.1.250:811223:54
IrishWristwatchlook23:54
IrishWristwatchdon't start it over the command line23:55
IrishWristwatchFirst make the /etc/default/deluge-daemon and the /etc/init.d/deluge-daemon files23:55
zacharynwebah, missed that23:55
IrishWristwatchWhen you create your /etc/default/deluge-daemon file, then specify the user you want it to run as23:57
IrishWristwatchAlso zacharynweb , the reason it was unable to connect is because when you press ctrl+c, it kills the program23:59
IrishWristwatchif you want to send a program to the background you just add an & at the end23:59

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