/srv/irclogs.ubuntu.com/2014/10/11/#ubuntu-server.txt

=== bilde2910|away is now known as bilde2910
lordievaderGood morning.08:13
vedic_Hey guys, how to change ssh port to some other port below 1024?08:44
lordievadervedic_: Change the sshd config, and don't forget to tell your firewall.08:44
vedic_Changing the port in sshd_config will do (and opening that port in firewall)?08:44
vedic_lordievader: ok08:45
AerosonicHey guys.08:47
AerosonicI'm trying to put together a resume.08:47
AerosonicAnd at one job I had *a lot* of responsibilities.08:48
AerosonicSo I don't know what to title myself.08:48
AerosonicSo far I've written: Assisted management of internal Oracle Database 11g instance, including administration of Oracle Linux infrastructure. Managed a dedicated Microsoft Exchange Server 2007 for communication. Provided technical support regarding network, hardware, and software-related issues through the ZenDesk ticketing system.08:49
AerosonicWhat's my job title?08:49
AerosonicIt's basically Database admin, Sysadmin, Exchange admin, and tech support all-in-one.08:50
AerosonicWould "Internal Support Engineer" work?08:50
Aerosonic"Systems Technician?"08:52
vedic_lordievader: I just tried changing port in sshd_config and restarted ssh using /etc/init.d/ssh restart but when connecting to that machine, it just waits waits waits. Firewall has that new port enabled09:06
lordievadervedic_: Does 'netstat -tulpn' show that sshd is listening to the configured port?09:07
vedic_lordievader: it says tcp listening to 0.0.0.0:100009:09
vedic_local port09:09
lordievadervedic_: Ok, run from the other host (the client): nmap -p 1000 <server-host>09:10
vedic_Its says hosts seems down09:13
vedic_lordievader^09:13
lordievadervedic_: nmap -Pn -p 1000 <server-host>09:13
vedic_lordievader: It says Host is up. Port 1000/tcp filter unknown09:15
lordievadervedic_: Then likely your firewall isn't set up correctly or you have a NAT in between.09:16
vedic_lordievader: yea, my client is behind NAT09:16
lordievadervedic_: Port forward port 1000 to their machine.09:17
vedic_lordievader: but server is on static ip09:17
vedic_ok09:17
=== nath|off is now known as nathema
=== nathema is now known as nath|off
=== kickinz1|afk is now known as kickinz1
=== kickinz1 is now known as kickinz1|afk
=== nath|off is now known as nathema
=== nathema is now known as nath|off
=== Lcawte|Away is now known as Lcawte
=== nath|off is now known as nathema
=== nathema is now known as nath|off
Alina-malinawhere are cookies stored in ubuntu server?16:06
lordievaderAlina-malina: Of the browser? That is up to the browser.16:07
Alina-malinano16:07
Alina-malinanot browser16:07
Alina-malinalordievader, i have this in my php curl: $cookie=time()."_cookie.txt";   but i cant find them16:07
lordievaderWell cookies are stored client side anyways.16:09
Alina-malinano16:09
Alina-malinaeh16:09
Alina-malinathe sessions stuff16:09
Alina-malinai set them to be stored in _cookies.txt and save them, but i did not specify the path16:10
Alina-malinaso i cant find those :-/16:10
lordievaderHmm, I'm not familar with phpsessions. But if the file exists, find must be able to find it.16:11
Alina-malina:(16:12
=== a1berto_ is now known as a1berto
Alina-malinahow to perform a search for *.txt files in all directories in ubuntu?16:27
lordievaderfind / -iname txt16:27
Alina-malinado i have to do this from / ?16:27
Alina-malinait doesnt work16:28
Alina-malinaheh16:28
Alina-malinadoesnt do anything16:28
lordievaderYou say you want everyhing.16:28
Alina-malinawhat?16:28
Alina-malinai need to search in all folder for all files *.txt  the command you game returns nothign16:29
lordievaderHmm, forgot a wildcard: find / -iname *txt16:29
Alina-malinayes16:29
lordievaderOr "find / -iname *.txt" if you only want things with the extension.16:29
Alina-malinabut are you sure it returns all *.txt files?16:29
Alina-malinabecause it doesnt returns what i am looking for :0-/16:29
lordievaderThen why are you looking for it?16:29
lordievaderAnd yes it does.16:30
Alina-malinashit16:30
Alina-malinathis is problem16:30
Alina-malinai have this in php: $cookie=time()."_cookie.txt";    so it should write this files somewhere16:30
Alina-malinabut it doesnt16:30
Alina-malinaomg16:30
Alina-malinawhere else this file could be? perhaps where to search for that content what it should write in that files but it did not?16:32
Alina-malinamaybe some logs? errors?16:32
Alina-malinawhere?16:32
lordievaderAlina-malina: Please watch your language.16:34
lordievaderAlina-malina: Have you read the documentation, does it actually write a file?16:34
Alina-malinawell on local machine it does:-/16:34
Alina-malinabut i need that data :(16:35
Alina-malinaon remote server i cant find those files, i.e. it doesnt create those16:35
Alina-malinabut it should be somewhere i guess16:35
lordievaderAlina-malina: Have you read the documentation, should it write the file on the server?16:35
Alina-malinai said that script works in my local machine16:36
Alina-malinabut on server it doesnt create that files for some reason16:36
lordievaderThen check the logs for errors, or the config for differences.16:37
Alina-malinaerrors for apache? or php?16:37
Alina-malinawhat kind of errors?16:37
Alina-malinai can download all logs16:37
Alina-malinaright now16:37
Alina-malinathere are many16:37
lordievaderErrors from php are logged in apaches error log if apache uses modphp and not something else to process the php stuff.16:38
Alina-malinado you know where sessions stored?16:45
Alina-malinai need to access them16:45
Alina-malina:(16:45
lordievaderAs I said, I'm not familiar with PHP sessions.16:48
Alina-malinaeh ok thanks anyways16:49
lordievaderAlina-malina: Folks over in ##php probably know.16:50
Alina-malinayes i asked there16:51
Alina-malinabut no response yet16:51
Alina-malinathansk16:51
lordievaderJust wait and hang around. IRC is a slow medium.16:51
Alina-malinais it possible to create another root priviledged administrator?17:48
RoyKAlina-malina: root is uid zero, so you can create another user with uid zero, but don't do that - use sudo17:54
Alina-malinahow?17:55
lordievaderAlina-malina: man sudo17:55
=== Lcawte is now known as Lcawte|Away
=== bilde2910 is now known as bilde2910|away
user123321Are there calculated values for MTTR, MTBF, MTTR etc. for Ubuntu based server?18:27
user123321MTTF, MTBF, MTTR etc.*18:27
=== bilde2910|away is now known as bilde2910
=== nath|off is now known as nathema
BoingoI have a Promise NS4300N.  A pretty old unit.  As fas as I can tell, the 4 drives that make up the RAID are fine and working correctly.  I think the power supply has failed.  I really don't like the unit anymore and would love to take the drives out and put them into my desktop computer.  I would like to get the data off the drives intact though.  So... I need to move 4 drives in a RAID 5 set to a new computer.  Any tips or20:01
Boingosuggestions would be great.20:01
=== nathema is now known as nath|off
=== nath|off is now known as nathema
=== bilde2910 is now known as bilde2910|away
=== nathema is now known as nath|off

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