Jump to content

Jza

Members
  • Posts

    333
  • Joined

  • Last visited

Posts posted by Jza

  1. I am getting this problem on urpmi when I want to install or search the rpm database:

    rpmdb: PANIC: fatal region error detected; run recovery
    error: db4 error(-30975) from dbenv->open: DB_RUNRECOVERY: Fatal error, run database recovery
    error: Runnning db->verify ...
    Segmentation fault

  2. I have gnash on my system and 2 days ago I got an update from the mandrivaupdate.

     

    I can't get it on because ti says that it can't find libagg.so.3

     

    Has anyone been able to get this similar thing and fix it.

     

    Thanks./

  3. chkconfig portmap on

     

    then

     

    service portmap start

     

    or

     

    /etc/init.d/portmap start

    -

     

    Exactly exccept that I dont get an output, I get something like this:

     

    $ service portmap start

    $

     

    there is no

    portamp is running...

     

    or

    portmap is starting...

     

    There is no FAILED or OK tag. Just like if service was not even working, but it is working with other services.

  4. I got a problem with mandriva 2007.1 spring where service can't restart the nfs and the samba services. One of the problems I have seen is that portmaper doesnt run and rpc.nfsd is also not working.

     

    Has anyone seen this happening?

     

    There has also been some problems since shorewall originally block the NFS ports. But I see this as a different thing.

     

     

    [moved from Software by spinynorman]

  5. So I wont let people just bash mandriva in tipica trol fashion. I have never experienced this before and I dont think I would of generalized that the distro is any less valuable because of a simple re-install service.

     

    I have ran mandriva/mandrake for many years as a server and found utilities such as the policy management far supiror than other distros. I know hardcore server guys that use mandriva on the government and organization as a server with no issue.

     

    As for urpmi, I heard that smart has became a better solution in the mandriva world.

  6. you know which log file will tell me these, unfortunately messages didn't help much. I dont get the exact output from a linux start up on the logs from what I can see.

     

    All I get is:

    Jul 18 17:55:13 genius kernel: NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory

    Jul 18 17:55:13 genius kernel: NFSD: starting 90-second grace period

  7. Have you tried the init.d scripts directly

    /etc/init.d/nfs**** start|stop ?

    and same for portmap?

     

    Have you rechecked the packages are installed?

     

     

    Yes I did all that, however everything was there yet nothing was working. The service command was defoinetly working so it wasn't an issue regarding the 'service' or init.d manager.

     

    I end up solving it by removing the whole stack (nfs-utils nfs-utils-client and portmap) and reinstalling.

     

    I also check the errata and saw sme nfs bugs but nothing like I experienced.

  8. Hi John,

    Unfortunately the UI is not very sophisticated. For example I can't edit the .backupitgnore to let say to backup my home 'except' my Pictures/Music/Videos.

     

    In other words if I just wanto backup my 'dot files' I can't do it.

     

    Also on cron I can't edit it since my interface don't light up (it shows as unaccesible even after installing crontab and anacron. I could edit crontab myself but then again, I am not sure what command (and parameters) I need to execute the backup.

     

    That is why I am asking if one can give me the tour under the hood of drakbackup.

  9. I want to know how can I disable some of the backups. I don't want to backup my system folder at /etc/

     

    I also have questions regarding the use of .backupignore (where can I find this file)

     

    Finally I have crontab but I don't get all the options on the 'when' option within drakbackup.

     

    Hope you guys can answer these questions.

  10. I am not sure what you need. For example I usually use the urpmf command to locate a specific file on the mandriva sources. I also download mlocate to locate the files on my filesystem.

     

    So first step:

    # urpmf libphp
    libphp5_common5:/usr/lib/libphp5_common.so.5
    libphp5_common5:/usr/lib/libphp5_common.so.5.2.0
    libphp5_common5:/usr/share/doc/libphp5_common5-5.2.1
    libphp5_common5:/usr/share/doc/libphp5_common5-5.2.1/CREDITS
    libphp5_common5:/usr/share/doc/libphp5_common5-5.2.1/CREDITS.libxml
    libphp5_common5:/usr/share/doc/libphp5_common5-5.2.1/CREDITS.zlib
    libphp5_common5:/usr/share/doc/libphp5_common5-5.2.1/INSTALL
    libphp5_common5:/usr/share/doc/libphp5_common5-5.2.1/LICENSE
    libphp5_common5:/usr/share/doc/libphp5_common5-5.2.1/NEWS
    libphp5_common5:/usr/share/doc/libphp5_common5-5.2.1/README.EXTENSIONS
    libphp5_common5:/usr/share/doc/libphp5_common5-5.2.1/README.EXT_SKEL
    libphp5_common5:/usr/share/doc/libphp5_common5-5.2.1/README.PARAMETER_PARSING_API
    libphp5_common5:/usr/share/doc/libphp5_common5-5.2.1/README.PHP4-TO-PHP5-THIN-CHANGES
    libphp5_common5:/usr/share/doc/libphp5_common5-5.2.1/README.STREAMS
    libphp5_common5:/usr/share/doc/libphp5_common5-5.2.1/README.UPDATE_5_2
    libphp5_common5:/usr/share/doc/libphp5_common5-5.2.1/README.input_filter
    libphp5_common5:/usr/share/doc/libphp5_common5-5.2.1/README.openssl
    libphp5_common5:/usr/share/doc/libphp5_common5-5.2.1/README.spl
    libphp5_common5:/usr/share/doc/libphp5_common5-5.2.1/ZEND_LICENSE
    libphp5_common5:/usr/share/doc/libphp5_common5-5.2.1/configure_command
    libphp5_common5:/usr/share/doc/libphp5_common5-5.2.1/php.ini-dist
    libphp5_common5:/usr/share/doc/libphp5_common5-5.2.1/php.ini-recommended
    php-devel:/usr/lib/libphp5_common.la
    php-devel:/usr/lib/libphp5_common.so
    php-devel:/usr/src/php-devel/sapi/apache/libphp5.module.in
    php-devel:/usr/src/php-devel/sapi/apache_hooks/libphp5.module.in
    libphp5_common5:/usr/lib/libphp5_common.so.5
    libphp5_common5:/usr/lib/libphp5_common.so.5.2.0
    libphp5_common5:/usr/share/doc/libphp5_common5-5.2.1
    libphp5_common5:/usr/share/doc/libphp5_common5-5.2.1/CREDITS
    libphp5_common5:/usr/share/doc/libphp5_common5-5.2.1/CREDITS.libxml
    libphp5_common5:/usr/share/doc/libphp5_common5-5.2.1/CREDITS.zlib
    libphp5_common5:/usr/share/doc/libphp5_common5-5.2.1/INSTALL
    libphp5_common5:/usr/share/doc/libphp5_common5-5.2.1/LICENSE
    libphp5_common5:/usr/share/doc/libphp5_common5-5.2.1/NEWS
    libphp5_common5:/usr/share/doc/libphp5_common5-5.2.1/README.EXTENSIONS
    libphp5_common5:/usr/share/doc/libphp5_common5-5.2.1/README.EXT_SKEL
    libphp5_common5:/usr/share/doc/libphp5_common5-5.2.1/README.PARAMETER_PARSING_API
    libphp5_common5:/usr/share/doc/libphp5_common5-5.2.1/README.PHP4-TO-PHP5-THIN-CHANGES
    libphp5_common5:/usr/share/doc/libphp5_common5-5.2.1/README.STREAMS
    libphp5_common5:/usr/share/doc/libphp5_common5-5.2.1/README.UPDATE_5_2
    libphp5_common5:/usr/share/doc/libphp5_common5-5.2.1/README.input_filter
    libphp5_common5:/usr/share/doc/libphp5_common5-5.2.1/README.openssl
    libphp5_common5:/usr/share/doc/libphp5_common5-5.2.1/README.spl
    libphp5_common5:/usr/share/doc/libphp5_common5-5.2.1/ZEND_LICENSE
    libphp5_common5:/usr/share/doc/libphp5_common5-5.2.1/configure_command
    libphp5_common5:/usr/share/doc/libphp5_common5-5.2.1/php.ini-dist
    libphp5_common5:/usr/share/doc/libphp5_common5-5.2.1/php.ini-recommended
    php-devel:/usr/lib/libphp5_common.la
    php-devel:/usr/lib/libphp5_common.so
    php-devel:/usr/src/php-devel/sapi/apache/libphp5.module.in
    php-devel:/usr/src/php-devel/sapi/apache_hooks/libphp5.module.in

     

    So it seems there is the libphp5_common5 that you can check if you are missing or not by doing the:

    rpm -qa |grep libphp5

     

    No need to use locate because we already know the path to the library. But I will put the apache snippet on php that is at /etc/httpd/modules.d/70_mod_php.conf.

    <IfDefine HAVE_PHP5>
    <IfModule !mod_php5.c>
    	LoadModule php5_module	extramodules/mod_php5.so
    </IfModule>
    </IfDefine>
    
    <IfModule mod_mime.c>
    AddType application/x-httpd-php .php
    AddType application/x-httpd-php .phtml
    AddType application/x-httpd-php-source .phps
    </IfModule>
    
    <IfModule mod_php5.c>
    <IfModule mod_dir.c>
    	DirectoryIndex index.php index.phtml
    </IfModule>
    </IfModule>

     

    We can see that the library is actually on extramodules/mod_php5.so now you can do a locate (if you dont have it download mlocate). If you find it then everything shoudl work but if you dont have it probably an apache package was missing.

  11. Hi I run net-o-profiles to switch between my home and business networks. However many apps don't get the new settings. Example, my opera browser and Gnome (gnome-network-preference). So I want to know if its possible to run scriptsof this application. I would like to invoke a script I did to finish the job or maybe use some of the tools within the mandriva network profiles.

     

    Thanks.

  12. I been experiencing problems with urpmi ever since I re-install it in my system. The urpmi database will not remove the .LOCK and .RPMLOCK files from the /var/lib/urpmi/ directory causing the database to remain lock after an update check up or a different installation.

     

    This is a new 2007.1 'spring' installation with urpmi version 4.9.21

     

    Thanks.

     

     

    [moved from Installing Mandriva by spinynorman]

  13. So I just made a clean install of Mandriva 2007.1, I wan to give a try to virtualbox however I need the source for the kernel. A huge list of almost 50 different kernels display. Which one should I use????

     

    One of the following packages is needed:
    1- kernel-source-stripped-2.6.17.13mdv-1-1mdv2007.1.i586: The source code of the Linux kernel stripped for post build (to install)
    2- kernel-source-stripped-2.6.17.14mdv-1-1mdv2007.1.i586: The source code of the Linux kernel stripped for post build (to install)
    3- kernel-tmb-desktop586-smp-devel-2.6.20.11-1mdv-1-1mdv2007.1.i586: The kernel-devel files for kernel-tmb-desktop586-smp-2.6.20.11-1mdv (to install)
    4- kernel-tmb-desktop-smp-devel-2.6.20.4-1mdv-1-1mdv2007.1.i586: The kernel-devel files for kernel-tmb-desktop-smp-2.6.20.4-1mdv (to install)
    5- kernel-tmb-desktop-devel-2.6.20.4-3mdv-1-1mdv2007.1.i586: The kernel-devel files for kernel-tmb-desktop-2.6.20.4-3mdv (to install)
    6- kernel-tmb-server-devel-2.6.20.4-3mdv-1-1mdv2007.1.i586: The kernel-devel files for kernel-tmb-server-2.6.20.4-3mdv (to install)
    7- kernel-tmb-source-2.6.20.4-2mdv-1-1mdv2007.1.i586: The Linux source code for kernel-tmb-2.6.20.4-2mdv (to install)
    8- kernel-tmb-source-2.6.20.7-3mdv-1-1mdv2007.1.i586: The Linux source code for kernel-tmb-2.6.20.7-3mdv (to install)
    9- kernel-tmb-desktop586-smp-devel-2.6.20.4-2mdv-1-1mdv2007.1.i586: The kernel-devel files for kernel-tmb-desktop586-smp-2.6.20.4-2mdv (to install)
    10- kernel-vserver-source-stripped-2.6.19.1-1mdv-1-1mdv2007.1.i586: The source code of the Linux kernel stripped for post build (to install)
    11- kernel-tmb-source-2.6.20.4-3mdv-1-1mdv2007.1.i586: The Linux source code for kernel-tmb-2.6.20.4-3mdv (to install)
    12- kernel-tmb-desktop-smp-devel-2.6.20.4-3mdv-1-1mdv2007.1.i586: The kernel-devel files for kernel-tmb-desktop-smp-2.6.20.4-3mdv (to install)
    13- kernel-source-2.6.17.13mdv-1-1mdv2007.1.i586: The source code for the Linux kernel (to install)
    14- kernel-tmb-desktop586-devel-2.6.20.7-3mdv-1-1mdv2007.1.i586: The kernel-devel files for kernel-tmb-desktop586-2.6.20.7-3mdv (to install)
    15- kernel-tmb-server-devel-2.6.20.4-2mdv-1-1mdv2007.1.i586: The kernel-devel files for kernel-tmb-server-2.6.20.4-2mdv (to install)
    16- kernel-tmb-desktop586-smp-devel-2.6.20.4-1mdv-1-1mdv2007.1.i586: The kernel-devel files for kernel-tmb-desktop586-smp-2.6.20.4-1mdv (to install)
    17- kernel-tmb-server-smp-devel-2.6.20.4-1mdv-1-1mdv2007.1.i586: The kernel-devel files for kernel-tmb-server-smp-2.6.20.4-1mdv (to install)
    18- kernel-linus-smp-devel-2.6.21-0.rc3.4mdv-1-1mdv2007.1.i586: The kernel-linus-smp devel files for 3rdparty modules build (to install)
    19- kernel-linus-source-2.6.21-0.rc3.4mdv-1-1mdv2007.1.i586: The source code for the Linux kernel (to install)
    20- kernel-tmb-server-devel-2.6.20.11-1mdv-1-1mdv2007.1.i586: The kernel-devel files for kernel-tmb-server-2.6.20.11-1mdv (to install)
    21- kernel-tmb-desktop586-smp-devel-2.6.20.7-3mdv-1-1mdv2007.1.i586: The kernel-devel files for kernel-tmb-desktop586-smp-2.6.20.7-3mdv (to install)
    22- kernel-tmb-desktop-devel-2.6.20.7-3mdv-1-1mdv2007.1.i586: The kernel-devel files for kernel-tmb-desktop-2.6.20.7-3mdv (to install)
    23- kernel-multimedia-laptop-devel-2.6.17.14-5mdv-1-1mdv2007.1.i586: The kernel-devel files for kernel-multimedia-laptop-2.6.17.14-5mdv (to install)
    24- kernel-tmb-server-smp-devel-2.6.20.4-2mdv-1-1mdv2007.1.i586: The kernel-devel files for kernel-tmb-server-smp-2.6.20.4-2mdv (to install)
    25- kernel-multimedia-desktop-smp-devel-2.6.17.14-5mdv-1-1mdv2007.1.i586: The kernel-devel files for kernel-multimedia-desktop-smp-2.6.17.14-5mdv (to install)
    26- kernel-tmb-desktop-smp-devel-2.6.20.11-1mdv-1-1mdv2007.1.i586: The kernel-devel files for kernel-tmb-desktop-smp-2.6.20.11-1mdv (to install)
    27- kernel-vserver-source-2.6.19.1-1mdv-1-1mdv2007.1.i586: The source code for the Linux kernel (to install)
    28- kernel-tmb-desktop-devel-2.6.20.4-1mdv-1-1mdv2007.1.i586: The kernel-devel files for kernel-tmb-desktop-2.6.20.4-1mdv (to install)
    29- kernel-tmb-desktop586-devel-2.6.20.4-1mdv-1-1mdv2007.1.i586: The kernel-devel files for kernel-tmb-desktop586-2.6.20.4-1mdv (to install)
    30- kernel-tmb-desktop-smp-devel-2.6.20.7-3mdv-1-1mdv2007.1.i586: The kernel-devel files for kernel-tmb-desktop-smp-2.6.20.7-3mdv (to install)
    31- kernel-tmb-desktop586-devel-2.6.20.11-1mdv-1-1mdv2007.1.i586: The kernel-devel files for kernel-tmb-desktop586-2.6.20.11-1mdv (to install)
    32- kernel-tmb-desktop586-devel-2.6.20.4-2mdv-1-1mdv2007.1.i586: The kernel-devel files for kernel-tmb-desktop586-2.6.20.4-2mdv (to install)
    33- kernel-tmb-desktop-devel-2.6.20.4-2mdv-1-1mdv2007.1.i586: The kernel-devel files for kernel-tmb-desktop-2.6.20.4-2mdv (to install)
    34- kernel-tmb-server-devel-2.6.20.4-1mdv-1-1mdv2007.1.i586: The kernel-devel files for kernel-tmb-server-2.6.20.4-1mdv (to install)
    35- kernel-tmb-source-2.6.20.4-1mdv-1-1mdv2007.1.i586: The Linux source code for kernel-tmb-2.6.20.4-1mdv (to install)
    36- kernel-tmb-source-2.6.20.11-1mdv-1-1mdv2007.1.i586: The Linux source code for kernel-tmb-2.6.20.11-1mdv (to install)
    37- kernel-multimedia-desktop-devel-2.6.17.14-5mdv-1-1mdv2007.1.i586: The kernel-devel files for kernel-multimedia-desktop-2.6.17.14-5mdv (to install)
    38- kernel-tmb-desktop-smp-devel-2.6.20.4-2mdv-1-1mdv2007.1.i586: The kernel-devel files for kernel-tmb-desktop-smp-2.6.20.4-2mdv (to install)
    39- kernel-multimedia-source-2.6.17.14-5mdv-1-1mdv2007.1.i586: The source code for the Linux kernel-multimedia-2.6.17.14-5mdv (to install)
    40- kernel-tmb-server-smp-devel-2.6.20.4-3mdv-1-1mdv2007.1.i586: The kernel-devel files for kernel-tmb-server-smp-2.6.20.4-3mdv (to install)
    41- kernel-tmb-server-smp-devel-2.6.20.7-3mdv-1-1mdv2007.1.i586: The kernel-devel files for kernel-tmb-server-smp-2.6.20.7-3mdv (to install)
    42- kernel-multimedia-laptop-smp-devel-2.6.17.14-5mdv-1-1mdv2007.1.i586: The kernel-devel files for kernel-multimedia-laptop-smp-2.6.17.14-5mdv (to install)
    43- kernel-tmb-server-smp-devel-2.6.20.11-1mdv-1-1mdv2007.1.i586: The kernel-devel files for kernel-tmb-server-smp-2.6.20.11-1mdv (to install)
    44- kernel-tmb-desktop586-smp-devel-2.6.20.4-3mdv-1-1mdv2007.1.i586: The kernel-devel files for kernel-tmb-desktop586-smp-2.6.20.4-3mdv (to install)
    45- kernel-linus-devel-2.6.21-0.rc3.4mdv-1-1mdv2007.1.i586: The kernel-linus devel files for 3rdparty modules build (to install)
    46- kernel-source-2.6.17.14mdv-1-1mdv2007.1.i586: The source code for the Linux kernel (to install)
    47- kernel-tmb-server-devel-2.6.20.7-3mdv-1-1mdv2007.1.i586: The kernel-devel files for kernel-tmb-server-2.6.20.7-3mdv (to install)
    48- kernel-tmb-desktop586-devel-2.6.20.4-3mdv-1-1mdv2007.1.i586: The kernel-devel files for kernel-tmb-desktop586-2.6.20.4-3mdv (to install)
    49- kernel-tmb-desktop-devel-2.6.20.11-1mdv-1-1mdv2007.1.i586: The kernel-devel files for kernel-tmb-desktop-2.6.20.11-1mdv (to install)

     

    I do a uname -a and uname -r:

    [root@genius media]# uname -r
    2.6.17-14mdv
    [root@genius media]# uname
    Linux
    [root@genius media]# man uname
    [root@genius media]# uname -a
    Linux genius.homelinux.net 2.6.17-14mdv #1 SMP Wed May 9 21:11:43 MDT 2007 i686 Genuine Intel(R) CPU		   T2500  @ 2.00GHz GNU/Linux

  14. Hi I want to change my IP from dynamic to static using the command line. Currently I will do something like this:

    • Open Mandriva Control Center
    • Go to Network and Internet
    • Go to "Reconfigure Network Interface"
    • On Device choose my ethernet card
    • On Protocol switch from DHCP to Static
    • Insert IP/Netmask/Gateway
    • Click OK

    So I think on the cli the process will be something like:

    $ su
    Password ****
    $ ifconfig eth0 192.168.1.1 netmask 255.255.255.0 broadcast 192.168.1.255 up
    $ route add -net default gw 192.168.1.0

     

    However what I want to know if how to find out what I am currently running on (DHCP or Static) before modifiying.

  15. So I have setup as much as I can from the Xen package however I still have some issues triying to boot the iso on the virtual machine.

     

    This is the Xen config file to run Windows XP on Mandriva:

    # Automatically generated xen config file
    name = "WindowsXP"
    builder = "hvm"
    memory = "300"
    disk = [ 'file:/winxp.img,ioemu:hda,w', 'file:/WinXP.iso,hdc:cdrom,r']
    cdrom = 'file:/WinXP.iso' 
    #disk = [ 'file:/root/WindowsXP.iso,hda,w' ]
    boot = 'd'
    vif = [ 'type=ioemu ip=172.168.1.154, mac=00:16:3e:59:1e:7c, bridge=xenbr0']
    #uuid = "6e02077d-1fbd-9b03-24aa-d39d38d7900b"
    device_model = "/usr/lib/xen/bin/qemu-dm"
    kernel = "/boot/vmlinuz-2.6.17-6mdvxenU"
    vnc=0
    #vncunused=1
    localtime=1
    #usb=1
    #full-screen=1
    apic=1
    acpi=1
    pae=0
    
    vcpus=1
    serial = "pty" # enable serial console
    on_reboot   = 'restart'
    on_crash	= 'restart'

     

    The problem I get is on Disk, it comes up with the errror:

    Error: invalid literal for int(): :cdrom

     

    Any help would be appreciated.

×
×
  • Create New...