Posts Tagged ‘exact error’

Windows XP: Fixing External Hard / Pen USB stick Missing Shortcuts (Problem with Shortcut) solution

Monday, December 17th, 2012

windows error problem with shortcut the item 689342.exe refers has been changed or moved

I was asked today to fix a computer with 682 GB external Hard Drive attached. For some unexplainable reason, many of the Directories storing hundreds of gygas of precious data become showing up as "Broken Links" – Missing Shortcuts. My first logical guess is that maybe, just a simple hard drive re-attach will be enough in order to solve the problem. Detaching and Attaching the external Seagate hard drive made any change, whether opening the hard drive content with Windows File Explorer, most directories were just showing as Missing Shortcuts, like you can see from below screenshot:

windows XP problem with missing windows directory shortcuts screenshot external hard drisk error

I was a bit sleepy and in a hurry, so at first glimpse I didn't well read the Pop-upped Windows exact error, after carefully reading, I've realized the 689342.exe and the rest of ID.EXE that were trying to open, whether clicked on the "questionable", missing shortcuts is for sure some kind of most likely Polymorphous Spyware / Virus or a combination of both.

The person owning the computer, was quite in shock as most of his data was located on the external HD drive. My assumption of course was that the problem is not so severe as it looks, as I've fixed plenty of Windows-es with mixed up registry, which were mixing how Windows understands windows extensions.
My hope was that the problem will be solved by simply Checking the Windows Registry with – Little Registry Cleaner tool and fixing the irregularitieswith current registry, thus I did a quick scan with it fixed a bunch of registry problems, did the usual Windows restart, but this helped not. Thus I, therefore started a Malware Bytes Anti-Malware Spyware "Swiss Army Knife" prog 🙂. Paralelly with scanning I decided to check if physically files are present on Hard Disk, by dir listing the files in Windows command prompt – cmd.exe , there all seemed okay files and directories were present, I can CD into each of the directories incorrectly showing in Win File Explorer as missing shortcut and all inside dirs was just fine.

Dir listing if files are physically present Windows XP Screenshot

 

I checked for "autorun.inf", as it is so common nowadays that external Hard Drives and USB Sticks are infected with Autorun Virus variations and my guess happened to be right, there was F:\autorun.inf. As it is with the Autorun Virus-es the file was set the hidden and read-only atrribs. I checked it is there with:

> dir /a autorun.inf
...

Then I deleted autorun.inf, by reverting the "hidden and read-only attribs:

> attrib -s -h -r autorun.inf
> del autorun.inf

Though, I hoped this would solve the problem, checking f:\ Directories in File Explorer, continued to be showing Folders linked to the unexisting 689342.exe. Then I read some posts online, discussing the weird "Missing Shortcuts" issue and after a while thx God I finally got the fix, which is as simple as:

> attrib -r -s -h /s /d f:\*.*

This command, took about 20 minutes or so, as there are plenty of data on the hard drive. Also I suppose in some rare occasions the removal of read only, system and hidden windows attributes, might create issues of certain programs installed, however in this specific PC case all was okay and it doesn't really mattered as the really important files to rescue were mostly in .DOC's DJVu, PDF and plain text format along with some movies

 attrib cmd attributes command to fix missing shortcuts on windows XP picture shot

As you can see on below screenshot, I had the Malware Bytes running in parallel along with a Working copy of Avira Free Antivirus, while the above command was running Avira immediately detected a bunch of Virus files, which were offered to be Removed or Quarantined.

After removing, all of the badware and testing in Explorer, all folders in F:\ were showing as normal.
However, though all looked fine, after the completion of Malware Bytes scan and the removal of catched Malware, just to be sure something has not left as viruses I run oneanother Avira AV scan of all Computer Hard drives and did a Restart. This is it enjoy 😉

How to solve “[crit] [client xxx.xxx.xxx.xxx] (13)Permission denied: /var/lib/ejabberd/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable, referer: http://jabber.mydomain.com/” – Error Cause and Solution

Thursday, January 5th, 2012

While configuring JWchat domain, I've come across around an error:

pcfg_openfile: unable to check htaccess file, ensure it is readable

