wizardslovak | so for each i gotta do file in /sites-available?? | 00:03 |
---|---|---|
wizardslovak | so in /sites-available i made testing file called forum | 00:15 |
wizardslovak | there i change to this | 00:17 |
wizardslovak | http://pastebin.com/m415e6932 | 00:17 |
wizardslovak | and when i want to try in in browser i type ip of server and see only example1.com | 00:18 |
wizardslovak | when i type ip/example2 it shows 404 not found | 00:18 |
VousDeux | You would want each virtual host to listen on a different port. | 00:20 |
wizardslovak | aha | 00:20 |
wizardslovak | cant i use same port? | 00:20 |
wizardslovak | btw this is in vmware+ ubuntu | 00:20 |
wizardslovak | and its on LAN only | 00:21 |
VousDeux | I don't think so, I think they need their own port. Apache just looks at the domain and points the traffic to the correct port. | 00:21 |
wizardslovak | ok | 00:22 |
VousDeux | It can be a port or an IP...come to think of it. | 00:22 |
VousDeux | You can multi-home several IP addresses to the same host, and then define virtual hosts for each IP. | 00:23 |
VousDeux | Now that I think about it, I believe the second way would be the better way. | 00:24 |
VousDeux | Just assign several IP addresses to the same NIC. Then define a different virtual host for each IP. | 00:25 |
wizardslovak | well i got one wan static adress and then vmware has its own LAN adress | 00:25 |
wizardslovak | can i assign more addresses to a server? | 00:25 |
VousDeux | Use LAN addresses. The all domains would point to the same public address. Then apache would look at the domain and point it to the lan address from there. | 00:26 |
wizardslovak | so that would called ip-based vhost? | 00:26 |
VousDeux | So, you set up port forwarding for all traffic on your public address to point to your apache server. | 00:27 |
wizardslovak | ok | 00:27 |
wizardslovak | so lets say i did assign 2 Ips o a server | 00:28 |
wizardslovak | where in apache do i set it up sp apache could read | 00:28 |
wizardslovak | apache2.conf? | 00:29 |
VousDeux | Yes, let's say you have example1.com and example2.com...both point to your public IP 100.100.100.100 on port 80. | 00:29 |
wizardslovak | ok | 00:29 |
VousDeux | Your router listens for traffic on port 80 and sends it to your apache server. | 00:30 |
VousDeux | Your apache server has three private addresses. | 00:30 |
VousDeux | 192.168.0.1, 192.168.0.2, 192.168.0.3 | 00:30 |
VousDeux | Your default domain listens on 192.168.0.1. | 00:31 |
VousDeux | You add two more virtual hosts for example1.com on 192.168.0.2 and example2.com on 192.168.0.3. | 00:31 |
VousDeux | In your virtual host config for each you point them to the proper folder. | 00:32 |
VousDeux | And you do so in the httpd.conf | 00:32 |
VousDeux | This file should have examples. | 00:33 |
VousDeux | hmm...mine seems to be missing examples...googling. | 00:35 |
VousDeux | <VirtualHost 192.168.0.2> DocumentRoot "\path" ServerName example1.com</VirtualHost> | 00:38 |
VousDeux | Pretty much all there is to it. | 00:39 |
wizardslovak_ | ok let me try it | 00:39 |
wizardslovak_ | one more think | 00:39 |
wizardslovak_ | as far as i know i dont have to register domain name if i want to use it in LAN | 00:39 |
VousDeux | You are better off using something with a .local name if you aren't going to register it. Otherwise you could block yourself from accessing the real registered version. (example.local) | 00:41 |
VousDeux | If you want anyone outside to find it, it has to be registered. | 00:41 |
zodling | anyone have any luck with the iscsi install in 9.10 ? | 00:41 |
wizardslovak_ | how do i create alias for eth0? | 00:42 |
wizardslovak_ | sudo ifconfig eth0:0 xxx.xxx.xxx.xxx up? | 00:43 |
VousDeux | Are you just trying to multihome? | 00:44 |
wizardslovak_ | i am trying to host 2 websites | 00:44 |
wizardslovak_ | ok it works | 00:47 |
wizardslovak_ | i assigned Ips and it work when i type ip | 00:48 |
=== wizardslovak_ is now known as wizardslovak | ||
wizardslovak | should i set ip LAN dns so i can type example1.com and no IP? | 00:49 |
VousDeux | sure | 00:50 |
wizardslovak | do i have to? | 00:51 |
VousDeux | only if you want to be able to use a friendly name. | 00:51 |
wizardslovak | damn | 00:52 |
wizardslovak | i never set up dns | 00:52 |
VousDeux | You could just put entries in a hosts file for each client. | 00:52 |
FireCrotch | wizardslovak: I understand you're trying to host two different websites on your ubuntu server? | 00:52 |
VousDeux | But if you have a big LAN, you would certainly want to use DNS. | 00:53 |
wizardslovak | no | 00:53 |
wizardslovak | i have only 4 pcs + webserver | 00:53 |
VousDeux | If you don't want to mess with DNS, just use the hosts file. | 00:54 |
wizardslovak | reason i asked is cause for testing/study purposses i got vmware with ubuntu | 00:54 |
wizardslovak | befor i do anything on my reall server i love to try it in wmvare | 00:54 |
wizardslovak | so i wont mess up reall server | 00:55 |
VousDeux | Very good...nice way to setup a lab. | 00:55 |
VousDeux | If your clients are all Linux, you could just create a single, shared hosts file on the server and give your clients symlinks to it. | 00:56 |
wizardslovak | well some tiem ago i tried to set up mail server and i crashed my server | 00:56 |
wizardslovak | now i dont want to make same mistake | 00:56 |
wizardslovak | i wish they were , server and i are linux | 00:57 |
wizardslovak | rest is xps | 00:57 |
twb | You can also distribute the hosts database via NIS, LDAP or DNS. | 00:57 |
twb | For simple sites, dnsmasq provides a dead easy way to distribute it via DNS, because dnsmasq can just read /etc/hosts on the server | 00:58 |
VousDeux | Well, I'm getting way past due for my cigar and beer break. | 00:58 |
wizardslovak | heh | 00:58 |
wizardslovak | i will be here for rest of night so dont worry hehe | 00:58 |
VousDeux | LOL | 00:58 |
VousDeux | gl | 00:58 |
wizardslovak | heh | 00:58 |
wizardslovak | but is it point to set up dns just for 2 i ps? | 00:59 |
JanC | <VousDeux> You would want each virtual host to listen on a different port. | 01:00 |
JanC | eh, no reason for that | 01:00 |
wizardslovak | well i setted up 2 static ips | 01:01 |
wizardslovak | each vhost has one | 01:01 |
JanC | please go read the apache docs, they are *very good* | 01:01 |
wizardslovak | i did read them | 01:01 |
wizardslovak | i prefer if someone explain some thinks to me | 01:01 |
JanC | reading the Apache docs takes several hours... ;) | 01:02 |
wizardslovak | well i know | 01:02 |
wizardslovak | i got book | 01:02 |
JanC | and really, there is no reason to use multiple IPs for virtual hosts, unless you need HTTPS support for all browsers (including some antique ones) | 01:04 |
wizardslovak | so how should i do it them? | 01:05 |
=== Bilge- is now known as Bilge | ||
wizardslovak | VirtualHosts *:80 | 01:05 |
wizardslovak | u mean this http://httpd.apache.org/docs/2.0/vhosts/name-based.html | 01:07 |
JanC | wizardslovak: exactly like the URL you post says, except that you put all the <VirtualHost *:80>...</VirtualHost> blocks in separate files so that you can enable/disable each virtual host separately | 01:17 |
JanC | the separate files part is what README.Debian.gz explains | 01:19 |
=== freeflyi1g is now known as freeflying | ||
wizardslovak | damn | 01:35 |
wizardslovak | so i got mysql | 01:35 |
wizardslovak | how do i check if mysql is running? | 01:36 |
wizardslovak | or how do i rese it? | 01:36 |
wizardslovak | resset | 01:36 |
Zelut | wizardslovak: reset or restart? | 01:37 |
wizardslovak | restart | 01:37 |
Zelut | wizardslovak: sudo /etc/init.d/mysql[TAB] restart | 01:37 |
Zelut | (I don't recall the exact name and I'm not on my ubuntu system at the moment) | 01:37 |
wizardslovak | so i am running myql on server with ip .106 and website on virtual .107 | 01:38 |
wizardslovak | i am tryin to install phpbb | 01:39 |
wizardslovak | "Database server hostname " is hostname of server , right? | 01:40 |
Zelut | the hostname or localhost. i've often seen localhost as the configuration for web applications accessing the local mysql server. | 01:41 |
wizardslovak | "Could not connect to the database, see error message below. | 01:41 |
wizardslovak | Lost connection to MySQL server at 'reading initial communication packet', system error: 111" | 01:41 |
wizardslovak | thats what error i got | 01:42 |
wizardslovak | damn | 01:42 |
Zelut | verify username and password for connecting to the database? | 01:43 |
wizardslovak | hostnme is example1 and hostname of mysql is example2 | 01:43 |
wizardslovak | how do i change mysql so it will have name of example1 | 01:43 |
Zelut | does your mysql server need access from anything other than your phpbb installation? | 01:43 |
wizardslovak | no | 01:44 |
Zelut | then you really don't need to give it another IP/hostname. | 01:44 |
wizardslovak | ok | 01:44 |
Zelut | plus, I believe by default mysql only listens on localhost until you manually open it up on an interface. | 01:44 |
wizardslovak | ok | 01:45 |
wizardslovak | one more think | 01:45 |
Zelut | so, my suggestion is configuring phpbb to contact mysql server on 'localhost' and just using the .107 for the web. sounds like you don't need the .106. | 01:45 |
wizardslovak | i make new user in mysql and gave him all privileges but still when i want to log in with it i cant | 01:45 |
wizardslovak | even if i use my system username | 01:46 |
wizardslovak | only with root | 01:46 |
twb | wizardslovak: are you trying to use pam_mysql? | 01:46 |
wizardslovak | no only mysql | 01:46 |
twb | You want to add an account in mysql and then be able to log into unix with that account? | 01:46 |
wizardslovak | yes | 01:46 |
wizardslovak | well its same as system account | 01:47 |
twb | mysql accounts are totally separate from system accounts. | 01:47 |
wizardslovak | but i cant log in with it | 01:47 |
twb | pam_mysql is a way to store system accounts in mysql, but it's crap. But then, mysql is crap, too. | 01:47 |
Zelut | wizardslovak: what is the reasoning behind having a system account + mysql account? | 01:50 |
VousDeux | any ideas what this means? slapadd: could not add entry dn="cn={2}nis,cn=schema,cn=config" | 01:50 |
Zelut | VousDeux: looks like whatever you're using is trying to write to your LDAP server and can't..? | 01:52 |
VousDeux | I'm using dpkg-reconfigure slapd as root | 01:53 |
Zelut | VousDeux: you get the above error when you run dpkg-reconfigure? | 01:54 |
VousDeux | Man, nothing can ever just be easy. | 01:54 |
VousDeux | yes. | 01:54 |
wizardslovak | back | 01:57 |
wizardslovak | but still i set up new user and still i cant access mysql | 01:57 |
wizardslovak | i cant login | 01:57 |
Zelut | wizardslovak: how did you setup the user? | 01:58 |
wizardslovak | i logged with root and there priviledges and new user | 01:58 |
wizardslovak | i did it true phpmyadmin | 01:59 |
VousDeux | shoot...I just uninstalled and reinstalled slapd and ldap-tools and I get the same error | 02:00 |
VousDeux | ...ldap-utils rather | 02:00 |
Zelut | VousDeux: you could try uninstall via purge | 02:01 |
VousDeux | I'm not sure how to do that...woud it just be apt-get purge slapd ldap-utils? | 02:02 |
Zelut | wizardslovak: did you give your user access to the phpbb database? (i'm assuming you created a database for phpbb) | 02:02 |
wizardslovak | yes i did | 02:02 |
Zelut | so your config is: localhost, newuser, newuser-password? | 02:02 |
Zelut | i mean, your phpbb config. | 02:05 |
wizardslovak | lol i used root account and it works lol | 02:06 |
VousDeux | It looks like that purge did the job...thanks. | 02:06 |
wizardslovak | one more think | 02:07 |
wizardslovak | to change permissions of file , what does numbers mean ex. 666,640 | 02:07 |
Zelut | VousDeux: np. | 02:07 |
wizardslovak | when i changed config.php to 640 i couldnt access enything | 02:08 |
Zelut | wizardslovak: that'd be worth looking up on google, but quickly it is as follows. | 02:08 |
wizardslovak | when i changed to 777 i could | 02:08 |
Zelut | wizardslovak: rwx = read, write, eXecute. also represented numerically r=4, w=2, x=1. | 02:08 |
Zelut | wizardslovak: 7 means r+w+x. 6 = r+w, etc. | 02:08 |
wizardslovak | i checked google but nowhere i wouldnt find what numbers mean | 02:09 |
wizardslovak | damn | 02:10 |
VousDeux | file permissions: http://www.freeos.com/articles/3127/ | 02:10 |
twb | Each number is an octal byte, where each bit in the byte represents read, write or execute. | 02:11 |
wizardslovak | because i used root login in phpbb for mysql | 02:11 |
Zelut | I prefer to use the rwx representation, but numeric is common. | 02:11 |
twb | This should be covered in RUTE | 02:11 |
twb | !RUTE | 02:11 |
ubottu | documentation is to be found at http://help.ubuntu.com and http://wiki.ubuntu.com - General linux documentation: http://www.tldp.org - http://rute.2038bug.com | 02:11 |
wizardslovak | when i change permissions of config.php | 02:11 |
wizardslovak | i am not able to use it with username | 02:11 |
wizardslovak | so in mysql i put password in "login information" and in "password field "hat should i select ? "do not change password""no password" or "use textfield"? | 02:20 |
wizardslovak | ok i got it | 02:23 |
wizardslovak | i got error with hostname | 02:23 |
genii | try 127.0.0.1 instead of localhost | 02:24 |
wizardslovak | hihi | 02:36 |
wizardslovak | it works | 02:36 |
wizardslovak | hihi | 02:36 |
wizardslovak | so far only on my lan but works | 02:37 |
Zelut | wizardslovak: congrats :) | 02:37 |
wizardslovak | hih thx people | 02:37 |
wizardslovak | thx to this chat i already learned how to run webserver , now forum hehe | 02:37 |
wizardslovak | my fav channel | 02:37 |
wizardslovak | only think i am having problems with is email server | 02:38 |
Zelut | wizardslovak: email is tough. good luck. | 02:38 |
wizardslovak | i know | 02:39 |
wizardslovak | i tried postfix-dovecot and never couldnt set it up | 02:39 |
_bubsy | how to list what package aviliable on apt-get ? | 02:57 |
wizardslovak | what package are you looking for? | 02:59 |
_bubsy | wizardslovak : just try to see how to get list | 03:00 |
VousDeux | You can browse with aptitude. | 03:00 |
_bubsy | ok.. thanks | 03:00 |
wizardslovak | apt-cahce search <program name> | 03:01 |
wizardslovak | apt-cache pkgnames | 03:02 |
_bubsy | thanks a lot | 03:02 |
wizardslovak | lol | 03:02 |
wizardslovak | _bubsy. use google, | 03:03 |
emgent | ola | 03:03 |
pmatulis | _bubsy: use for apt-cache searching, add '--names-only' to restrict search to package names, aptitude does this by default | 03:03 |
emgent | i have some issue with mod_proxy and ProxyRemote rule... someone is up? | 03:03 |
wizardslovak | so its better to use aptitude then apt-get | 03:03 |
emgent | ScottK: are you around? | 03:04 |
VousDeux | if you know exactly what you are looking for, apt-get is much easier | 03:04 |
pmatulis | VousDeux: how so? | 03:09 |
VousDeux | Well, with aptitude you have to type the command, dig through a list, or execute a search, select the program, initiate the install (many steps). With apt-get you just type a single command and you're pretty much done (unless there are options). | 03:11 |
pmatulis | 'apt-get install foo' so much easier than 'aptitude install foo' ? | 03:13 |
VousDeux | Oh, I was referring to the menu-driven usage...I didn't even know you could use aptitude like that. | 03:14 |
pmatulis | VousDeux: i use it all the time like that, i never use the interface | 03:15 |
pmatulis | (does anybody?) | 03:16 |
VousDeux | I just thought the menu-driven function of aptitude made for a nice way to browse available apps. | 03:17 |
qman__ | I still use apt-get out of habit, but aptitude is admittedly better | 05:04 |
* ScottK doesn't admit that at all. | 05:05 | |
ScottK | It is more determined to get to a solution where all the packages get installed, but that doesn't always result in 'better'. | 05:05 |
ScottK | Personally I prefer to have apt say "ugh, too hard, you figure it out" than have aptitude decide removing half my system is the best course. | 05:06 |
qman__ | I just meant in terms of options and features | 05:07 |
qman__ | apt-get is a bit lacking | 05:07 |
ScottK | The only aptitude feature I use is aptitude why/whynot. those are nice. | 05:08 |
twb | I quite like markauto and unmarkauto | 05:09 |
ScottK | I could see uses for those. | 05:10 |
twb | What I do, is have an equivs dummy package which Recommends all the things I like, kinda like ubuntu-desktop does. | 05:10 |
twb | And then *everything* else is set markauto. | 05:10 |
twb | Thus, I can easily see which packages I have temporarily installed, because they are unmarkauto'd | 05:10 |
twb | e.g. "oops, I left oo.org installed after I used it once last month." | 05:11 |
=== gamla_ko2san is now known as gamla_kossan | ||
uvirtbot | New bug: #449323 in openssh (main) "openssh-server doesn't start automatically at boot time" [Undecided,New] https://launchpad.net/bugs/449323 | 09:16 |
rags | My syslog daemon is hanging or due to which the entire system has slowed down. ssh and sudo take ages to complete...I know it's syslog because an strace shows sudo waiting at send() to /dev/log | 09:54 |
rags | If i restart syslogkd it comes bak to normal for 1-2 minutes but starts hanging again..wht could be the problem? | 09:54 |
mrchrisadams | hi guys | 10:09 |
mrchrisadams | I'm seeing a runaway process that's using an insane amount of memory | 10:09 |
mrchrisadams | before I kill it, how can find out what's been causing it? | 10:10 |
jpds | mrchrisadams: strace -p $pid it? | 10:19 |
jpds | mrchrisadams: Or you could look into /proc/$PID/fd/ and see what files it has open. | 10:21 |
=== Barre_ is now known as Barre | ||
uvirtbot | New bug: #449326 in openvpn (universe) "openvpn doesn't start automatically at boot time" [Undecided,New] https://launchpad.net/bugs/449326 | 10:46 |
mrchrisadams | is there already a log rotation utility on jaunty server by default? | 11:04 |
uvirtbot | New bug: #449395 in qemu-kvm (main) "kvm freezes at graphical boot splash" [Undecided,New] https://launchpad.net/bugs/449395 | 11:06 |
jpds | logrotate? | 11:06 |
mrchrisadams | jpds: hey jon, nice to see you again! | 11:10 |
jpds | You too. :) | 11:14 |
mrchrisadams | jpds: I've found out that the server I'm looking after is using stock jaunty logrotate settings | 11:17 |
mrchrisadams | and this is a new subject to me | 11:17 |
mrchrisadams | do you know of any good sample log rotate conf files for web serving? | 11:18 |
jpds | mrchrisadams: Are you trying to rotate log files which aren't in /var/log/apache2? | 11:22 |
Jeeves_ | cat /etc/logrotate.d/apache2 | 11:22 |
knecht | a question about iptables and loging: when i use iptables -P INPUT ACCEPT (also for output and forward) and then use iptables -A OUTPUT -j LOG --log-prefix "Block: " (also for input) it seems like every package is logged. I have a rule that drop packages, and i just want to show that. Can someone tell me how? | 11:57 |
knecht | is it right that every package is logged that reaches the log rule? then i know why it works with drop all and accept some. With accept all policy nearly all packages fit to no rule, is that the reason i got them logged? | 11:59 |
_ruben | "is it right that every package is logged that reaches the log rule?" ... yes | 12:09 |
_ruben | that's the whole idea of the LOG target | 12:09 |
_ruben | LOG logs packets, not just dropped ones | 12:09 |
knecht | i need php5-sqlite3 Support on Ubuntu Intrepid 8.10 Server, but i found no deb packages (no official, no backport). How i can get sqlite3 support for php ? (current php5-sqlite package has Version sqlite 2.x) | 12:28 |
knecht | can someone help? | 12:28 |
knecht | i only found this: https://launchpad.net/ubuntu/intrepid/i386/php5-sqlite3/0.5-1 | 12:29 |
knecht | _ruben: then i cannot image how to set policy to accept all, then have some drop rules, and then log the dropped packages. what is the way? | 12:31 |
uvirtbot | New bug: #449135 in eucalyptus/1.6 "eucalyptus CC segfault in NC adb client when instance count is high" [High,Fix committed] https://launchpad.net/bugs/449135 | 12:31 |
knecht | any hint? | 12:32 |
oversize | hi, does anyone know whether or not the pure-ftpd packe in jaunty is compile w/o --with-virtualchroot ? i am not able to follow symlinks to outside the root and guess that the reason might be theat missing --with-virtualchroot option. (Using: pure-ftpd-1.0.21-11.4ubuntu1) thx | 12:34 |
uvirtbot | New bug: #449143 in eucalyptus/1.6 "Assignment of IP 169.254.169.254 on CC is conflicting with UEC avahi publish mechanism" [High,In progress] https://launchpad.net/bugs/449143 | 12:36 |
_ruben | knecht: either duplicate your -j DROP rules with -j LOG (place the LOG rule before the DROP one) .. or create a custom chain called LOG_DROP (iptables -N LOG_DROP), add the appropriate rules (LOG+DROP: iptables -A LOG_DROP -j LOG ; iptables -A LOG_DROP -j DROP) and use it instead of DROP (so -j DROP would become -j LOG_DROP) | 12:40 |
knecht | _ruben: thanks :D i'll play with it | 12:46 |
=== MenZa is now known as lhavelund | ||
kim0 | Hi .. can I automate dpkg-reconfigure answers in a shell script ? | 13:54 |
=== lhavelund is now known as MenZa | ||
_ruben | kim0: you can via debconf-set-selections | 14:04 |
kim0 | thank you | 14:05 |
kim0 | hmm .. "/etc/initramfs-tools/conf.d/mdadm" is not available after installaiton (late command) | 14:20 |
kim0 | however, after system boot, the file is there .. any idea what's up .. | 14:20 |
kim0 | I'm trying to set boot_degraded=true in there | 14:21 |
kim0 | in the installation preseed file | 14:21 |
_ruben | could be a bug | 14:31 |
=== dendro-afk is now known as dendrobates | ||
uvirtbot | New bug: #449530 in eucalyptus (main) "Missing JARs make user registration impossible" [High,Fix committed] https://launchpad.net/bugs/449530 | 15:11 |
Aziz | hi everybody | 15:38 |
=== Aziz is now known as AzizLight | ||
AzizLight | I have a kinda-noobish question: I just setup an ubuntu server (8.04). If I want my application to send emails do I need to setup a mail server in the ubuntu server? | 15:40 |
oversize | i use ssmtp for my php mailing needs | 15:41 |
oversize | its a local smtp and just hands the mails over to another smtp, but your application could easily use any other smtp server | 15:42 |
littlebeauty | i cannot use ssh to upgrage my server . when i type "y" , it just stop | 15:42 |
AzizLight | oversize: ok thanks | 15:45 |
tarvid | dovecot restart failed with "Time just moved backwards" | 15:57 |
tarvid | ntp is s23 and dovecot is s24 in rc*.d | 15:57 |
Pici | heh | 15:58 |
tarvid | ntp server is default | 15:58 |
tarvid | is it possible server ntp.ubuntu.com is slow? | 15:59 |
tarvid | https://bugs.launchpad.net/ubuntu/+source/dovecot/+bug/347881 | 16:05 |
uvirtbot | Launchpad bug 347881 in dovecot "dovecot-imapd incompatible with ntpdate use" [Undecided,Confirmed] | 16:05 |
knecht | i use ubuntu server 8.10 and need sqlite3 support for php. The package php5-sqlites has only 2.x sqlite support. i found no howto or backport for php5-sqlite3 in 8.10. Can someone help? How to get sqlite3 support into php | 16:07 |
knecht | Thanks | 16:07 |
th3_b0b | Hi! Where is logrotation for /var/log/syslog configured? I can't find any specific configuration in /etc/logrotate.conf or /etc/logrotate.d/*, so I thought the default settings (rotate weekly, rotate 4) should apply. But it seems that the file is rotated daily, and only 7 days are kept... | 16:14 |
jpds | th3_b0b: I have it in /etc/logrotate.d/rsyslog. | 16:16 |
jpds | (on my Karmic installation). | 16:17 |
th3_b0b | jpds: I'm running jaunty, and it isn't present there. could you copy/paste that files content for me, please? | 16:18 |
jpds | th3_b0b: Sure, http://paste.ubuntu.com/291647/ | 16:19 |
th3_b0b | jpds: Thx! | 16:19 |
mrchrisadams | jpds: hey Jon, what do lines 10 and 11 mean in that pastie? | 16:24 |
mrchrisadams | postrotate \n invoke-rc.d rsyslog reload > /dev/null | 16:24 |
jpds | mrchrisadams: To restart rsyslogd after the rotation is completed. | 16:25 |
mrchrisadams | why do you need invoke-rc.d? | 16:26 |
mrchrisadams | \rsyslog reload > dev nulll' I can understand - just doing quietly | 16:27 |
mrchrisadams | but I'm not familiar with invoke-rc.d | 16:27 |
jpds | mrchrisadams: invoke-rc.d is a wrapper script for /etc/init.d/$thing. | 16:32 |
jpds | So it's the same as saying: /etc/init.d/rsyslog reload | 16:32 |
mrchrisadams | ah, so you can write 'invoke-rc.d mysql restart' for example? | 16:33 |
jpds | Or as the new feature in Karmic with new Upstart: service rsyslog reload | 16:33 |
jpds | mrchrisadams: Sure. | 16:33 |
mrchrisadams | I'm not sure I see the advantage of using invoke-rc.d - what does it do differently to /etc/init.d $thing $command ? | 16:34 |
jpds | Looking at the source, it seems to check with runlevel is active and other things. | 16:35 |
jpds | I just use it because it's easier to tab-complete. :) | 16:37 |
kaushal | hi | 16:44 |
kaushal | Can i seek help here for Can i seek help here for | 16:44 |
kaushal | https://help.ubuntu.com/8.10/serverguide/C/samba-ldap.html | 16:44 |
kaushal | ? | 16:44 |
kaushal | where do i need to run smbldap-populate | 16:48 |
kaushal | is it on ldap server or samba server ? | 16:48 |
kaushal | basically i have two different servers ldapserver and samba server | 16:49 |
ahasenack | kaushal: it can be anywhere as long as /etc/smbldap-tools/smbldap.conf points to the right server and /etc/smbldap-tools/smbldap_bind.conf has the right credentials | 17:05 |
ahasenack | s/right server/right ldap server/ | 17:06 |
orudie | with dovecot/postfix how can i block a specific @domain ? | 17:10 |
kaushal | ahasenack: so run it on samba server ? | 17:11 |
kaushal | since i have two setups | 17:11 |
kaushal | one ldap server and one samba server | 17:12 |
ahasenack | kaushal: I would say you should install it on the samba server, because | 17:12 |
ahasenack | kaushal: you will likely change the "add user command" and others to use the smbldap-tools counterparts | 17:12 |
kaushal | ahasenack: since that wiki doc has two parts openldap configuration and samba configuration | 17:14 |
kaushal | bit confused there | 17:14 |
kaushal | Next, configure the smbldap-tools package to match your environment. The package comes with a configuration script that will ask questions about the needed options. To run the script enter: | 17:15 |
kaushal | means to run the further steps on samba server ? | 17:16 |
_pn | afternoon all | 17:17 |
ahasenack | kaushal: does it tell you where to install smbldap-tools? | 17:17 |
_pn | ooh - speaking of ldap - i'm here for that as well! | 17:18 |
* _pn is looking for recommendations for identity management on ubuntu server(s) | 17:18 | |
kaushal | ahasenack: its given in the beginning | 17:18 |
kaushal | its really really confusing | 17:18 |
_pn | ie: what's the best way to do LDAP for ubuntu and os x clients on ubuntu server today? | 17:18 |
ahasenack | kaushal: so that's where you configure it | 17:18 |
ahasenack | _pn: don't know about os x | 17:19 |
_pn | that's ok - os x will do LDAP v3 authentication nicely | 17:19 |
kaushal | ahasenack: so its in samba server ? | 17:19 |
_pn | what I'm after is a low-stress set of tools (gui's even?) for managing the data I keep in openldap | 17:19 |
ahasenack | kaushal: I haven't read that doc | 17:19 |
_pn | or should I say: I wish ubuntu had FreeIPA! http://freeipa.org | 17:20 |
orudie | hi, how can i blacklist a specific domain with spam assassin? lets say *.@domain.com ? | 17:31 |
Vog | I just use sender access if it is a postfix server. | 18:01 |
Vog | or /etc/postfix/sender_access | 18:02 |
Vog | and add a line "domain.com REJECT" | 18:04 |
addisonj | hola, anyone here every use Active Directory for linux authentication? | 18:44 |
addisonj | ever* | 18:44 |
tomsdale | What are my chances of succes to clone a "running" ubuntu webserver (sw raid) to a KVM virtual machine using rsync? Anyone already tried this succesfull or not? I'm worried about device drivers and running databases. | 18:58 |
SyL | I had a kernel panic while upgrading the kernel and I am back in the system using the old kernel and I can't seem to remove it and reinstall it because I'm getting this error | 19:05 |
SyL | dpkg (subprocess): unable to execute installed post-installation script: Exec format error | 19:05 |
uvirtbot | New bug: #449702 in ntp (main) "Default ntp server list doesn't have any servers enabled" [Undecided,New] https://launchpad.net/bugs/449702 | 19:16 |
SyL | anybody getting kernel panics on the new kosmic server kernel? | 20:03 |
SyL | err... karmic. | 20:03 |
_bubsy | how is openjdk compare to sun jdk ? | 20:32 |
SyL | is this a place I can ask for help on kernel panics on ubuntu 9.10? | 21:58 |
KurtKraut | SyL, I personally tend to use ubuntuforums.org to issues that requires a deeper investigation, testing, log analysis etc. | 22:01 |
SyL | KurtKraut: ok, thanks. is kernel panic still the term used? | 22:01 |
cemc | is there a way to isntall the 32bit version of a package if I have 64bit ubuntu installed? | 22:02 |
KurtKraut | SyL, yes. But if what is in panic is not the kernel, it is probably you. Anyway, this still require further investigation :P | 22:03 |
SyL | basically the system becomes unresponsive (numlock & capslock) in under 5 minutes after I upgraded from jaunty to karmic. | 22:05 |
KurtKraut | SyL, are you aware that systems in production should not use Karmic because it is not considered stable yet? | 22:05 |
SyL | KurtKraut: it's not in production and my company wants me to set up a eucalyptus cloud on ubuntu 9.10 | 22:07 |
SyL | KurtKraut: I didn't say they were smart, but they pay me. =) | 22:07 |
KurtKraut | SyL, someone have to pick the hardest jobs :P | 22:08 |
KurtKraut | *has | 22:08 |
SyL | heh | 22:08 |
SyL | KurtKraut: and I removed the working kernle from jaunty. so the 2 paths I have are a) figure out why the system crashs (maybe APIC or something) or b) find that old kernel and install it and hope it goes well. | 22:10 |
tomsdale | SyL: shouldn'T you be able to reinstall an old kernel if you boot your system in rescue mode? | 22:12 |
tomsdale | and then just apt-get it | 22:13 |
SyL | tomsdale: the old kernle is from ubuntu 9.04 and I just upgraded to 9.10. the old kernel isn't in the repositories | 22:15 |
tomsdale | SyL: can you maybe just enable the jaunty repository in your /etc/apt/sources... I don't know what will happen though sounds like quite a hack | 22:17 |
SyL | tomsdale: I'll be finding out soon. =) | 22:17 |
tomsdale | make a backup if it's important data. I have no clue about 9.10 | 22:18 |
SyL | tomsdale: always. thanks | 22:18 |
tomsdale | I actually have a similar problem. Just rsynced a system from a to b. System b has different hardware and after installing grub the system doesn't boot anymore. | 22:22 |
tomsdale | get's stuck after grub because it doesn't seem to find the hd anymore. which command can I give to tell the kernel to reexamine the hardware and recreate the initramfs | 22:24 |
SyL | tomsdale: weird | 22:24 |
tomsdale | first hd was ATA, the second a SATA controller. | 22:25 |
SyL | oh... then I would think the harddrives are hda and the sata is sda | 22:26 |
SyL | err... ide is hda and sata is sda | 22:26 |
tomsdale | you are correct - old one was ide - new one is sata. | 22:26 |
SyL | then check your grub because it's looking for the wrong harddrive | 22:27 |
tomsdale | I think there is the initramfs which doesn't know about sata because it was installed on IDE. | 22:27 |
tomsdale | that could be as well - let me doubecheck | 22:27 |
tomsdale | nop - UUID is coorect, just doublechecked in a rescuesession with blkid | 22:31 |
tomsdale | ahh - in the menu.lst - there is another UUID, I just checked the fstab | 22:32 |
SyL | tomsdale: doh. worth a shot | 22:36 |
SyL | tomsdale: https://wiki.ubuntu.com/KernelTeam/Grub2Testing maybe this will help? | 22:46 |
VousDeux | On my home network I currently have an Active Directory environment that I would like to somehow convert from Windows Server 2003 to Ubuntu Server running in a virtualized environment. | 23:01 |
VousDeux | I would also like to configure my Kubuntu laptop to run through OpenVPN as a remote replication server so that I can store duplicate data from my home server on a USB external storage device and basically take my server with me on the road and keep it in sync with my home server. | 23:01 |
VousDeux | Does anyone know of any good documents that speak to this subject? | 23:01 |
VousDeux | I already have the Ubuntu virtual server up and running, and an OpenVPN established between my Kubuntu laptop and my router (running DD-WRT). | 23:03 |
VousDeux | I mostly just need some help with ideas for the migration from Active Directory. | 23:03 |
uvirtbot | New bug: #407175 in openssh (main) "log out fails" [Low,Incomplete] https://launchpad.net/bugs/407175 | 23:51 |
tomsdale | SyL: bingo - changed the UUID in the /boot/grub/menul | 23:52 |
tomsdale | and my machine boots up fine. Lets see whether I this works as well from the /dev/md when I do an rsync. | 23:53 |
tomsdale | has anyone more information or know whether I can rsync my root device which is called /dev/md1 from a live session? | 23:58 |
tomsdale | I think /dev/md1 is a software array. | 23:59 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!