/srv/irclogs.ubuntu.com/2008/01/14/#ubuntu-server.txt

nealmcbsommer: haven't tried it yet.  I'm lazy and was waiting for a downloadable image - got one?00:25
* nealmcb is surprised at the slowness of sugar00:26
=== jjesse_ is now known as jjesse
sommernealmcb: nope, no image... I'm not really sure how to make one?01:53
jjessehello02:12
ChuckWagonI would like to install Zend Framework.02:16
ChuckWagonI have a working Apache / PHP / MySQL already.02:17
ChuckWagonNaturally, I don't want to mess anything up.  Any hints/tips?02:17
ChuckWagonBy default, it wants to install Apache for you, but I think I can turn that off.02:17
thomas_newbie__my ssh and apache server starts each time i boot up my os. How to disable that02:46
kgoetzwhats the os and version? ;)02:49
kgoetzthomas_newbie__: in direct answer for apache: /etc/default/apache202:50
kgoetzthomas_newbie__: and for ssh touch /etc/ssh/sshd_not_to_be_run02:51
thomas_newbie__kgoetz: whats the second one?02:56
thomas_newbie__kgoetz: why do I create a file?02:56
thomas_newbie__so /etc/default/ is all startup config?02:56
kgoetzno its not02:56
kgoetzits where some tools put startup settinsg02:56
kgoetzlook at /etc/init.d/ssh for why you touch teh 2nd file02:57
thomas_newbie__kgoetz: but what would that do? that wouuld create an empty file....02:57
kgoetzyes it would02:59
kgoetzread the init script? 13:27 < kgoetz> look at /etc/init.d/ssh for why you touch teh 2nd file02:59
thomas_newbie__kgoetz: ohhh i see02:59
thomas_newbie__i just read the script02:59
thomas_newbie__kgoetz: dude though how would I know what settings are in each config file....? how do I know where to look for any other services besides ssh?03:00
kgoetzthomas_newbie__: depends what you want to know03:01
thomas_newbie__kgoetz: so in the future where do I look? look in the init.d/ folders config files?03:02
kgoetzthomas_newbie__: depends what you want to know03:02
thomas_newbie__:S03:02
kgoetzits something you find out with time, mostly.03:02
thomas_newbie__i see...its done the hard way :S03:02
kgoetzwelcome to life :D03:03
thomas_newbie__kgoetz: hey btw I was looking to set up UML for a honeypot, what do you think?03:03
kgoetzperhaps it could be documented as part of the process installing docs.03:03
kgoetzthomas_newbie__: why?03:03
thomas_newbie__kgoetz: for learning purposes...that's a good idea right?03:03
kgoetzlearn to drive your own server, before asking people to screw you over03:04
thomas_newbie__kgoetz: no but I would screw myself over....see how to break into my own system03:07
kgoetzthomas_newbie__: 'no'. theres constructive ways to learn, which dont involve making yourself a target03:08
thomas_newbie__hmm...i mean basically I would be pretending to be a client trying to break into my own server, That can be educational right?03:10
kgoetzah... you want to honeypot yourself?03:11
kgoetzseems a somewhat nonsense way to do it.03:11
thomas_newbie__lol03:12
thomas_newbie__kgoetz: so you disaprove? its stupid, i found the user-mode linux kernel on the ubuntu package search but it diesn't fine it in adept manager03:12
kgoetzthomas_newbie__: set a goal, decide what you want the system to do, then work towards it03:13
thomas_newbie__kgoetz: i mean i have 2 servers, I just odn't know if they're safe enough....Doubt it....03:14
kgoetzthomas_newbie__: first of all what do they do, and what do you want them to be safe from?03:15
thomas_newbie__kgoetz: apache2 webserver. I am only using it mainly for learning purposes. I am thinking of maybe setting up an authentication or some kind. My teacher said using PAM and perhaps using it for logging aswell. I also want to be sure that I will be safe from the outside world when experimenting with my server. I don't want to jeopardize my other computer on MY LAN. Also i have an SSH server that is03:18
thomas_newbie__just there for now.......03:18
kgoetzapache isnt a particularly problem prone bit of software03:22
kgoetzits more what you run in apache that will cause issues03:22
kgoetzas for pam, yeah, you could backend on it03:22
kgoetzi have done it03:23
thomas_newbie__what do you man backend03:25
kgoetzauthenticate against03:25
thomas_newbie__kgoetz: I'm thinking of changing default port 80 to something else for security...What is a good port #?03:29
kgoetzyou wont gain security from it03:31
thomas_newbie__kgoetz: most people expect all webservers to be port 80...03:31
kgoetzthomas_newbie__: look into 'security by obscurity'03:31
thomas_newbie__kgoetz: well i've been reading03:51
thomas_newbie__kgoetz: and what exactly did you mean of security through obscurity03:51
thomas_newbie__kgoetz: the fact that I'm ignoring everything else and just changing the port # as a quick fix?03:51
kgoetzthomas_newbie__: basically, yes03:52
thomas_newbie__kgoetz: can i ask you one more question03:58
kgoetzsure03:59
thomas_newbie__kgoetz: if you don't think I should learn by using UML, then what should i learn next? Conserning my Webserver however03:59
kgoetzthomas_newbie__: learn something thats useful to you - make the system do what you want it to.04:00
kgoetzas you learn more you can try and make it do different things04:00
thomas_newbie__shall I try to use PHP adn PERL?04:01
kgoetzwhat do you want to do?04:01
* kgoetz doesnt use either04:02
thomas_newbie__secure the server04:02
thomas_newbie__loggi04:02
thomas_newbie__you don't use PHP for your webserver?04:04
thomas_newbie__kgoetz:04:04
kgoetznot at home, at work we run (eg) mediawiki, an dneed it for that04:05
=== ember_ is now known as ember
XiXaQI would appreciate it if someone could have a look at http://wiki.ubuntu.com/CalendarServer and finish it. What's necessary, is making a user for it, scripts for /etc/init.d and scripts to run it at boot and shut it down with the system.09:49
=== ember_ is now known as ember
oly-hum, i just installed request tracker to try it out, but have no idea what port / address i need to type in to get up the web interface15:28
oly-anyone happen to know ?15:28
jjessei thought it was /rt15:28
jjessehttp://localhost/rt?15:29
oly-just tried that nothing15:29
oly-this is straight from gutsy repo version 3.615:29
oly-its a real shame they dont put a note in the descriptions of these packages with how to access the web interfaces15:30
oly-i hit this problem far to often :p15:31
sommeroly-: have you seen this guide: http://wiki.bestpractical.com/view/UbuntuInstallGuide15:31
sommeroly-: on my installation I created a vhost and I simply go to the "ServerName" directive15:32
oly-nope thxs that looks like it will ansswer my question :)15:32
oly-well usually the deb files do all that for you15:32
sommeroly-: np, basically create a new vhost pointing the DocumentRoot to /usr/share/request-tracker3.6/html/15:33
sommeroly-: ya, but with webapps it's more open to the admins preferences I think15:33
oly-okay will do thxs for that info :)15:33
sommerwelcome15:33
oly-i am all for that but a default setup is nice15:33
oly-i only want to give it a quick try to see if its any good15:34
sommeroly-: I've found it to be great, as a help desk anyway15:34
oly-cool, i mainly need ldap support and a simple interface15:35
oly-with e-mail support as well for sending in requests15:35
sommeroly-: LDAP is a little tricky, but the RT wiki has instructions15:35
sommerand email support works great as well :)15:36
oly-yeah LDAPs often tricky lol15:36
pubohi everybody!15:41
pubodoes anyone use ldap + phpldapadmin?15:41
puboI'm getting the message "Could not start TLS. Please check your LDAP server configuration."15:42
sommerpubo: is your LDAP server using STARTTLS?15:42
pubouhm, I'm not sure, but if I do "ldapsearch -x -Z" the output is correct15:43
pubosommer, /etc/init.d/slapd starttls?15:43
sommerpubo: ah you should be good then... can you login using TLS, I guess should have been my question :)15:44
puboand netstat says: *:ldaps                 *:*                     LISTEN     8017/slapd, so I thought slapd is correctly configurated15:45
pubowas15:45
sommerpubo: in your config.php do you have: $ldapservers->SetValue($i,'server','tls', true); ?15:46
puboyes, but if I change it to false, then everything goes right15:47
sommerpubo: is your ldap server using a self-signed cert?15:47
puboI made my self CA, and then I created a certificate and signed it15:48
sommerah you might try adding 'TLS_REQCERT never' to /etc/ldap/ldap.conf and see if works with 'tls', true15:48
pubowith Common Name = server.domain.es15:49
dthacker-workHi,  I'm running postfix on ubuntu-server and I'd like to get reports on the how much traffic is going through.  Are there specific packages that you would recommend?15:49
pubosommer, I'm goin to... :)15:49
pubonothing :"(15:50
sommerpubo: MMMmmm... I'm pretty sure that's what worked for me, another thing you can try is run a packet sniffer (like wireshark) and see where the LDAP communication is failing15:52
sommerpubo: also try running slapd from the console with a high debug ouput: slapd -h "ldap:// ldaps://" -d -1 -f /etc/ldap/slapd.conf15:53
puboI was doing that xD. Please, take a look at:15:54
pubotls_read: want=5 error=Resource temporarily unavailable15:54
puboTLS trace: SSL_accept:error in SSLv3 read certificate verify A15:54
sommerpubo: does slapd have permission to read the cert?15:55
puboyes, I changed the permissions to 75515:55
puboDo you want I post in pastebin the whole auth log?15:55
sommersure15:56
pubohttp://pastebin.com/m7c39968515:56
sommerpubo: I think you have tls started15:59
sommerare you running phpldapadmin on the same host as your ldap server?16:00
puboyes, but I'm trying to login from another PC as the server doesn't have any browser installed16:01
sommerpubo: gotcha16:02
puboreally?!!16:02
sommerheh, I understand your setup now anyway... you tried the TLS_REQCERT option on the phpldapadmin server, correct?16:03
pubouhm, don't know xDD. I'm very noob in ldap :)16:04
puboI only want to configure ldap to use TLS, and manage it with phpldapadmin. But I'd like the client-server authentication were through TLS16:05
sommerpubo: sure, the TLS_REQCERT option in /etc/ldap/ldap.conf determines whether or not the LDAP client verifies the servers certificate16:06
pubosommer, in both archives (slapd.conf and ldap.conf) I't set TLS_REQCERT     never16:08
sommerpubo: and still not working?16:09
pubono :(16:10
puboufff, that's stressing xD16:14
pubosommer, in login DN should I have something like cn=admin,dc=server,dc=es ?16:16
sommerpubo: in your phpldapadmin config.php?16:16
pubono, in the login dialog at phpldapadmin page16:17
sommerah, in my install I do16:17
puboI did not made any change in config.php16:17
pubodid make... sorry (spanish) xDD16:18
sommerokay, I login to phpldapadmin using the full dn16:18
sommerbut I also bind with the full dn in config.php16:19
pubook, I'm going to try it16:19
citybirdhello. i have a question about pxe servers16:23
=== \sh_away is now known as \sh
pubo:'''(16:24
citybirdi have configured my ubuntu linux install with tftpd and downloaded the network boot image and started the daemon...16:24
citybirdthen i added the servername as the tftp server on my windows dhcp server...16:25
citybirdproblem.. every tutorial i have found say use the dhcp server as your pxe server but they dont say how to configure the dhcp server specificly if your pxe server is somewhere else.16:26
sommerpubo: are you using port 389 in your config.php?16:28
pubosommer, nop, 636 :S16:29
sommerpubo: you might try 389... TLS works over the default port, 636 is for SSL IIRC16:30
puboError message from phpldapadmin: "LDAP said: Operations error". And google get no results.. ¿?¿??¿16:30
sommerpubo: when using 389?16:31
puboevery time. Using it and with 636 port :(16:32
sommerso you tried 389?16:32
puboI start ldap server with: /usr/sbin/slapd -h ldap:/// ldaps:/// -g openldap -u openldap16:32
pubosommer, yes, I've just tried it16:32
pubomaybe group and user should be www-data?16:33
sommerpubo: nope openldap is correct user and group16:33
sommertry adding the -f /etc/ldap/slapd.conf option16:34
sommerjust to make sure it's using the correct config file16:34
pubono...16:39
pubo -h 'ldap:/// ldaps:///'  (is this correct?)16:39
sommerpubo: yep16:40
pubosommer, do you have installed ldap on your pc? Could you send me the configs?16:40
sommerpubo: sure, I'll pastebin16:41
pubohttp://pastebin.com/m11c956c716:43
pubothis is my TLS config and ldapsearch output16:43
sommerpubo: here's mine: http://pastebin.com/m702040016:47
sommerit's migrated from a redhat config so some things may not be 100% the same16:47
pubo:O16:52
citybirdoops, it's working now.16:53
pubono, but...16:53
puboI changed my slapd.conf to TLSCertificateFile /etc/ssl/empresaCA/newcert.pem16:53
puboTLSCertificateKeyFile /etc/ssl/empresaCA/newreq.pem16:53
puboTLSCipherSuite HIGH16:54
pubo(Removed CA path)16:54
puboand now, when I do ldapsearch -x -Z, I get:16:55
pubo additional info: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed16:55
puboI made a wrong certificate?16:56
=== jjesse_ is now known as jjesse
=== jjesse_ is now known as jjesse
zulafternoon17:49
pubosommer, are you there?17:57
pubosommer, do you remember the guide you read to made ldap on your network?17:58
sommerjust got back17:58
sommeryep: http://www.oreilly.com/catalog/ldapsa/17:59
pubooki, thanks a million :)18:19
sommerpubo: np, it feels like you're really close though18:21
puboI must make a mistake in somewhere. I've just tried to implement ldapserver with phpldapadmin and TLS in a VMWARE virtual machine, and this time everything has gone right, so I think I will start from the beggining :)18:23
sommerpubo: ah... sometimes that works best :-)18:27
poor_manhi all18:36
poor_manhow can i list the unfformated newly added drives to my machine?18:37
poor_mani tried df command but only shows formated and mounted drives18:38
sommerpubo: you can look though dmesg... dmesg | grep -i sda for example18:39
sommerwoops meant poor_man18:39
poor_mandmesg thats the command18:41
poor_manand the next command to format and mount it18:41
poor_manformat it as EXT3, the entire disk and after make a mount18:42
sommerpoor_man: you'll need to create a partition with fdisk... fdisk /dev/sda (or whatever your drive is)18:43
poor_manthanks, lets try that18:43
sommerpoor_man: you might also take a look at this article: https://help.ubuntu.com/community/Mount18:44
nxvl_worksoren: now that the alpha3 is out, can you upload Bug #13083619:12
ubotuLaunchpad bug 130836 in apache2 "Specify OpenDocument icon(s) in Apache2 configuration" [Wishlist,Confirmed] https://launchpad.net/bugs/13083619:12
ScatterBrainAnyone running vmware 1.0.4 on Gutsy 32-bit?20:41
jjesseScatterBrain: i'm running vmware server20:43
jjesse1.0.420:43
ScatterBrainjjesse: on 32-bit Gutsy?20:44
jjesseScatterBrain:  yes20:44
ScatterBrainjjesse: Any hoops you had to jump through?20:45
jjesseScatterBrain:  1.0.4 build-5652820:45
jjessei followed the isntall guide (google vmware install gutsy)20:45
ScatterBrainOr simply d/l the tar ball and install?20:45
jjessei think its from christer edwards20:45
jjessehttp://ubuntu-tutorials.com/2007/11/17/install-vmware-server-on-ubuntu-710-gutsy-gibbon-updated/20:46
ScatterBrainfopund it...reading...thx.20:46
jjessenp20:47
Nafallopartner has it20:57
ScatterBrainNafallo: the parner repos?  Has vmware server?21:08
Nafalloyes. but correctly spelled.21:09
ScatterBrainheh  ;-)21:09
ScatterBrainhmmm... me goes to check that out21:09
* emgent hi21:21
=== \sh is now known as \sh_away
jvargashi21:46
jvargaslet's say i installed subversion in a partition of 100Gb, what if the available space becomes unavailable, can i some way join another partition to supply 100Gb more of space for the same subversion repository directory?21:48
jvargas/srv/svn for example is mounted on /dev/hda, can i do something so that the space is merged with /dev/hdb's ?21:49
mathiazjvargas: you need to use lvm to do that kind of partition management.22:09
jvargasmathiaz: already using LVS22:12
jvargasbut the filesystem auto resizes ?22:12
mathiazjvargas: you can resize ext3 filesystem - have a look at resize2fs22:17
danpi'm trying to preseed network info from the boot line but i'm having trouble (i think) with sourcing confmodule in my early script. anyone familiar with that?22:30
nealmcbXiXaQ: I'm poking at https://wiki.ubuntu.com/CalendarServer  Thanks!!   I would think  that recurring events are possible with webcal also?  Specifying the format of the files (ical?) would help.22:41
nealmcbor perhaps a reference to http://en.wikipedia.org/wiki/Webcal22:42
danpirissssh22:43

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