/srv/irclogs.ubuntu.com/2014/02/02/#ubuntu-server.txt

=== Smedles_ is now known as Smedles
jrwrenmardraum: you can type apt-cache show php5 to find out01:12
jrwrenlooks like 5.5 to me.01:12
mardraumo.O01:13
mardraumoh, you were talking to someone who left.01:14
jrwrenoops01:35
=== freeflying_away is now known as freeflying
=== peter is now known as Guest13344
miceikenhey 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 delegated03:09
TJ-miceiken: https://help.ubuntu.com/12.04/serverguide/dns-configuration.html#dns-primarymaster-configuration03:10
jrwrenmiceiken: the DNS-HOWTO is excellent03:11
miceikenThanks, I'll look it up :)03:17
TitaniumI have a script i want to run after the server boots03:19
Titaniuminit.d doesnt seem to run it03:19
Titaniumis 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
Titaniumthanks, il give it a try03:22
Titaniumdoes it run the script as root?03:31
Es0tericapache2 a2ensite sitename is saying the site doesnt exist03:59
tomreyn"sitename" here was probably an example, and you're supposed to create /etc/apache2/sites-abailable/sitename beforehand04:00
tomreyn* /etc/apache2/sites-available/sitename04:00
tomreynbut you can and most likely want to replace "sitename" by something else.04:00
tomreynapache documentation is here http://httpd.apache.org/docs/2.2/04:01
tomreynhow to create name or ip based VirtualHosts http://httpd.apache.org/docs/2.2/vhosts/04:02
tomreynEs0teric: did that help?04:09
Es0terictomreyn i know that was an example...04:09
Es0tericright now its not working with MY SITE config04:09
tomreyndo this: sudo ls -l /etc/apache2/sites-available /etc/apache2/sites-enabled04:10
tomreynand post the output to pastebin.com04:10
tomreynthen, after posting, you'll be on a new url, tell me what it is04:11
nobitanobiHi 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 VHs04:14
tomreynnobitanobi: are you doing ip or name based virtualhosts?04:16
nobitanobiname based. I have changed /etc/hosts04:16
Patrickdkisn't that missing servername/serveralias?04:16
nobitanobitomreyn, https://gist.github.com/novito/8762916 here is my /etc/hosts04:16
tomreynso you are missing SeverName04:17
Patrickdkwhere is this *second* virtualhost?04:17
nobitanobiI don't haver ServerName on my default VH. I have ServerName on my second VH04:17
Patrickdkcause it says, documentroot /var/www04:17
Patrickdktherefor it should say, /var/www/index.php04:17
tomreynoh sorry i only spotted the first file04:17
nobitanobiPatrickdk, there are three files in that gist.04:17
Patrickdkoh?04:17
Patrickdkconfusing pastebin04:17
nobitanobi:)04:17
Patrickdkfix your serveralias04:18
Patrickdkor servername04:18
nobitanobiuh?04:18
Patrickdkmm-joomla.local != www.mm-joomla.local04:18
nobitanobiPatrickdk, I access using www.04:19
tomreynyeah04:19
Patrickdknot what you said above04:19
nobitanobisorry. I forgot to write www.04:19
nobitanobiThe thing is that if I just try to access www.mm-joomla.local I get the default Apache page that is in /var/www04:20
nobitanobiso, it's actually trying to go to /var/www instead of my home directory specified in DocumentRoot of my second VH04:20
Patrickdkyou restarted apache?04:20
nobitanobiyes04:20
tomreynwhat does "sudo apache2ctl -S" say?04:21
tomreynare both virtualhosts listed?04:21
nobitanobitomreyn, https://gist.github.com/novito/876296404:21
nobitanobitomreyn, I just see the default. I have the Vhost in sites-available, not in sites-enabled04:21
Patrickdkwhre is this other vhost defined?04:22
Patrickdkit is in sites-enabled right?04:22
Es0terictomreyn the output has the sites04:22
nobitanobiPatrickdk, nop. Is in sites-available04:22
Patrickdkheh? why?04:22
Patrickdkavailable != enabled04:23
tomreynEs0teric: which output?04:23
Es0terictomreyn also sites-enabled has 0 sites04:23
Es0teric《 tomreyn 》 do this: sudo ls -l /etc/apache2/sites-available /etc/apache2/sites-enabled04:23
PatrickdkEs0teric, why are you telling tomreyn this?04:23
nobitanobiI am confused04:23
nobitanobiPatrickdk, I should place the new Vhost in sites-enabled?04:24
Patrickdkyes04:24
Es0tericPatrickdk before you came in, tomreyn posted that to me.. i think04:24
Es0terico.O04:24
Patrickdkavailable is, available, it exists, but disabled04:24
Patrickdkah04:24
nobitanobiPatrickdk, shouldn't I use a2ensite to enable it?04:24
Patrickdkdunno04:24
nobitanobibut the file itself should be in sites-available?04:24
tomreynEs0teric: 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-enabled04:24
Patrickdkif you want04:24
Patrickdkthe file could exist anywhere on earth04:25
Patrickdkas long as it's read, it will work (sites-available isn't read)04:25
sjmnobitanobi, yes, a2ensite should just make the symbolic link in sites-enabled over to the sites-available file.04:25
Patrickdkif you have a habbit of turning sites on and off a lot, sure, put it in available, and enable it04:25
nobitanobisjm, interesting. I get this: "ERROR: Site www.mm-joomla.local does not exist!04:26
nobitanobi"04:26
tomreynnobitanobi: the file itself belongs into available, then the symlink goes to enabled04:26
nobitanobiI guess it's a naming problem. let me see04:26
nobitanobiOk guys. Now I have the symlink in sites-enabled: "www.mm-joomla.local -> ../sites-available/www.mm-joomla.local04:29
nobitanobi"04:29
nobitanobiI restarted apache2, but still the same thing04:29
nobitanobiI see this when tailing the logs: [client 127.0.0.1] script '/var/www/index.php' not found or unable to stat04:29
nobitanobiis not going to my home folder04:29
sjmnobitanobi, what does "apache2ctl -S" give you?04:30
nobitanobisjm, solved :) I had .com instead of .local04:32
nobitanobiin the ServerName04:32
nobitanobithanks a lot guys04:32
sjmnobitanobi, yw04:33
nobitanobisjm, one question. How can I know which user/group is using Apache?04:33
sjmnobitanobi, in ubuntu, should be www-data.  check output of ps command, look in /etc/passwd and /etc/group, etc.04:35
nobitanobisjm, ok04:35
nobitanobithanks man04: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
xperiahi i need to get rid of this rate limit restrictions here showed in the mail.log file.11:21
xperiapostfix/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
xperiai 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 = 12011:21
xperiaPlease Help.11:21
mardraumman anvil11:35
mardraumit's reporting stats.11:35
xperiamardraum: 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
MaddethMorning/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
mardraumxperia: no.11:43
xperiamardraum: hmmm really? strange! so what does "max connection rate 1/60s" then else mean ?11:44
mardraumin 60s, the maximum connections from IP have been 1.11:44
xperiamardraum: okay. thanks a lot for the explentation. need to look further then why mail get missing from time to time.11:46
mardraumif the server is refusing mail, that will be very apparent in the logs11:47
mardraumanvil ain't it.11:47
mardraumit will be returning 5XX to the server attempting to deliver.11:47
=== ikonia_ is now known as ikonia
=== moonligh- is now known as moonlight
xperiamardraum: 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
MoleManikonia: wonderfully mature. Thanks for answering my questions :)14:10
atpa8ahello16:33
donvitois it possible to switch from ubuntu desktop to server by uninstalling the desktop only?18:02
sheptardsure18:04
sheptardyou don't even need to uninstall the desktop18:04
=== ogra_` is now known as ogra_
donvitobut im currently on desktop18:06
donvitoand just want to uninstall the desktop and get no interface at all18:07
donvitooh ok so what do i need to do?18:08
sheptardnothing, just install the packages you want18:09
donvitodude im currently on ubuntu desktop18:09
donvitoi dont want to do fresh install18:09
sheptardso?18:09
donvitoi just want to switch18:10
sheptarddude, I don't think you realize there is little difference between ubuntu server and desktop18:10
sheptardthe only difference is installed packages18:10
sheptardso if you want samba installed18:10
sheptardsudo apt-get install sambva18:10
sheptard*samba18:10
sheptardor if you want apache, install apache18:10
donvitoi dont want the graphical desktop18:10
donvitoi want just the server interface the black one18:11
donvito:)18:11
donvitossh18:11
sheptardsudo tasksel18:11
donvitothanks :)18:11
jrwrenapt-get purge xserver-xorg18:27
donvitolol18:38
donvitowith sudo tasksel i get nothing18:38
sheptardis it installed?18:40
donvitono i just did what jrwren said18: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
thedanielmattheyas - anyone seen a new install of 12.04 server have no WAN connectiving? (not a dns/firewall issue)19:33
thedanielmatt*connectivity19:33
=== unreal_ is now known as unreal

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!