[00:01] john have a look here : http://linux.byexamples.com/archives/101/mount-a-samba-point/ [00:03] WinstonSmith: well I should be more specific. I have some experience with this. I've been using this mount for a while now and it suddenly became ver very slow about 2 weeks ago [00:04] this is the line in /etc/fstab for instance //192.168.1.107/demigod /mnt/demigod cifs auto,file_perm=0666,dir_perm=0777,uid=1000,gid=1000,username=John,password=********,iocharset=utf8 0 0 [00:04] woked fine for months [00:04] john if you mount it via CLI for testing do you have the same behavior? [00:05] or if you access the share with a windows client... just to see where the problem lies.... [00:05] hrmmm yes i think so. let me double check. I did try it with smbclient cli and had the saem speed problems. let me mount it using those instructions and see what happens [00:06] ok will try with a windows client as well. [00:06] kk [00:09] hi [00:10] do sombody know a program to work php visual? [00:11] WinstonSmith: still with me? [00:11] john yep [00:11] WinstonSmith: on a windows client through explorer, copy ran at 4+ MB/s (wireless) [00:12] WinstonSmith: mounting with mout -t cifs, it runs at about 30 KB/s [00:12] john ouch [00:12] WinstonSmith: with cp from the ubuntu server box [00:12] and like i sadi, everything worked fin until about 2-3 weeks ago [00:13] john if you write on the share is it also slow? [00:14] WinstonSmith: heh... i dont think I have any large files on the ubuntu box... let me hunt around [00:14] kk [00:15] WinstonSmith: um wow... no it was hella fast in fact [00:16] WinstonSmith: i copied a 1.5 MB file in a blink [00:16] WinstonSmith: will look for something bigger [00:16] john after doing some google-fu i found a lot of people with this error - reading is slow but writing ok ill look further [00:19] WinstonSmith: i've run into this before with OSX on one of my other machines, but I fixed that with... hrrrm I think I fixed it by changing some TCP wetting on the mac box [00:19] WinstonSmith: setting* [00:21] WinstonSmith: it was "sudo sysctl -w net.inet.tcp.delayed_ack=0" had to do with some disagreement between windows and macs about how to do tcp [00:21] john do you have the socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 in your smb.conf? [00:22] WinstonSmith: hah! that must be the linux way of doing that mac osx command. :-) I will check [00:22] john im not sure [00:22] john just do a testparm and you will see right away [00:24] ugh test parm is letting me know that it does not recognize a bunch of options. [00:24] WinstonSmith: one more moment please [00:25] WinstonSmith: it is there, but commented out [00:26] john well you could give it a try [00:27] WinstonSmith: will do. right now in fact [00:28] john do you have a GUI on your linux box? [00:28] nope [00:28] john you could also try to add rsize=4k to your mount options [00:29] as suggested here : http://ubuntuforums.org/showthread.php?t=1213688 [00:30] look at post #5 [00:30] WinstonSmith: i will try that first... looks less intrusive :-)0 [00:31] john yes :P [00:31] ugh need help finding a host by name ? [00:33] WinstonSmith: that made it slower by half :-( now getting 15 KB/s [00:34] john did you use rsize=4096,wsize=4096? [00:34] WinstonSmith: yes [00:34] john eg you could try 16384 to see what happens [00:34] WinstonSmith: i was just thinking of doing that [00:35] 16384 FTW !!! [00:35] WinstonSmith: lol [00:37] WinstonSmith: meh... 40ish KB/s ima try editing smb.conf [00:38] WinstonSmith: hmmm still cant block 75.29.24.192 :O the eff is up with that [00:38] dominicdinada, i think you got something wrong there ;) [00:39] john, did you ask your question in #samba? [00:39] WinstonSmith: yeah but i am trying to figure out who it is.... I tracked it etc. but still no aval... i wondered if it is to the ubuntu servers ? or something [00:39] WinstonSmith: thanks for all your help... i will try there next [00:40] John you are welcome :) [00:42] WinstonSmith: maybe i need to rebuild my entire firewall blocking every single packet and connection then opening 1 by 1 because allows take presidance ? :/ [00:42] dominicdinada, your were not discussing your problem with me :O [00:48] that no matter what i block i am getting suspicious connections even when i set iptables to drop packets from specified ports [00:49] you know i thought it might be the core os communicating but googling the IP results almost no results.... so there is a flag. then when i whois the addy i get a hit for the provider but scanning and pinging the host fails [00:49] WinstonSmith: ^^ [00:52] dominicdinada: what ports are you getting these suspicious hits on? [00:52] and in or outbound [00:52] udp 1249 [00:52] outbound [00:53] reguardless something should not be going external like that behind 2 firewalls and a router. maybe ISPs changed there policies that they are breaking into computers to check what is there lol [00:53] dominicdinada: you could filter out all outbound traffic... [00:53] but i dont recommend it... [00:54] or [00:54] you could do... [00:54] dominicdinada, netstat -vaup | grep 1249 gives you what? [00:54] ehh let WinstonSmith help you [00:54] * EvilPhoenix checks on that port number [00:54] WinstonSmith: since the machine in question was taking so many hits i shut it down. well not shut it down but pulled the hardline.... [00:55] dominicdinada, im a bit confused here... i mean outbound means you are sending those packets ... explain plz [00:57] WinstonSmith: The machine should not have any external connections let lone 10000 packets sending data outbound. Then I set the ruleset to block the IP via -j DROP I set it to Drop outbound udp and tcp and the connections still persist [00:57] dominicdinada, yes but did you find out which process was actually sending those packets? [00:57] noticed total network performance drop recently and checked and that is an active connection sending outbound [00:58] WinstonSmith: ugh no i didnt maybe i will try once again [00:58] dominicdinada, netstat -vaup | grep 1249 gives you what? [00:58] i wonder what exactly you do on your server... [00:58] because if its shells or something... it might be a rouge user [00:59] EvilPhoenix: just a local development server i never have fileshared or anything alike. I really would like to block every single external connection except updates [00:59] heh [00:59] EvilPhoenix: i didnt see anything in the logs suggesting such let me go over to the machine and check brb [00:59] ehh [00:59] dominicdinada, well then dont give it a gateway & dns and there you are [00:59] where'd i put my iptables manpages... [01:01] hmm [01:01] dominicdinada: you could always block the port itself on outbound... [01:02] netstat -vaup | grep 1249 returned nothing [01:02] dominicdinada: you could try adding two rules into OUTPUT... [01:02] like... [01:02] literally nothing just passed the command and returned to prompt no error [01:02] dominicdinada, that is strange ... is it sending right now? [01:03] dominicdinada: you could add these: iptables -A OUTPUT -p udp --dport 1249 -j DROP and iptables -A OUTPUT -p udp --dport 1249 -j DROP [01:03] dominicdinada, you could do just the netstat -vaup and look by hand [01:03] as soon as i plugged it in the links went haywire [01:03] should drop any traffic on that port [01:04] er [01:04] not 2 dports [01:04] one of those should be sport [01:05] dominicdinada, because if its a legitimate process sending on port 1249 udp it should show up. or you may have something really fishy going on there [01:05] mmm sounds fishy [01:05] yes it does... not showing on netstat ..... [01:06] * WinstonSmith hears it hacking somewhere [01:06] could always just add port blocking rules [01:06] of course it is WinstonSmith [01:06] you could* [01:07] Netstat vaup only returned 3 entries... one of being 192.168.122.1 which is a bridge. also after blocking those ports now instead of 1249 the same ip is using 1279 and 1125 [01:08] o.o [01:08] sounds like you have bad things [01:08] dominicdinada, did u try something like this : sudo apt-get -y install chkrootkit [01:08] funny how iptables doesnt drop all packets [01:08] no i didnt lol why would i install a root kit [01:08] dominicdinada: you'd need to do iptables -P OUTPUT DROP or whatever it is [01:08] dominicdinada: someone could have hacked you and put it on there [01:08] s/it/one [01:08] since i specified to block everything from the dam IP [01:08] dominicdinada, check for rootkits [01:08] search chroot ? [01:09] chrootkit ? [01:09] chkrootkit [01:09] dominicdinada, its a script that checks for rootkits [01:09] ok [01:09] make sure i dont have it ? [01:09] dominicdinada, yes [01:10] dominicdinada, cause you seem to have a hidden process around there ergo rootkit [01:10] ok and to EvilPhoenix idea about removing the gateway ? hmmm that is an idea but i would rather block all packets except from local ips, etc [01:10] you mean outbound> [01:10] or inbound [01:10] because... [01:11] if you want outbound traffic to local net ips [01:11] Ugh brb phone i will check and report back [01:11] you can allow it to those destination local net ips [01:11] speaking of which [01:11] WinstonSmith: you did me a favor and reminded me to run a routine check on my servers for rootkits x] [01:11] dominicdinada, blocking traffic doesnt help if the box is still infected no? so you have to clean or reinstall it [01:12] EvilPhoenix, hehehe [01:12] yay i'm clean! [01:12] * EvilPhoenix kicks his ssh for failing though [01:12] bah [01:12] * EvilPhoenix will return [01:13] okay restarting my internet helped x] [01:16] dominicdinada, so will you try the sudo apt-get -y install chkrootkit ? [01:39] ok chkroot is not installed [01:39] now that ip is using another network addy instead of .192 it is trying to connect via port 4314 from .196 [01:40] netstat -vaup | grep 4314 returns nothing and i pulled the plug [01:42] WinstonSmith: [01:42] dominicdinada, obviously you have to install chkrootkit and then run it [01:42] i asked if i should or should not have it you said not. I guess communication error about how i asked and you answered [01:45] dominicdinada, well sry i thought that was obvious since i gave you a apt-get install line [01:46] it scrolls to fast but it is picking up an xrl autoreg something or other and thats it :O [01:48] WinstonSmith: /usr/lib/pymodules/python2.6/.path /usr/lib/xulrunner-1.9.2.8/.autoreg [01:51] WinstonSmith: /usr/lib/pymodules/python2.6/.path /usr/lib/xulrunner-1.9.2.8/.autoreg [02:16] dominicdinada, but did you get any positives? [02:17] WinstonSmith: yes what i posted showed positive as suspicious so i removed the package. now it is showing pymodules/.path as positive [02:18] so i nano'd all the contents out [02:18] well sledgehammer [02:19] sledgehammer ? [02:20] zeroing out i mean [02:20] maybe its a false positive [02:21] WinstonSmith: true. [02:36] does fsck check the contents of the filesystem or just its metadata? === RoyK^ is now known as RoyK [02:43] RoyK, explain plz [02:59] RoyK: Filesystem checks does as many checks as they possibly can unless the user wants it to go --faster or so and then it skips some tests. [03:00] Most do header or db checks againt the files present on the media. === twister004_ is now known as twister004 [04:05] RoyK: Just the metadata, most filesystems don't store checksums of the data and without those you can't confirm the integrity of the data. === twister004_ is now known as twister004 === twister004_ is now known as twister004 === ThomasG33K is now known as TomRone [08:52] Hey all! Quick question! [08:52] If.. Anyone has a moment? [08:54] Hmm ,well simply.. If your hardware does not support hardware virtualization.. Does that mean you can't use virtual machines? That might sound like a dumb question but none of the guides clarify yes or no really.. [08:55] "kvm-ok" A message will be printed informing you if your CPU does or does not support hardware virtualization. - On most computer whose processor supports virtualization, it is necessary to activate an option in the BIOS to enable it. - ... [09:17] # set PATH so it includes user's private bin if it exists [09:17] if [ -d ~/bin ] ; then [09:17] PATH=~/bin:"${PATH}" [09:17] fi [09:18] Dusty: qemu can run non hardware virtualised vms [09:18] but its a lot slower [09:19] i have a ~/bin, and yet PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games [09:22] hmm [09:24] i guess gnome / X fixes PATH for me helpfully [09:25] no [09:25] it will be rc vs profile, I suspectr [09:25] it is [09:25] but im wondering [09:25] That's cool. Thanks lifeless. [09:25] >.< Not seeing many guides for 10.09 server however. most are for 9.10 [09:25] 10.09? [09:26] why is there supposed to be a 10.09? [09:26] Sorry, 10.04 [09:26] Been a long day. [09:28] lifeless: i'm trying to figure out the difference between a login shell and every other one, and my best guess right now is that login(1) has to call bash, and that gdm/X doesn't do that [09:30] which raises a small annoyance [09:31] the above excerpt comes from .bash_profile [09:31] so that it only runs and tacks onto PATH once [09:32] anyways, this is server unrelated now, since it involves desktops === 64MAAEODX is now known as jman === jman is now known as jjman === dendrobates is now known as dendro-afk === dendro-afk is now known as dendrobates [16:27] what is the entry password for the root [16:27] ??? [16:28] none :) [16:28] unless you set one [16:28] you can't login as root, ever [16:31] so how could i do for accessing [16:31] ??? [16:32] sudo [16:34] nn the first time [16:41] New bug: #626317 in mysql-dfsg-5.1 (main) "package libmysqlclient16 (not installed) failed to install/upgrade: trying to overwrite '/usr/lib/libmysqlclient.so.16.0.0', which is also in package mysql-cluster-client-5.1 0:7.0.9-1ubuntu7" [Undecided,New] https://launchpad.net/bugs/626317 === dendrobates is now known as dendro-afk [17:16] New bug: #626334 in php5 (main) "package php5-cli 5.3.2-1ubuntu4.2 failed to install/upgrade: beroendeproblem - lämnar okonfigurerad" [Undecided,New] https://launchpad.net/bugs/626334 [18:03] hello [18:04] is there a common way to use a "normal" smtp account for all administration (mdadm, cron, smartd, etc.) mails generated by a server installation? [18:04] normal as in username/login and single From: address [18:04] any guides/tips on installing ubuntu server as a kvm host? I'd like as minimal install as possible [18:05] thorn, I like to do pxe/net installs, they are pretty basic [18:06] well I did manage to find a 7 year old blank cd and burn the iso to it :) [18:07] do I need X in the host for example? [18:14] Thorn: no [18:40] I'm migrating a bunch of Xen DomUs to 10.04.1 LTS Server. I've easily found & DL'd the .iso. Where online can I find downloadable vmlinuz/initrd for DomU booting? Iiuc, Ubuntu has pvops-enabled kernels, so I don't need xen-specific imgs -- just the 'normal' kernel/initrd will do. [19:15] hi all :) what command do i use to tell a certain service to start at boot ? thx [19:17] if the service is using upstart, "start service" wiill do [19:17] RoyK, i know but at boot? [19:17] if not, use the script in /etc/init.d [19:17] make a symlink in /etc/rc2.d to the script [19:18] cd /etc/rc2.d; ln -s ../init.d/somescript S99somescript [19:19] RoyK, cause i just upgraded from 8.04 to 10.04 and now a lot of servies just wont start at boot anymore eg apache & webmin [19:20] RoyK, but i have the S99apache2 in rc.2 :( [19:20] WinstonSmith: do you have their init scripts woring? [19:20] ? [19:20] RoyK, plz explain? [19:20] does it work to start them with their init scripts? [19:21] /etc/init.d/apache2 start [19:21] RoyK, yes sure .... the services are ok eg if i service start webmin it comes up but not at boot anymore === dendro-afk is now known as dendrobates [19:22] WinstonSmith: you do know that webmin is not supported on ubuntu? [19:22] !webmin [19:22] webmin is no longer supported in Debian and Ubuntu. It is not compatible with the way that Ubuntu packages handle configuration files, and is likely to cause unexpected issues with your system. See !ebox instead. [19:23] RoyK, its really weird ... the link in rc.2 points to the right file too [19:23] although ebox is in no way a replacement .... [19:23] royk thx for the info but thats another issue... what about all the other services i have not booting? [19:24] guntbert, and i have a vbox control made in webmin which i would be missing VERY much :( [19:25] WinstonSmith: I know those feelings - just a word of warning - webmin *can* break your system [19:26] guntbert, i will disable it sniff ... but any idea why the apache for example doesnt start if i ls the link in rc2.d it gives S99apache2 -> /etc/init.d/apache2 which is right no? [19:27] I need to somehow connect users form google apps standard edition to the unix users system ? any ideas ? [19:27] WinstonSmith: sorry, I sort of lost track of the numerous ways how to start different services (upstart vs runlevels vs ??) [19:38] guntbert, saved myself ==> update-rc.d -f apache2 remove && update-rc.d apache2 defaults did the trick [19:39] guntbert, ths for your help anyway have a nice day :D [19:39] RoyK, thx too :) === dendrobates is now known as dendro-afk === dendro-afk is now known as dendrobates [19:40] WinstonSmith: I didn't really give any help, but thx for reporting back - I'll try to remember :-) [20:01] New bug: #626416 in openbsd-inetd (main) "package openbsd-inetd 0.20080125-4ubuntu2 failed to install/upgrade: sub-processo novo script pre-installation retornou estado de saída de erro 2" [Undecided,New] https://launchpad.net/bugs/626416 [20:30] hi guys and gals [20:31] im having some issues with a new server install and i cant find any helpful things on the forums... so i figured i might be able to ask here [20:31] for some reason, i can access my server over the LAN just fine, and DNS works great.. but it apparently cant connect to anything outside of the lan. [20:32] it was working fine just after install, and after i setup my wireless card with ndiswrapper, i get to it this morning and nothing as far as internet works. [20:32] any ideas? [20:34] Mp3: ping, tcpdump, tracepath, dmesg, ip route. find where the packets die and why [20:36] ping gets no replies back, (resolves the host just fine as stated) just tried tracepath (was trying to install traceroute heh) and it gets to my router, twice... and then no reply [20:37] everything looks fine in ip route === dendrobates is now known as dendro-afk === dendro-afk is now known as dendrobates === unreal_ is now known as unreal === dendrobates is now known as dendro-afk === dendro-afk is now known as dendrobates [22:05] I have just done a fresh install of egroupware 1.6. I have Apache2 installed, and I am using Postgresql for my database. I have completed all the configurations and built the database. All checks are passing....But I am getting an error when I try and load the site..."Fatal Error: It appears that you have not created the database tables for eGroupWare. Click here to run setup." I have searched high and low for a resolution w [22:05] ith no luck.....I am hoping someone here can help. [22:15] I have just done a fresh install of egroupware 1.6. I have Apache2 installed, and I am using Postgresql for my database. I have completed all the configurations and built the database. All checks are passing....But I am getting an error when I try and load the site..."Fatal Error: It appears that you have not created the database tables for eGroupWare. Click here to run setup." I have searched high and low for a resolution, [22:15] I am hoping someone here can help? === dendrobates is now known as dendro-afk === dendro-afk is now known as dendrobates [22:21] I have just done a fresh install of egroupware 1.6. I have Apache2 installed, and I am using Postgresql for my database. I have completed all the configurations and built the database. All checks are passing....But I am getting an error when I try and load the site..."Fatal Error: It appears that you have not created the database tables for eGroupWare. Click here to run setup." I have searched high and low for a resolution, [22:21] I am hoping someone can help [22:35] !weekend | Crankygeek [22:35] Crankygeek: It's a weekend. Often on weekends the paid developers and a lot of the community may not be around to answer your question. Please be patient, wait longer than you normally would or try again during the working week. [22:37] kklimonda: that doesnt make sense really when there are 268 nicks in the room... [22:39] stlsaint: why? most people just never turn off their irc client [22:40] kklimonda: meh, idling doesnt make sense to me regardless [22:40] if your not at your system why just waste resources? [22:40] stlsaint: to make it possible for others to ping you and keep a scrollback of all channels you are on. [22:40] it [22:41] it's usefel to be able to take a look back at what the discussion is about before you join it ;) [22:41] kklimonda: but if you are not at your machine how is it possible for someone to ping you and get a response? [22:41] stlsaint: you'll be able to get back to him once you read it [22:42] kklimonda: yea that makes sense, but then again thats where there is the /memo function [22:42] stlsaint: no one uses it [22:42] kklimonda: haha, well thats a whole different issue [22:43] kklimonda: im also wondering about the ubuntu-server wiki not being touched since last year [22:43] kklimonda: and how the mentoring process doesnt actually work (or it seems it doesnt) [22:45] mentoring process? [22:48] kklimonda: https://wiki.ubuntu.com/ServerTeam/Mentoring [22:48] kklimonda: ^^ untouched since 2008 [22:50] well, we obviously could use a spare hand to update it ;) [22:55] kklimonda: undertandable but its not seeming like a updated process to get involved with the team... [22:55] kklimonda: this is my third go-round at joining the team...i finally just went ahead and tried joining lp team === JanC_ is now known as JanC === dendrobates is now known as dendro-afk [23:27] I have just done a fresh install of egroupware 1.6. I have Apache2 installed, and I am using Postgresql for my database. I have completed all the configurations and built the database. All checks are passing....But I am getting an error when I try and load the site..."Fatal Error: It appears that you have not created the database tables for eGroupWare. Click here to run setup." I have searched high and low for a resolution w [23:27] ith no luck.....I am hoping someone here can help. === unreal_ is now known as unreal === unreal_ is now known as unreal