mds58 | I am kinda new to php, if I write a php document to load onto my server will I need the libraries on the client computer that I am loading the file from? | 00:05 |
---|---|---|
mds58 | or am I overthinking this? | 00:06 |
baffle | mds58: Only if you want to test it locally. | 00:08 |
baffle | mds58: Wich usually is a good idea. | 00:08 |
mds58 | ok ty baffle that realy cleared it up for me | 00:08 |
kirkland | baffle: cool | 00:09 |
kirkland | baffle: what do we need to do to take advantage of that? | 00:09 |
kirkland | baffle: different compile options? | 00:09 |
baffle | kirkland: According to that webpage, it allready is supported in screen. | 00:15 |
kirkland | baffle: i dorked around with it a little and couldn't get it to work | 00:15 |
baffle | kirkland: Gnome-terminal supports 256 colors out of the box. | 00:15 |
baffle | kirkland: But not all terms (like xterm?) does. | 00:16 |
kirkland | baffle: if you can demo a couple of lines in an .screenrc file that work, i'm *all* ears ;-) | 00:16 |
baffle | kirkland: Also, you *might* need to have "ncurses-term" installed, as I fear the 256 color terminfo files are there. | 00:16 |
Iceman_B|SSH | clear | 00:26 |
Iceman_B|SSH | er | 00:26 |
=== rdw200169`away is now known as rdw200169 | ||
=== rdw200169 is now known as rdw200169`afk | ||
=== rdw200169`afk is now known as rdw200169 | ||
=== Zaraphrax is now known as Zaraphrax[Away] | ||
=== Zaraphrax[Away] is now known as Zaraphrax | ||
Alysum | hi - Id like some advice on how to move /var/log to another location without breaking things ta | 02:04 |
PhotoJim | Alysum: to another location...? | 02:06 |
Alysum | yes i.e. /mnt | 02:06 |
Alysum | another partition | 02:06 |
PhotoJim | Alysum: I would strongly recommend against physically moving it. but if you want it on another device, just mount that device partition at /var/log ... | 02:06 |
PhotoJim | Alysum: copy the contents of /var/log somewhere else first, mount the partition, then copy everything back. | 02:06 |
Alysum | I'd put a symlink /var/log => /mnt/var/log | 02:07 |
PhotoJim | Alysum: if you prefer another location, I strongly recommend against it. but you could make a soft link to point to it, and put that anywhere. | 02:07 |
Alysum | I did that but then nothing was logging | 02:07 |
jmedina | Alysum: did you restart syslog? | 02:07 |
twb | Alysum: why do you *want* to move it? | 02:07 |
Alysum | well /dev/sda has a few hundreds MB free... | 02:07 |
jmedina | syslog trunks files | 02:07 |
jmedina | *truncates | 02:08 |
Alysum | symlink is allright isnt it? | 02:08 |
Alysum | I know it's risky but lots of people put the whole OS on just a 5GB partition | 02:09 |
Alysum | i.e. Amazon Web Services EC2 | 02:09 |
jmedina | I have moved /var/log to another particion with the following procedure | 02:12 |
Alysum | yes? | 02:12 |
twb | 4GiB is heaps for the root filesystem of a server. | 02:12 |
jmedina | rsyn /var/log to new location, stop temporaly sysklogd (at night), mount new location as /var/log, and then restart sysklogd | 02:12 |
twb | For a desktop I might allocate 8GiB. | 02:12 |
twb | Of course, I would normally use LVM so it is trivial to grow the space allocated. | 02:13 |
Alysum | ./dev/sda1 4.0G 3.1G 713M 82% / | 02:13 |
twb | Alysum: cd / && sudo du -mx | sort -nr | head | 02:14 |
twb | Alysum: that will tell you where all the space is going | 02:14 |
PhotoJim | twb: it isn't trivial if you don't use LVM, but it's not impossible. I just resized partitions on an ancient system I have. pulled the drive, hooked it up by USB to my laptop, about a half an hour and it was done. | 02:14 |
Alysum | so you mounted /var/log on top of /var/log with the contents in there already | 02:14 |
twb | PhotoJim: granted. | 02:14 |
twb | PhotoJim: it's a lot harder if you have to shuffle partitions around, though. | 02:15 |
PhotoJim | twb: agreed. but it isn't something a person has to avoid if they didn't use logical volumes, and their partitions are inappropriately sized. | 02:15 |
twb | In any case, my "rule of thumb" is still: use LVM | 02:16 |
PhotoJim | if you go to single user mode, does logging still occur? I swapped /home and /usr in single user mode once. but not sure that'd be wise with /var. | 02:16 |
twb | Particularly since most of the machines I deal with are in other countries. | 02:17 |
Alysum | I need to do this on a live server so it's quite critical to come up with a good plan :( | 02:17 |
jmedina | twb: I agree, lvm rules for remote systems, and of course grub fallback :D | 02:17 |
Alysum | btw to stop syslog do I just kill the process? | 02:18 |
jmedina | Alysum: well it is not needed to restart | 02:18 |
PhotoJim | twb: that does add to the difficulty level :) | 02:18 |
Alysum | no but if anything that cant log it crashed | 02:18 |
jmedina | I would sync, add new entry to /etc/fstab then | 02:18 |
jmedina | invoke-rc.d sysklogd stop && mount -a && invoke-rc.d sysklogd start :D | 02:18 |
twb | You can use "lsof | grep var/log" to find out what, if anything, is using that directory subtree. | 02:28 |
Alysum | yes ta | 02:29 |
Alysum | allright I found 1 non rotated log og 1.9GB that is going to be fixed so no need to move /var/log :) | 02:47 |
twb | Alysum: hooray | 02:59 |
Alysum | lol | 02:59 |
twb | Alysum: now write a logrotate rule for that file | 02:59 |
Alysum | indeed | 02:59 |
twb | Out of curiosity, what created that file? | 03:00 |
Sam-I-Am | moo | 03:40 |
twb | Sam-I-Am: this IRC channel does not contain easter eggs. | 03:43 |
Sam-I-Am | haha | 03:43 |
Sam-I-Am | not yet :P | 03:43 |
WebsiteEbayLike | can i have some help im makeing a web site and what verson of Apache should i download for ubuntu sever 8.10 | 04:46 |
JanC | there is only one version of Apache in Ubuntu... | 04:47 |
toothy | hi guys... is ebox the web-based mgmt tool of choice for intrepid? | 04:47 |
WebsiteEbayLike | can you give me a link 1st time useing ubuntu sever | 04:47 |
toothy | i just saw in the docs that it's totally broken, but i was told that Ubuntu sides iwth ebox | 04:48 |
JanC | WebsiteEbayLike: I suggest you read the server guide first | 04:48 |
WebsiteEbayLike | ok sorry | 04:49 |
JanC | http://doc.ubuntu.com/ubuntu/serverguide/C/ | 04:49 |
fabio | hi everyone | 04:50 |
fabio | i'm fabio | 04:50 |
twb | fabio: do you have a question? | 04:50 |
fabio | whrer can i find ubuntu developers? | 04:51 |
JanC | everywhere | 04:51 |
fabio | someone here understands the concept of gconf-editor | 04:52 |
WebsiteEbayLike | could i use this one for the ubuntu sever http://www.archicentral.com/mirrors/apache/httpd/httpd-2.2.11.tar.gz | 04:52 |
WebsiteEbayLike | 8.10 | 04:52 |
fabio | and ldap autentication? | 04:52 |
JanC | WebsiteEbayLike: you don't seem to understand how Ubuntu works, so please go read the server guide first | 04:53 |
JanC | (and no, that's not the one you need) | 04:53 |
WebsiteEbayLike | ok im sorry i just needed a littel bit of help )-: | 04:54 |
JanC | WebsiteEbayLike: you're making things way more complicated than needed, you'll see that when you read the docs | 04:54 |
fabio | the server already comes with apache | 04:55 |
JanC | fabio: depends, not after a minimal server install | 04:55 |
JanC | but maybe he has it already, true | 04:55 |
fabio | i'm using 8.04 yet | 04:56 |
fabio | guys where are you from? | 04:57 |
fabio | i'm from brazil | 04:57 |
JanC | Belgium, so *really* time to go to bed ;) | 04:57 |
fabio | nice dreams | 04:58 |
fabio | janc? female or male? | 04:58 |
PhotoJim | JanC: might as well just stay up now ;) | 04:58 |
JanC | or just sleep late ;) | 04:59 |
WebsiteEbayLike | i got it off ubuntu.com off of sever its about 700mb so dos it already got it in it | 04:59 |
JanC | fabio: it's not really custom here to ask that | 04:59 |
fabio | dude i m new here | 04:59 |
JanC | WebsiteEbayLike: it has apache on the CD yes | 04:59 |
WebsiteEbayLike | ok thank you | 05:00 |
fabio | i have to meet you guys | 05:00 |
fabio | belgium is a nice place to live | 05:00 |
JanC | WebsiteEbayLike: but you would know that when... | 05:00 |
fabio | who uses ldap server? | 05:02 |
JanC | if you like cold & rainy places yes | 05:02 |
twb | JanC: and fries | 05:02 |
fabio | i like well developed places | 05:02 |
fabio | and blondies | 05:02 |
PhotoJim | JanC: in my part of Canada, if the precipitation is falling as rain, it can't truly be cold. :) | 05:03 |
fabio | here in rio is too hot | 05:03 |
JanC | PhotoJim: I can imagine ;) | 05:04 |
PhotoJim | JanC: although one of the coldest days in recent memory for me was a September day in Edinburgh :) | 05:04 |
fabio | who have tested win7 | 05:05 |
fabio | ? | 05:05 |
PhotoJim | I'm more the type to get a 2.6.29 kernel running on a 486 than to test bleeding-edge Windows. | 05:07 |
fabio | good answer | 05:08 |
fabio | arch kernel'? | 05:08 |
JanC | linux kernel I suppose :P | 05:09 |
PhotoJim | Yup. Debian in this case, but only because that's what that machine has had on it for almost a decade. | 05:09 |
fabio | i did this test with gentoo | 05:10 |
PhotoJim | I migrated to Ubuntu on my GUI-equipped machines, and now I have Ubuntu on my new server. (this 486 was my server in 2002. experiment.) | 05:10 |
fabio | 4 days compilig | 05:10 |
incidence | anybody knows if there is a better way than suexec? to run apache2 with the file owners permissions | 05:10 |
PhotoJim | fabio: my 486 takes 4 days just to compile the kernel. building the userland would probably take the better part of a month. | 05:11 |
PhotoJim | incidence: sorry, I don't. hopefully someone else does. | 05:12 |
fabio | a fully compiled instalation is very funny | 05:13 |
fabio | i love to do that | 05:13 |
JanC | PhotoJim: biggest slowdown is lack of memory, I guess? | 05:13 |
PhotoJim | JanC: and the ISA bus. :) | 05:13 |
PhotoJim | JanC: I have 32 MB on that machine, which is a ton for a 486 built in 1991, but not a lot by today's standards to say the least. | 05:14 |
JanC | yeah, mine had only 4 MiB IIRC | 05:14 |
JanC | never ran linux on that though | 05:15 |
PhotoJim | 4 is theoretically possible, but it would not be fun. | 05:17 |
PhotoJim | my stripped-down 2.6.27 kernel (the latest I actually have running) is 1.6 MiB. | 05:17 |
toothy | hi guys... is ebox the web-based mgmt tool of choice for intrepid? (sorry for double post here... inet is going in and out) | 05:36 |
twb | toothy: it seems to be the one endorsed by Ubuntu Serevr. | 05:36 |
toothy | twb, do you know if it is functional on 8.10? | 05:38 |
toothy | the docs say its no good | 05:39 |
toothy | but the bug says a fix was released | 05:39 |
twb | I don't know. | 05:39 |
friartuck | how do i add time stamp to stderr with tar? quick test: "tar -cvf test.tar /var/run 2>> tar.log" generates socket erros. | 06:34 |
twb | { tar -foo; date; } >tar.log 2>&1 | 06:36 |
=== Zaraphrax is now known as Zaraphrax_ | ||
=== Zaraphrax_ is now known as Zaraphrax | ||
friartuck | twb eh, I only want the errors. tried { tar -foo; date; } 2>>tar.log and I'm getting the errors, but no timestamp | 06:49 |
twb | friartuck: that's because date is printed the stdout | 06:49 |
friartuck | ah | 06:49 |
twb | 2>> is a bashism, btw | 06:49 |
twb | Oh, maybe not. | 06:49 |
friartuck | just want to append... | 06:49 |
_ruben | possibly something like (again not tested): tar -foo 1>/dev/null 2>&1 | while read line; do date; echo $line; done >> tar.log | 06:55 |
twb | _ruben: you have those redirects the wrong way around | 07:03 |
friartuck | _ruben no dice, | 07:03 |
friartuck | I'll switch the redirects | 07:04 |
twb | You also need to suppress the trailing newline from date, which is hard | 07:04 |
twb | Better would be just to pipe it into logger | 07:04 |
twb | i.e. go via syslog | 07:04 |
friartuck | twb yeah, I could break it out to separate file with syslog-ng. | 07:07 |
twb | IIRC syslog-ng isn't in the main category. | 07:08 |
twb | Between syslog-ng and rsyslog I'd recommend the latter, because that's the new Debian default (and therefore I expect Ubuntu to follow suit in the next LTS release.) | 07:08 |
friartuck | twb haven't seen rsyslog, thx. looking into that. | 07:09 |
_ruben | like i said .. didnt test it ;) .. i never seem to accurately remember in which order to place those redirects :p | 07:15 |
friartuck | _ruben np. seems like it should be doable. I'm still fiddling with it. | 07:16 |
_ruben | as for the new line after date .. there's several more or less nasty tricks for that :) | 07:17 |
_ruben | echo -n `date` being one of em :p | 07:17 |
=== AnRkey_ is now known as AnRkey | ||
kraut | moin | 08:26 |
uvirtbot` | New bug: #352934 in likewise-open5 (universe) "Painful" [Undecided,New] https://launchpad.net/bugs/352934 | 08:30 |
friartuck | _ruben twb i got the time stamp prepended to tar's stderr...but now I lost my stdout. where did stdout go? http://pastebin.com/m77797a8d | 09:29 |
_ruben | you redirect stuff to the while loop from 2 sides, that cant be right | 09:32 |
friartuck | _ruben well, it works | 09:32 |
_ruben | you stdout gets redirected to the while loop .. but you also redirect the contents of tmperr to it .. not sure what would be the result .. one might be in the way of the other | 09:34 |
_ruben | but instead of fiddling with code snippets, why dont you outline what you want exactly ;) | 09:34 |
friartuck | _ruben it's an academic exercise. I'm making an incremental backup program with tar and saw the socket errors. I know I can ignore them...I just kinda fell down a rabbit-hole. | 09:36 |
Ethos | anyone know much about php5-mssql_5.2.6-2ubuntu4.1_i386.deb? | 09:36 |
_ruben | friartuck: well .. which info (stdout/stderr/etc) do you want to end up where, etc? | 09:40 |
friartuck | _ruben I found the stdout. I put 1>&0 before the stderr redirect. http://pastebin.com/m7c621642 . stdout to the screen, stderr to a text file with prepended time-stamp. | 09:49 |
friartuck | it works ^^ | 09:51 |
incorrect | I was thinking about building an ipsec vpn server that would work with the vpn wizard, are there any docs/howto's for this? | 10:03 |
friartuck | incorrect here's a start: https://help.ubuntu.com/community/OpenVPN ipcop and smoothwall would be easier. | 10:07 |
incorrect | friartuck, I think i will want to do a very specific config, I am not a fan of either, i use pfsense for my firewalls, but i've found ipsec support some what limited | 10:08 |
emma7 | hi guys | 10:13 |
emma7 | can any of you help me with setting up a gui on ubuntu server? | 10:15 |
emma7 | come on guys | 10:16 |
friartuck | emma7 google "ubuntu server gui" | 10:16 |
Ethos | sudo apt-get install ubuntu-desktop | 10:16 |
emma7 | thanx Ethos, i just typed that command but the output is negative. "E: couldn't find package ubuntu-desktop" please help | 10:19 |
Ethos | try sudo apt-get update then the command again | 10:20 |
emma7 | let me try that | 10:21 |
emma7 | the result is still negative, it says "W: some index files failed to download, they have been ignored, or old ones used intead." | 10:25 |
emma7 | do i need to have the machine connected to the internet? | 10:26 |
friartuck | emma7 yes. | 10:26 |
Ethos | yes :\ | 10:26 |
emma7 | but how do verify that my server is connected coz yes i have plugged in my lAN cable and the lights are on. can you please give me a command that will show my ip config. | 10:28 |
friartuck | emma7 ifconfig -a | 10:29 |
emma7 | ok, i think i have to manually assign an ip add to this machine, how do i do that? | 10:31 |
friartuck | emma7 try first: sudo /etc/init.d/networking restart | 10:31 |
emma7 | it says that "No such file or directory | 10:33 |
emma7 | friatuck are you still there? | 10:34 |
friartuck | yea | 10:34 |
emma7 | thanx, do i have any chance of making this work? | 10:36 |
friartuck | emma7 did you have network when you did the install? | 10:36 |
emma7 | the cable was unplugged. why? | 10:36 |
=== asac_ is now known as asac | ||
emma7 | do i have to redo the installation with the network cable plugged in? | 10:38 |
_ruben | if you lack /etc/init.d/networking, then you (atleast) lack the netbase package .. you could try to install with your install cd/dvd present (using sudo apt-get install netbase) | 10:39 |
emma7 | let me try that ruben | 10:40 |
friartuck | emma7 you will probably need to edit /etc/apt/sources.list and uncomment the first line "#deb cdrom...." | 10:41 |
_ruben | incorrect: if you want plain ipsec (so not l2tp over ipsec like windows does for instance, and osx as well), look into openswan or strongswan (openswan being my personal favorite) | 10:41 |
incorrect | thanks | 10:43 |
emma7 | it says permission denied friatuck | 10:44 |
friartuck | sudo vi /etc/apt/sources.list | 10:44 |
emma7 | good i am getting somewhere now fraituck | 10:45 |
emma7 | now what must i edit | 10:46 |
friartuck | emma7 the line that starts with "#deb cdrom...". uncomment that. | 10:46 |
friartuck | should be the first line | 10:47 |
emma7 | got it | 10:47 |
friartuck | emma7 try: sudo apt-get install netbase | 10:48 |
emma7 | ho do i uncomment it? | 10:48 |
friartuck | ha | 10:48 |
friartuck | emma7 put the cursor over the # and hit x. that should remove it. then do: :x and hit enter. | 10:50 |
emma7 | i am a dummy in linux, please help, i have tried using the backspace on my key board but it cant work | 10:50 |
emma7 | great the x did it | 10:50 |
friartuck | to exit vi do: :x [enter] | 10:51 |
ivoks | anyone with jaunty -server kernel here? | 10:52 |
_ruben | ivoks: i upgraded my fileserver to jaunty beta last night | 10:52 |
ivoks | _ruben: you have -server kenel? | 10:53 |
_ruben | yeah | 10:53 |
emma7 | thanx iam bac in config mode | 10:53 |
ivoks | _ruben: modinfo drbd? | 10:53 |
friartuck | emma7 try: sudo apt-get install netbase | 10:53 |
_ruben | ivoks: http://paste.ubuntu.com/141956/ | 10:54 |
ivoks | _ruben: it works? | 10:54 |
ivoks | hm | 10:54 |
ivoks | is anyone here using clustered filesystem? | 10:55 |
_ruben | not yet, its still somewhere down there on my todo list :/ | 10:56 |
ivoks | _ruben: did you pick one or still looking at options? | 10:56 |
_ruben | ivoks: vmfs would be my choice, as it would be used by esxi nodes :) | 10:57 |
ivoks | o, i was asking about linux filesystems | 10:58 |
_ruben | i know | 10:58 |
_ruben | i looked into those briefly ages ago | 10:58 |
emma7 | friatuck netbase is still the newest version | 10:59 |
emma7 | friatuck netbase is still the newest version | 11:00 |
_ruben | then you either did something wrong earlier, or messed up during the install | 11:00 |
_ruben | you could try: sudo apt-get install --reinstall netbase .. not sure if that'd break anything though | 11:00 |
emma7 | friatuc are you gone? | 11:01 |
friartuck | emma7 looking for easy way...might be easier to just reinstall. would you loose any data? | 11:01 |
emma7 | no | 11:01 |
_ruben | and further more, installing (ubuntu-)desktop on your server install, makes it a desktop really, not a server ;) | 11:01 |
friartuck | yes, good point. emma7, do you want a desktop? better to use the desktop version. | 11:02 |
emma7 | but will u still be available like 15 minutes from coz i really find you helpfull | 11:02 |
friartuck | ha | 11:03 |
emma7 | no i need a server not a desktop | 11:03 |
friartuck | emma7 then learn server and don't install a gui. | 11:03 |
_ruben | then why ask how to install a desktop ? | 11:03 |
emma7 | ok i bet i have to | 11:04 |
friartuck | emma7 start reading here: https://help.ubuntu.com/8.10/serverguide/C/index.html | 11:04 |
emma7 | thanks friatuck, by the way i am from Zambia, Africa. | 11:06 |
friartuck | emma7 nice, I'm from Texas, America. :) | 11:07 |
emma7 | bye | 11:07 |
ivoks | ok... i would really like to replace gfs with ocfs | 11:14 |
ivoks | :) | 11:14 |
ivoks | and rhcs with linuxha | 11:15 |
_ruben | linux-ha i do use, still v1 though, v2 has quite a steep learning curve imo | 11:18 |
_ruben | works like a charm for our loadbalancers and firewalls .. anyways, im off for a bit | 11:19 |
uvirtbot` | New bug: #352446 in tomcat6 (main) "libtomcat6-java depends on libecj-java (dup-of: 347393)" [Undecided,New] https://launchpad.net/bugs/352446 | 11:31 |
ivoks | is anyone using redhat cluster suite on ubuntu... at all? | 11:32 |
jussi01 | Hrm, anyone know which file I need to edit to change the http upload size limit? | 11:35 |
ivoks | http does't have upload size limit | 11:36 |
ivoks | you are probably thinking of php | 11:37 |
ivoks | that's it... i' moving to fedora. | 11:54 |
ivoks | sommer: ping | 14:15 |
ivoks | sommer: bah, never mind :) | 14:16 |
sommer | ivoks: ok :-) | 14:53 |
emretemp | hi all, I want to run my tomcat web application server with a non-root user (named as tomcat), at the command prompt I can do it typing "su - tomcat /opt/tomcat/bin/start.sh" everything is cool with this unless I mark tomcat user with "nologin" option at /etc/password file. well what I want is to run tomcat with a non-root user, and I also dont want that user to be able to login with a ssh from outside. any solutions to this? | 15:13 |
Doonz | Hey Guys im running VMWARE-Server 2.0 on my system. I have ports 902,8222,8333 all forwarded through the router. Anyone know why i cant seem to access the web gui on the VMWARE server? | 15:16 |
genii | emretemp: PErhaps set shell to something like /bin/false | 15:20 |
simplexio | emretemp: change /bin/bash to /bin/false in /etc/passwd | 15:22 |
genii | I think also chsh might work | 15:23 |
AnRkey | is there a way to get OOo to use M$ formats by defaults via preseeding or script? | 15:33 |
emretemp | genii, simplexio thx all, bin/false is the way to go | 15:34 |
AnRkey | bin/false is a life saver :P | 15:34 |
genii | emretemp: When there is no viable shell, login is impossible even with password, etc | 15:35 |
ivoks | AnRkey: i guess you can do that | 15:35 |
AnRkey | ivoks, do what? | 15:35 |
ivoks | AnRkey: i would start looking at /usr/lib/openoffice/basis3.0/presets/config | 15:35 |
AnRkey | ahh, ta | 15:36 |
emretemp | genii, yup, simple logic, dont ya all love linux. | 15:36 |
ivoks | AnRkey: or somewhere there | 15:37 |
AnRkey | thanks, looking now | 15:40 |
beniwtv | hi all... on a NFS exported directory, I'm getting Input/Output error when executing a script. Any ideas? | 15:47 |
giovani | beniwtv: it's failed in some way? network, etc | 15:49 |
giovani | did you soft or hard mount it | 15:49 |
beniwtv | giovani: In fstab, I'm using: <ip>:/media/RAID/internal/machines/vm01 /media/DATA nfs timeo=14,intr | 15:50 |
beniwtv | giovani: But I'm suspecting it is something I need to configure... | 15:51 |
beniwtv | Maybe by default you can't execute things? All other things seem to work fine, like ls, cp and so on... | 15:51 |
giovani | you have execute permissions? | 15:52 |
giovani | however, adding the "soft" option to your /etc/fstab line | 15:52 |
giovani | will attempt to resolve network/reconnection issues silently in the background | 15:52 |
giovani | rather than reporting them directly to the application | 15:52 |
beniwtv | giovani: it is: -rwxr-xr-x 1 root root 195 2009-03-31 19:54 /media/DATA/Virtual/copy-tgz.sh | 15:54 |
beniwtv | the soft option didn't change anything, though :/ | 15:54 |
giovani | (you'd have to remount it after changing an option, of course) | 15:54 |
beniwtv | Anyway, it shouldn't be a network problem, as both servers are on the same switch of the same lan | 15:54 |
giovani | but yeah, it might be another problem | 15:54 |
beniwtv | giovani: yeah, I did unmount and remount | 15:54 |
giovani | it's bash reporting an input/output error? | 15:54 |
giovani | or the script you're trying to run? | 15:55 |
beniwtv | giovani: -bash: /media/DATA/Virtual/copy-tgz.sh: Input/output error | 15:55 |
giovani | and if you try and access the file locally on the nfs host it works fine? | 15:55 |
beniwtv | giovani: Oops... It did work fine before, but now it doesn't. Not even a "cat"! *sigh* So that's it... thanks | 15:56 |
giovani | heh | 15:57 |
giovani | possibly a corrupted fs or bad drive | 15:57 |
beniwtv | giovani: I have had problems with the RAID.... the test server I'm using doesn't really like my 4U RAID array, so yeah, bad day I guess :( | 15:58 |
beniwtv | giovani: I used lots of workarounds to get it working, but it falls apart... Time to get a new RAID card... :) | 15:58 |
giovani | good luck | 15:59 |
EAGLE914 | hi I have problems setting up a samba server on my network. I followed the Ubuntu documentation, but when I try to find the server on a windows computer I cannot find the server. | 16:02 |
giovani | EAGLE914: if you try using the IP directly? i.e. \\IP.OF.SERVER\ does that work? | 16:03 |
EAGLE914 | This is my first time using linux so. How do I find the server ip? The server run Ubuntu 8.10 | 16:04 |
giovani | oh boy | 16:04 |
giovani | on the server, run "ifconfig" | 16:04 |
giovani | the IP address should be printed there | 16:04 |
giovani | but if you don't know the IP of your server ... setting up samba is probably too complex right now | 16:04 |
EAGLE914 | I wrote ipconfig in terminal and the it said that the command does not exist | 16:05 |
giovani | I said ifconfig | 16:05 |
giovani | not ipconfig | 16:05 |
EAGLE914 | oh sorry. My bad | 16:06 |
EAGLE914 | yes i found the ip adress for the server | 16:08 |
giovani | right, so you need to address it directly, in windows | 16:08 |
giovani | \\192.168.1.101 | 16:08 |
giovani | for example, in windows explorer | 16:08 |
EAGLE914 | ok | 16:08 |
EAGLE914 | I can't find it | 16:12 |
EAGLE914 | i tried to ping it from cmd and it was no response | 16:12 |
farmorg | hi, anyonr here know about sparc? have been trying to install 8.04 server on an ultra 60 & getting the "Booting Linux" prob - ie it's the last thing displayed on ttya. been googleing & found ppl talking about it but no fix. i have input-device & output-device set to ttya in openboot & have also tried booting with install video=atyfb:off mem=384 as per docs but no luck :( | 16:12 |
=== hessml|away is now known as hessml|away|away | ||
Iceman_B^Ltop | is there any way to reinitialize eth0 ? | 16:15 |
Iceman_B^Ltop | perhaps that will help | 16:15 |
giovani | Iceman_B^Ltop: sudo ifdown eth0 | 16:15 |
giovani | Iceman_B^Ltop: sudo ifup eth0 | 16:15 |
giovani | what's wrong though? | 16:15 |
Iceman_B^Ltop | same problems | 16:16 |
genii | That won't usually re-initialize it, just bring it down and back up | 16:16 |
EAGLE914 | I cannot connect to the server | 16:16 |
Iceman_B^Ltop | check out my SSH clone here in the channel | 16:16 |
giovani | EAGLE914: then you've probably misconfigured things | 16:16 |
genii | Iceman_B^Ltop: Try instead: sudo /etc/init.d/networking restart | 16:16 |
EAGLE914 | I thought so | 16:17 |
giovani | EAGLE914: it sounds like you need to tackle some linux basics before you go configuring samba -- which isn't terribly simple | 16:17 |
Iceman_B^Ltop | genii: thanks, I'll try that | 16:17 |
EAGLE914 | I have a friend that is good at programming and he is helping me | 16:18 |
EAGLE914 | but he has never created a server before....... | 16:18 |
Iceman_B^Ltop | Samba...configuration | 16:20 |
Iceman_B^Ltop | *shudder* | 16:20 |
Iceman_B^Ltop | does Samba support file locking and such a la Windows XP ? | 16:20 |
EAGLE914 | thanks for the help, but I need to go now | 16:21 |
giovani | genii: reading /etc/init.d/networking -- all it does is issue ifup and ifdown, with a few options ... | 16:21 |
giovani | is there something I'm missing that makes it more complete? | 16:22 |
Iceman_B^Ltop | genii: nope, that didnt help. I'm stilling having networkdrops on my server. apprantly the entire connection just...."jams" cause it's not only my SSH connection on the LAN, but also its connection to irc | 16:31 |
=== hessml|away|away is now known as hessml|away | ||
giovani | Iceman_B^Ltop: you were the one with no packet loss reported on the interface though, right? | 16:31 |
Iceman_B^Ltop | define packetloss. if I do "ip -s link" everything seems fine | 16:32 |
Iceman_B^Ltop | its just that at random intervals, the eth0 stops responding or something | 16:33 |
Iceman_B^Ltop | a few minutes later its back up again | 16:33 |
giovani | ok | 16:33 |
Iceman_B^Ltop | but yeah, that was probably me, ive been here with the same issue for a few days | 16:33 |
giovani | are you able to sit physically at the machine, or use some other method of accessing it during these times? | 16:33 |
Iceman_B^Ltop | unfortunaely not. Im getting a monitor later tonight. Im still short a keyboard | 16:34 |
Iceman_B^Ltop | so everything I do is via putty | 16:34 |
Iceman_B^Ltop | the server itself doesnt reboot btw | 16:34 |
giovani | ok, it could be a bad network card, could be a bad driver | 16:34 |
giovani | could be something non-network related, like cpu/mem/fragmentation | 16:34 |
giovani | what kind of hardware is it? | 16:35 |
Iceman_B^Ltop | Dell Dimension 8200 | 16:35 |
genii | I had a Realtek that would drop the connection every time a download started | 16:35 |
Iceman_B^Ltop | P4 1,6Ghz, 256MB ram, 100Mbit ethcard, 160 GB drive | 16:35 |
giovani | Iceman_B^Ltop: you know what kind of card is in there? | 16:35 |
Iceman_B^Ltop | hmm, can I find out over the console? | 16:35 |
genii | Could also be mtu mismatch, but unlikely | 16:36 |
giovani | Iceman_B^Ltop: yep -- run "lspci" from the console | 16:36 |
giovani | and pastebin the output | 16:36 |
Iceman_B^Ltop | remember, 8.10 dekstop had no such qualms, the only difference in hardware was the hdd | 16:36 |
Iceman_B^Ltop | alright | 16:36 |
giovani | oh yes ... we went over this | 16:36 |
giovani | it's highly unlikely that the server kernel is the cause here | 16:36 |
genii | All else being equal, likely is the -server driver for eth0 is different then the -generic | 16:37 |
Iceman_B^Ltop | http://pastebin.ubuntu.com/142135/ | 16:37 |
giovani | 3com, hmm | 16:38 |
Iceman_B^Ltop | another stupid thing could be that I tapped the eth card while I was working on switching the hdd | 16:38 |
giovani | genii: well, we could have him install the generic kernel and see how that functions ... | 16:38 |
Iceman_B^Ltop | maybe I knocked it loose or something, though unblikely | 16:38 |
genii | giovani: Would narrow it down quick if it was the case. I've seen this before with restricted drivers | 16:39 |
giovani | Iceman_B^Ltop: how often does this happen? | 16:39 |
Iceman_B^Ltop | eversince I installed 8.10 server | 16:39 |
Iceman_B^Ltop | half a week ago | 16:39 |
giovani | no | 16:39 |
giovani | how often | 16:39 |
Iceman_B^Ltop | oh | 16:39 |
giovani | as in ... frequency | 16:39 |
Iceman_B^Ltop | everytime you see Iceman_B|SSH drop | 16:39 |
Iceman_B^Ltop | a few times / hour | 16:40 |
giovani | ok | 16:40 |
Iceman_B^Ltop | seemingly random intervals too | 16:40 |
giovani | I'd recommend installing the -generic kernel, just to see if that's the cause | 16:40 |
giovani | "sudo apt-get install linux-image-generic" | 16:41 |
Iceman_B^Ltop | I;ll try that, if someone can wlak me through that. never switched Kernels before, or built one | 16:41 |
Iceman_B^Ltop | ...that was easy :p how long will it take? | 16:41 |
giovani | you don't need to build it, it's a package, it's the kernel that would be installed with ubuntu desktop | 16:41 |
giovani | dependong on your net connection ... 10-15 min? | 16:41 |
Iceman_B^Ltop | oh okay | 16:41 |
Iceman_B^Ltop | its running | 16:42 |
giovani | you'll need to reboot | 16:42 |
giovani | to boot into the kernel | 16:42 |
giovani | and then when it boots back up type "uname -a" to make sure that it's running -generic rather than -server | 16:42 |
Iceman_B^Ltop | okay | 16:42 |
giovani | and then sit back and wait for the problem to happen again -- if it never happens again (wait a while before concluding that), then, the problem's been isolated | 16:42 |
Iceman_B^Ltop | wait, will that show up in GRUB? or rather, do I need to select that kernel in grub ? | 16:42 |
giovani | it should make itself the default grub kernel, it won't replace your old one | 16:43 |
Iceman_B^Ltop | (it;s installing now) | 16:43 |
giovani | if you remove it later, it'll remove itself from grub | 16:43 |
Iceman_B^Ltop | okay. so when I issue a reboot command, I could let the machine stand unattended and it should boot into the generic kernel? | 16:43 |
giovani | yes | 16:43 |
giovani | but confirm that it has with "uname -a" (which prints which kernel the machine is running) | 16:43 |
Iceman_B^Ltop | alright | 16:44 |
Iceman_B^Ltop | "sudo shutdown -r now"? | 16:45 |
Iceman_B^Ltop | or reboot | 16:45 |
giovani | same thing | 16:45 |
Iceman_B^Ltop | giovani, Im checking out the menu.lst before I reboot | 16:51 |
giovani | Iceman_B^Ltop: k | 16:51 |
Iceman_B^Ltop | it says "default 0" but the generic kernel is is listed as third | 16:51 |
Iceman_B^Ltop | should I change the 0 into 2 ? | 16:51 |
giovani | Iceman_B^Ltop: yes | 16:53 |
ScottK | Anyone here running amavisd-new on Jaunty that could test a new clamav package? | 16:54 |
cemc | ScottK: no, but I have a vm and could set it up quickly | 16:56 |
ScottK | cemc: That'd be great. It should work fine with 0.95, but I want to make sure. | 16:56 |
Iceman_B^Ltop | giovani: I think its rebooting now | 16:58 |
cemc | ScottK: it's in the PPA ? | 16:59 |
ScottK | cemc: No. The amavisd-new from the archive should just work. | 16:59 |
cemc | ah, right, ok | 17:00 |
Iceman_B^Ltop | ravi@Rin-chan:~$ uname -a | 17:01 |
Iceman_B^Ltop | Linux Rin-chan 2.6.27-11-generic #1 SMP Thu Jan 29 19:24:39 UTC 2009 i686 GNU/Linux | 17:01 |
Iceman_B^Ltop | guess it worked | 17:01 |
=== tuxlinux_ is now known as tuxlinux | ||
Iceman_B^Ltop | giovani: I suspect the problem still remains, but we'll see | 17:07 |
giovani | Iceman_B^Ltop: what version of ubuntu are you running now? | 17:07 |
Iceman_B^Ltop | Linux Rin-chan 2.6.27-11-generic #1 SMP Thu Jan 29 19:24:39 UTC 2009 i686 GNU/Linux <-- I just installed that onto 8.10 server | 17:07 |
Iceman_B^Ltop | like you suggested | 17:08 |
giovani | ok, so, 8.10 | 17:08 |
giovani | but you were running 8.04 before | 17:08 |
giovani | so either this is a driver change from 8.05 to 8.10, or your hardware has become damaged in the meantime, which is what I first suspected | 17:08 |
Iceman_B^Ltop | nono, I wasnt running 8.04 | 17:09 |
Iceman_B^Ltop | 8.10 desktop before the hdd switch | 17:09 |
giovani | oh ok | 17:09 |
Iceman_B^Ltop | okay, perhaps it is hardware related... | 17:09 |
giovani | well the kernel might've changed slightly -- possible that a bug was introduced | 17:09 |
giovani | but unlikely | 17:09 |
Iceman_B^Ltop | hmm | 17:16 |
Iceman_B^Ltop | I'll take my server apart and check everything. maybe I broke something. I'll try another cable first though. it seems unlikely but maybe the cat6 is the culprit. I dont know how much difference another kernel makes for the eth card | 17:17 |
genii | Many kernel modules differ between kernels. | 17:18 |
Iceman_B^Ltop | different cable doesnt change a thing | 17:24 |
genii | Iceman_B^Ltop: Does apt-cache policy linux-restricted-modules-server show that it is installed? | 17:26 |
Iceman_B^Ltop | W: Unable to locate package linux-restricted-modules-server | 17:27 |
Iceman_B^Ltop | genii ^ | 17:27 |
genii | Hm | 17:30 |
genii | Seems on my Hardy to be in repos -proposed/universe -updates/universe and -security/universe | 17:33 |
Iceman_B|SSH | k, I SSH-ed to an exernal point, and from there through my router, into my server | 17:33 |
kees | kirkland: you uploaded powerman ? | 17:41 |
kirkland | kees: i did | 17:42 |
kees | some feedback: it should have been versioned -0ubuntu1 | 17:42 |
kirkland | kees: ah, right ... it was still in Debian ITP at the time | 17:43 |
kees | kirkland: sure, but all the more reason to have it be -0ubuntu1 so we could sync -1 | 17:43 |
kirkland | kees: yup, agreed | 17:43 |
Iceman_B^Ltop | genii / giovani: the problem remains. When I SSH into the server from an external point, that too gets dropped | 17:45 |
kirkland | kees: is that it? | 17:48 |
* kirkland was expecting a more thorough tongue lashing :-) | 17:48 | |
kees | kirkland: nothing really to do about it. :) I just wanted to point it out in case you're faced with a similar situation in the future. :) | 17:49 |
genii | Iceman_B^Ltop: What driver does: lsmod|grep 3c report? 3c59x or another? | 17:50 |
kirkland | kees: yes, thanks | 17:51 |
kirkland | kees: were you examining the MIR? | 17:51 |
kees | kirkland: am still, yes. | 17:51 |
=== nxvl_ is now known as nxvl | ||
Iceman_B^Ltop | genii: http://pastebin.ubuntu.com/142184/ | 17:53 |
genii | Reading | 17:53 |
kees | kirkland, nijaba: bug 337226 updated (a bit more work is needed...) | 17:55 |
uvirtbot | Launchpad bug 337226 in powerman "MIR - include powerman" [High,Incomplete] https://launchpad.net/bugs/337226 | 17:55 |
genii | OK, driver is right. Used to sometimes use wrong driver for TX versions (3c905 driver) | 17:55 |
Iceman_B^Ltop | okay | 17:57 |
genii | Iceman_B^Ltop: You are ssh in over lan-lan or lan-internet-lan path? | 17:58 |
kirkland | kees: cool, thanks. | 17:58 |
genii | (some routers etc don't like martians) | 17:58 |
kirkland | kees: just looked over the feedback, looks good. i'll punt to aquette for fixage | 18:02 |
=== hessml|away is now known as hessml|away|away | ||
Iceman_B^Ltop | genii: both | 18:14 |
Iceman_B^Ltop | both give the same trange behaviour | 18:14 |
Iceman_B^Ltop | I'm doing lan-lan now | 18:14 |
cemc | ScottK: amavisd-new seems to work ok, tested with clamd and clamscan, too | 18:47 |
ScottK | cemc: Great | 18:47 |
ivoks | cemc: thanks :D | 18:48 |
ivoks | there's no reason why it shouldn't though... | 18:48 |
cemc | yep | 18:49 |
ivoks | take care... | 18:49 |
=== hessml|away|away is now known as hessml|away | ||
Big_Ham | can I call phpinfo() from the shell? | 19:09 |
Big_Ham | without writing a PHP page and serving it up? | 19:10 |
genii | php cli? | 19:11 |
Big_Ham | well, I'm having a GD issue and I saw a pretty verbose output of php handlers with a phpinfo () page | 19:12 |
Big_Ham | my last task on the web side of this server ... Joomla has a plugin that handles image resizing for the purposes of thumbnails and it's not working | 19:13 |
Big_Ham | it says GD is the problem ... and I've already seen that I have GD installed, so I'm looking for some more verbose output | 19:13 |
genii | php -a will take you into interactive, you can issue any php based command there | 19:13 |
Big_Ham | hmmmm, php5-cli wasn't installed | 19:14 |
Big_Ham | interesting | 19:14 |
ball | Is it difficult to set up DHCP service on an Ubuntu Server box? | 19:33 |
Big_Ham | where are PHP log files kept? | 19:33 |
giovani | ball: nope, dnsmasq has a really simple, and easy-to-configure DHCP daemon | 19:35 |
ball | giovani: thanks, I'll look for that. | 19:35 |
ball | hello McKinley | 19:35 |
giovani | ball: google around for some instructions on setting it up -- but it's simple | 19:36 |
giovani | (it also provides dns, if you want that) | 19:36 |
ball | I don't, DNS is a whole separate nightmare. | 19:36 |
giovani | that's fine ... dns is optional | 19:36 |
giovani | but not a nightmare | 19:36 |
giovani | (dnsmasq isn't for running authoritative dns ... it's designed as an easy caching server for your internal network) | 19:37 |
=== Nicke_ is now known as Nicke | ||
ball | Okay. | 19:38 |
ball | That might be useful then. | 19:38 |
Bergcube | I am considering looking into the Citrix XenServer. (http://www.citrix.com/English/ps2/products/feature.asp?contentID=1686939) As far as I can tell the management tool XenCenter is m$ windows only. Are there any good Open Source alternatives for the management tool? | 19:41 |
giovani | Bergcube: I think xenserver is different from normal open-source xen | 19:44 |
giovani | there are some control panels for xen | 19:44 |
McKinley | Hi ball and others, I am trying to setup a router for 2 networks on the same machine. I have ufw and all the masquerading working. I think I am having some route problems. I haven't setup up any explicite routes. In this interfaces file, http://pastie.org/433917 , I am able to use the network on 192.168.2.1 to reach the Internet, but the network on eth1:1 doesn't route and thus never reaches my POSTROUTING rules. What routes | 19:44 |
Bergcube | giovani~ I am sure it is somewhat different. But I am a wuss. The Citrix XenServer comes in one easy install-cd, whereas the help pages for xen under ubuntu left me feeling like the largest human "huh?" in history... | 19:45 |
giovani | Bergcube: maybe ask in #xen? | 19:45 |
Bergcube | giovani~ Yeah, I guess. Old habits die hard I guess. I run a number of Ubuntu servers directly on the iron, and usually I've gotten great help in here. Sorry for the offtopicness. | 19:47 |
Iceman_B^Ltop | =_= | 20:00 |
Iceman_B^Ltop | graaah | 20:00 |
JessicaParker | can anyone assist with teh followiing ? googled it lots of people with the issue - no solution though........This kernel requires the following features not present on the CPU: 0:6 Unable to boot - please use a kernel appropriate for your CPU. | 20:04 |
ball | JessicaParker: is that with a kernel that shipped with Ubuntu Server? | 20:04 |
JessicaParker | yes just copy the iso straight to the cd and overwrote eveything | 20:05 |
JessicaParker | completed set up then on re-boot the problem happened | 20:05 |
JessicaParker | ball: any ideas ? | 20:08 |
ball | JessicaParker: what cpu? | 20:09 |
JessicaParker | not sure its an intel centrino bought in 2002 | 20:09 |
ball | JessicaParker: Might be a Pentium M then, or something | 20:10 |
ball | What version of Ubuntu? | 20:11 |
JessicaParker | its the latest server lts edition, just downloaded it toda | 20:11 |
JessicaParker | http://releases.ubuntu.com/hardy/ubuntu-8.04.2-server-i386.iso | 20:12 |
giovani | that's the latest server LTS release, the latest server release is 8.10 | 20:12 |
giovani | oh sorry, you did say LTS | 20:13 |
giovani | my mistake | 20:13 |
JessicaParker | do u think 8.10 may be better | 20:13 |
giovani | it's possible that the newer kernel in 8.10 might help | 20:13 |
giovani | it's worth a try | 20:13 |
JessicaParker | its not for production as yet anyway just trying some things out. | 20:13 |
JessicaParker | but i trust there is no easier way to get over this issue that anyone here knows off.........in which case i will try 8.10 to start with | 20:14 |
giovani | the issue is not one I've seen before -- and with a regular intel cpu ... it seems most likely to be a bug | 20:15 |
giovani | if you've asked for help elsewhere, and not gotten any response ... I'd try 8.10 | 20:15 |
JessicaParker | thanks i will try that as a start | 20:15 |
McKinley | Can anyone help with basic routing? In this format: up route add [-net|-host] <host/net>/<mask> gw <host/IP> dev <Interface> How do I state that I want all non 192.168.20/24 traffic to route to address 64.244.99.99 on eth0? | 20:18 |
McKinley | I am confused on the net and host parts | 20:18 |
friartuck | McKinley the default route is what you are looking for. that is specified as 0.0.0.0 0,0,0,0. | 20:21 |
McKinley | post-up route add -net 192.168.2.0 netmask 255.255.255.0 gw 64.244.99.99? Is this right? | 20:21 |
giovani | or "route add default gw 64.244.99.99 eth0" | 20:21 |
giovani | McKinley: no ... you said you want "non 192.168.20" traffic to be routed | 20:22 |
giovani | now you're entering a route to route that traffic | 20:22 |
McKinley | friartuck: I have aliases on each adapter. So, default route won't be enough, right? | 20:22 |
friartuck | McKinley default means....anything that is not explicitly specified. the default route usually points to the internet. you only need one default route. not sure about your question. | 20:23 |
McKinley | friartuck: I have a real ip on eth0 and another real on eth0:1. I need eth1 to route to eth0 and eth1:1 to route to eth0:1. In this case I can't use a default route. I need two different explicite routes, but I don't know how. | 20:26 |
genii | Hm. Could I use a bonding driver for dhcp-server to lan? | 20:26 |
friartuck | McKinley do you have two internet connections? dual-homed? | 20:27 |
ball | I was thinking yesterday about dual-homing | 20:27 |
ball | If I had one wired and one satellite connection, it would be nice to send video and voice over the wire and things like sftp and rsync up into space | 20:28 |
ball | ...with failover in both cases | 20:28 |
Deeps | source based routing needed here? | 20:28 |
ball | ...not sure how hard that is to do on Ubuntu though | 20:29 |
Deeps | from srcip1 route via gwip1, from srcip2 route via gwip2? | 20:29 |
McKinley | friartuck: Yes, they are 66.244.88.88/29 and 66.244.99.99/29 for arguments sake. They are up on eth0 and a ping -I and a traceroute -s works just fine. wget --bind-address to whatsmyip.us shows that I am getting out on either address just fine with expected results. | 20:29 |
McKinley | ball: my networks are staying logically separate, fyi. | 20:30 |
ball | McKinley: ok | 20:31 |
McKinley | ball: no failover or anything. Just 2 routers in one box with two NICs only. | 20:31 |
ball | I think I need a nap | 20:32 |
poningru | anyone alive? | 20:37 |
poningru | quick question regarding vmbuilder man pages | 20:37 |
poningru | and file:///home/poningru/Dev/ubuntu/ubuntu-doc/build/serverguide/C/jeos-and-vmbuilder.html | 20:37 |
poningru | err | 20:37 |
poningru | damn it | 20:38 |
poningru | sorry | 20:38 |
poningru | cant find the doc for jeos and vmbuilder online | 20:38 |
poningru | anyway | 20:38 |
* ball is almost alive | 20:38 | |
poningru | question is what does --net= stand for? | 20:38 |
poningru | and does --addpkg= handle dependencies? | 20:38 |
poningru | I think \sh is the person to ask but he seems afk | 20:39 |
infinity | vmbuilder is soren's baby. | 20:39 |
poningru | obtained with vmbuilder | 20:39 |
poningru | yeah | 20:39 |
infinity | (not \sh) | 20:39 |
poningru | oh | 20:39 |
poningru | sorry | 20:39 |
poningru | doh | 20:40 |
toothy | Using vsftp, is it possible to jail a user to a directory other than his home dir ? | 20:40 |
friartuck | McKinley I think you need policy based routing. I know how to do this with Cisco, it looks like it can be done with iproute2, but I'm not familiar. take a look here: http://lartc.org/howto/ | 20:40 |
Deeps | i can help with that | 20:42 |
friartuck | McKinley this one is more definitive, I think this is what you want: http://www.linuxhorizon.ro/iproute2.html | 20:42 |
McKinley | friartuck: and simply doing route add -host won't do it? Will the host 192.168.2.1 not be able to talk to the rest of 192.168.2.0? I'm checking out the link. | 20:42 |
Deeps | i dont properly understand the problem though, making it tricky to try and help, heh | 20:43 |
friartuck | McKinley hm, I think I misunderstood your question. | 20:43 |
infinity | toothy: AFAIK, vsftp isn't that flexible. You're either chrooting to home, or not at all. | 20:44 |
McKinley | friartuck: I'll reask it in a bit. Reading up, thanks. | 20:44 |
infinity | toothy: proftpd is much more flexible in that regard, but not technically "supported"... I'm not sure what other ftp daemons allow that level of customisation. | 20:44 |
infinity | toothy: What I tend to do is just chroot users to their home directory, and bind-mount the bits I want them to have access to. | 20:45 |
infinity | toothy: (ie: bind-mountind /srv/domain.com/www to /home/user/www.domain.com/) | 20:45 |
toothy | infinity, sorry, but what is bind mount ? | 20:45 |
toothy | can a symlink do the same? | 20:46 |
infinity | toothy: "mount -o bind /srv/domain.com/www /home/user/www.domain.com" | 20:46 |
infinity | toothy: And no, symlinks won't work. vsftpd won't follow a symlink from a chrooted location outside the chroot, for obvious reasons. | 20:47 |
maxb | Is there any difference between "-o bind" and "--bind" ? | 20:47 |
infinity | toothy: (If symlinks worked, users could just use them to break out) | 20:47 |
infinity | maxb: Other than the fact that I'm an onld UNIX hack who refuses to admit that mount has any switches other than "-t" and "-o", probably not. | 20:48 |
infinity | s/onld/old/ | 20:48 |
toothy | ah that makes sense | 20:48 |
poningru | infinity, lol | 20:48 |
toothy | infinity, should i add this mount to fstab? | 20:49 |
poningru | toothy, yes if you want it to be held in restart | 20:49 |
poningru | as in to be there after you restart the machine | 20:49 |
poningru | fs type is none btw | 20:50 |
infinity | maxb: In all honesty, I just prefer "-o loop" and "-o bind" because it reminds me what to put in the options field in fstab if I want to make it persistent. | 20:50 |
toothy | poningru, infinity thanks guys... ill give a shit | 20:51 |
Deeps | --bind is just an alias to -o bind | 20:51 |
toothy | *shot | 20:51 |
toothy | :X | 20:51 |
poningru | lol | 20:51 |
toothy | i give a shit! lol thanks again | 20:51 |
McKinley | friartuck: that second link is very clear. Thanks. I'll see if it works. | 20:52 |
Iceman_B^Ltop | yay, I got a monitor | 20:53 |
ball | Servers shouldn't have monitors ;-) | 20:53 |
Iceman_B^Ltop | I know | 20:54 |
Iceman_B^Ltop | they "should" not | 20:54 |
toothy | Servers shouldn't have iTunes :/ | 20:54 |
poningru | toothy, heh | 20:54 |
poningru | mpaad | 20:54 |
poningru | ftw | 20:54 |
poningru | wow this is cool vmbuilder I mean, used to build from iso | 20:59 |
Iceman_B^Ltop | can I force output to the vga port when I'm connected via SSH ? | 21:13 |
giovani | Iceman_B^Ltop: they're different terminals | 21:15 |
Iceman_B^Ltop | okay | 21:15 |
giovani | so, no, I don't believe that's possible | 21:15 |
uvirtbot | New bug: #352779 in dhcp3 (main) "Bad MTU for eth0 in 9.04 amd64" [High,Incomplete] https://launchpad.net/bugs/352779 | 21:16 |
giovani | your local terminals are tty1-6, usually, and your ssh terminals are pts/0-X | 21:17 |
Iceman_B^Ltop | okay | 21:18 |
=== MatBoy_ is now known as MatBoy | ||
poningru | anyone alive? | 22:04 |
poningru | creating stuff with vmbuilder | 22:05 |
poningru | http://pastebin.com/m7155f84d | 22:05 |
poningru | the command I used | 22:05 |
poningru | I cant get it to list stuff under virsh -c qemu:///system | 22:05 |
poningru | err nm | 22:09 |
centHOGGr | hi, I can't start my xserver coming from just a ubuntu server install.. aptitude install LXDE .. reboot .. no X | 22:25 |
toothy | infinity, question about jailing an FTP directory... since vsftp can jail to a home directory, does it make sense to simply make the dir i want to jail him into his home dir? something like sudo useradd -d /www/web/whatever username ? | 22:26 |
infinity | toothy: You *could*... But if he'll ever access the system in any other way (for mail, for instance, or whatever), that's bound to cause you headaches. | 22:27 |
toothy | got it, thank you | 22:29 |
centHOGGr | hi, how can you change xserver to only use the vesa driver? thx | 22:35 |
ball | Anyone happen to know what (if any) package contains whetstone and dhrystone benchmarks? | 22:40 |
=== mathiaz__ is now known as mathiaz |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!