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