/srv/irclogs.ubuntu.com/2011/04/10/#ubuntu-server.txt

=== dendrobates is now known as dendro-afk
=== dendro-afk is now known as dendrobates
CrazyGirshauno: I would advocate for ejabberd, you could be msg'ing in 30 minutes00:47
=== dendrobates is now known as dendro-afk
=== dendro-afk is now known as dendrobates
MetaJakeif something line Gunicorn says it is for Unix, does that mean it is not for Linux?01:40
MetaJakeline=like*01:40
=== KB1JWQ is now known as Corey
=== chuck_ is now known as zul
=== dendrobates is now known as dendro-afk
MTecknologyyou guys think it's possible to use a variable and pass it to su as a password?05:25
patdk-lapshouldn't be05:26
patdk-lapisn't that what sudoers was made for?05:26
MTecknologysu, not sudo05:27
patdk-lapsudo su05:28
MTecknologythat would require something I can't do05:28
patdk-lapI'm pretty sure su won't take input from stdin05:29
=== slug is now known as Guest99009
qman__not sure why you'd use su07:13
qman__sudo can do everything su can and more07:14
=== screen-x is now known as Guest95063
=== zz_carcinogen75 is now known as carcinogen75
uvirtbotNew bug: #756406 in ntp (main) "there is no easy way to edit/include servers for NTP to sync from like it used to" [Undecided,New] https://launchpad.net/bugs/75640610:36
=== earwig is now known as Guest36563
liekzomgjust out of interest, what is python used for in the minimal ubuntu-server install?12:02
=== SWAT_ is now known as SWAT
DigitalFluxHi Guys12:56
DigitalFluxI was wondering if someone can give me some hints/docs on how to port some Debian package to Ubuntu ?12:56
DigitalFluxmay be the o/p should go into a PPA or something ..12:56
eichihttp://codepad.org/2JXu0y0x someone can see the problem with this cronjobs? they do not work :(12:56
joschieichi: are both .sh files executable and accessible for the user "dev"?12:59
eichijoschi: yes, works without problems with ./backupDb.sh as user13:00
joschieichi: are you using relative paths inside your scripts?13:01
eichifunnies thing: 10 16 * * *            /home/dev/backupDb.sh works13:01
eichi00 04 * * *            /home/dev/backupDb.sh not13:01
joschieichi: try 0 and 4 instead of the padded values13:01
joschieichi: although this *should* work with any decent crond13:02
eichii did allready13:02
koolhead17DigitalFlux: https://wiki.ubuntu.com/PackagingGuide/Basic is this what you were looking for?13:02
joschieichi: post your scripts13:02
eichioh, damn, now i can see something ;D its mysqldump and then > folder/whatever13:03
eichimeans this is relativ. never thought about that. wtf. where can this be now?13:03
joschieichi: use `find` ;)13:03
koolhead17DigitalFlux: http://daniel.holba.ch/temp/guide/udd-intro.html  or this :)13:04
DigitalFluxkoolhead17: I guess, I just wonder if someone wrote/developed a way to quickly hack Debian packages to be done for Ubuntu13:04
DigitalFluxkoolhead17: That second link is regarding the PPA ?13:04
eichijoschi: what about ~/backup/whatever_filename.sql in script? is this *like* absolute?13:05
DigitalFluxkoolhead17: aha, i see it now :)13:05
eichiat the moment its just "backup/whatever_filename.sql13:05
DigitalFluxkoolhead17: Checking, Thanks ;)13:05
joschieichi: this should work if you want to write the files into the home directory of the user for which the cron job is running13:05
joschieichi: you could also use $HOME for that purpose13:05
eichiyes, thats what i want13:06
eichiand which one is "better" ?13:06
joschiI like $HOME better for this purpose13:06
eichi${HOME}/backup/prod_mysql_dump_${timestamp}.sql13:06
eichiis okay?13:07
joschiyes13:07
koolhead17DigitalFlux: welcome :)13:07
eichijoschi: thanks ;)13:08
eichijoschi: last question today ;D: can I use 00 04 * * *            ${HOME}/backupDb.sh        in crontab too?13:11
eichithen all users have the same crontab, would be nice13:11
joschieichi: no13:11
joschieichi: wait, you mean this line in all user's crontabs or in one crontab?13:12
eichion all user's crontab13:12
joschieichi: first case should work, second doesn't13:12
joschieichi: try it ;)13:13
eichiokay, thats nice13:13
eichiokay13:13
eichithanks, by and have a nice day then ;)13:13
joschieichi: btw you should also use the absolute paths for all the programs used in your script *or* set PATH inside the crontab to a reasonable value13:13
=== NG_ is now known as ng_
arvandymalam kk, ada yg bisa bahasa indonesia ngk?13:52
=== ng_ is now known as NG_
=== dendro-afk is now known as dendrobates
=== carcinogen75 is now known as zz_carcinogen75
jMCgHello happy people, I'm trying to get a kvm started on Ubuntu, however, I'm hitting some obstacles:15:38
jMCgThis is what happens when I start up the domain: http://dpaste.com/530507/15:38
=== alandddd_ is now known as alandddd
jMCgNow I dug a little deeper and found: http://dpaste.com/530518/15:40
jMCgThis doesn't make a terrible lot of sense since libvirt automatically creates apparmor profiles (/etc/apparmor.d/libvirt/) -- which explicitly allow these actions.15:42
jMCgthe created profile: http://pastebin.com/PMVuj9bx15:42
jMCgThe internet isn't being very helpful either: http://serverfault.com/questions/220238/kvm-guest-does-not-boot-qemudparsepcidevicestrs16:04
=== alandddd_ is now known as alandddd
jMCgInterestingly, /dev/pts/* isn't allowed, but nobody complains about that.16:36
=== NG_ is now known as ng_
=== SquishyNotHere is now known as squishy
rotten777good afternoon folks... anyone conscious?18:12
rotten777i'm looking to find a way to remotely (ssh) unlock the encrypted filesystems on a server after a reboot... has anyone done this?18:13
Error404NotFoundwhats different between php-memcache and php-memcached ?18:13
rotten777ยป memcached is a high-performance, distributed memory object caching system, generic in nature, but intended for use in speeding up dynamic web applications by alleviating database load.18:14
rotten777Memcache module provides handy procedural and object oriented interface to memcached, highly effective caching daemon, which was especially designed to decrease database load in dynamic web applications.18:14
rotten777memcache = module; memcached = daemon18:15
=== KMFrog is now known as 20QAAJ9T3
jMCgno.18:22
jMCghttp://pecl.php.net/package/memcache vs http://pecl.php.net/package/memcached18:22
jMCgError404NotFound: ^18:22
rotten777http://php.net/manual/en/book.memcache.php18:32
rotten777http://php.net/manual/en/book.memcached.php18:32
Error404NotFoundthanks18:32
=== dendrobates is now known as dendro-afk
=== ng_ is now known as NG_
=== lifeless_ is now known as lifeless
=== dendro-afk is now known as dendrobates
uvirtbotNew bug: #596298 in php5 (main) "impossible to install - dokuwiki and its dependencies cannot be configured (dup-of: 654165)" [Undecided,New] https://launchpad.net/bugs/59629820:42
uvirtbotNew bug: #654165 in php5 (main) "update-manager error when upgrading php5-idn" [Undecided,New] https://launchpad.net/bugs/65416520:48
=== dendrobates is now known as dendro-afk
=== zz_carcinogen75 is now known as carcinogen75
=== LucidOne is now known as IdleOne
=== dendro-afk is now known as dendrobates
jeeves_mosshow can I make a script in /etc/init.d/ so that my CS game servers will auto start with the server and I can stop/start/restart them like a service?22:32
=== carcinogen75 is now known as zz_carcinogen75
HazRPGjeeves_moss: hmm, not really done much of that... but might be an idea to have a look at this: http://www.debian-administration.org/articles/28 (title: Making scripts run at boot time with Debian)22:35
HazRPGits about adding scripts in /etc/init.d/ folder22:36
HazRPGalso, if you browse to that folder, you can check out some existing scripts and see how they do things, should be pretty straight forward I think :)22:37
jeeves_mossHazRPG, thanks!!  I had it running once before, and for the life of me, I can't remember what I did to make it work!22:38
HazRPGjeeves_moss: no problem, hopefully its helpful... that site makes for interesting read in general btw :). Also, I could be possible that it already has one in there... or you need to copy something into there maybe?22:41
HazRPGs/Also, I/Also, it*22:41
jeeves_mossHazRPG, yea.  I'm thinking that I'm going to get this dumb game server to run properly, then offload it to a deticated box22:41
uvirtbotNew bug: #756894 in ocfs2-tools (main) "mount.ocfs2 protocol not available mounting error" [Undecided,New] https://launchpad.net/bugs/75689422:46
CrazyGirhttps://help.ubuntu.com/community/KVM/CreateGuests <--- this mentions a "bug" requiring "restricted" in the --compontents list. is this current?22:48
CrazyGirBug notice: it seems that the package 'linux-package' is not found during the machine building process unless 'restricted' is also specified as a component option to ubuntu-vm-builder.22:48
=== dendrobates is now known as dendro-afk
=== dendro-afk is now known as dendrobates
jMCgOkay, so nothing at all happens, when I try to boot this KVM domain (http://pastebin.com/bw877Yt3) with virsh, and it's not apparmor's fault, which I disabled: http://pastebin.com/bw877Yt323:14
jMCgAnd starting the whole thing by hand it seems that my network config is wrong.23:14
jMCgThere we go: http://pastebin.com/RU3SmKPL23:15
jMCgSo the question is, of course: Considering this http://pastebin.com/bw877Yt3 (or this KVM startup line: http://pastebin.com/RU3SmKPL) -- what's wrong with this network setup: http://dpaste.com/530664/ -- and the blindingly obvious counter question is, of course: That depends on what you're trying to achieve.23:18
=== dendrobates is now known as dendro-afk
=== dendro-afk is now known as dendrobates

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