=== Smedles_ is now known as Smedles [01:12] mardraum: you can type apt-cache show php5 to find out [01:12] looks like 5.5 to me. [01:13] o.O [01:14] oh, you were talking to someone who left. [01:35] oops === freeflying_away is now known as freeflying === peter is now known as Guest13344 [03:08] hey guys, im trying to get reverse dns working, but I have no clue how to do it. can't find any proper articles on it either. do any of you have pointers? [03:09] reverse DNS is a zone file for subnets you have been delegated [03:10] miceiken: https://help.ubuntu.com/12.04/serverguide/dns-configuration.html#dns-primarymaster-configuration [03:11] miceiken: the DNS-HOWTO is excellent [03:17] Thanks, I'll look it up :) [03:19] I have a script i want to run after the server boots [03:19] init.d doesnt seem to run it [03:20] is there any file i can just add one more command too to run it after system is ready? [03:20] Titanium: "/etc/rc.local" [03:22] thanks, il give it a try [03:31] does it run the script as root? [03:59] apache2 a2ensite sitename is saying the site doesnt exist [04:00] "sitename" here was probably an example, and you're supposed to create /etc/apache2/sites-abailable/sitename beforehand [04:00] * /etc/apache2/sites-available/sitename [04:00] but you can and most likely want to replace "sitename" by something else. [04:01] apache documentation is here http://httpd.apache.org/docs/2.2/ [04:02] how to create name or ip based VirtualHosts http://httpd.apache.org/docs/2.2/vhosts/ [04:09] Es0teric: did that help? [04:09] tomreyn i know that was an example... [04:09] right now its not working with MY SITE config [04:10] do this: sudo ls -l /etc/apache2/sites-available /etc/apache2/sites-enabled [04:10] and post the output to pastebin.com [04:11] then, after posting, you'll be on a new url, tell me what it is [04:14] Hi guys. I have been trying to create a new virtualhost for my Apache server that would point to a home directory. I have the following: https://gist.github.com/novito/8762916 - But when I try to access mm-joomla.local/index.php I get (The requested URL /index.php was not found on this server.) - I look at the logs and it seems is trying to load from /var/www/index.php -I don't get it as I have two VHs [04:16] nobitanobi: are you doing ip or name based virtualhosts? [04:16] name based. I have changed /etc/hosts [04:16] isn't that missing servername/serveralias? [04:16] tomreyn, https://gist.github.com/novito/8762916 here is my /etc/hosts [04:17] so you are missing SeverName [04:17] where is this *second* virtualhost? [04:17] I don't haver ServerName on my default VH. I have ServerName on my second VH [04:17] cause it says, documentroot /var/www [04:17] therefor it should say, /var/www/index.php [04:17] oh sorry i only spotted the first file [04:17] Patrickdk, there are three files in that gist. [04:17] oh? [04:17] confusing pastebin [04:17] :) [04:18] fix your serveralias [04:18] or servername [04:18] uh? [04:18] mm-joomla.local != www.mm-joomla.local [04:19] Patrickdk, I access using www. [04:19] yeah [04:19] not what you said above [04:19] sorry. I forgot to write www. [04:20] The thing is that if I just try to access www.mm-joomla.local I get the default Apache page that is in /var/www [04:20] so, it's actually trying to go to /var/www instead of my home directory specified in DocumentRoot of my second VH [04:20] you restarted apache? [04:20] yes [04:21] what does "sudo apache2ctl -S" say? [04:21] are both virtualhosts listed? [04:21] tomreyn, https://gist.github.com/novito/8762964 [04:21] tomreyn, I just see the default. I have the Vhost in sites-available, not in sites-enabled [04:22] whre is this other vhost defined? [04:22] it is in sites-enabled right? [04:22] tomreyn the output has the sites [04:22] Patrickdk, nop. Is in sites-available [04:22] heh? why? [04:23] available != enabled [04:23] Es0teric: which output? [04:23] tomreyn also sites-enabled has 0 sites [04:23] 《 tomreyn 》 do this: sudo ls -l /etc/apache2/sites-available /etc/apache2/sites-enabled [04:23] Es0teric, why are you telling tomreyn this? [04:23] I am confused [04:24] Patrickdk, I should place the new Vhost in sites-enabled? [04:24] yes [04:24] Patrickdk before you came in, tomreyn posted that to me.. i think [04:24] o.O [04:24] available is, available, it exists, but disabled [04:24] ah [04:24] Patrickdk, shouldn't I use a2ensite to enable it? [04:24] dunno [04:24] but the file itself should be in sites-available? [04:24] Es0teric: yeah, i'm waiting to see it. alternatively make sure your files' permissions and ownership are set properly, it's a regular file and you have created the symbolic link to it in sites-enabled [04:24] if you want [04:25] the file could exist anywhere on earth [04:25] as long as it's read, it will work (sites-available isn't read) [04:25] nobitanobi, yes, a2ensite should just make the symbolic link in sites-enabled over to the sites-available file. [04:25] if you have a habbit of turning sites on and off a lot, sure, put it in available, and enable it [04:26] sjm, interesting. I get this: "ERROR: Site www.mm-joomla.local does not exist! [04:26] " [04:26] nobitanobi: the file itself belongs into available, then the symlink goes to enabled [04:26] I guess it's a naming problem. let me see [04:29] Ok guys. Now I have the symlink in sites-enabled: "www.mm-joomla.local -> ../sites-available/www.mm-joomla.local [04:29] " [04:29] I restarted apache2, but still the same thing [04:29] I see this when tailing the logs: [client 127.0.0.1] script '/var/www/index.php' not found or unable to stat [04:29] is not going to my home folder [04:30] nobitanobi, what does "apache2ctl -S" give you? [04:32] sjm, solved :) I had .com instead of .local [04:32] in the ServerName [04:32] thanks a lot guys [04:33] nobitanobi, yw [04:33] sjm, one question. How can I know which user/group is using Apache? [04:35] nobitanobi, in ubuntu, should be www-data. check output of ps command, look in /etc/passwd and /etc/group, etc. [04:35] sjm, ok [04:35] thanks man === Cryptoking is now known as allanF === Den_Beiren is now known as DenBeiren === railsraider_ is now known as railsraider === balloons_ is now known as balloons [11:21] hi i need to get rid of this rate limit restrictions here showed in the mail.log file. [11:21] postfix/anvil[7049]: statistics: max connection rate 1/60s for (smtp: XX.XX.XX.XX), postfix/anvil[7049]: statistics: max connection count 1 for (smtp: XX.XX.XX.XX) [11:21] i tryed in main.cf with this lines here but it does not change the above restriction smtpd_error_sleep_time = 1s smtpd_soft_error_limit = 10 smtpd_hard_error_limit = 20 smtpd_client_connection_count_limit = 60 smtpd_client_connection_rate_limit = 120 [11:21] Please Help. [11:35] man anvil [11:35] it's reporting stats. [11:42] mardraum: thanks a lot for your reply. i read a lot that this are only stats but exactly at the time this lines appear in the mail.log together with the IP XX.XX.XX.XX a mail from this IP is missing. somehow there must be a restriction in my opinion. the line "max connection rate 1/60s for " does that not mean that only 1 Connection every 60 Seconds is allowed? [11:43] Morning/afternoon/evening all, I am looking for a comparison of packages between 10.04 LTS and 12.04 LTS to what will be 14.04 LTS, any idea's, should I just roam launchpad? [11:43] xperia: no. [11:44] mardraum: hmmm really? strange! so what does "max connection rate 1/60s" then else mean ? [11:44] in 60s, the maximum connections from IP have been 1. [11:46] mardraum: okay. thanks a lot for the explentation. need to look further then why mail get missing from time to time. [11:47] if the server is refusing mail, that will be very apparent in the logs [11:47] anvil ain't it. [11:47] it will be returning 5XX to the server attempting to deliver. === ikonia_ is now known as ikonia === moonligh- is now known as moonlight [12:55] mardraum: thanks a lot for your tips. allways helpful when there is somebody with helpful suggestions. need to tryce this problem more to isolate it then. === Corey_FOSDEM is now known as Corey [14:10] ikonia: wonderfully mature. Thanks for answering my questions :) [16:33] hello [18:02] is it possible to switch from ubuntu desktop to server by uninstalling the desktop only? [18:04] sure [18:04] you don't even need to uninstall the desktop === ogra_` is now known as ogra_ [18:06] but im currently on desktop [18:07] and just want to uninstall the desktop and get no interface at all [18:08] oh ok so what do i need to do? [18:09] nothing, just install the packages you want [18:09] dude im currently on ubuntu desktop [18:09] i dont want to do fresh install [18:09] so? [18:10] i just want to switch [18:10] dude, I don't think you realize there is little difference between ubuntu server and desktop [18:10] the only difference is installed packages [18:10] so if you want samba installed [18:10] sudo apt-get install sambva [18:10] *samba [18:10] or if you want apache, install apache [18:10] i dont want the graphical desktop [18:11] i want just the server interface the black one [18:11] :) [18:11] ssh [18:11] sudo tasksel [18:11] thanks :) [18:27] apt-get purge xserver-xorg [18:38] lol [18:38] with sudo tasksel i get nothing [18:40] is it installed? [18:42] no i just did what jrwren said === freeflying is now known as freeflying_away === freeflying_away is now known as freeflying === Ursinha-afk is now known as Ursinha === Ursinha is now known as Guest84807 [19:33] heyas - anyone seen a new install of 12.04 server have no WAN connectiving? (not a dns/firewall issue) [19:33] *connectivity === unreal_ is now known as unreal