/srv/irclogs.ubuntu.com/2009/02/26/#ubuntu-server.txt

oh_noesAny idea why this sudoers file fails parsing?   http://pastebin.com/m219bba0500:44
dsmith-workoh_noes: What's the error message?00:49
oh_noesparsing error against line 15 (the hudson line)00:49
Deepsthe comma, at a guess00:50
Deepslooks like you're trying to pass 2 distinct commands into a single alias00:50
dsmith-worksudoers was always scary for me.00:51
Deepstry a semi-colon or a double ampersand or double pipe (depending on desired behaviour) maybe?00:51
oh_noeswell ive copied this line before from a different OS sudoers00:51
oh_noesill try semi colon00:51
dsmith-workThe man page seems to indicate that ',' should be in there.00:51
Deepsi'm probably wrong then00:52
oh_noesthe problem is on the chown Cmnd_Alias line ...00:54
oh_noesif I comment it out, the sudoers works fine00:54
MianoSMwhy wouldn't you put the alias in the users .bashrc ?00:54
MianoSMIt's not a `command` = `command` from the man page.00:56
dsmith-workoh_noes: Change chown to /bin/chown00:56
dsmith-workA commandname is a filename, a directory or a Cmnd_Alias00:58
MianoSMCmnd_Alias CHOWN = /bin/chown00:59
MianoSMindeed01:00
dsmith-workThat's it?01:00
=== mib_aiccbq8j is now known as pilif12p
pilif12phi.01:02
pilif12pcan i ask a question here?01:02
dsmith-workSorry, only one question allowed, and you just asked it.01:02
dsmith-workjk ;^)01:03
pilif12plol.01:03
pilif12pIf i install Server on a Win.98 computer, will the comptuer run as a server?01:03
MianoSMCould you please clarify your question?01:05
pilif12panyone?01:05
MianoSMYou can have a windows98 computer act as a server if you so choose.01:05
pilif12pOh.01:05
Tastefull?question - Anyone have any experience with BOCHS? ;)01:06
pilif12pSo, i want to install Ubantu Server on my win98 computer. First, Will it run as a web server, and second, which version is compatable01:06
pilif12pi had 8.8 i think, and it said the BIOS where too old.01:06
MianoSMYou had 8.8 what?01:07
pilif12pdesktop ubantu01:08
pilif12plet me look01:08
MianoSMNo such thing.01:08
MianoSMIn any event. As long as your machine meets the minimum hardware specs it should be okay.01:08
MianoSMI would advice installing a minimal server (8.10).01:08
pilif12pi mean 8.04.101:08
MianoSMIf you want a LAMP, maybe follow the "Perfect Install" minus the mail and ispconfig sections on howtoforge?01:09
pilif12pand, that said the BIOS where too old/01:09
MianoSMIs there a new bios available for you to flash?01:09
pilif12pNot sure,01:09
pilif12pI have no internet connection to it, now.01:09
MianoSMis it a dell?01:09
pilif12pNo.01:10
pilif12pIts a Gateway200001:10
MianoSMgo to the manufacturers website and see if they support the machine still01:10
MianoSMgateway.com01:10
MianoSMdownloads/support01:10
pilif12pthere is no such thing now.01:10
pilif12pThere are no BIOS flashes01:15
MianoSMokay01:18
MianoSMgood luck to you?01:18
JanCwhat CPU has that thing?01:18
pilif12pI dont even know...01:18
pilif12pLets put it this way.01:18
MianoSMif you were willing to attempt a desktop install, why aren't you willing to just go for the server install?01:18
pilif12pat the time i tried to install desktop, i had no intrest in servers.01:19
pilif12pLets put it this way...01:19
pilif12pI dont do OS stuff01:19
pilif12pi do mozilla01:19
pilif12pi know little about servers, etc.01:19
MianoSMhttp://www.howtoforge.com/perfect-server-ubuntu8.04-lts01:19
MianoSMThere you go then. ;)01:20
MianoSMI'd skip the e-mail portions, and ispconfig.01:20
MianoSMAlso I wouldn't assign a passwd to root.01:20
MianoSMThe requirements for the server is a CPU pushing 300mhz, you should be okay if it was win9801:21
MianoSMand 64MB of RAM, and 500MB of hdd....01:21
JanCisn't ISPConfig overkill (unless pilif12p wants to set up multiple websites for friends or such)?01:21
Tastefull?question - Anyone have any experience with BOCHS? ;)01:21
pilif12phaha01:22
pilif12pi think i have 32 MB of ram01:22
MianoSMJanC: yes, that's why I said skip the e-mail, passwd to root, and ispconfig portions.01:22
MianoSMwin98 did have lower requirements, maybe 6.06 will fit that threshold01:23
JanCTastefull: yes, but that was somewhere last century  :P01:23
MianoSMAbsolute minimum requirements Intel 486 processor 32 MB of system memory (RAM) 300 MB of disk space01:24
JanCwell, I *have* run Ubuntu desktop (with GNOME) on a Pentium MMX 166 MHz laptop with 64 MiB...   ;)01:24
JanC(and *LOTS* of swap)01:24
MianoSMswap.avi ?01:24
MianoSMgross!01:24
TastefullJanC: damn, just installed it on a Ubuntu Hardy IA64 edition.. and i have setup bios and vgabios, but it keep exitign with "quit_sim called with exit code 1", cant find any support anywhere :/01:25
JanCTastefull: why don't you use qemu or virtualbox or kvm or ...?01:26
JanCoh, on an Itanium01:26
TastefullJanC: wont work on IA64 (Itanium processors)01:26
JanCwell, qemu should work on Itanium01:26
JanCand it's a lot faster than bochs01:27
TastefullJanC: if you can point to where it does that i would be happy, cant find anything...01:27
JanChm, right, the qemu site says they are still working on it (or maybe not working on it)01:29
JanCbut qemu's architecture is such that it must be possible to get it working01:29
Tastefullwell i'm a little n00b to linux, can do conf make make install and those apt-get things but changing it anyway is way over my head01:30
JanCyou'd need to know more about IA64 architecture than about linux  ツ01:31
Tastefulland i dont :(01:32
JanCanyway, bochs never worked properly01:33
TastefullJanC: i have ssh installed, want access to give it a try? :P01:34
JanCyou'd have more luck asking that to the qemu developer (if you keep your credit card handy)   ;)01:35
TastefullJanC: hehe yeah i'd proberly ;)01:36
JanCon http://bellard.org/qemu/status.html you can see the implementation status for guest & host CPU01:36
twbTastefull: handing out ssh access to people on IRC is *really* stupid.01:37
MianoSMwhat if you netcat /bin/bash with an open port?01:37
twbMianoSM: haha01:38
MianoSMthat way you can watch at least /dunno01:38
Tastefulltwb: i know, but i can always turn off the box, it's right next to me and on it's own dmz zone and can reinstall it on 10 min ;)01:38
zim1hi all anyone in here use encfs?01:45
JanCzim1: yes?01:46
twb!anyone01:47
ubottuA large amount of the first questions asked in this channel start with "Does anyone/anybody..."  Why not ask your next question (the real one) and find out?01:47
zim1JanC: kewl can you use the unencryted mount with samba?01:48
JanCI don't use samba01:49
zim1ok ty01:49
JanCbut by default that can only work if you mount as the samba user01:50
zim1I can see the folder when its not mounted bat as soon as I mount it bye bye01:50
JanCfuse mounts can only be used by the user who mounted tham, unless you explicitly tell fuse to let others use them too--encfs has a mount-option for that01:52
JanCs/tham/them/01:52
zim1samba can see my files with the following permissions user:user 0700 but not mounted folders with the same :-$01:53
zim1do i have top add usr to group samba?01:53
kirklandapw: was away before, here now, what's up?01:54
apwsomeone was asking about crashdump support on -server, suggested they ask here01:55
zim1another q is it possible to send commands server to server vi ssh02:04
Kamping_Kaiseryes.02:04
zim1how02:04
Kamping_Kaiserman ssh.02:04
zim1I have am missing it02:05
Kamping_Kaiserhave you looked at the synopsis?02:05
zim1ok will do02:05
zim1is it -O02:06
zim1got it user@host echo foo02:08
zim1ty02:08
Kamping_Kaiserwd02:09
racecar56is it possible to trick ubuntu into using a fat16 /boot partition?02:43
racecar56i need to do that for my server02:43
lukehasnonameAny generic tips on getting a USB printer seen by my server without restarting or reinstalling?02:48
lukehasnonameI'm trying to set it up as a print server02:48
oh_noesIn my sudoers, why does "Cmnd_Alias CHOWN = /bin/chown" work, BUT "Cmnd_Alias CHOWN = /bin/chown -R root:root /foo/bar" doesn't work?02:49
oh_noesSays parsing error02:51
Cyntekwhen manually mounting a directory is it possible to mount multiple directories with one command example: [sudo mount /dev/sdb1 /movies /photos/ /music /documents03:00
Cyntek] ?03:00
Cynteki tried, but did not work.03:03
Cyntek"always fun to explorer"03:04
steelcityjimis it possible to watch video from files on a remote server?03:08
twbsteelcityjim: yes.03:23
racecar56please i really want ubuntu server on my server i dont like windows03:27
racecar56does anyone know how to get ubuntu to use /boot as fat16?03:30
twbracecar56: that may not be technically possible.03:34
twbracecar56: probably it would involve recompiling the kernel to have FAT support built-in.03:34
twbracecar56: you might also need to replace GRUB with a bootloader that supports FAT (syslinux?), but I think GRUB Legacy does actually support FAT.03:34
racecar56:o03:35
racecar56kay03:35
racecar56is syslinux in repos?03:36
ajmitchracecar56: just why does /boot need to be on fat16?03:43
twbajmitch: thanks, I wandered off before asking that :-)03:44
racecar56because the bios reads what its gonna boot03:46
racecar56i have to go to my laptop now and put the server's hd into the pc03:46
racecar56in other words brb03:46
* ajmitch thinks there's some confusion there03:47
twbajmitch: I reckon he actually wants WUBI03:49
joejchi04:03
edsonhi guys!04:07
racecar56hi04:07
racecar56im back04:07
racecar56sorry for the wait\04:07
joejchow do i get my server on my network?04:10
racecar56idk04:11
JanCracecar56: what do you mean by "because the bios reads what its gonna boot"?04:14
racecar56when the server boots it looks at the the drive it is about to start with04:15
JanCso?04:15
racecar56but scince that server did windows... it wants fat16 (fat32 might work also, but not tested)04:15
racecar56i am following a blog post04:15
racecar56http://samuel.thollander.net/projects/linux-on-hp-ex470/04:16
joejccan anyone help me?04:19
goofeyjoejc: that is an extremly vauge question04:25
goofeyjoejc: you might try to be more specific04:25
JanCracecar56: judging from the sources, grub supports FAT16, so it should be possible...04:31
racecar56ok so what am i going to do to get it to install /boot into a fat16?04:31
JanCit doesn't work if you format it to fat16 and then tell the installer that it should be mounted as /boot ?04:33
racecar56i tried that and it blocked me from doing it but ill try that again04:34
racecar56oh i mean yes04:34
racecar56(sorry i thought you were asking if i did it/if i could do it)04:35
JanCif it isn't possible in the installer, you can install normally, and then move the contents of /boot to the root of the FAT16 partition, fix the grub configuration files to point to the proper locations, install grub again and change fstab manually04:37
JanC(and maybe I forgot something, it's after 5am here ;) )04:38
racecar56ok...04:38
^law^heloo04:40
^law^anybody here?04:40
^law^?04:41
^law^heloooo?04:43
goofeynobody but us mice04:43
^law^hi goofey04:43
^law^nice 2 meet u04:44
^law^i have some question04:44
^law^can u help me?04:44
^law^?04:45
goofeyfirst rule of IRC - don;t ask to ask, just ask04:51
goofeyif someone knows the answer, they will respond04:51
^law^ok04:52
^law^i wan to install db2 udb v8 in my ubuntu server can anybody help me?04:53
* goofey doesn't even know what db2 udb v8 is04:54
ewooksearch the repository.04:55
ewookapt-cache search04:55
* ewook agrees with goofey 04:55
^law^just tyoe apt-cache search db2?04:55
ewookya04:55
^law^db2 is like sqlserver, mysql, postgresql but it is an ibm product04:56
ewookoh... that one.. why in gods name do you want that?04:56
goofeyit may not be in apt04:57
ewookdoesn't look like it04:57
^law^ya can't find it04:58
^law^i already downloaded from ibm04:58
goofeyi bet ibm has install instructions04:58
^law^but it is .rpm04:58
goofeyahh, well, then the question is how to convert rpm to dpkg or tgz04:58
^law^i can't find any instruction in ibm site04:59
goofeywell, converting rpm to dpkg or tgz isn't specific to ibm04:59
goofeyand it's a question that's a whole lot easier to answer04:59
^law^my ubuntu server doesn't have gui04:59
^law^i just wanna keep it like that05:00
^law^then how to cnvert .rpm to dpkg or tgz?05:00
goofeyok, looks like you can install rpm directly using "smart" or convert to .deb using "alien" per google05:01
^law^oh ok05:02
^law^thx guys05:02
goofeyhope that helps05:05
^law^oh ya wat command that can show me  system summary ?05:08
goofeythat I do not know05:10
^law^then  how  to know how many spaces is left on my harddisk05:12
twb^law^: df -h05:12
uvirtbottwb: Error: "law^:" is not a valid command.05:12
goofeyyeah, df -h05:13
^law^thx very much twb it works05:13
goofey(the -h makes the size "human" readable)  no -h for blocks05:13
^law^oh thx 4 the explanation goofey05:14
goofeyanytime05:15
goofeygl05:15
^law^i have installed tomcat java server from the beginning when installing ubuntu server, then i execute java -version it shows that is not sun jdk is used but it is openjdk05:20
^law^how can i remove the openjdk n replace it wit sun jdk?05:20
=== [1]kinnaz is now known as kinnaz
racecar56ok i have a /b00t partition that is fat16 and i moved stuff from /boot to /b00t, now i want to remove /boot and change /b00t's mountpoint to /boot05:46
racecar56what do i do in fstab05:46
racecar56oh great my grub died05:47
* racecar56 gets a bootdisk and attempts to fix it05:47
racecar56anyone here?05:48
racecar56hello?05:49
Chipzzracecar56: why do you want /boot on fat16? bad idea05:57
racecar56because my server requires ity05:57
racecar56*it05:57
Chipzzno it doesn't05:57
twbracecar56: that seems unlikely.05:58
Chipzzwhat makes you believe it does?05:58
twbracecar56: why do you think your server requires /boot on FAT16?05:58
^law^ur server requiers it?05:58
racecar56yes05:58
Chipzzno05:58
Chipzzagain: why do you think that?05:58
racecar56http://samuel.thollander.net/projects/linux-on-hp-ex470/ is why05:59
racecar56im following its advice05:59
twbracecar56: that's a NAS?05:59
racecar56?05:59
ChipzzI call bullshit06:00
racecar56...06:00
twbnetwork attached storage.  Basically a hard disk with a network card attached.  Since it runs Windows, I guess not.06:00
Chipzzthe BIOS doesn't boot a partition, it boots the MBR06:00
twbAh, the hardware specs are further down.06:00
racecar56then waht the heck... is blog post wrong?06:00
twbracecar56: I think it probably is.06:01
racecar56hmmm06:01
twbracecar56: it looks like a standard K8 motherboard from the lspci output.06:01
Chipzzit seems very unlikely to be correct06:01
racecar56then why the heck dosent my server seem to work (i ssh it and it no works)06:01
twbChipzz: the author puts grub in the MBR anyway06:01
Chipzztwb: I was about to say the same thing06:02
Chipzzracecar56: like twb says, the author mentions installing grub. Grub doesn't care what your partition is, and should be able to boot of /boot ext3 or others06:02
twbracecar56: the most likely reason you can't ssh into it is because you're using the wrong network driver.06:02
racecar56but it sayd bios looks at what its booting06:03
racecar56*said06:03
Chipzzracecar56: the BIOS can't even know about the grub configuration06:03
Chipzznor should it care06:04
racecar56it dosent06:04
Chipzzthen how does the BIOS know what partition /boot is?06:04
racecar56it boots whatever it finds first, but it looks at what its booting, it only likes fatxx06:04
Chipzzyou could very well have made sda2 /boot06:04
Chipzzthe BIOS shouldn't are06:04
Chipzz*care06:05
racecar56it checks the file system its about to boot06:05
racecar56maybe i'll just try the basic install to whole drive thing06:06
Chipzzlike me and other ppl just said, that's just dead wrong06:08
Chipzzracecar56: the BIOS doesn't boot *a filesystem*, the BIOS boots the MBR06:08
Chipzzwhich should contain grub06:08
racecar56currently im installing ubuntu on the whole drive now06:08
* racecar56 installs lamp, openssh, and samba server packs06:11
* racecar56 waits as the cd drive makes the most insane noises06:13
racecar56install is done :>06:15
racecar56ok its ready to do stuff06:17
Chipzzthe author of that article looks a bit illinformed, IMO06:19
racecar56k06:21
racecar56well how do we get started? i basically want apache to host my website for me and ability to ssh the server also06:22
racecar56...06:28
racecar56is anyone here?06:34
twbNo06:35
racecar56k06:35
twbracecar56: do you have a more useful question?06:35
twbs/useful/significant/06:35
racecar56idk really but all i want to do now is get it to work on my server06:35
twbI cannot help with vague questions like that.06:43
racecar56ik06:43
* racecar56 is getting an ip scanner so i can find my server's ip address06:44
racecar56cause i cant do ifconfig on server, as it has no keyboard06:44
hadsnmap06:48
racecar56i use ipscan06:49
racecar56but nmap pwns too06:49
racecar56cool it works with acpi :>06:55
racecar56no more force turnoffs06:55
racecar56looks like it dosent have internet06:59
racecar56it appears my network card on server is a SiS 191 gigabit ethernet07:04
ScixI have two servers. One in production and one for testing. At the testing server BIND and DHCP works perfect. When a DHCP address is leased, the zone in bind gets updated. But at the production server, who is identical to the testingserver I'm getting this error from named: client 10.11.0.5#47428: found no private keys, unable to generate any signatures. And then from dhcpd: Unable to add forward map from lku130.skole.lk.local to 10.11.0.118: timed out07:31
Scixanyone who has a idea about why?07:32
cemcScix: the two servers run with the same release? which one ?07:32
Scixthe production and testing server is one seperated networks? I don't quite get your question.07:33
cemcwhich ubuntu release is installed on the servers?07:33
Scixcemc: aa, sory! It's ubuntu 8.10 server07:34
cemcand the configs are the same on both servers for bind and dhcp ?07:35
Scixyes, the one thing that is different is the rndc key07:37
ScixThis is copy paste from the testing server: http://pastebin.com/d64afe62107:39
ScixAnd some notes07:40
cemcand the other one ?07:41
Scixis identical, exept the keys07:42
cemcand you're sure the keys you're using are correct on the prod. server?07:43
Scixyes! Named says at the beginning of the lease: signer "rndc-key" approved07:44
Scixbut ise now that it also says "RRSIG/NSEC update failed: not found" < This just after "found no private keys, ..."07:45
Ethosserhow do I get crontab to run as root?08:06
ScixEthosser: sudo contab -e08:07
Ethosserhmm, if I do that it doesn't seem to run08:07
EthosserIt's fine to have multiple entries isnt it?08:07
Ethosser30 19 * * * /home/administrator/backup.sh08:09
Ethosser15 19 * * * mysqldump -u administrator -pxxx database > /var/www/html/db_backup/backup.sql08:09
Ethosserthat's what I currently have08:09
Scixwhat does the logs say?08:11
EthosserNot sure where the log is for cron tbh08:11
Ethosser... ;(08:11
EthosserLet me try and set it for in a minute and i'll see what it does08:12
Ethossernothing.08:13
Scixbased in the commands i bet it's to syslog or something08:13
hadsYou'll want a couple minutes08:13
Ethosserhmm, where is the syslog file- sorry i've never had to use it before08:15
hads/var/log/08:16
Scixopen another terminal and then run "sudo tail -f /vat/log/syslog" then the crone is suposed to run. then you will get a "live feed" from the syslog :)08:16
Ethosserthanks08:17
Ethosser:)08:17
^law^guys u ever installed db2?08:17
Scix*then = when and vat = var ;)08:17
hadsNot a log is logged to syslog from cron though, just the run08:17
Ethosserheh08:17
ScixEthosser, me fixing my typos :p08:17
^law^ibm db2 v808:18
^law^u guys ever installed it?08:18
cemcScix: I say it's a typo or something there, can you paste the actual .conf files from bind and dhcp on the prod. server?08:19
Ethosser:D08:19
EthosserOk- i've got08:19
Scixcemc. Yes. Give me a few minutes :)08:19
EthosserFeb 26 08:16:01 intranet console-kit-daemon[1521]: CRITICAL: cannot initialize libpolkit08:19
EthosserThat's straight after: Feb 26 08:16:01 intranet /USR/SBIN/CRON[1522]: (root) CMD (/home/administrator/backup.sh)08:20
cemcEthosser: that should mean crond ran that command08:21
cemcdid it run ?08:21
EthosserNOpe, didn't see too08:21
EthosserSo it looks like it tried at 08:16 (the time I set it to run)08:21
EthosserYeah, I get the error for libpolkit every time I've scheduled it this morning08:22
EthosserInfact I have that error for other cron errors as well like:08:22
EthosserACtually, I won't spam the room :D08:23
cemccan you try just a quick test script, that say does a cat in some random file in /tmp ?08:24
cemcand set it to run 5 minutes from now08:24
cemcand see what it does08:24
Ethosserhttps://bugs.launchpad.net/ubuntu/+source/policykit/+bug/27543208:25
uvirtbotLaunchpad bug 275432 in policykit "libpolkit requires files from policykit for polkit_context_init to work" [High,Confirmed]08:25
EthosserApparently "apt-get install policy-kit" will fix it08:25
Scixcemc, you can se the config from the production server at http://paste.ubuntu.com/123189/08:31
pteagueif eth0 is set up with 'iface eth0 inet dhcp' in /etc/network/interfaces does it need the line 'auto eth0' ?08:39
krautmoin08:39
hadsyes08:40
pteaguebefore, after, or does it matter?08:40
hadsWhatever it was, man interfaces will tell you08:40
pteagueah, there we go... seems the desktops are removing the iface & auto lines for eth0 (or not adding them?) so the gui network management stuff deals with them... but this seems to be bringing them up after the attempt to mount my nfs shares >_<08:43
Scixpteagu, I had the same problem so i began to only use the interface file08:49
achilles is there a way to apply quota to a specific directory, I'm using samba to share a folder to a group of users, but I don't want it to exceed 10G09:01
simplexioachilles: dunno. but you candefine 10G hard limit making 10G image of it, and then loop mount it under share09:06
achillessimplexio, ah .. nice idea09:07
achillessimplexio, thank you .. I'm googling09:08
simplexioachilles: as bonus you can define default umask for that dir only, and add default groups owner for it09:08
simplexioachilles: easy dd of=/dev/zero if=/some.img bs=4086 count 1000, or so (if and of could be wrong way), then make.ext3 some.img ( i think ), and then mount -o loop some.img /home/somegroups for an example09:10
achillessimplexio, but how can I extend the size in future .. I'm wondering09:11
hadsClose :)09:11
simplexioachilles: maybe. depends filesystem which you choose ( google for resizing partitions on ext3/4, xfs or similiar )09:12
achillessimplexio, no I mean the dd image for a group directory09:12
simplexioachilles: yes i think. it could be easy as cat somefile >> some.img , then use some fs resisze utility09:14
simplexioachilles: i recall seeing that kind howto in somewhere, but i cant remember anymore specific data about it09:14
hadshttp://kev.coolcavemen.com/2007/04/how-to-grow-any-qemu-system-image/09:14
hadsYou're right09:15
achillessimplexio, hads   thank you very much09:15
simplexioachilles: just remeber be very carefull when extending image, one > left out makes damage09:16
achillessimplexio, oh yeah .. thank you for reminding me09:17
Ethosserguys can install apt-get install policy-kit cause any problems?09:28
ScixEthosse: Hope not. I just did it :P09:31
Ethosserlol09:31
EthosserI'm running LAMP with a website running09:31
Ethosserdid it require a restart?09:32
achillessimplexio, don't know why I'm afraid, it's a bit critical data, is it risky to mout dd image and make it file system ?09:33
simplexioachilles: not really09:33
hadsNot really risky, not the most effecient way but09:33
Cyntek yikes, i did sudo -i  and i then created a new user account and deleted the andrew account, but now my new account is not in the sudoers file. How can i fix it?09:33
hadsBoot into single user09:33
Cyntekfrom cdrom09:34
Cyntek?09:34
hadsFrom grub09:34
EthosserScix, on ubuntu server 8.10?09:34
Cyntekhads, okay but how do i get to grub?09:35
achillesthank you guys09:36
simplexioachilles: i find that easiest way to do, i have tryed get samba acl / nfs acls to works on my home box. it just a pain09:37
achillessimplexio, ah .. I see, no it's okay I will go for loop mount09:37
ScixEthosse, jupp. No restart :)09:38
frippzI'm looking for tools to check the uptime of websites09:38
EthosserSo you've just run that on 8.10 server and didn't need a restart?09:38
Ethosserinteresting.09:38
simplexioachilles: i think there are other options too for that image looping ( i mean other that mount -o loop, which may offer more options )09:38
frippzPingdom exists, but costs an arm and a leg, so I might as well set up something on a server locally09:39
achillesoh yeah .. good idea .. let me check09:39
EthosserI still can't get crontab to run09:59
Ethosserit says access denied even tho i've set it in sudo crontab -e09:59
Ethosserany ideas?09:59
pteagueif you're running a script directly, does it have executable permissions?10:05
Ethosseryes, I think so10:05
Ethosserif I run the script sudo ./script.sh10:05
Ethosserit works fine10:05
Ethosserif I do ./script.sh it gets access denied halfway through the secipt10:06
r34l_r00thello everyone...10:06
pteaguethen you should probably look at what point it's getting access denied & fix that part10:06
Ethossermount: only root can do that10:07
Ethossercp: cannot create regular file `/mnt/remotebackup/www.tgz`: Permission denied10:08
pteagueah, 2 things to check...  check to see if `sudo crontab -e` modified your crontab or root's (i.e. try `crontab -e` & see if it's listed on your crontab, if it is it's running as you & not root)10:11
pteagueotherwise how are you mounting /mnt/remotebackup/ ? is it via nfs, samba, or something else?  if via samba, does the user for samba have write permissions to that remote directory10:12
pteagueif nfs the uid/gid of the user or group you're trying to write as needs to match on both boxes10:14
Ethosserif I run sudo ./script.sh it works fine pteague10:15
Ethosserit's roots that is modified, sudo crontab -e and crontab -e are different10:16
oCean_pteague: any helpful clues in /var/log/cron.log ?10:21
Scixcemc, have you found anything interresting?10:25
joejchow do i share a folder and make it so anyone can read and write?10:26
r34l_r00tjoejc: read from ubuntu?10:28
joejc?10:28
joejcusing samba10:29
r34l_r00tjoejc: read and write from windows network (samba).?10:29
joejcwindows might need to see share but wouldnt need to write10:30
danielehello!10:30
joejchi10:30
danieleI've a problem: ubuntu-server 8.10 don't see the external disk (usb connected)10:31
danieleI've changed also the kernel with the -generic version10:31
danieleI've also loaded usbcore, scsi_mod10:32
danielebut... nothing10:32
danieledmesg doesn't display anything10:32
danielehas somebody an idea?10:35
oCean_daniele: do you know the hardware is ok? It shows up on another computer/os ?10:36
danieleyes, it displays also an usb-webcam10:37
Scixcemc, I deletet the K[zone].+[some_number]+[some_other_number].key/private from /etc/bind/ and then it woked :S10:38
simplexiodaniele: does dmesg tell that it found usb mass storage ?10:40
simplexiodaniele: it could be that those automatic scripts dont work/find it and you need to mount it by hand10:40
danieleno, dmesg says only that usbstorage is loaded10:41
simplexiodaniele: no mention about your usb harddrive at all  ?10:42
danieledoesn't display the classical messages that displays when an usb drive is plugged10:42
Deepstried a different usb port? tried a different usb drive?10:42
oCean_daniele: is usb_storage loaded?10:42
danieleyes10:43
danielesob10:49
oCean_another related module (my final option) is sd_mod, but that's probably loaded already too?10:50
cemcScix: heh10:52
cemccool10:52
Scixyeah. Wired, but cool10:53
danielesd_mod... now check it10:55
danieleyes, sd_mod is loaded10:56
oCean_daniele: ok, sorry - I'm out of options.10:56
daniele:)10:56
danieleoCean__: i don't have hal installed. is it requested?10:58
danieleI'm trying to install it...11:00
oCean_daniele: hm, not sure11:01
danieletnx to all!11:11
danielegoodbye11:11
jwstolkIs there a way to install gettext-dev on ubuntu-server?  (I need it to compile the Vuurmuur firewall for 64-bit)11:17
YaronHey there guys! I need some help with classifying some bug11:21
YaronI ran into it while installing Dapper Drake server but it still happens I guess11:21
kaushalhi11:28
achillesGuys, I got bored applying quotas to all users , do anybody has a script or something11:53
jwstolk(FIXED: should be gettext instead of gettex-dev)12:12
kaushalis there a way to find out the files contained in not yet installed package in the system ?13:39
uvirtbotNew bug: #334410 in postfix (main) "Can't sudo due to postfix / sendmail error! WTF?" [Undecided,Incomplete] https://launchpad.net/bugs/33441013:39
lamontsigh13:41
brettalton1Hi everyone, does anyone know how to register a 'session' (e.g. have a program run on startup) using CLI/bash tools? I'm trying to install conky and parcellite and have them run on start up in one of my scripts. I'm thinking of a tool like 'gconftool-2' but for sessions. Thanks!13:57
thefishif i add an lvm volume and format it, is there any way apart from restarting udevd, to get the links in /dev/disk/by-uuid made for it?14:37
thefishi guess thats where lookups are done, so if i add a UUID= line to fstab, it will check there..14:37
Ethoscan install gksu mess anything up? lol15:08
uvirtbotNew bug: #334932 in nut (universe) "nut & nut-hid-drivers remove each other" [Undecided,New] https://launchpad.net/bugs/33493215:10
lamontEthos: it's more what you do after that that matters, I expect....15:23
Ethos:D15:24
Ethosin what way?15:24
uvirtbotNew bug: #334949 in samba (main) "[jaunty] unable to share folders using samba" [Undecided,New] https://launchpad.net/bugs/33494915:47
=== goofey_ is now known as goofey
Imohello i have ubuntu server 8.10 and i want install eBox but then i tip sudo apt-get install ebox then i get this error17:53
Imolibapache-authcookie-perl ist aber nicht installierbar17:53
licornaHi! followed instructions in https://help.ubuntu.com/8.04/serverguide/C/libvirt.html to install a jeos, but i had to install QEMU and I want to use KVM17:53
licornami server has virtualization extensions (enabled in bios)17:54
zulmathiaz: ping what do you think about cluster support for samba 3.317:54
dexemImo, try also on #ebox17:54
Imothanks17:55
licornaanyone with kvm experience?17:57
mgolischnope17:57
mgolischbut whats the problem?17:57
mathiazzul: I haven't looked at it yet17:58
mathiazzul: and we're past FF anyway17:58
mathiazzul: so if it's not already enabled it won't be part of jaunty17:59
zulwell its already enabled in the samba-3.3 debian/rules we just have to write the MIR if we dont want it for ctdb17:59
licornawant to use kvm, not sure if it is working, because I had to install qemu17:59
mgolischyou had to install qemu?18:02
mathiazAdri2000: the samba SRU should be uploaded today - I've already built it locally and need to do some testing now18:07
dsmith-workDoesn't kvm use qemu userland?18:10
Adri2000mathiaz: ok, excellent, thanks18:11
licornayes, but in the docs it doesnt says that qemu is needed18:12
licornaok, I think I'm going to investigate a little bit more18:14
licornathanks18:14
=== jjesse_ is now known as jjesse
mathiazkirkland: do you know if it's possible to loop mount a qcow2 file to modify some files in it?18:33
kirklandmathiaz: it is!18:33
mathiazkirkland: ohh - how do you do that?18:34
=== jjesse_ is now known as jjesse
kirklandmathiaz: let me find the link18:34
kirklandmathiaz: http://en.wikibooks.org/wiki/QEMU/Images18:35
kirklandmathiaz: also, see: http://blog.dustinkirkland.com/2008/10/mounting-kvm-disk-image.html18:36
mathiazkirkland: hm - it seems all of these links refer to raw images18:41
LoveGurucan i get ubuntu hardy 8.04 minimal installation ?18:42
LoveGuruiso18:42
kirklandmathiaz: try this http://blog.loftninjas.org/2008/10/27/mounting-kvm-qcow2-qemu-disk-images/18:44
mathiazkirkland: thanks18:45
kirklandmathiaz: just using mount /path/to/image.img /mount/path -o loop,offset=32256 didn't work?18:46
LoveGurucan i get ubuntu hardy 8.04 minimal installation ? need netinst iso?18:46
mathiazkirkland: hm - I didn't try that yet18:46
kirklandLoveGuru: you can do a minimal ubuntu installation, yes18:46
mathiazkirkland: anyway - I'm not even sure I'd really need that - I think I'll stick with my lvm setup for now18:46
kirklandLoveGuru: i use mini.iso usually when i want that18:46
kirklandmathiaz: k18:46
kirklandLoveGuru: there's also an option in the cd boot menu18:47
kirklandLoveGuru: i don't remember what it is right off, but it's one of the F-keys18:47
LoveGurukirkland: but need the minimal install iso..18:47
LoveGurudont want to download whole 500+ mb is18:47
LoveGuru*iso18:47
DeepsLoveGuru: google ubuntu mini.iso18:48
kirklandLoveGuru: https://help.ubuntu.com/community/Installation/MinimalCD18:48
kirklandhttp://archive.ubuntu.com/ubuntu/dists/hardy-updates/main/installer-i386/current/images/netboot/mini.iso18:48
kirklandhttp://archive.ubuntu.com/ubuntu/dists/hardy-updates/main/installer-amd64/current/images/netboot/mini.iso18:48
LoveGuruDeeps: i forget about it totally  :< google is our friend :)18:48
kirkland~10 MB apiece18:48
kirklandLoveGuru: http://people.ubuntu.com/~kirkland/search.html is even friendlier18:49
LoveGurualright18:49
LoveGurukirkland: thank you so much18:49
kirklandyw18:49
_dbd_l12would restoring an image of a ubuntu-server install made with partimage work on (slightly) different hardware? or is this a no-no. Other (non-raid) ways to have a quick imaging/backup system ready (for in case of hardware failure) ?19:08
jahorhello anyone with storege performance testing skills ?21:10
jahori just want to consult my results. and if i get the feeling that i got it right i could make ubuntu related comparison of various storage possibilities in servers area21:13
jahorhttp://temp.jhr.cz/ikiwiki/html/KnowHowKickstarters/storage-comparison-round1/21:13
maswanjahor: ehm. wildly bogus bonnie results.21:15
maswanjahor: but then, according to the description, you use half the ram for test size? normally you'd need at least twice ram, 10-20 times is probably better21:16
jahormaswan: what i could say i understad are the dd results21:16
jahormaswan: i know21:16
jahormaswan: i thought that saying -r 4G means get rid of the ram, waste it and preform the test, but it does not ;(21:17
jahormaswan: i already know that booting with ram=XX could be nice hack to have not much system memory21:18
maswanjahor: Yeah, that works too.21:19
jahorthat drives me crazy to get all the data again ;o)21:19
maswanscript it and let it run overnight?21:21
maswanalso, for a basic dd test, you might want to try loading more and more parallel dd:s onto the same filesystem and graph aggregate throughput.21:22
maswanboth bure write, pure read, and a mix of reads and writes21:22
jahormaswan: i must say that this is my real first test so i know it has its drawbacks21:23
maswanat least one version of the arecas had this funny behaviour where when you loaded on readers, the throughput slowly dropped form 300 to 150 for the first 10 parallel ones, then suddenly dropped down to 15M/s for 12...21:24
jahori found something like fsload or so that could simulate operaions... i dont like write hackish dd test ;o)21:24
maswanOk, then I'll keep on the easy side, "remember to always test a working set that is big enough that you aren't measuring the cache speed"21:24
jahormaswan: ooops not nice performance degradation21:24
maswanjahor: yeah, that particular one they seem to have fixed in newer versions (even though they didn't care about us reporting weirdness at the time, so we bought 3wares then), but storage is strange and weird21:25
jahormaswan: i know. big mistake from the beginning. it could be seen on the dd test where the 256M vs 2G cache is realy visible21:25
maswanjahor: We've pretty much given up on "realistic" benchmarking, it just got too hard. We run the parallel dd stuff in different mixes and numbers, to get a "feel" for the system, and then assumes that real-world load will be "a bit" to "a lot" worse.21:28
maswanThen figure out if that's acceptable.21:28
Cyntekhi all, i am now trying to access my newly installed 300 gb hd and its directory on ubuntu-server 8.10. However, when i log in via windows xp i get an error: \\HOME\Public Folder Sharing is not accessible. You might not have permission to use this network resource. Contact the administrator of this server to find out if you have acces permissions. The network path was not found. how can i fix this?21:28
Cyntekim able to see the Public Folder Sharing in the " My Network Places " but cant log into it?21:30
jahorCyntek: i just guess but have you enabled "window networking" or something in your network interface configuration (on windows)21:31
jahorCyntek: ah you see it... so maybe it needs to tune /etc/samba/smb.conf21:32
jahorCyntek: have you already had a working share ?21:32
Cyntekyes, i can see the " Public Folder Sharing " but cant log into it.21:32
CyntekYes.21:33
CyntekBut what i did last night, was i added a new User acct and was trying to delete the old User acct. and now i cant log into the acct.21:33
CyntekI have set samba.conf. ill past the smb.conf.21:34
Cyntekone sec21:34
jahormaybe more interresing will be the user under which samba is running vs. the mountpoint prermissions21:35
Cyntekokay.21:37
Cyntekwell for some reason the old user is still there able to log in.21:38
Cyntekjahor, im using putty, what is the command to output the url past using wgetpaste?21:44
Cyntekoh i think i know.21:45
Cyntekhow to fix this.21:45
jahorCyntek: ok then tell us the result.21:45
Cyntekwell, when i edited the smb.conf i think i input the " path = /dev/sdb1 ". when it should be " path = /photos" ?21:49
jahorCyntek: yeah that could be it... sdb1 is block device. and the path must be a path where the block device is mounted21:50
Cyntekor mounted to....so i would have create a individual tags to share the specific directories.21:51
Cyntekyep that was it.21:53
Cyntekgreat21:53
Cyntekhowever, i wanted to ask....am i not able to share just whole hard drive instead of the directories?21:54
jahorCyntek: depends on what does "whole drive" means ;) .... all the files on it or like a block device ?21:55
Cynteki mean the actual Hard drive it self.21:55
jahorCyntek: if you talk about win vs ubu then it looks like the files on it21:55
jahorCyntek: so like a block device ?21:56
Cyntekyeah.21:56
jahorCyntek: to make a windows filesystem on it ?21:56
Cyntekif i convert the filesystem from ext3 to hpfs/ntfs, right. then it would show up as a hard drive on windows xp. right.21:57
jahoryou could not convert it. you could backup it, reformat and then restore the data21:58
jahorfor block level sharing with windows on the client side you could try iscsi21:58
jahoriscsi-target on the server and iscsi-intiator on the clinet (windows)21:59
Cyntekwell, for now i will just stick to this until i feel more experienced in going into that direction. for now this will do fine.22:00
jahori think so too ;o)22:01
Cyntekwhat are the " lost + found " folders ?22:01
CyntekI see it in the "photos public folder sharing" .22:02
jahorCyntek: there could be files after filesystem check if there was some problem with the filesystem.22:03
Cyntekim using Filezilla to upload from windows xp to the ubuntu-server, but the files i upload are not being saved.What am i doing wrong?22:24
Cyntek[edited] I'im using Filezilla to upload from windows xp to the ubuntu-server, but the files i upload are not being saved to the directory i am saving them in. What am i doing wrong?22:28
Cyntekexplination why the files are not being saved to the directorys during the upload process via windows xp (Filezilla) to ubuntu-server (/photos) directory?22:36
Cyntekwhy is that everytime i transfer or upload from Local site to Remote site ( windows to ubuntu-server ) and when i create other directorys such as documents, photos, music... When the upload starts and finishes it uploads the files to all directorys onto ubuntu server?23:04
Cyntekall meaning directorys i have created on a separate 300 gb hard drive. ie: documents, music,photos,movies.23:05
Cyntekonce uploaded to a single directory, it will show up in others as well.23:06
Cyntekwtf?23:06
Cyntekanyone?23:10
Tastefull?question: i have installed Ubuntu Server and with the LAMP option. Now i need a FTPd witch is not relying on the users of the server, but has them seperately. I have tried vsftpd but cant seem to configure it to use a seperately file for users. The box should run as a Hosting solution and is there a web based tool to control the LAMP servers + FTPd (not plesk) out there?23:10
johnny5I need to script a setup, but i'm using vmware. possible?23:13
=== st37 is now known as st37_ut
johnny5I want to deliver vmware images that upon first run ask for a hostname and username/password etc23:13
johnny5is that just make believe stuff?23:14

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