Re: [expert] emergency [resolved]
Thanks to all for valuable suggestions! I ended up taring /home to a FAT32 partition, then reinstalling from scratch and restoring /home. This time I set / and /home to ReiserFS (Rolf, Rob -- thanks for the advise). Funny, after all this work -- in the new installation trying to access Zip in KDE locks up the panel again (this is where my problem started in the first place: trying to kill X at this point with Ctrl-Alt-Backspace), only this time I just waited :-) ... it does open up after a minute. Somewhat dissappointing that it is so sluggish, maybe I'll disable supermount on it... Again, thank you all for helping! Aleksey Aleksey Naumov wrote: Thanks to all (Rob, Rolf, Steven) for good suggestions! No linux-nonfb and failsafe do not for me giving the same INIT messages. I was able to make some progress by booting with MDK 9.1 CD into rescue, then going to console: (a) Ran fsck.ext2 on my / and it complained that the superblock is bad. Ran it again with the alternate superblock (8193) and fixed a whole lot of problems (incorrect ref counts, etc.). Still no booting, get the same INIT messages (b) Then I noticed that in my /etc there is no rc.d at all, no wonder init complaines that it cannot execute /etc/rc.d/rc.sysinit and there are no more processes at a runlevel. Also there is no init.d, so all start/stop scripts are gone. Wonder how that could have happened??? More importantly, what could I do now short of reinstalling? I don't have rc.d backed up anywhere. Is it possible to get rc.d by installing an rpm, which one then? Or do these scripts get generated somehow during an install? Any ideas are welcome... Thank you, Aleksey $ urpmf /etc/rc.d initscripts:/etc/rc.d initscripts:/etc/rc.d/init.d initscripts:/etc/rc.d/init.d/alsa initscripts:/etc/rc.d/init.d/dm initscripts:/etc/rc.d/init.d/functions initscripts:/etc/rc.d/init.d/halt initscripts:/etc/rc.d/init.d/kheader initscripts:/etc/rc.d/init.d/killall initscripts:/etc/rc.d/init.d/mandrake_consmap initscripts:/etc/rc.d/init.d/mandrake_everytime initscripts:/etc/rc.d/init.d/mandrake_firstime initscripts:/etc/rc.d/init.d/netfs initscripts:/etc/rc.d/init.d/network initscripts:/etc/rc.d/init.d/partmon initscripts:/etc/rc.d/init.d/random initscripts:/etc/rc.d/init.d/rawdevices initscripts:/etc/rc.d/init.d/single initscripts:/etc/rc.d/init.d/sound initscripts:/etc/rc.d/init.d/usb initscripts:/etc/rc.d/rc initscripts:/etc/rc.d/rc.local initscripts:/etc/rc.d/rc.modules initscripts:/etc/rc.d/rc.sysinit initscripts:/etc/rc.d/rc0.d initscripts:/etc/rc.d/rc0.d/S00killall initscripts:/etc/rc.d/rc0.d/S01halt initscripts:/etc/rc.d/rc1.d initscripts:/etc/rc.d/rc1.d/S00single initscripts:/etc/rc.d/rc2.d initscripts:/etc/rc.d/rc2.d/S99local initscripts:/etc/rc.d/rc3.d initscripts:/etc/rc.d/rc3.d/S99local initscripts:/etc/rc.d/rc4.d initscripts:/etc/rc.d/rc4.d/S99local initscripts:/etc/rc.d/rc5.d initscripts:/etc/rc.d/rc5.d/S99local initscripts:/etc/rc.d/rc6.d initscripts:/etc/rc.d/rc6.d/S00killall initscripts:/etc/rc.d/rc6.d/S01reboot console-tools:/etc/rc.d/init.d/keytable sysklogd:/etc/rc.d/init.d/syslog vixie-cron:/etc/rc.d/init.d/crond xinetd:/etc/rc.d/init.d/xinetd portmap:/etc/rc.d/init.d/portmap XFree86-xfs:/etc/rc.d/init.d/xfs apache-conf:/etc/rc.d/init.d apache-conf:/etc/rc.d/init.d/httpd [..] A lot more packages have files/directories in /etc/rc.d/././. Is your /home a separate partition? Can you mount and read it from a rescue session? Or, don't you say that 'failsafe' will boot for you? If so, you can do the work from there. You might need to run fsck again. Be careful. Think about saving /home before you do something radical. If you mount your installation on /mnt and chroot /mnt in the rescue session, you might be able to call man fsck to get some info. Also, I thought there was an option to upgrade/repair an existing Mandrake installation when you booted CD1. Can't say from experience but such a process might work in this case. It would be better to copy the valuable things in /home somewhere safe, first. I would recommend installing on reiserfs if you have to do a complete install again. There are other journalling filesystems but I have had a good history with reiserfs. Rolf -- Aleksey Naumov GIS Analyst Center for Health and Social Research Buffalo State College Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] emergency
Ok, I have a severe problem with MDK 9.1, can't even boot anymore. Can anyone help? Here is what happened: 1. In KDE I selected Removable Media/Zip to mount/open in Konq a zip disk 2. KDE panel lockup. This happened to me before, I guess because of problems with automount. Previously I 'fixed' it by Ctrl-Alt-Backspace to kill X and log in again (couldn't find anything better). Didn't work this time, got system lockup. 3. I did hard reboot. Selected y for System Integrity check. Problems were reported on /dev/hda6 (that's my / as I recalled later). System offered to fix problems (data may be lost), I said n hoping first to boot and save my today's work. It seems I should have said y! More messages about problems on /dev/hda6 with offers to fix. At this point I decided to reboot and answer y to 'fix problems?' question. 4. Hard reboot. Even worse now, got these messages right away: INIT: cannot execute /etc/rc.d/rc.sysinit INIT: entering runlevel: 5 INIT: cannot execute /etc/rc.d/rc INIT: Id 1 respawning too fast: disabled for 5 minutes (Same message repeated for Id 2 - 6) INIT: no more processes left in this runlevel 5. Ok, tried to boot from my MDK 9.1 boot disk (made during the installation), got: SYSLINUX 1.67 Could not find kernel image: linux boot: What do I do now? 6. Tried booting from MDK 9.1 install CD and going into rescue, but that stuff is just way over my head... --- Ok, it seems I made a bad decision when I said n to fixing / problems :-( Do I have any choices at this point (feasible for someone who is a day-to-day user but not an expert), short of reinstalling 9.1 (at least the /usr, so I don't lose /home, etc.)? Thank you! Sleep time now :-) Aleksey Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] emergency
Thanks to all (Rob, Rolf, Steven) for good suggestions! No linux-nonfb and failsafe do not for me giving the same INIT messages. I was able to make some progress by booting with MDK 9.1 CD into rescue, then going to console: (a) Ran fsck.ext2 on my / and it complained that the superblock is bad. Ran it again with the alternate superblock (8193) and fixed a whole lot of problems (incorrect ref counts, etc.). Still no booting, get the same INIT messages (b) Then I noticed that in my /etc there is no rc.d at all, no wonder init complaines that it cannot execute /etc/rc.d/rc.sysinit and there are no more processes at a runlevel. Also there is no init.d, so all start/stop scripts are gone. Wonder how that could have happened??? More importantly, what could I do now short of reinstalling? I don't have rc.d backed up anywhere. Is it possible to get rc.d by installing an rpm, which one then? Or do these scripts get generated somehow during an install? Any ideas are welcome... Thank you, Aleksey Steven Broos wrote: I had a comparable problem a couple days ago. Same errors... Turned out to be my fault (ofcourse): I changed something in /etc/security/console.perms. Because of that reason, my harddrives weren't listed in /dev/, could not be load, etc... It gave a suggestion maybe your MBR is bad, try this e2fsck I booted in linux-failsave mode (which was working) and edited the file console.perms. (I forgot to comment a line :-)) Maybe you can learn some more by watching the booting-errors above the suggestions closely ? (you can scroll up by pressing shift-pgup) Steven On Sun, 2003-06-08 at 06:09, Aleksey Naumov wrote: Ok, I have a severe problem with MDK 9.1, can't even boot anymore. Can anyone help? Here is what happened: 1. In KDE I selected Removable Media/Zip to mount/open in Konq a zip disk 2. KDE panel lockup. This happened to me before, I guess because of problems with automount. Previously I 'fixed' it by Ctrl-Alt-Backspace to kill X and log in again (couldn't find anything better). Didn't work this time, got system lockup. 3. I did hard reboot. Selected y for System Integrity check. Problems were reported on /dev/hda6 (that's my / as I recalled later). System offered to fix problems (data may be lost), I said n hoping first to boot and save my today's work. It seems I should have said y! More messages about problems on /dev/hda6 with offers to fix. At this point I decided to reboot and answer y to 'fix problems?' question. 4. Hard reboot. Even worse now, got these messages right away: INIT: cannot execute /etc/rc.d/rc.sysinit INIT: entering runlevel: 5 INIT: cannot execute /etc/rc.d/rc INIT: Id 1 respawning too fast: disabled for 5 minutes (Same message repeated for Id 2 - 6) INIT: no more processes left in this runlevel 5. Ok, tried to boot from my MDK 9.1 boot disk (made during the installation), got: SYSLINUX 1.67 Could not find kernel image: linux boot: What do I do now? 6. Tried booting from MDK 9.1 install CD and going into rescue, but that stuff is just way over my head... --- Ok, it seems I made a bad decision when I said n to fixing / problems :-( Do I have any choices at this point (feasible for someone who is a day-to-day user but not an expert), short of reinstalling 9.1 (at least the /usr, so I don't lose /home, etc.)? Thank you! Sleep time now :-) Aleksey __ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] javascript in konqueror
Hi experts, Can anyone share how to get javascript to work in konqueror (KDE 3.0.4)? I downloaded Blackdown's JDK-1.3.1 and installed the j2re part of it (runtime environment, I assume). After linking the plugin it provides -- plugin/i386/mozilla/javaplugin_oji.so into Mozilla's plugin directory (as described in the installation notes) Mozilla (both 1.1 and 1.2) is able to display a page with javascript correctly. However, I can't get konqueror to do the same. In Configure/Konqueror Browser both Java and JavaScript are enabled globally, with path to java set to my j2re installation: /usr/local/java/j2re1.3.1/bin/java. Plugins are also enabled globally, however when I Scan for New Plugings (with scan directories set correctly), the java plugin is not found (only plugger.so). Finally, when I go to the page with javascript I get a popup with this message: Java VM version: 1.3.1 Java VM vendor: Blackdown Java-Linux Team Unable to load JSSE SSL stream handler, https support not available Not being knowledgeable about java I am at a loss here. Can anyone help? Thanks, Aleksey Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] javascript in konqueror
This one fails for me: http://stat.ethz.ch/R-alpha/R-devel/doc/html/search/SearchEngine.html Doing a search or clicking on links in Keywords by topic does nothing in konqueror, but works in Mozilla. Thanks, Aleksey On Mon, 2 Dec 2002 [EMAIL PROTECTED] wrote: On Mon, 2 Dec 2002, Aleksey Y Naumov wrote: Hi experts, Can anyone share how to get javascript to work in konqueror (KDE 3.0.4)? I downloaded Blackdown's JDK-1.3.1 and installed the j2re part of it (runtime environment, I assume). After linking the plugin it provides -- plugin/i386/mozilla/javaplugin_oji.so into Mozilla's plugin directory (as described in the installation notes) Mozilla (both 1.1 and 1.2) is able to display a page with javascript correctly. However, I can't get konqueror to do the same. Java is not Javascript. The j2re package will install the Java Runtime but this will not affect the Javascript environment. The javascript problems may be related to the Javascript interpreter in Konqueror itself. Not everything works yet but is getting better. Can you provide a URL that fails? Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Using gcc 3.2: 'cc1' warning message
On Thursday 24 October 2002 02:24 am, Martin Fahrendorf wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am Mittwoch, 23. Oktober 2002 21:30 schrieb Aleksey Naumov: Dear experts, I am using gcc 3.2 (on ML 9.0) and I get a lot of warnings from cc1: cc1: warning: changing search order for system directory /usr/local/include cc1: warning: as it has already been specified as a non-system directory I understand this warning is caused by '-I/usr/local/include' in the compilation line. So, '/usr/local/include' must be a system include directory in gcc 3.2. Is there any way to suppress this message, or remove '/usr/local/include' from the default include list? A lot of packages I have to compile use '-I/usr/local/include' and it is a pain to deal with the flood of identical cc1 warnings. It's more than a pain; cyrus' imap-2.0.16 does not configure correctly because they interprete these warning as an error. So thats the big advantage of OpenSource, use the Source. search for /usr/local/include in the configure-scripts or Makefiles and remove it. That will be my last resort. I still hope there is aa easy way to remove /usr/local/include from system includes; 'gcc -v' gives current configure options, maybe I have to recompile gcc with appropriate option? Otherwise, I'll have to edit Makefiles every time I update my files from CVS repository... Aleksey Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] Using gcc 3.2: 'cc1' warning message
Dear experts, I am using gcc 3.2 (on ML 9.0) and I get a lot of warnings from cc1: cc1: warning: changing search order for system directory /usr/local/include cc1: warning: as it has already been specified as a non-system directory I understand this warning is caused by '-I/usr/local/include' in the compilation line. So, '/usr/local/include' must be a system include directory in gcc 3.2. Is there any way to suppress this message, or remove '/usr/local/include' from the default include list? A lot of packages I have to compile use '-I/usr/local/include' and it is a pain to deal with the flood of identical cc1 warnings. Thank you, Aleksey Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] What is wrong with knotes?
Thanks, Igor, replacing old .kde folder did it, knotes works again. Aleksey On Friday 18 October 2002 02:13 pm, Aleksey Naumov wrote: Hi all, I am having trouble with KDE's knotes application (yellow sticky notes). I used it alot for keeping miscellaneous information, but now I keep loosing data with it! Ok, I start from scratch: quit knotes, remove old files from ~/.kde/share/apps/knotes/notes, start knotes (knotes in console), then add a few notes. Each note appears in ~/.kde/share/apps/knotes/notes as files KNote N and .KNote N_data (N=1,2...). But when I quit knotes and start it again, the files are overwritten somehow: instead of the note itself all .KNote N_data files now contain some settings, similar to those in KNote N files, e.g.: richtext=false tabsize=4 titlefont=Bitstream Charter,11,-1,5,74,0,0,0,0,0 [General] version=2.2 [WindowDisplay] desktop=0 position=98,233 state=32 So, the notes are lost. What am I doing wrong? Anyone else had this happen? I have a fresh ML 9.0 install (but kept /home from 8.2) with KDE 3.0.3. It's probably caused by you keeping your old home directory. KDE may not like the fact that its config directory is the one from KDE2. I would suggest moving ~/.kde somewhere else, and letting it create a new one, and then copy anything you need over there. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] What is wrong with knotes?
Hi all, I am having trouble with KDE's knotes application (yellow sticky notes). I used it alot for keeping miscellaneous information, but now I keep loosing data with it! Ok, I start from scratch: quit knotes, remove old files from ~/.kde/share/apps/knotes/notes, start knotes (knotes in console), then add a few notes. Each note appears in ~/.kde/share/apps/knotes/notes as files KNote N and .KNote N_data (N=1,2...). But when I quit knotes and start it again, the files are overwritten somehow: instead of the note itself all .KNote N_data files now contain some settings, similar to those in KNote N files, e.g.: richtext=false tabsize=4 titlefont=Bitstream Charter,11,-1,5,74,0,0,0,0,0 [General] version=2.2 [WindowDisplay] desktop=0 position=98,233 state=32 So, the notes are lost. What am I doing wrong? Anyone else had this happen? I have a fresh ML 9.0 install (but kept /home from 8.2) with KDE 3.0.3. Thanks, Aleksey Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] Nasty printing problem (cyan cartridge)
Dear experts, I hit this problem in ML 8.2 after I hooked up a local printer (HP 2000C), was not able to resolve it, now I have it once again after upgrading to 9.0. Problem: after adding HP 2000C color printer (the only printer on my system; at /dev/lp0) with HardDrake the test page prints fine. Then after 2-3 minutes the printer spits out a Cartrigle Level dignostic page showing cyan cartridge as empty, although it is entirely fresh. The cartridge is subsequentally unuseable and printer doesn't work right until it's replaced! Plugging a new cartridge does the same: first page or 2 ok, then empty cyan. And it's always cyan cartridge, no other. I already went thru 3 cartriges, hope I can recover them -- anyone knows how? This problem didn't exist in ML 8.0, printer worked fine. Any advise would be greatly appreciated! Aleksey Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Supermount stopped working?
Todd, I am afraid, my problem is more serious and is not KDE-specific. Just tried Gnome and get exactly the same bundle of problems as in KDE: zip is not mounted properly, what file browsers as well as 'ls -ll' show me is NOT what's on the disk! I plug in a disk, but the file tree I see on it actually belongs to another zip disk, and it doesn't change if I try other disks. Needless to say, I can't write to the disks (all of which work fine in Win98). I recall now it started to go haywire after I installed a local printer with HardDrake. The printer also stopped working properly very soon after the installation (maybe when I accessed the zip...). So, the real problem must be some serious conflict b/w zip and printer. I'll start digging there... Thanks, Aleksey On Friday 27 September 2002 18:10, Todd Lyons wrote: Aleksey Naumov wrote on Fri, Sep 27, 2002 at 05:52:37PM -0400 : Dear experts, Recently I am having a problem ejecting a Zip disk. I use supermounting and the mounting part works ok: I can see files on the zip after I plug it in. However, it doesn't want to eject: the eject button is ignored until I log out of KDE, only then I get my disk back. It seems the unmounting part is not working? This is a KDE issue. There's nothing you can do about it because that's the way KDE is designed. :( The only answer as you've discovered is to exit KDE. There may be others, but I'm unaware of them. Myself, I don't run KDE and don't have problems with any of my peripherals. Blue skies... Todd Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Preventing msec from changing file permissions
Chuck, thanks for the valuable advice! I created /etc/security/msec/perm.local with just one line: /home/PgDB postgres.postgres 700 and it seems to have done what I want (after running 'msec' of course). Thanks a bunch! Daniel, thanks for the links, I'll definitely check the info. Just wanted to get this working first :) Aleksey On Tue, 13 Aug 2002, Chuck Shirley wrote: On Tuesday 13 August 2002 15:15, Aleksey Y Naumov wrote: Dear experts, I have I question/problem with msec on my 8.2 system: it keeps changing permissions on directory /home/PgDB. /var/log/auth.log has: ... Aug 13 15:01:00 ples msec: changed mode of /home/PgDB from 700 to 755 ... Trouble is, this is my data directory for PostgreSQL database, so it has to have permission 700, i.e.: drwx--6 postgres postgres 4096 Aug 13 14:56 PgDB/ It took me quite a while to figure this out myself. I haven't tried with a directory, but it works with individual files. Put the file, it's owner and group, and the permissions you want it to have in /etc/security/msec/perm.local, like so: # /etc/security/msec/perm.local # Local file permission settings to override msec. # [file][uid.gid] [perms] # /usr/bin/artswrapperroot.root 4755 (This example keeps msec from turning off suid on the artswrapper so that my artsd can run with NRT scheduling priority) Probably, the file is empty, at least it was on my system, so once I figured out the format, I created the header to keep me from having to go through all the headache again. Sadly, msec is not well documentd unless you can read perl really well! :^) -Chuck -- +-% He's a real UNIX Man $-+-+ \ Sitting in his UNIX LAN \ Charles A. Shirley \ \ Making all his UNIX plans \ cashirley (at) comcast (dot) net \ +--# For nobody --+-+ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] Preventing msec from changing file permissions
Dear experts, I have I question/problem with msec on my 8.2 system: it keeps changing permissions on directory /home/PgDB. /var/log/auth.log has: ... Aug 13 15:01:00 ples msec: changed mode of /home/PgDB from 700 to 755 ... Trouble is, this is my data directory for PostgreSQL database, so it has to have permission 700, i.e.: drwx--6 postgres postgres 4096 Aug 13 14:56 PgDB/ otherwise, the Postgres server is not accepting connections correctly. I looked at msec but wasn't able to figure out what to change. My security level is 2 (just a personal computer, default 8.2 security). Looked at /var/lib/msec/security.conf, but what do I change? It is not clear from reading man msec or mseclib. Would appreciate any hints on how to deal with this. Thanks, Aleksey P.S. Below is my /var/lib/msec/security.conf CHECK_UNOWNED=no CHECK_SHADOW=no CHECK_SUID_MD5=yes CHECK_SECURITY=yes CHECK_PASSWD=no SYSLOG_WARN=yes CHECK_SUID_ROOT=yes CHECK_PERMS=no CHKROOTKIT_CHECK=no CHECK_PROMISC=no RPM_CHECK=no TTY_WARN=no CHECK_WRITEABLE=yes MAIL_WARN=no CHECK_OPEN_PORT=no CHECK_SUID_GROUP=yes Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] No such file or directory message from bash
If strace and ldd are of no help, there's one other trick I sometimes use with prgressively more info to look through: strings prog | grep ^/ | less strings prog | grep / | less strings prog | less In the last one, typing the chars /, \, /, Return tells less to search for a /, then just press n to keep finding the next one... Shift+n to search backwards... With any luck, you may see some other file listed that the program can't find... That's it! 'strings prog | grep ^/ | less' shows some paths to the other components that don't make sense (absolute paths instead of relative), so of course those files can't be found! I'll just have to get the source and work with it. Thank you Pierre, and thank you all - kwan, Mike, Andrew, Ronald and Thomas. Best regards, Aleksey Good luck, Pierre Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] No such file or directory message from bash
Yes, of course, this is what I did: [aleksey@botik aleksey]$ ./swatgrs_set bash: ./swatgrs_set: No such file or directory [aleksey@botik aleksey]$ I think we've established that the problem was due to some bad path names inside the executable. Thanks On Thu, 24 Jan 2002, Expert wrote: If you wish to execute a programme or application, you must invoke it by typing a ./ a dot and a slash together right up against the file name of the executable, lets say the file name was xcdroast well, one would type ./xcdroastto get it to run, this is for security purposes because you should not put . in your path or else someone could bust into your unix system. If you want, you can add a certain directory to your path like /bin or /sbin . If you wish to know what to type to put some directory in your path just ask and i will look it up real quick on my system. hope this helps On Tuesday 22 January 2002 10:57 pm, so spoke Pierre Fortin : On Tue, 22 Jan 2002 20:45:47 -0500 Aleksey [EMAIL PROTECTED] wrote: But now I'm up against the wall, because this is a compiled executable. ^^^ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] No such file or directory message from bash
On Wednesday 23 January 2002 13:49, you wrote: Aleksey wrote: Dear experts, Does anyone know why I get the No such file or directory message when trying to run an executable in bash? Here's what I have: [aleksey@botik aleksey]$ ls -la total 97900 [ snip ] -rwxr--r--1 aleksey aleksey104318 Jan 22 20:31 swatgrs_set* The executable 'swatgrs_set' is there, but I can't run it: [aleksey@botik aleksey]$ ./swatgrs_set bash: ./swatgrs_set: No such file or directory It looks like its set to only run for root. Have you tried running it as root? If it works there, then change your permissions. You should see some more x's there... ;-) Neither one helps :-( Tried running as root as well as adding exec permissions for all: [aleksey@botik aleksey]$ su Password: [root@botik aleksey]# ./swatgrs_set bash: ./swatgrs_set: No such file or directory [root@botik aleksey]# chmod a+x swatgrs_set [root@botik aleksey]# ll ... -rwxr-xr-x1 aleksey aleksey104318 Jan 22 20:31 swatgrs_set* [root@botik aleksey]# ./swatgrs_set bash: ./swatgrs_set: No such file or directory [root@botik aleksey]# Any ideas? Aleksey Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] No such file or directory message from bash
Kwan, the executable file in question here is not really a script (as I explained in the other mail, I only gave that example because that was the only other time when I saw the same error in bash), but thank you for your insight, I appreciate it. This most likely means that the first line of your script is pointing to an incorrect executable. Do this: which python You should get something like /usr/local/bin/python Next, check that the first line of the script points to this No, it wasn't this, I typically use #!/usr/bin/env python as the first line. executable: head -1 swatgrs_set Just gives some binary symbols, since it's a compiled executable. BTW, this error can also happen if you're using a DOS/Windows python script that you moved to Linux. The carriage return/linefeed combination of Windows will need to converted using something like dos2unix. No, some python scripts I wrote entirely in Linux, moreover, sometimes they'd work ok for some time (with just ./my_script), then after some more editing they'd refuse to run like that with the same message: No such file or directory, and I'd have to run them with python my_script. Thanks, Aleksey Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Upgrading to KDE 2.2
Thank you, Gary! I got it to work, with a combination of rpm -Uvh --test * and www.rpmfind.net (to find packages that provide needed shared libs and get them). Best Aleksey On Monday 20 August 2001 09:41 pm, you wrote: After downloading all files for the upgrade I did a rpm -qa | grep kde. I then move all the listed files into a separate directory. From that directory I did rpm -Fvh --test *. I then corrected any dependency problems by adding or removing some programs. Once I got a clean return on rpm -Fvh --test *, I then ran urpmi --auto-select *. I then went back and added a few of the downloads that were not listed with the rpm -qa | grep kde. If I recall right they were kdeartwork and kdebindings. This was last friday and other than a few minor problems with several screensavers, everything seems to be working great. Thanks Gary On Monday 20 August 2001 14:36 pm, you wrote: Greetings, Could you describe how you did the upgrade? I am having a few problems as I attempt to do it. Did you install over 2.1.1 or remove it before? I also downloaded RPMs from ftp.kde.org - for Mandrake 8.0 i586 (should I download devel and static-devel RPMs?), but I get failed dependencies as I try to install: (I removed KDE 2.1.1 before trying to install 2.2, obviously from a command line) # rpm -Uvh kdelibs-2.2-1mdk.i586.rpm error: failed dependencies: libasound.so.1 is needed by kdelibs-2.2-1mdk libpcreposix.so.0 is needed by kdelibs-2.2-1mdk libpcre.so.0 is needed by kdelibs-2.2-1mdk Any idea where I get these libs from? Also, what is the order of installation - which RPMs go first? Thank you, Aleksey On Thu, 16 Aug 2001, Digital Wokan wrote: I've found everything for doing the upgrade to KDE 2.2 (had to d/l from ftp.kde.org). The only problem is that while egcs-c++-1.1.2-44mdk provides libstdc++-libc6.1-2.so.3, the kdesupport rpm doesn't seem to accept this. Does a package have to list a file in itself for it to be considered installed to other packages? I always thought provides was for meta-provisions like webserver or something like that. Anyone wanting to install KDE 2.2 may want to --nodeps the install of kdesupport unless someone releases an updated egcs-c++ package with the provides section fixed. Want to buy your Pack or Services from MandrakeSoft? Go to http://.mandrakestore.com
Re: [expert] Upgrading to KDE 2.2
Greetings, Could you describe how you did the upgrade? I am having a few problems as I attempt to do it. Did you install over 2.1.1 or remove it before? I also downloaded RPMs from ftp.kde.org - for Mandrake 8.0 i586 (should I download devel and static-devel RPMs?), but I get failed dependencies as I try to install: (I removed KDE 2.1.1 before trying to install 2.2, obviously from a command line) # rpm -Uvh kdelibs-2.2-1mdk.i586.rpm error: failed dependencies: libasound.so.1 is needed by kdelibs-2.2-1mdk libpcreposix.so.0 is needed by kdelibs-2.2-1mdk libpcre.so.0 is needed by kdelibs-2.2-1mdk Any idea where I get these libs from? Also, what is the order of installation - which RPMs go first? Thank you, Aleksey On Thu, 16 Aug 2001, Digital Wokan wrote: I've found everything for doing the upgrade to KDE 2.2 (had to d/l from ftp.kde.org). The only problem is that while egcs-c++-1.1.2-44mdk provides libstdc++-libc6.1-2.so.3, the kdesupport rpm doesn't seem to accept this. Does a package have to list a file in itself for it to be considered installed to other packages? I always thought provides was for meta-provisions like webserver or something like that. Anyone wanting to install KDE 2.2 may want to --nodeps the install of kdesupport unless someone releases an updated egcs-c++ package with the provides section fixed. Want to buy your Pack or Services from MandrakeSoft? Go to http://.mandrakestore.com
Re: [expert] 3com 3c90x
Civileme, I am in the same boat with Juha, I have a 3C905B-Combo and just can't get it to work using either DHCP or static setup (but it works in both ways under Win98). civileme wrote: I have three of those cards, identical in model number and decignation 3C905C types. All three run like champs under 8.0 with fixed IPs What driver module do you use? Can you load 3c90x? I get the same problem as Juha when I try to load it. 3c59x loads fine but gets me nowhere (no network connection) One will run with dchp but not with dhcpcd, only with dhcp-client. The others seem to be allergic to dhcp. 3C905Bs have no troubles whatsoever. Are your 3C905Bs combos (i.e. 3C905B-Combo), and if so then what interface do you actually use? Aleksey
Re: [expert] 3C905B-Combo network card
Pierre, here's my route -n output: [root@botik /root]# route -n Kernel IP routing table Destination Gateway Genmask Flags Metric RefUse Iface 136.183.128.0 0.0.0.0 255.255.224.0 U 0 00 eth0 127.0.0.0 0.0.0.0 255.0.0.0 U 0 00 lo 0.0.0.0 136.183.129.253 0.0.0.0 UG0 00 eth0 Here's the setup for my machine I got from our sys admins: IP: 136.183.132.47 Subnet: 255.255.224.0 gateway is 136.183.129.253 I am confused why there is a destination network 136.183.128.0 in my table, and not a 136.183.132.0. Does this make sense? Thank you, Aleksey Pierre Fortin wrote: Aleksey Naumov wrote: Hi, is anyone able to use a 3Com EtherLink 10/100 PCI 3C905B-Combo NIC with LM8.0? Mine is connected via 10Base2 (thinnet) with BNC connectors, works perfect under windows, but not at all in LM8.0. I can't ping my gateway or anything else, I get Destination Host Unreachable all the time. That usually indicates a routing problem; give us output from route -n... Pierre
[expert] 3C905B-Combo network card
Hi, is anyone able to use a 3Com EtherLink 10/100 PCI 3C905B-Combo NIC with LM8.0? Mine is connected via 10Base2 (thinnet) with BNC connectors, works perfect under windows, but not at all in LM8.0. I can't ping my gateway or anything else, I get Destination Host Unreachable all the time. I am thinking, could it be because the card chooses the wrong interface, say 10BaseT instead of 10Base2? The 3c59x module loads fine (but gets me nowhere), but I can't find out if it accepts any options, such as the interface... The newer 3c90x does not load at all. It gives: [root@botik 3c90x-1.0.0]# insmod 3c90x Using /lib/modules/2.4.3-20mdk/kernel/drivers/net/3c90x.o.gz Warning: /lib/modules/2.4.3-20mdk/kernel/drivers/net/3c90x.o.gz parameter switchdelay has max min! /lib/modules/2.4.3-20mdk/kernel/drivers/net/3c90x.o.gz: init_module: No such device Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters or if I try to set media to 10Base2: [root@botik 3c90x-1.0.0]# insmod 3c90x media_select=3 Using /lib/modules/2.4.3-20mdk/kernel/drivers/net/3c90x.o.gz Warning: /lib/modules/2.4.3-20mdk/kernel/drivers/net/3c90x.o.gz parameter switchdelay has max min! /lib/modules/2.4.3-20mdk/kernel/drivers/net/3c90x.o.gz: unknown parameter type 'M' for media_select Has anyone been able to load the 3c90x module, especially with this card? I also downloaded the source for 3c90x and tried to compile it, but got lots of warnings and errors. Has anyone done this? Would you share how to? Thank you, Aleksey
Re: [expert] Network problem: problem with 3Com card setup? [Was:can't connect via DHCP]
David, Thank you very much for your help, it took me a while to digect it, plus other things changed as well. Most importantly -- DHCP is not the source of my problem. Our computer admins assigned me a static IP address (with a subnet mask, gateway and 3 DNS servers), but the story is the same -- it works under Windows (I plugged the IP numbers instead of DHCP, just to see that it works in Win), but not in Linux... I've done networking setup many times since, through linuxconf and directly editing /etc/hosts, /etc/resolv.conf, etc... I start to think that there is a problem with the card setup. Maybe a bad IRQ sharing? Is there any way to run some diagnostic in Linux to see if the card setup is ok? I am grateful for any suggestions... David Rankin wrote: Uhh.., I think I know what your problem is. (Guys on the list -- tell me if I'm wrong) Your modules files should be '.o' not '.o.gz'. I don't think modprobe or anything else for that reason will unzip a module for use. Here is how to test the 3c90x.o driver. No, it seems it is the other way around -- modprobe seems to look for a .o.gz file. I uncompressed the 3c90x module (btw, all modules in drivers are compressed), and then modprobe couldn't find it: [root@botik net]# pwd /lib/modules/2.4.3-20mdk/kernel/drivers/net [root@botik net]# gunzip 3c90x.o.gz [root@botik net]# cd .. [root@botik drivers]# ll net/3c* -rw-r--r--1 root root 4078 Apr 15 17:14 net/3c501.o.gz -rw-r--r--1 root root 4006 Apr 15 17:14 net/3c503.o.gz -rw-r--r--1 root root 9326 Apr 15 17:14 net/3c505.o.gz -rw-r--r--1 root root 4641 Apr 15 17:14 net/3c507.o.gz -rw-r--r--1 root root 5890 Apr 15 17:14 net/3c509.o.gz -rw-r--r--1 root root 9910 Apr 15 17:14 net/3c515.o.gz -rw-r--r--1 root root16191 Apr 15 17:14 net/3c59x.o.gz -rw-r--r--1 root root31276 Apr 15 17:14 net/3c90x.o [root@botik drivers]# modprobe -t net 3c90x modprobe: Can't locate module 3c90x which is needed for 3c90x Then I compressed it back, and it's found, but doesn't load: [root@botik drivers]# ll net/3c* -rw-r--r--1 root root 4078 Apr 15 17:14 net/3c501.o.gz -rw-r--r--1 root root 4006 Apr 15 17:14 net/3c503.o.gz -rw-r--r--1 root root 9326 Apr 15 17:14 net/3c505.o.gz -rw-r--r--1 root root 4641 Apr 15 17:14 net/3c507.o.gz -rw-r--r--1 root root 5890 Apr 15 17:14 net/3c509.o.gz -rw-r--r--1 root root 9910 Apr 15 17:14 net/3c515.o.gz -rw-r--r--1 root root16191 Apr 15 17:14 net/3c59x.o.gz -rw-r--r--1 root root14468 Apr 15 17:14 net/3c90x.o.gz [root@botik drivers]# modprobe -t net 3c90x Warning: /lib/modules/2.4.3-20mdk/kernel/drivers/net/3c90x.o.gz parameter switchdelay has max min! /lib/modules/2.4.3-20mdk/kernel/drivers/net/3c90x.o.gz: init_module: No such device Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters /lib/modules/2.4.3-20mdk/kernel/drivers/net/3c90x.o.gz: insmod /lib/modules/2.4.3-20mdk/kernel/drivers/net/3c90x.o.gz failed /lib/modules/2.4.3-20mdk/kernel/drivers/net/3c90x.o.gz: insmod 3c90x failed (1) change to your modules directory for your system. Mine is /lib/modules/2.2.17-21mdk (2) the network modules should be in /lib/modules/2.2.17-21mdk/net It seems Mandrake 8.0 uses a slightly different layout: I found 3c90x.o.gz in /lib/modules/2.4.3-20mdk/kernel/drivers/net (see above). (3) from /lib/modules/2.2.17-21mdk do ls net/3c* to make sure you have 3c90x.o (4) do modprobe -t net 3c90x or modprobe -t net 3c* (to try all 3com drivers) Did that (see above), 3c59x loads just fine, 3c90x fails... (5) after doing modprobe, do lsmod. If modprobe was able to load the driver it will be listed lsmod lists 3c59x, seems ok, but Ethernet connection doesn't work... [root@botik drivers]# lsmod Module Size Used by es1371 27440 0 soundcore 3504 4 [es1371] ac97_codec 8688 0 [es1371] gameport1520 0 [es1371] 3c59x 24640 1 (autoclean) usb-uhci 20672 0 (unused) usbcore47248 1 [usb-uhci] ide-scsi7568 0 nls_iso8859-1 2848 1 (autoclean) nls_cp850 3584 1 (autoclean) vfat9040 1 (autoclean) fat30720 0 (autoclean) [vfat] supermount 32496 8 (autoclean) sd_mod 11048 0 (unused) scsi_mod 86036 2 [ide-scsi sd_mod] Thank you again, Aleksey
[expert] Network problem: can't connect via DHCP
Hi, Mandrake experts! I've just installed Mandrake 8.0 on my PII 400MHz HP at work. My computer is on a college network and connection is done with DHCP. The problem is that I can't get DHCP connection to work in Linux, while it works just fine in Win98. At boot time I get: Setting network parameters:[ OK ] Bringing up interface lo: [ OK ] Bringing up interface eth0: Determining IP information for eth0... failed. [FAILED] I've tried to play with dhcpcd parameters, but with no result: dhcpcd -v DHCP Client Daemon v.1.3.19-pl4 dhcpcd dhcpcd -r as well as playing woth the -h (host) option: dhcpcd -h foohost dhcpcd -h machine_name # name my machine is known as under Win dhcpcd -h machine_name.domainname I get the same message (in log): Apr 27 19:41:41 HAP429 dhcpcd[1355]: broadcasting DHCP_DISCOVER Apr 27 19:42:41 HAP429 dhcpcd[1355]: timed out waiting for a valid DHCP server response I also tried to use the pump daemon instead of dhcpcd: pump Operation failed. pump --win-client-ident Operation failed. as well as all -h options, but with the same result. At least pump daemon logs more info, but I don't know if it's useful. Does anyone? Here it is: Apr 27 19:37:23 HAP429 pumpd[1348]: PUMP: sending discover Apr 27 19:37:23 HAP429 pumpd[1348]: breq: opcode: 1 Apr 27 19:37:23 HAP429 pumpd[1348]: breq: hw: 1 Apr 27 19:37:23 HAP429 pumpd[1348]: breq: hwlength: 6 Apr 27 19:37:23 HAP429 pumpd[1348]: breq: hopcount: 0 Apr 27 19:37:23 HAP429 pumpd[1348]: breq: xid: 0xf5fba69c Apr 27 19:37:23 HAP429 pumpd[1348]: breq: secs: 0 Apr 27 19:37:23 HAP429 pumpd[1348]: breq: flags: 0x Apr 27 19:37:23 HAP429 pumpd[1348]: breq: ciaddr: 0.0.0.0 Apr 27 19:37:23 HAP429 pumpd[1348]: breq: yiaddr: 0.0.0.0 Apr 27 19:37:23 HAP429 pumpd[1348]: breq: server_ip: 0.0.0.0 Apr 27 19:37:23 HAP429 pumpd[1348]: breq: bootp_gw_ip: 0.0.0.0 Apr 27 19:37:23 HAP429 pumpd[1348]: breq: hwaddr: Apr 27 19:37:23 HAP429 pumpd[1348]: breq: servername: Apr 27 19:37:23 HAP429 pumpd[1348]: breq: bootfile: Apr 27 19:37:23 HAP429 pumpd[1348]: breq: vendor: 0x63 0x53 0x82 0x63 Apr 27 19:37:23 HAP429 pumpd[1348]: breq: vendor: 53 1 0x01 Apr 27 19:37:23 HAP429 pumpd[1348]: breq: vendor: 0xff Apr 27 19:37:23 HAP429 kernel: eth0: using NWAY device table, not 8 People in tech support were not very helpful (it's a Windows only campus). They gave me IP addresses for subnet, gateway and DHCP server, but what do I do with them? The DHCP server is probably run on NT. I've read the DHCP mini-howto, as well as other network howtos and I can't get this moving. I also went through network setup in Mandrake control center (as well as linuxconf), the Mandrake control center uses wizard and determines correctly that I am on a LAN and using DHCP, then reports that the network is set... and it isn't! Any ideas would be very much appreciated! Aleksey P.S. Could this be a problem with my Ethernet card rather than DHCP? It doesn't look like it to me (especially since it works perfectly under Win98), but just in case, here the info on my Ethernet card: - I have a 3Com 3c905B-Combo [Deluxe EtherLink XL 10/100] card. Of the 3 connectors the one that's is used is 10Base2 (thinnet with metal push-and-turn-to-lock). The driver used is 3c59x that came with the system. I tried to compile the newer 3c90x, but couldn't get it to compile. However, this is likely not a problem, since the Ethernet-HOWTO says that my card (3c905B) is supported by this driver (3c59x). I don't know how to check if the card itself works, but the following messages (from dmesg) make me think it's ok: dmesg ... 3c59x.c:LK1.1.13 27 Jan 2001 Donald Becker and others. http://www.scyld.com/network/vortex.html See Documentation/networking/vortex.txt eth0: 3Com PCI 3c905B Cyclone 10/100/BNC at 0x1400, 00:50:04:0a:fb:13, IRQ 11 product code 5545 rev 00.0 date 01-21-99 8K byte-wide RAM 5:3 Rx:Tx split, autoselect/Autonegotiate interface. MII transceiver found at address 24, status 782d. Enabling bus-master transmits and whole-frame receives. eth0: scatter/gather enabled. h/w checksums enabled eth0: using NWAY device table, not 8