Jump to content

uralmasha

Members
  • Posts

    200
  • Joined

  • Last visited

Posts posted by uralmasha

  1. I came across this problem in RC1/Beta4.

     

    The user directories are disabled by default and/or the mod_userdir is not installed, either, as far as I can tell. You can fix it in 2 ways:

     

    1) Install drakwizard (as of 13 Sept it installs) and then go to

    MCC-> Sharing-> Setup a web server

    , and enable the feature in the wizard dialog. In my case It also had to install some module, I believe it was mod_userdir, but I am not entirely sure.

    By crutinizing the original httpd.conf with that created by the wizard, the wizard seems to be replacing in the configuration of acess rights all default directories names names for cgi, cgi-protected-scripts, icons to /var/www/html , so you'll have to check it afterwards, if it matters for you.

     

    2) Install the module and modify httpd.conf to load the module and enable user dirs, and specify their name. I get this new chunk in the httpd.conf:

    # add usermod dir support
    <IfModule mod_userdir.c>
       UserDir public_html
    </IfModule>
    
    <Directory /home/*/public_html>
       AllowOverride FileInfo AuthConfig Limit
       Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
       <Limit GET POST OPTIONS PROPFIND>
           Order allow,deny
           Allow from all
       </Limit>
       <LimitExcept GET POST OPTIONS PROPFIND>
           Order deny,allow
           Deny from all
       </LimitExcept>
    </Directory>

     

     

    hope this helps

  2. I also had a corrupted KDE install on x86_64, at first attempt. I later re-installed everyting from scratch, with the same CD and it is OK now, as far as I can tell (not that there are no bugs). I blame the "mini"-cd for that. Perhaps, the mirror it used for install wasn't up-to-date.

     

    Maybe it's worthwhile to download all the 3 ISO's first.

  3. mount foo://path/to/share /mnt/TUDelft

     

    I never used webDAV either :-) but similar to scp command, I guess the syntax to add the username should be smth like

     

    mount smorgje@path.to.host.nl://path/to/share /mnt/TUDelft

  4. [Just quickly... it doesn't solve it but you don't need to reboot... just restart X or the dm ...

     

    /etc/init.d/gdm stop ; /etc/init.d/gdm start

     

    for example...  or CTRL+ALT+BKSPC

     

    Right, Gowator.

    I meant "restart x", but for me it's as annoying as rebooting, with loosing all nice carefully crafted window layout (one of the reasons i moved to linux from youknowwhat was that i heard wouldn't HAVE to reboot every now and then)

     

    Anyway, I found the problem. Here's my report:

     

    The problem is pdf. I observed it in both gnome and KDE.

     

    kpf is showing a document. I compile a new version of that document periodically, and kpdf "watches" the pdf file. The mem goes to hell every time the file gets updated. With documet1.pdf as large as 200K it flushes a few megs of memory into "Application memory" of X. the kpdf self does not increase its VmSize or VmRSS.

     

    Shutting down kpdf returns the mem back to me. Acrobat doesn't "watch" files, but it takes a hundred meg to start up empty :screwy:, and adds some dozens of megs to the X black hole every update of the documet1.pdf.

     

    KGhostview doesn't seem to have such effect.

     

    my system is:

     

    Mandriva LE, gnome, KDE on PIII-1Gz 512Mb, Nvidia 7-something driver.

  5. Ok,

    a very usefull topic! it seems that for a deem n00b like me its better to run a 32-version of mdk.

     

    I am going to get a dual core AMD, so was wondering whether

     

    (1) 32-bit mode kernel exists for dual core

     

    (2) if I had a dual boot system like 64-bit mode and a 32-bit one ((will set it up as here), would they be able to share my home dir?

     

    I use ext3 filesystem, does it depend on 64/32-bit OS?

  6. Hi!

    Every time I plug my flash card in the reader, I get a question window that says:

    "There are photographs in this device"

    "Would you like to import these photographs into your photo album"

     

    I don't know whose window it is, it has title "Question" (very informative), and 2 buttons: Cancel and Import. If I press import it launches quickshow (not importing anything actually), so I press cancel.

     

    This is rather annoying and I would like to turn this off. I don't have digikam installed, (like in another thread). How oh how do I do that? :wall:

  7. Hi!

     

    I have similar problem. If I use X actively, like sitting behind the screen, the memory gradually goes away, first RAM, then swap. I have to reboot every couple of days because of that, and I'm just using 4-5 kpdf windows, a text editor, browser, etc nothing fancy. The other day the OS had to kill the browser because of lack of memory!

     

    I have 512 Meg of RAM, the swap is the same size (it's a bit on the tight side I agree, but that was MDV's suggestion). I sit in gnome desktop, but use some KDE applications like krusader and kpdf.

     

    I seem to have lost memory both with GDM and MdkDM, didn't try just XDM. Anything to be done about that?

     

    I read this thread and a couple of others, but I don't think its a caching problem. Caching is a second-priority, right? If I need ram, the disk data has to go away, hasn't it?

  8. I was wondering if there is a way to see what were the ./configure options for a package. Some software lets you see the string, but not all.

     

    The reason I'm asking is that I think* I need one or two packages to be slightly different from those shipped with mandriva.... So i'd compile it myself, using the same flags as originally, just adding the one flag I need.

     

    * because I can't see the configure parameter string, I cannot be sure whether the flag is there or not, and I can't figure it out from the error messages.

     

    [moved from Software by spinynorman]

  9. The menu problem is a pain in the arse, and still exists, when I try to adjust the menu using menudrake it will either not add entries or remove the entire menu and refuse to bring it back (if I reboot it returns) I also noticed the other day that the menu disappeared for apparently no reason - or more accurately I could not see the reason.

     

    I second that.

    I suspect the menu disappears sometimes if you uninstall some app that is in it, but it doesn't always happen. The menu editor is quite useless, you can't actually predict whether you achieve the desired result or not.

  10. mrmagoo,

     

    thank you. I looked at the psd match that you recommended. I believe this is not exactly what I wanted, although I may need it later, too. My concern so far is only about brute-force attacks.

     

    Nevertheless, your link brought me to another iptables match: "recent" (and the right keywords to dig further).

     

    For future reference:

    In this thread of netfilter mailing list there is a script that does just that: blocks a nuisance IP for awhile.

     

    Thank you!

     

    Update:

    If someone are using Shorewall, they might also be interested in the Shorewall action script that does the same thing:

    1. Shorewall mailing list or 2. Jürgen Kreileder blog

     

    Both are quite similar and won't work with the 2.0 version shipped with Mandriva LE, but on the shorewall home page there is a pointer to the Mandriva RPMs of version 2.4.

  11. Hi!

     

    I looked at /var/log/auth and discovered that there is someone(s) trying to log in in my machine via ssh, apparently using a dumb password permutations, with 30-35 times per minute.

     

    I have a firewall in the router already, and shorewall is running as well, but some ports like 22 I need myself, so I cannot just close them.

     

    Is there a possibiliy to block some IPs for awhile automatically after say N attempts to log in? Wouldn't like to make that example, but on Wi... another operating system, Norton Firewall does just that: block suspiciously active IP's for half an hour (not for attmpting to log in, but for port scans, but still).

     

    It would be nice and saved some tons of packages sent over the internet.

     

    I use Mandriva LE, shorewall is running. There is a small database and web server on the machine that is always on-line.

  12. Ector, and other who are interested,

    I had this problem that a USB volume would mount as root:root, without permissions to write for any other user. Any attempts to impose permanent automatic wrinig permissions wouldn't work for me, and modifying /etc/fstab/ wouldn't help.

     

    I recently upgraded from 10.1OE to Mandriva LE. Now the usb reader mounts as belonging to the user of mine, not the root, so the problem is solved!

     

    So what is the solution?

    Thanks.

  13. Ok, I got with the sendmail. It's just that it never asked me to do so before, although I have ran urpmi.update --auto-select.

     

    I would like to wait untill more mirrors in my neighbourhood (NL) are available, before posting the problems as a separate thread.

     

    (1)

    Curl cannot download some of the packages, the link appeares to be broken. Additionally, there are bad sigantures on the other half of the RPM's. But I thought this question would sort out after more mirrors are updated.

     

    (2)

    The main problem is however that after the update the perl installation breaks, and so do some other libraries (e.g. vi or vim won't start). This was also the case with the cooker sources a month ago, but then I concluded that I wasn't skilled enough to handle the cooker :-)

     

    Anyways, so far I fixed the perl installation, just like the previous time, with

    rpm -Uhv /mnt/cdrom/media/main/perl-* --force --nodeps

    but later when I can get hold of a mirror nearby, I will repeat my attempts with the system update and report here in another thread.

     

    I am very happy to discover quite helpful and friendly community here, thank you very much!

  14. Many thanks for updating the urpmi-sources list! :thanks:

     

    I ran an update using

    urpmi  --auto-select --media LE-main,LE-contrib,LE-jpackage

     

    However, the first thing urpmi asked was, which mail sending software I will use:

    1- mini_sendmail-1.3.5-3mdk.i586 : Accept email on behalf of real sendmail (to install)

    2- masqmail-0.2.18-3mdk.i586 : Offline Mail Transfert Agent (to install)

    3- ncsmtp-0.1-2mdk.noarch : Null Client SMTP daemon with aliases support (to install)

    4- exim-4.50-1mdk.i586 : The exim mail transfer agent (to install)

    5- ssmtp-2.60.7-1mdk.i586 : A minimal mail-transfer agent which forwards mail to an SMTP server. (to install)

    6- postfix-2.1.5-6mdk.i586 : Postfix Mail Transport Agent (to install)

    7- sendmail-8.13.3-2mdk.i586 : A widely used Mail Transport Agent (MTA) (to install)

    Your choice? (1-7)

     

    I woul not like to have mail sending software on my PC (yes, I am a dummy paranoid linux user).

    Is this normal? What is the purpose of having a sendmail needed for an install/update?

×
×
  • Create New...