The exact error I got in /var/log/apache2/error.log looked like so:

[crit] [client xxx.xxx.xxx.xxx] (13)Permission denied: /var/lib/ejabberd/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable, referer: http://jabber.mydomain.com/

The error message suggested /var/lib/ejabberd/.htaccess – is missing or not readable, however after checking i've seen .htaccess existed as well as was readable:

debian:~# ls -al /var/lib/ejabberd/.htaccess
-rw-r--r-- 1 www-data www-data 114 2012-01-05 07:44 /var/lib/ejabberd/.htaccess

At first glimpse it seems like the message is misleading and not true, however when I switched to www-data user (the user with which Apache runs on Debian), I've figured out the error meaning of unreadability is exactly correct:

www-data@debian:$ ls -al /var/lib/ejabberd/.htaccess
ls: cannot access /var/lib/ejabberd/.htaccess: Permission denied

This permission denied was quite strange, especially when considering the .htaccess is readable for all users:

debian:~# ls -al /var/lib/ejabberd/.htaccess
-rw-r--r-- 1 www-data www-data 114 2012-01-05 07:44 /var/lib/ejabberd/.htaccess

After a thorough look on what might go wrong, thanksfully I've figured it out. The all issues were caused by wrong permissions of /var/lib/ejabberd/.htaccess .You can see below the executable flag for all users (including apache's www-data) is missing :

debian:/var/lib# ls -ld /var/lib/ejabberd/drw-r--r-- 3 ejabberd ejabberd 4096 2012-01-05 07:45 /var/lib/ejabberd/

Solving the error, hence is as easy as adding +x flag to /var/lib/ejabberd :

debian:/var/lib# chmod +x /var/lib/ejabberd

Another way to fix the error is to chmod to 755 to the directory which holds .htaccess:

From now onwards pcfg_openfile: unable to check htaccess file, ensure it is readable err is no more 😉

How to exclude sorbs.net for a particular IP address in Qmail Mail server install / Fix to Thunderbird mail sent error (Exploitable Server See: http://www.sorbs.net/lookup.shtml?xx.xx.xx.xx) error

Tuesday, November 1st, 2011

In the office, some of my colleagues has started receiving error messages, while trying to send mail with Thunderbird and Outlook Express
The exact error they handed to me reads like this:

An error occured while sending mail. The mail server responded: Exploitable Server See:
http://www.sorbs.net/lookup?xx.xx.xx.xx. Please check the message recipient

Here is also a screenshot, I’ve been sent via Skype with the error poping up on a Thunderbird installed on Windows host.

Typing the url http://www.sorbs.net/lookup?xx.xx.xx.xx lead me to sorbs.net to a page saying that the IP address of the mail client which is trying to send mail is blacklisted . This is not strange at all condireng that many of the office computers are running Windows and periodically get infected with Viruses and Spyware which does sent a number of Unsolicated Mail (SPAM).

The sorbs.net record for the IP seems to be an old one, since at the present time the office network was reported to be clear from malicious SMTP traffic.

The error sorbs.net disallowing the mail clients to send from the office continued for already 3 days, so something had to be done.

We asked the ISP to change the blacklisted IP address of xx.xx.xx.xx , to another one but they said it will take some time and they can’t do it in a good timely matter, hence to make mail sending work again with POP3 and IMAP protocols from the blacklisted IPs I had to set in the Qmail install to not check the xx.xx.xx.xx IP against mail blacklisting databases.

On qmail install disabling an IP check in RBLSMTPD is done through editting /etc/tcp.smtp and following recreate of /etc/tcp.smtp.cdb – red by qmailctl script start.
The exact line I put in the end of /etc/tcp.smtp to disable the RBLSMTPD check is:

xx.xx.xx.xx:allow,RBLSMTPD="",RELAYCLIENT="",QS_SPAMASSASSIN="0"

Further on to recreate /etc/tcp.smtp.cdb and reload the new cdb db records:

qmail:~# qmailctl cdb
qmail:~# qmailctl restart
...

Onwards, the sorbs.net IP blacklist issue was solved and all office computers from xx.xx.xx.xx succeeded in sending mails via SMTP.