[00:27] <MatthewMetzger> kirkland: around?
[02:12] <MatthewMetzger> anyone awake here? I'd like to chat about how ubuntu server handles memory.
[02:12] <nijaba> MatthewMetzger: hello
[02:12] <MatthewMetzger> hi nijaba :)
[02:12] <nijaba> MatthewMetzger: I have read our report
[02:12] <nijaba> YourMomsHero, even
[02:12] <nijaba> "you", even (stupid autocopletion)
[02:13] <nijaba> do you have cron jobs active on yor server?
[02:13] <MatthewMetzger> okay. I'm specifically wondering if "sync; echo 3 > /proc/sys/vm/drop_caches" is okay to run to clear the caches.
[02:14] <nijaba> what is mysql doing?  Is it polled by someone?
[02:14] <MatthewMetzger> Yes, I have a few cron jobs set up. Nothing changed, though
[02:14] <MatthewMetzger> mysql is running. It is being used as a database for our library server (Koha). I'm going to do an upgrade of Koha later tonight (alpha to beta).
[02:15] <MatthewMetzger> What do you mean by "polled"?
[02:15] <nijaba> MatthewMetzger: I don't think dropping the cache is a good idea with mysql running
[02:15] <nijaba> polled: receive request on a regular basis
[02:15] <nijaba> can you try stopping mysql and see if cache continues on growing?
[02:16] <MatthewMetzger> no polling. The database is used infrequently (students don't search for books often).
[02:16] <nijaba> MatthewMetzger: so right now, no student uses it?
[02:16] <MatthewMetzger> I can stop mysql, but only over the weekend.
[02:16] <MatthewMetzger> actually, yes. The service is used every day, but it just doesn't have much traffic.
[02:16] <nijaba> just to see, that's the first thing that comes to my mind to try isolate the problem
[02:17] <MatthewMetzger> I understand and agree.
[02:17] <nijaba> at the rate the problem occurs, you should see the difference quite fast
[02:18] <MatthewMetzger> is having large amounts of memory cached normal? I don't recall seeing this on my other ubuntu installs.
[02:18] <nijaba> I am going to bed quite soon, but leave me a message here, I do read logs when highlighted
[02:19] <nijaba> MatthewMetzger: yes, it can be, if it never goes to swap.
[02:19] <nijaba> cache is good: it is data you do not go fetch to the disk
[02:19] <MatthewMetzger> nijaba: thanks. I understand better now.
[02:19] <MatthewMetzger> have a good night :)
[02:20] <nijaba> thanks, have a good whatever for your tz
[02:23] <MatthewMetzger> American/Central/Chicago time zone
[07:53]  * saltedlight hi. anyone know why ubuntu 8.04 identify ATA hard drives as SATA ?!? on every system ?!? is this a known bug or what?
[07:58]  * saltedlight after dist-upgrade ubuntu is not booting because I/O on SDA witch should be HDA and if i boot on the old kernel (found on grub menu) is ok... anyone know how to fix that? 
[10:15]  * delcoyote hi
[12:31] <rhineheart_m> few days from now and hardy will be released. any update?
[13:01] <rhineheart_m> hello.. what's the purpose of DHCP server in ubuntu?
[14:01] <rhineheart_m> anybody here uses ipcop?
[17:12] <hubuntu> Is an entry/profile for ebox automated installation in Hardy as there is one for LAMP in Gutsy?
[17:12] <hubuntu> I'm writing a presentation for ubuntu server
[17:30] <hubuntu> come on it's the second day I come around and NOBODY answers:  I am just wondering if it has become one of the choices for an automated server installation or not (like LAMP, OpenSSh, etc...)
[17:31] <Deeps> no idea, check the documentation on the website, or download the beta iso and check it out
[17:32] <Deeps> if you're doing a presentation on the latest ubuntu, screenshots are a useful tool, you probably want to virtualize the current release to take good snapshots from
[17:32] <hubuntu> I know, but I must finish the basics for tomorrow and there is a lot to cover. The presentation ewill be hold the 26th sp by that time I will have screenshots :)
[17:33] <hubuntu> thanks for the advice
[17:33] <Deeps> good luck
[17:33] <Deeps> suerte ;)
[17:33] <hubuntu> The more I write, the better I realize Ubuntu is in the server ;) Una vez terminada espero la presenten en varias ciudades en el FLISOL
[17:34] <Deeps> k guay
[17:35] <hubuntu> tu sabes bastante del servidor verdad?`Puedes darmela revisando antes de entregar manana?
[17:35] <hubuntu> osea el lado técnico
[17:35] <Deeps> nop, lo siento, tengo un monton d trabajo pa hacer todavia
[17:36] <Deeps> estoy tomando un kitkat;)
[17:36] <hubuntu> ok, en todo caso estará en el wiki del FLISOL y Ub untu si alguién en tu LoCo tiene oprtunidad antes del 26
[17:36] <hubuntu> me voy a seguir
[17:36] <hubuntu> kitkat?
[17:36] <hubuntu> Ubuntu cola?
[17:36] <hubuntu> hehe
[17:36] <Deeps> un descanso ;)
[17:36] <Deeps> como las publicidades,
[17:37] <Deeps> y no se nada de mi loco
[17:37] <Deeps> creo q hay un monton de gente de kubuntu aqui en canarias
[17:37] <Deeps> pero no tengo nidea
[17:38] <hubuntu> estoy en contacto con la gente en ubuntu-es. Suerte con lo que estés haciendo ;)
[17:38] <Deeps> ah no, estoy trabajando con algo de mi empleo
[17:39] <Deeps> nada d ubuntu
[17:39] <Deeps> bueno, ya sigo
[17:39] <Deeps> suerte con su presentacion
[17:53] <AlexC_> hey all,
[17:54] <AlexC_> I've got very high memory usage on my server, and it is not even doing a lot, it is using 780mb :S. 'top' just mostly shows Apache, Dovecot, and Postfix
[17:54] <AlexC_> wondering how I can locate the source of the excessive memory usage?
[17:54] <Mike_KirkCameron> i need install qmail on ubuntu 7.10 server ,who can help me?
[17:55] <Mike_KirkCameron> i need install qmail on ubuntu 7.10 server ,who can help me?
[17:55] <AlexC_> Mike_KirkCameron, I think people heard you the first time, about 1 min ago ...
[17:56] <faulkes-> AlexC: ps aux
[17:57] <faulkes-> the VSZ/RSS values will tell you what is using up the most memory
[17:58] <AlexC_> VSZ? I don't see that
[17:58] <AlexC_> ah, yes I do
[17:58] <Mike_KirkCameron> who can help me?
[17:58] <Mike_KirkCameron> install qmail doc .
[17:59] <AlexC_> faulkes-, hum ... shall I pastebin the output of that for you to talk a look?
[18:04] <Mike_KirkCameron> every body?
[18:06] <faulkes-> AlexC: certainly, I have a few moments
[18:06] <faulkes-> Mike: Never installed qmail on ubuntu, is there a particular reason you need it vs. postfix?
[18:07] <AlexC_> faulkes-, http://paste2.org/p/20439 - I'm running Apache2 with SuEXEC and fastcgid, with php-cgi if that is of any relevance
[18:08] <Mike_KirkCameron> i see
[18:08] <Mike_KirkCameron> i see
[18:11] <faulkes-> the biggest usage I see there is apache2 and yes, I would say that suexec and fastcgi have relevance
[18:12] <AlexC_> they shouldn't be using *that* much memory though, surely?
[18:12] <faulkes-> how much memory does the box have? and have you checked the 'free' command to see how much is being used by buffers or swap?
[18:12] <faulkes-> AlexC: it's using around 250+mb, there are any number of possible reasons why, especially if you have users ;)
[18:12] <AlexC_> faulkes-, it has 784mb (or something like that) however it is burstable to 1.5gb (this is a VPS)
[18:12] <AlexC_> free shows: 'Mem:       1572864     827696     745168          0          0          0' and using no swap
[18:13] <AlexC_> faulkes-, well, the site is really not being used that much - it's nothing major
[18:13] <faulkes-> I don't trust "burstable" ram ;)
[18:13] <faulkes-> however, it would appear that you have just under half your ram in buffers, which is normal
[18:13] <AlexC_> same, which is why I'm trying to find the cause of this
[18:14] <AlexC_> what exactly does that mean?
[18:14] <faulkes-> the system takes free ram and will use it to speed things up via buffers
[18:14] <AlexC_> and, are you sure? there is a '0' under Buffers
[18:14] <faulkes-> oh, wait
[18:15] <faulkes-> yeah, sorry, was reading incorrectly
[18:15] <faulkes-> still, half of your ram is free then
[18:15] <faulkes-> although why it hasn't used any of it for buffers is beyond me
[18:15] <faulkes-> I would start by looking at your apache / php configuration
[18:15] <AlexC_> mm, but that other half is going into my burstable =\
[18:16] <AlexC_> ok
[18:30] <ltcabral> hey
[18:30] <ltcabral> how can i kill an open connection that is LISTEN in netstat
[18:31] <Nafallo> ltcabral: shut the daemon
[18:33] <ltcabral> Nafallo, hm... how can i do that?
[18:33] <ltcabral> u mean the application?
[18:34] <Nafallo> except I define those words different I might mean what you said.
[18:35] <ltcabral> i stoped the app with ctrl+z
[18:35] <Nafallo> that's pause surely
[18:36] <ltcabral> ya i noticed it after i did it :)
[18:36] <ltcabral> how can i stop it then?
[18:36] <Nafallo> fg
[18:36] <Nafallo> ^C
[18:37] <ltcabral> ooh thx :)
[18:42] <daeron> hy guys
[18:42] <daeron> there's somebody from italy?
[18:43] <Nafallo> #ubuntu-it is probably from there.
[18:43] <jibwn> I'm trying to make an nfs share of my /data folder which has multiple drives mounted on /data/music /data/video etc... I can access the /data folder but nothing on any of the drives mounted under it. I've tried the nohide but it didn't work. Any ideas how to get this going?
[18:43] <bicz> daeron: yes
[18:55] <daeron> I have some problems with vsftpd, I can't see anything after login
[18:55] <daeron> somoe ideas?
[19:00] <sommer> daeron: have you checked permissions?
[19:03] <daeron> on yeah
[19:03] <daeron> this is my cfg file
[19:03] <daeron> listen=YES
[19:03] <daeron> anonymous_enable=YES
[19:03] <daeron> local_enable=YES
[19:03] <daeron> write_enable=YES
[19:03] <daeron> anon_upload_enable=YES
[19:03] <daeron> anon_mkdir_write_enable=YES
[19:03] <daeron> dirmessage_enable=YES
[19:03] <daeron> xferlog_enable=YES
[19:03] <daeron> connect_from_port_20=YES
[19:03] <daeron> chown_uploads=YES
[19:03] <faulkes-> please use pastebin for config files
[19:03] <daeron> chown_username=daeron
[19:03] <daeron> ftpd_banner=Welcome to blah FTP service.
[19:03] <daeron> secure_chroot_dir=/var/run/vsftpd
[19:03] <daeron> pam_service_name=vsftpd
[19:03] <faulkes-> !pastebin
[19:04] <daeron> rsa_cert_file=/etc/ssl/certs/vsftpd.pem
[19:04] <ubotu> pastebin is a service to post multiple-lined texts so you don't flood the channel. The Ubuntu pastebin is at http://paste.ubuntu-nl.org (make sure you give us the URL for your paste - see also the channel topic)
[19:04] <daeron> anon_root=/home/ftp
[19:04] <daeron> oh, excuse me
[19:04] <faulkes-> no worries
[19:04] <faulkes-> pastebin is just easier for everyone to look at and follow
[19:05] <daeron>  1  2  3  4  5  6  7  8  9 10 11 12 13 14 15 16listen=YES anonymous_enable=YES local_enable=YES write_enable=YES anon_upload_enable=YES anon_mkdir_write_enable=YES dirmessage_enable=YES xferlog_enable=YES connect_from_port_20=YES chown_uploads=YES chown_username=daeron ftpd_banner=Welcome to blah FTP service. secure_chroot_dir=/var/run/vsftpd pam_service_name=vsftpd rsa_cert_file=/etc/ssl/certs/vsftpd.pem anon_root=/home/ftp
[19:05] <creator> hey can someone help me wiht a samba issue?
[19:05] <faulkes-> jibwn: if server1:/data has all the music/video stuff mounted the client1:/data should be able to see, turning off nohide shouldn't matter
[19:06] <faulkes-> jibwn: I would check that nfs is properly reaching the server (/var/log/{syslog,messages}) and that there is no firewall/iptables issues occuring
[19:06] <daeron> E' stata richiesta una sessione di messaggi musicali. Fare clic sull'icona MM per accettare.
[19:06] <creator> i am trying to create a user account in samba but when ever i do that it tells me creator@myserver:~$ sudo smbpasswd -a georg
[19:06] <creator> [sudo] password for creator:
[19:06] <creator> New SMB password:
[19:06] <creator> Retype new SMB password:
[19:06] <creator> Failed to modify password entry for user georg
[19:07] <faulkes-> creator: check permissions on the smbpasswd file (yes, even if you are root/sudo this can be an issue)
[19:08] <creator> how do i do that
[19:08] <faulkes-> although, it is entirely possible you retyped the password wrong the second time
[19:08] <creator> << noob sauce
[19:08] <creator> haha tried it 5 or 6 times ... dont think i miss typed that often
[19:08] <sommer> daeron: can you not see the files when connecting as an actual user or when connecting anonymously?
[19:09] <daeron> anonymously
[19:09] <daeron> i don't need to configure users
[19:10] <creator> faulkes: how do i check the permission on that file?
[19:10] <faulkes-> creator: I don't recall the exact path to the smbpasswd file, man smbpasswd should tell you the default or /etc/samba/smb.conf
[19:10] <faulkes-> however, you would then ls -l to see that the file has the w bit set for the owner
[19:11] <sommer> daeron: and are there files in /home/ftp?
[19:11] <jibwn> thanks, faulkes-  I just found the issue. I hadn't gotten around to adding the drives in fstab yet, they were manually mounted. After adding them it works.
[19:11] <daeron> yes of course;)
[19:12] <creator> damn neith the man nor conf tell me where its at
[19:15] <creator> faulkes: I think this is what Im looking for
[19:16] <creator> creator@myserver:~$ /etc/samba/smbusers ls -l
[19:16] <creator> -bash: /etc/samba/smbusers: Permission denied
[19:17] <creator> faulkes: creator@myserver:~$ sudo ls -l /etc/samba/smbusers
[19:17] <creator> -rw-r--r-- 1 root root 23 2008-04-13 13:52 /etc/samba/smbusers
[19:17] <sommer> daeron: are there any errors in /var/log/vsftpd.log ?
[19:19] <creator> anyone?
[19:19] <daeron> this is the log
[19:19] <daeron> http://paste.ubuntu-nl.org/63090/
[19:20] <daeron> it worked today, but now it doesn't work anymore
[19:23] <stwange> hey, how do I enable gateway ports on gutsy? I checked /etc/ssh/sshd_config but it wasn't there, I tried adding it and /etc/init.d/ssh restart but I still can't connect from outside the localhost
[19:24] <stwange> it's not in /etc/ssh/ssh_config either
[19:24] <Deeps> what did you add to your /etc/ssh/sshd_config?
[19:24] <Deeps> by default it listens on all interfaces on port 22
[19:24] <Deeps> and nothing needs to be added
[19:25] <stwange> I'm trying to tunnel, and I need GatewayPorts to be set to yes for it to listen on anything other than localhost:someport (different from the port 22 for ssh access)
[19:26] <Deeps> oh, for when tunnelling
[19:26] <Deeps> what kind of tunnel are you doing, local or remote?
[19:26] <stwange> remote, reverse
[19:27] <Deeps> hmm
[19:27] <Deeps> yeah that i dont know
[19:27] <Deeps> i usually do a second local tunnel on the remote machine
[19:27] <Deeps> with -g
[19:27] <stwange> man sshd_config says to set GatewayPorts to yes, but it's not there
[19:28] <Deeps> add GatewayPorts yes, restart your ssh server, and reconnect
[19:28] <Deeps> from what i can see in the man page anyway
[19:29] <stwange> do you know how to restart sshd? I tried /etc/init.d/sshd restart but it said no such file or directory. I tried /etc/init.d/ssh restart but it didn't make a difference
[19:29] <Deeps> root@router:~# /etc/init.d/ssh restart * Restarting OpenBSD Secure Shell server sshd                           [ OK ]
[19:29] <Deeps> then you need to reconnect your ssh session
[19:29] <Deeps> with your tunnelling
[19:31] <stwange> yeah sorry about that
[19:31] <Deeps> just tried it, looks like it works
[19:31] <stwange> I'd restarted ssh, but forgot I had to reconnect the tunnel :)
[19:31] <Deeps> might wanna use client-specified
[19:31] <Deeps> rather than yes
[19:32] <Deeps> and then on remote tunnels you specify -g on the ones you want globally visible
[19:32] <Deeps> (like you would with local tunnels)
[19:35] <stwange> thanks for the help mate
[19:35] <Deeps> np
[19:36] <stwange> offhand, I don't suppose you know what the disable repositories are on a clean ubuntu install? I need to add them with just bash
[19:37] <Deeps> no vi?
[19:38] <Deeps> cat /etc/apt/sources.list | (more|less|most|head -n|tail -n)
[19:38] <stwange> yeah but they aren't commented out
[19:38] <stwange> I'll check my other install and see what they were
[19:38] <Deeps> you can then see what it is through that
[19:38] <Deeps> grep http /etc/apt/sources.list
[19:40] <stwange> I got them from my other box :) thanks anyway
[20:11] <ScatterBrain> Need help recovering a failed drive.
[21:32] <MatBoy> hey guys ! when I have /home as a software raid1 using ext3, is it easy to switch this one to LVM ?
[21:36] <abrakadabr> hi! can anybody help me to install ispconfig?
[21:37] <abrakadabr> anybody hear me?
[21:41] <stwange> hey.... I modified apache2 for vhosts and messed it up, I've tried using aptitude to purge it, but reinstalling I still get connection refused
[21:43] <stwange> I got it :) thanks anyway
[21:57] <stiv2k> help
[21:57] <stiv2k> oops, bad way to start a question
[21:58] <Nafallo> lol
[21:58] <stiv2k> ok I have this mysqld_safe process that runs indefinitely, and it consumes 100% CPU all the time.... it's lagging my server, what is it doing and why is it running all the time?
[21:58] <stiv2k> 22429 root      25   0  1752  368  344 R 90.4  0.1  14956:41 mysqld_safe
[21:58] <Nafallo> mysqladmin status
[21:58] <Nafallo> mysqladmin proc
[21:58] <Nafallo> that should give you somewhere to start.
[21:59] <stiv2k> um,
[21:59] <stiv2k> mysqladmin: connect to server at 'localhost' failed
[21:59] <stiv2k> error: 'Access denied for user 'steve'@'localhost' (using password: NO)'
[22:01] <stwange> stiv2k mysqladmin -p
[22:01] <stwange> will prompt you for a password
[22:02] <stiv2k> ok
[22:07] <stwange> ok can anyone give me a hand with lamp on ubuntu 7.10? I have apache2, php5 and libapache2-mod-php5 installed, but the .php in my /var/www/ is asking to be downloaded: http://209.20.67.241/
[22:16] <sommer> stwange: did you restart apache?
[22:27] <symtab> how do i restart the network?
[22:27] <symtab> /etc/init.d/network restart doesnt work
[22:28] <sommer> symtab: did you try sudo /etc/init.d/network restart ?
[22:30] <symtab> trying now
[23:40] <symtab> when running ifconfig you have like like this
[23:40] <symtab> txqueuelen:100
[23:40] <symtab> what does this mean?
[23:41] <JaxxMaxx_> transmit queue length.
[23:41] <JaxxMaxx_> obscure networking setting, probably best left alone?
[23:41] <symtab> the thing is
[23:41] <symtab> i have 2 servers
[23:41] <symtab> both in the same network
[23:41] <symtab> one is .28
[23:41] <symtab> one .29
[23:41] <symtab> .28 works
[23:42] <symtab> and both servers have 2 network cards (internal and external)
[23:42] <symtab> on the one that works both network cards have txqueuelen: 1000
[23:42] <symtab> on the one that doesnt work
[23:42] <symtab> the external network card has txqueuelen: 100
[23:42] <symtab> could this be the reason why it doesnt work?
[23:42] <Deeps> highly unlikely
[23:42] <symtab> i'm sure the settings (ip, netmask, gateway) are correct
[23:43] <Deeps> the only instance i've ever fiddled the txqueuelen is when i was dealing with a gbit link and wanted to improve performance
[23:44] <Deeps> are you sure that there's a link between the 2 nics that dont appear to be working?
[23:44] <Deeps> are link lights on?
[23:44] <symtab> internally they work
[23:44] <symtab> but one of the server doesnt work externally
[23:44] <symtab> it doesnt have a internet connection
[23:45] <symtab> it should have, but it doesnt work
[23:45] <Deeps> ok, so you have 2 network cards, one on an internal network, the other on an external network?
[23:45] <symtab> yes
[23:45] <symtab> on both servers
[23:45] <symtab> let me explain again
[23:45] <symtab> i have 2 servers
[23:45] <Deeps> and not, 1 internal network card, and one external (eg usb) network card
[23:45] <Deeps> ok
[23:45] <symtab> each server has 2 network cards
[23:45] <symtab> server 1 = A
[23:45] <symtab> server 2 = B
[23:46] <symtab> A and B are connected internally in a network (192.168.0.1/192.168.0.2) and this works
[23:46] <symtab> A also is connected to the internet through the other cable
[23:46] <symtab> B is not connected to the internet, because it doesnt work
[23:47] <symtab> i dont know to explain better :(
[23:47] <symtab> sorry
[23:47] <Deeps> the external cable from server B, does it plug into a switch? another computer?
[23:48] <Deeps> are there any lights on either that NIC on server B or wherever it's plugged into to indicate that there is actually a link?
[23:48] <symtab> both external cables from both servers are plugged in a switch
[23:48] <symtab> yeah the light is is blinking
[23:48] <Deeps> ok
[23:49] <Deeps> do both A and B have different IPs on their external interfaces?
[23:49] <symtab> yes
[23:49] <Deeps> btw, this notiation: 192.168.0.1/192.168.0.2 is wrong
[23:49] <Deeps> notation*
[23:49] <Deeps> as it would be interpretted as ip/netmask
[23:49] <symtab> i know its wrong..i just wanted to say that the servers are also connected in a internal network
[23:49] <symtab> i'm not the best networking expert :(
[23:49] <symtab> as you can see
[23:50] <Deeps> use a + sign, use a comma, and yes, thats why i'm teaching as we go along :)
[23:50] <Deeps> ok
[23:50] <Deeps> can server A ping the external gateway?
[23:50] <symtab> yes
[23:50] <Deeps> can server B?
[23:50] <symtab> and server B cant ping the gateway
[23:50] <symtab> :(
[23:50] <symtab> hmm
[23:51] <Deeps> do you control the gateway?
[23:51] <symtab> no i dont, but i can speak with the person who does
[23:51] <Deeps> is it possible that the gateway has filtering on it, to restrict access to specific IPs or MAC addresses?
[23:51] <symtab> let me ask
[23:51] <JaxxMaxx_> have them ping your server B external IP from the gateway
[23:53] <symtab> hmm, seems like the admin is not there
[23:53] <symtab> if i try this
[23:53] <Deeps> alternatively, unplug server a from the external switch, assign it's IP to server B, spoof server A's external interface's MAC address onto server B
[23:53] <Deeps> and then retry
[23:53] <symtab> get the cable from the server that is working and plug it in the server that is not working
[23:53] <symtab> should this work?
[23:53] <symtab> of course reconfigure the ip
[23:53] <Deeps> ifconfig externalinterface down
[23:54] <symtab> i know how to use ifconfig (or at least i think i know :-)
[23:54] <Deeps> ifconfig externalinterface inet <ip> netmask <netmask> hw ether <mac address of server a's external interface>
[23:54] <Deeps> ifconfig externalinterface inet <ip> netmask <netmask> hw ether <mac address of server a's external interface> up
[23:54] <symtab> ok
[23:54] <symtab> i will try this
[23:55] <Deeps> make sure both are unplugged when you do the configuration
[23:55] <Deeps> plug in the cable once it's done
[23:55] <Deeps> oh
[23:55] <Deeps> it might be worth noting the original MAC of the interface
[23:59] <symtab> ok
[23:59] <symtab> so what i did
[23:59] <symtab> i assigned server's A ip to server B (also reconfigured the gateway)