E: Sub-process /usr/bin/dpkg returned an error code (1)

Submitted by Anonymous (not verified) on Thu, 03/24/2011 - 21:28

I have a debian 64 bit lenny4 server and wanted to updatebind 9. Update is failed while I was trying with this commands:

 apt-get -y install bind9
 apt-get -y -f install bind9

I get this error at the end of shell window:
E: Sub-process /usr/bin/dpkg returned an error code (1)

This is the full output:

apt-get -y -f install bind9
Reading package lists... Done
Building dependency tree
Reading state information... Done
bind9 is already the newest version.
bind9 set to manually installed.

apache2ctl fullstatus /usr/sbin/apache2ctl: line 119: www-browser: command not found

Submitted by Anonymous (not verified) on Tue, 03/15/2011 - 02:03

When I execute following command to see apache's full-status I get just an error message:

apache2ctl fullstatus 
/usr/sbin/apache2ctl: line 119: www-browser: command not found

Any idea how to monitore Apache on debian Lenny?

Thanks a lot!

how to create 64 bit int, unsigned long long variable with c++

Submitted by rex on Mon, 03/14/2011 - 23:39


#include <stdio.h>
#include <inttypes.h>


int main(){


  uint64_t x = -10033333000;
  int64_t y =  113333334445533;

  // print x as unsigned variable PRIu64
  printf("value of x is: %" PRIu64 ,x);
  printf("\n");
  // print x as integer variable PRIi64
  printf("value of y is: %" PRIi64,y);
  printf("\n");


  // this is the same like y
  unsigned long long z = -212121212121;
  printf("value of z is: %llu",z,"\n");
  printf("\n");


  return 0;
}

gcc  int64bit.c -o int64bit
int64bit.c: In function ‘main’:

How to find your operating system information & version on Linux

Submitted by Anonymous (not verified) on Fri, 03/11/2011 - 19:23

You can find your Kernel version with uname -a but it wont say if your operating system is Centos, Redhat, Ubuntu 9 or Debian 5. To display os-details we can read the content from /proc/version.

cat /proc/version
Linux version 2.6.26-2-amd64 (Debian 2.6.26-19lenny1) (dannf@debian.org) (gcc version 4.1.3 20080704 (prerelease) (Debian 4.1.2-25)) #1 SMP Mon Oct 19 02:34:17 UTC 2009

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 80 bytes) in /home/mysite/public_html/includes/

Submitted by Anonymous (not verified) on Tue, 02/22/2011 - 00:29

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 80 bytes) in /home/mysite/public_html/includes/database.mysqli.inc on line 162

Why do I get that error abovee while trying to clear cache on a Drupal 6 site? My php memory is set to 256M.

Trojan.Wimad whats this?

Submitted by Anonymous (not verified) on Sun, 02/13/2011 - 01:27

I have just bought Norton internet security and installed on my notebook. it is a toshiba laptop and I am using windows 7 professional 64bit.

Norton find by first scan a trojan horse named wimad in an wma audio file. Any ide how dangerous is this and should I change immediately all my passwords? Thanks.

Alexa Sparky Toolbar or SearchStatus?

Submitted by Anonymous (not verified) on Fri, 02/11/2011 - 00:33

I am a web developer from south Germany(near Swiss/French border). I create websites for a couple of small clients. I want to get responsibility about SEO too. But I am relative in in this part. Which tools should I use to monitore SEO position and improve it? I have found just some webservices which shows just Pagerank, Alexa, Compete etc. But most of that services are just USA related and they offer nothing interesting for european/german users. Thanks! M.K.

Pagerank Update from Google at 22 January 2011

Submitted by Anonymous (not verified) on Sun, 01/23/2011 - 14:46

After April 2010 there was no Pagerank Update till yesterday night. Thousands of webmasters waited for this moment. And finally Google updated its SearchIndex with Pagerank. Next week we should hear from big changes, that ita was relative long time. There must be many websites with big pagerank changes.