infoCopter.com
retoh's Online Repository for myself and other Web Geeks

home | newsletter | site map

Free Stuff

: links

: Neue Surf Tips

: know-how

: Zitate

: Spam Strike

: HTML Checker!

: Link Checker

: Cartoons



About IC

: friends

: lust und frust

: guestbook

: what's new

Geek Problems
I've already met these problems as well ;)
See also
Home :: Know-how :: Geek Problems



  • Sendmail: dsn=5.6.0, stat=Data format error 2006-09-25 18:18
    Add your external hostname in

    /etc/hosts

    Line 127.0.0.1 ...


  • Xen: Failed to get devices for domain virtual1 - [Solved] 2006-08-15 18:08
    Starting install...
    libvir: Xen Daemon error : POST operation failed: No such domain virtual1
    Failed to get devices for domain virtual1
    Traceback (most recent call last):
    File "/usr/sbin/xenguest-install.py", line 460, in ?
    main()
    File "/usr/sbin/xenguest-install.py", line 451, in main
    start_paravirt_install(name, ram, disk, mac, uuid, src, options.extra)
    File "/usr/sbin/xenguest-install.py", line 331, in start_paravirt_install
    dom = conn.createLinux(cfgxml, 0)
    File "/usr/lib/python2.4/site-packages/libvirt.py", line 233, in createLinux
    if ret is None:raise libvirtError('virDomainCreateLinux() failed')
    libvirt.libvirtError: virDomainCreateLinux() failed


    [ https://www.redhat.com/archives/libvir-list/... ] - [ Google ]

    Solution


    See the error messages in /var/log/xend-debug.log.
    I had too few memory on the host system. I have reduced the memory amount of the master system down to 200 MB:
    xm mem-set 0 200

    Then, re-launch the xenguest-install.py script and assign the necessary 256 MB for the guest system.


  • HylaFAX: modem on /dev/ttyS0 appears wedged 2006-07-31 12:22
    Automated E-Mail:

    The HylaFAX software thinks that there is a problem with the modem on device /dev/ttyS0 that needs attention; repeated attempts to initialize the modem have failed.

    Consult the server trace logs for more information on what is happening.

    You will be notified again after 5 minutes if the problem persists.


    - Stop HylaFAX
    - Check modem (e.g. with minicom serial0)


  • Apaches does not start anymore 2006-06-20 13:19
    [warn] _default_ VirtualHost overlap on port 443, the first has precedence


    Solution

    Check first, if you had doubled ssl*.conf's in your conf.d directory. This is usually the case when you manually make backup copies of your configuration file.

    See also:
    Google


  • Denied access to method in class (main) at SOAP/Lite.pm 2006-05-20 11:34
    Denied access to method in class (main) at SOAP/Lite.pm

    Solution

    Verify your SOAP attributes namespace and soapaction. Check the related WSDL file if availble.



  • PHP Notice: Undefined index: scheme 2006-05-18 17:17
    PHP Notice: Undefined index: scheme in /usr/share/pear/SOAP/Transport.php on line 42


    unsolved

    http://comments.gmane.org/gmane.comp.php.nusoap.general/2509



  • mysqld does not start 2006-05-16 17:07
    InnoDB: Error: auto-extending data file ./ibdata1 is of a different size

    Solution:
    1.) Add (virtual) memory
    2.) Delete ibdata1 (be sure).
    3.) Start again


  • PHP Fatal error: Call to undefined function imagejpeg() 2006-05-08 11:55
    See also: XTCommerce

    Note: JPEG support is only available if PHP was compiled against GD-1.8 or later.

    See phpinfo(), section gd: JPG Support enabled

    If not:
    Compile PHP:
    --with-gd --with-jpeg-dir=/usr

    php.net/manual/en/function.imagejpeg.php


  • PHP: Call to undefined function mysql_connect() 2005-11-28 16:17
    Fatal error: Call to undefined function mysql_connect() in /usr/local/apache2/htdocs/testdb_mysql.php on line 58

    Solution:

    Please compile php --with-mysql or install the mysql.so module

    Then, restart Apache


  • PHP Fatal error: Allowed memory size of 20971520 bytes exhausted 2005-11-23 16:24
    [client a.b.c.d] PHP Fatal error: Allowed memory size of 20971520 bytes exhausted (tried to allocate 1
    8277511 bytes) in /var/www/html/wiki/includes/Sanitizer.php on line 797, referer: http://sunri1.example.net/wiki
    /index.php/Special:Upload

    Solution:

    Upload Large Files


  • PHP: Possible file upload attack! 2005-11-23 14:39
    Can't upload large files (e.g. gt 8 MB)
    Message Possible file upload attack!

    Solution

    /etc/php.ini:

    ; Maximum size of POST data that PHP will accept.
    ; X post_max_size = 8M
    post_max_size = 33M


  • newaliases / aliases.db out of date 2005-11-08 08:41
    sendmail[13430]: alias database /etc/aliases.db out of date

    This might have the case you installed courier imap on this host and its installation has replaced newaliases by an alternative that rises a conflict with a running "real" Sendmail.

    Solution

    Just make sure you are using the newaliases that points to Sendmail by (re-)creating this symlink:
    rm -f /usr/bin/newaliases
    ln -s /usr/sbin/sendmail /usr/bin/newaliases



  • Java Emailer: NoClassDefFoundError 2005-09-26 14:14
    NoClassDefFoundError: javax/activation/Datasource


  • Kernel Errors Present 2005-06-21 11:07
    > WARNING: Kernel Errors Present
    > hda: task_no_data_intr: error=0x04 { DriveStat...: 1Time(s)
    > hda: task_no_data_intr: status=0x51 { DriveReady SeekComplete Error
    > }...: 1Time(s)
    > hdb: task_no_data_intr: error=0x04 { DriveStat...: 1Time(s)
    > hdb: task_no_data_intr: status=0x51 { DriveReady SeekComplete Error
    > }...: 1Time(s)

    What does this mean?

    It means the controller sent the drive a command it doesn't understand, and the drive returned "Eh ?"
    This happens for eg when we try to use modern features
    like SMART on old drives that don't support them.



  • Mysql Connect fails «does not support authentication protocol» 2005-05-08 16:32
    Problem: Client does not support authentication protocol requested by server; consider upgrading MySQL client

    Cause:

    MySQL's password hashing has been changed since mysql 4.1 (41 bytes instead of 16 bytes length)

    PASSWORD(), GRANT, and SET PASSWORD generate long hashes unless the server was started with the --old-passwords option. That option forces the server to generate short password hashes instead.

    2 Solutions

    a) Start mysqld_safe with additional option --old-passwords.
    You may then set passwords as usual with:
    mysql> SET PASSWORD FOR 'apache'@'localhost' = PASSWORD('foo');

    or b) Use the "OLD_" key:
    mysql> SET PASSWORD FOR 'apache'@'localhost' = OLD_PASSWORD('foo');

    http://dev.mysql.com/doc/mysql/en/Password_hashing.html
    http://dev.mysql.com/doc/mysql/en/Old_client.html


  • Sendmail: How To Set the hostname? 2005-04-16 00:38

    Problem: You want to see the real hostname at Sendmail's welcome message instead of «localhost.localdomain»

    # telnet localhost 25
    Trying 127.0.0.1...
    Connected to foo.example.com (127.0.0.1).
    Escape character is '^]'.
    220 localhost.localdomain ESMTP Sendmail 8.13.1/8.13.1; Sun, 17 Apr 2005 00:37:56 +0200
    quit

    Solution

    vi /etc/hosts
    # XX Hint: First listed hostnames are preferred
    127.0.0.1 foo.example.com localhost.localdomain localhost
    192.168.1.201 foo.example.com



  • Starting httpd with warning 2005-04-04 12:09
    Starting httpd: httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName

    Solution:
    Set fully qualfied hostname


  • Cannot sign my self-created certificate 2005-03-25 17:16
    Error Message: failed to update database
    TXT_DB error number 2


    Reason is you already signed that common name.


  • openssl: unable to write 'random state' 2005-03-25 14:16
    See openssl FAQ Page


  • resolv.conf automatically changes after reboot 2005-01-30 10:42
    How to prevent updating/replacing resolv.conf

    vi /etc/sysconfig/networking/profiles/default/ifcfg-eth0

    Add this:

    # Do not update/replace resolv.conf:
    PEERDNS=no


  • No Sound on Linux - DELL OPTIPLEX GX200 2004-11-29 10:59

    Check/edit your /etc/modprobe.conf



    Add these 3 lines if necessary


    alias snd-card-0 snd-intel8x0

    install snd-intel8x0 /sbin/modprobe --ignore-install snd-intel8x0 && /usr/sbin/alsactl restore >/dev/null 2>&1 [CHR_PIPE][CHR_PIPE] :

    remove snd-intel8x0 { /usr/sbin/alsactl store >/dev/null 2>&1 [CHR_PIPE][CHR_PIPE] : ; }; /sbin/modprobe -r --ignore-remove snd-intel8x0



  • Is there a procmail recipe to move a message into an Imap folder? 2004-11-18 00:13
    Solved. Have found this page that didn't help.


  • readline library not found 2004-09-21 16:28
    configure: error: readline library not found
    If you have readline already installed, see config.log for details on the
    failure. It is possible the compiler isn't looking in the proper directory.
    Use --without-readline to disable readline support.



  • Can display only 20x80 characters 2004-06-09 11:21
    Problem:

    vi and man is limited to show only 20x80 characters instead of stretching the screen to the edges

    Solution:

    You may need to set the screen size, via "stty rows num_rows columns num_cols"

    Check the current setting of your terminal:

    stty -a[CHR_PIPE]grep rows
    stty rows 50 columns 100

    You might save this shell command in your .bash_profile if necessary.

    See also:
    http://www.mail-archive.com/linux-development-apps@senator-bedfellow.mit.edu/msg01065.html

    See also #2:

    echo $LINES
    echo $COLUMNS

    Google: [ groups.google #1 ] - [ groups.google #2 ] - [ groups.google #3 ]


  • Apache doesn't come up again after installation of SSL certificate 2004-05-31 00:03
    routines:X509_check_private_key:key values mismatch

    -> The "modulus" and "public exponent" portions in the key and the certificate
    must match exactly

    openssl x509 -noout -text -in yourdomain.crt
    openssl rsa -noout -text -in yourserver.key


  • procmail: Attempt to execute 2004-05-07 17:09
    #ifdef RESTRICT_EXEC
    if(erestrict&&uid>=RESTRICT_EXEC)
    { syslog(LOG_ERR,slogstr,"Attempt to execute",newname);
    nlog("No permission to execute");logqnl(newname);
    return;
    }
    #endif

    /*#define RESTRICT_EXEC 100 /* uncomment to prevent users with uids equal
    or higher than RESTRICT_EXEC from
    executing programs from within their .procmailrc files (this
    restriction does not apply to the /etc/procmailrc and
    /etc/procmailrcs files) */


  • "RunAsGid for MSP ignored" error 2004-03-25 22:55
    "RunAsGid for MSP ignored" error

    When sending mail through Sendmail's mail user agent or another mail user agent (ex. mutt), I received the following error:

    WARNING: RunAsGid for MSP ignored, check group ids (egid=8809, want=1)
    can not write to queue directory /var/spool/clientmqueue/ (RunAsGid=0, required=8809): Permission denied

    Solution


  • rpm --rebuilddb (RedHat 9) 2004-03-04 18:42
    Problem: error: db4 error(16) from dbenv->remove: Device or resource busy

    Solution:
    It's a harmless albeit annoying bug. Ignore it.



  • PostgreSQL: too many clients already 2004-01-24 01:29
    unable to connect to PostgreSQL server: Sorry, too many clients already

    Apache Log:
    [Sat Jan 24 21:00:00 2004] [error] [client 64.235.238.142] mod_auth_pgsql database connection error reset failed FATAL: Sorry, too many clients already

    Solution:
    vi /usr/local/pgsql/data/postgresql.conf

    Increase the value of the key max_connections from 32 to 64.

    shared_buffers = 128 # min max_connections*2 or 16, 8KB each


  • Sendmail 2003-12-15 14:58
    Status: 5.1.3
    Diagnostic-Code: SMTP; 553 unable to verify address


    Solution:
    Use the -r option:
    /usr/sbin/sendmail -r mailnull@valid_domain


  • Sendmail 2003-12-09 21:00
    stat=Operating system error

    Solution: Check if the smrsh binary is executable for the Sendmail process!


  • eth0/DHCP Warning 2003-11-19 14:22
    [dhpd430] infinite IP address lease time. exiting

    To fix this, I edited /etc/sysconfig/network-scripts/ifcfg-eth0 and added

    DHCPCDARGS='-l 86400 -t 5'

    This causes dhcpcd to ask the server for a lease time of 24 hours. The server grants the request, and dhcpcd doesn't die. This makes life more predictable.

    See also http://www.scd.ucar.edu/nets/intro/staff/siemsen/tools/dhcpcd.html


  • Installation of vi improved failed 2003-07-06 22:46
    libgpm.so.1 is needed by vim-enhanced-6.0-7.13

Know-How home | Must Read | What's new? | iC Site Map
link search
©1998-2004 infoCopter