[expert] samb file permission
Hi, Everytime users want to create a folder in the share, they get a prompt saying "They may not be able to access the folder". If they go ahead, they can still creat sub-folders, but cannot copy files to the folder. Would someone please give me some help? My config is as follows, [proj] comment = Project Documents path = /srv/proj read only = no create mask = 0660 directory mask = 0770 hide unreadable = yes [EMAIL PROTECTED] baseband]# getfacl general # file: general # owner: root # group: Domain Users user::rwx group::--- group:Proj Base Team:rwx group:Proj Base Man:rwx group:Proj Readers:r-x group:Bak Admins:rwx mask::rwx other::--- default:user::rwx default:group::--- default:group:Proj Base Team:rwx default:group:Bak Admins:rwx default:mask::rwx default:other::--- [EMAIL PROTECTED] general]# pwd /srv/proj/baseband/general **nmun cannot copy files into packaging** [EMAIL PROTECTED] general]# getfacl * # file: packaging # owner: nmun # group: Domain Users user::rwx group::rwx group:Proj Base Team:rwx group:Bak Admins:rwx mask::rwx other::--- default:user::rwx default:group::--- default:group:Proj Base Team:rwx default:group:Bak Admins:rwx default:mask::rwx default:other::--- Regards, Norman Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] samb file permission
Hi, Sorry. My mistake. Users were trying to move files that they don't have permission into the folders. Copying files or creating files does work. But they still get the prompt saying "You might not be able to access the files you created. Do you want to continue?" Is there a fix for this? I added force create mode = 0660 force directory mode = 0770 but problem still persists. drwxrws---5 root Domain Users 55 Dec 21 19:02 approval/ drwxrws---5 root Domain Users 55 Dec 21 19:02 baseband/ drwxrws---4 root Domain Users 43 Dec 21 19:02 DECT/ drwxrws---3 root Domain Users 22 Jan 5 17:44 id/ drwxrws---6 root Domain Users 63 Dec 21 19:02 market/ drwxrws--- 13 root Domain Users 4096 Dec 21 17:28 mis/ drwxrws---3 root Domain Users 56 Dec 21 19:03 prodev/ drwxrws---6 root Domain Users 59 Jan 5 17:54 quality/ drwxrws---6 root Domain Users 73 Jan 5 17:15 rf/ drwxrws---6 root Domain Users 53 Jan 5 17:24 software/ drwxrws---4 root Domain Users 35 Dec 21 17:20 support/ Regards, Norman - Original Message - From: "Bill Mullen" <[EMAIL PROTECTED]> Sent: Thursday, March 06, 2003 5:22 PM Subject: Re: [expert] samb file permission On Thu, 2003-03-06 at 16:52, Norman Zhang wrote: > Everytime users want to create a folder in the share, they get a prompt > saying "They may not be able to access the folder". If they go ahead, they > can still creat sub-folders, but cannot copy files to the folder. Would > someone please give me some help? My config is as follows, > > [proj] > comment = Project Documents > path = /srv/proj > read only = no > create mask = 0660 > directory mask = 0770 > hide unreadable = yes What does `ls -l /srv/proj` look like? Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] samba 2.2.7.a
Hi, Do I need to upgrade samba-2.2.7a-8.1mdk.src.rpm for the latest update? Or is the following packages are fine? samba-client-2.2.7a-8.1mdk.i586.rpm samba-common-2.2.7a-8.1mdk.i586.rpm samba-doc-2.2.7a-8.1mdk.i586.rpm samba-server-2.2.7a-8.1mdk.i586.rpm samba-swat-2.2.7a-8.1mdk.i586.rpm Regards, Norman Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] samba 2.2.7.a
Thanks. I guess src.rpm is not needed as it contains source for compiling. - Original Message - From: "Vincent Danen" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 17, 2003 11:44 AM Subject: Re: [expert] samba 2.2.7.a On Mon Mar 17, 2003 at 11:04:13AM -0800, Norman Zhang wrote: > Do I need to upgrade samba-2.2.7a-8.1mdk.src.rpm for the latest > update? Or is the following packages are fine? > > samba-client-2.2.7a-8.1mdk.i586.rpm > samba-common-2.2.7a-8.1mdk.i586.rpm > samba-doc-2.2.7a-8.1mdk.i586.rpm > samba-server-2.2.7a-8.1mdk.i586.rpm > samba-swat-2.2.7a-8.1mdk.i586.rpm There is no samba-2.2.7a-8.1mdk package. Anyways, use urpmi... then you don't have to worry about anything. =) You also didn't indicate which version you're using... *all* of the updated samba packages are 2.2.7a-8.1mdk so that doesn't really help us track down which mdk version you're using. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] radius+winbind
Hi, I'm looking to setup a RADIUS server in Mandrake 9.0 that authenticates with NT 4.0 Server. I'm thinking along the lines of Samba Winbind. Has anyone had any success in this config? Your comments and suggestions are greatly appreciated. Thanks, Norman Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] auto shut off
Hi, How do I enable LM9.1 to automatically shutdown my system when I choose turn off from the logoff menu? I see halt... power down... but I need to press the power button. Regards, Norman Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] startup script
Hi, I have vendor program at /opt/CA/uagent/uagent with symlink from /usr/lib/uagent. I would like to run this program after boot. So I created /etc/rc.d/init.d/uagent. When I tried chkconfig --add uagent. I get "Service uagent does not support chkconfig". Would someone please give me a few pointers. #!/bin/sh # # usagent Start CA BrightStor Linux Backup Agent. # This script starts /usr/bin/uagent # # chkconfig: 2345 90 20 # . /etc/rc.d/init.d/functions RETVAL = 0 case "$1" in start) action "Starting uagent" /usr/bin/uagent start return $RETVAL ;; stop) action "Stopping Uagent" /usr/bin/uagent stop return $RETVAL ;; status) action "Show Status of uagent" /usr/bin/uagent status return $RETVAL ;; *) gprintf "Usage: %s { status | start | stop }\n" "$0" exit 1 ;; esac exit 0 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] Re: startup script
Hi, > As you can see above I added the description. Don't know why but if you > skip this one it won't work under chkconfig. I ran into exactly the > same problem myself when doing one for my old company. Second question > would be do you really nee this to work at runlevels 2 and 4. > Escpecially 4 since that one isn't used. Thank you all for your help and suggestions. I have cleanup the code a little bit now it works. Thanks. #!/bin/sh # # usagent Start CA BrightStor Linux Backup Agent. # This script starts /usr/bin/uagent # # chkconfig: 2345 90 20 # description: Startup script for CA BrightStor Linux Backup Agent . /etc/rc.d/init.d/functions case "$1" in start) action "Starting uagent" /usr/bin/uagent start ;; stop) action "Stopping Uagent" /usr/bin/uagent stop ;; status) /usr/bin/uagent status ;; *) gprintf "Usage: %s { start | stop | status }\n" "$0" exit 1 ;; esac exit 0 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] raid remove
Hi, I'm currently running a software RAID-1. One of the hotswap disk has went down. I'm trying to remove the defected disk with echo "scsi remove-single-device 1 0 3 0" > /proc/scsi/scsi However when I checked /proc/scsi/scsi, the disk is listed in there. How do I remove it so I can proceed with adding a new device? host: scsi1 channel: 00 id: 03 lun: 00 I already removed from the array. Do I need dismount something? Please give me a couple of pointers. Thanks. Regards, Norman Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] Re: raid remove
Hi, Do I need to change anything in /etc/fstab and /etc/mtab? Regards, Norman > down. I'm trying to remove the defected disk with > > echo "scsi remove-single-device 1 0 3 0" > /proc/scsi/scsi > > However when I checked /proc/scsi/scsi, the disk is listed in there. How > do I remove it so I can proceed with adding a new device? > > host: scsi1 channel: 00 id: 03 lun: 00 > > I already removed from the array. Do I need dismount something? Please > give me a couple of pointers. Thanks. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] Re: raid remove
Hi, I tried to remove a hot-swap RAID1 SCSI disk from the chassis. So I issued the following command > raidsetfaulty /dev/md4 /dev/sdd6 > raidhotremove /dev/md4 /dev/sdd6 But got the following message, /dev/md4: cannot hot-remove disk: disk is not in array! So I presume the disk is offline or something, and issued the following command echo "scsi remove-single-device 1 0 3 0" > /proc/scsi/scsi When I checked the newly created /proc/scsi/scsi, the device is still listed in the file. I checked /proc/mdstat and saw the following md4: active raid1 scsi/host1/bus0/target2/lun0/part6[0] 521984 blocks [2/1][U_] How do I remove the device, so I can add a new device to reconstruct the array again? Please give me a few pointers? Regards, Norman Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] ntp error
Hi, I notice that ntp on 9.1 is not synchronizing. I did a more /var/log/messages | grep ntp, and got the following. Jul 8 16:19:48 www ntpd: ntpd shutdown succeeded Jul 8 16:21:49 www ntpdate[1000]: no server suitable for synchronization found Jul 8 16:21:49 www ntpd[1017]: ntpd [EMAIL PROTECTED] Tue May 7 02:44:50 EDT 2002 (1) Jul 8 16:21:49 www ntpd: ntpd startup succeeded Jul 8 16:21:49 www ntpd[1017]: precision = 17 usec Jul 8 16:21:49 www ntpd[1017]: kernel time discipline status 0040 Jul 8 16:21:49 www ntpd[1017]: frequency initialized -5.714 from /etc/ntp/drift Jul 8 16:21:49 www ntpd[1017]: bind() fd 8, family 2, port 123, addr 224.0.1.1, in_classd=1 flags=0 fails: Address already in use Jul 8 16:21:49 www ntpd[1017]: ...multicast address 224.0.1.1 using wildcard socket Jul 8 16:25:02 www ntpd[1017]: kernel time discipline status change 41 Does this mean the ntp server that I'm trying to sync is not replying? Regards, Norman Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] Re: ntp error
Hi, > ntpd is not configured for general use 'out of the box'. Its default > configuration assumes that you have a timeserver on your local > network, whcih is on subnet 224.0.1.1. > > The documentation good - read it. > > You have to choose some time servers on the internet, and add > entries for them in /etc/ntp.conf. Comment out the lines with > "multicastclient" and "broadcastdelay". I commented out multicastclient and broadcastdelay. But ntp still can't find a server to sync to. I'm actually trying to sync to server within my network using ntp. This server is able to retrieve time from the internet. I see the following when I do a more /var/log/messages | grep ntp Jul 9 11:07:10 www ntpd[4218]: ntpd [EMAIL PROTECTED] Tue May 7 02:44:50 EDT 2002 (1) Jul 9 11:07:10 www ntpd[4218]: precision = 28 usec Jul 9 11:07:10 www ntpd[4218]: kernel time discipline status 0040 Jul 9 11:07:10 www ntpd[4218]: frequency initialized -5.714 from /etc/ntp/drift Jul 9 11:07:10 www ntpd: ntpd startup succeeded Jul 9 11:07:45 www ntpd: logging to file p Jul 9 11:10:35 www ntpd[4218]: kernel time discipline status change 41 Am I missing something very trivial? Please help. Regards, Norman server 127.127.1.0 # local clock fudge 127.127.1.0 stratum 10 server 207.34.136.1 # my subnet ntp server driftfile /etc/ntp/drift #multicastclient # listen on default 224.0.1.1 #broadcastdelay 0.008 authenticate no #keys /etc/ntp/keys #trustedkey 65535 #requestkey 65535 #controlkey 65535 #restrict default ignore Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] Re: Backup Remote Windows 2000 Box with Linux
"Sevatio" wrote in message > What are some methods for doing full and incremental backups of files in > a Windows 2000 box located remotely using a mandrake box? Any > recommendations and sharing of your techniques would be greatly appreciated. You can share the backup folder in W2K, and map it in Linux using Samba. Then backup from there. HTH, Norman Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] perl(Authen::Smb::Smb)
Hi, I'm trying to upgrade to the latest squid-2.5 proxy server from cooker. However I get the following error [EMAIL PROTECTED] nzhang]# rpm -Uvh squid-2.5.STABLE2-2mdk.i586.rpm Preparing... ### [100%] 1:squid ### [100%] [EMAIL PROTECTED] nzhang]# rpm -Uvh squid-2.5.STABLE3-1mdk.i586.rpm error: failed dependencies: perl(Authen::Smb::Smb) is needed by squid-2.5.STABLE3-1mdk Would someone please give me a few pointers on how to troubleshoot this? Regards, Norman Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] Re: perl(Authen::Smb::Smb)
Hi Bill, >> I'm trying to upgrade to the latest squid-2.5 proxy server from >> cooker. > Onto a system running which release? I take it that it's not Cooker > that you're running on this box; this sort of mixing is prone to > these sorts of difficulties, you know ... if the box /is/ running > Cooker, then using urpmi to install rather than rpm should sort out > the dependencies nicely. I'm using LM9.1. >> However I get the following error >> >> [EMAIL PROTECTED] nzhang]# rpm -Uvh >> squid-2.5.STABLE2-2mdk.i586.rpm Preparing... >> ### [100%] >>1:squid >> ### [100%] >> [EMAIL PROTECTED] nzhang]# rpm -Uvh >> squid-2.5.STABLE3-1mdk.i586.rpm error: failed dependencies: >> perl(Authen::Smb::Smb) is needed by squid-2.5.STABLE3-1mdk >> >> Would someone please give me a few pointers on how to troubleshoot >> this? > This newer version of Squid needs a Perl module that the earlier one > did not, and that you don't already have. If you're familiar with > downloading and installing Perl modules with the CPAN system, you > might be able to get this module (and possibly others that this > Squid version may also require) that way, and thereby incorporate > it/them into your current local Perl installation ... if not, it is > entirely possible that trying to get it from Cooker will require a > wholesale updating of your Perl susbsystem (if Cooker is using a > newer Perl version than your current release does), and $DEITY > knows what else may need to be upgraded along with it; someone who > runs Cooker can address that aspect better than I can, once we know > what Mandrake release /you/ have running. I was thinking that it was compiled against some newer perl modules in cooker, but too scared to fiddle around it furthur. Would you know which particular perl module I need to update to satisfy this dependency? Thanks for your detail explanation. Regards, Norman Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] Re: perl(Authen::Smb::Smb)
Hi, Bill Mullen wrote: > ... which you really ought to do something about, Norman. I know that > Outbreak Express is a brain-dead mail app, but surely it has some > sort of way to turn off all the superfluous MIME nonsense and just > send plain text? It must, I've seen it done - I'm sure of it. Ask > around. I have always set OE to read and send in PLAIN text. So I don't realize the MIME part. But the following post doesn't seem to pickup MIME either... I will try Mozilla or KMail to see if the MIME part is visible. http://marc.theaimsgroup.com/?l=mandrake-expert&m=105845340228290&w=2 > But you haven't addressed the really important question - what is it > that you expect to get from the Cooker version of Squid that the > version that is known to install and work properly in Mandrake 9.1 > does not offer you? I need wb_group feature from the squid-2.5.STABLE3-1mdk.i586.rpm. wb_group allows proxy access per NT_Global_Group. It takes advantage of winbind from Samba. I managed to get this working by installing the previous squid-2.5.STABLE2-2mdk.i586.rpm (from cooker-no dependency error). Compiled squid-2.5.STABLE3 myself, copied wb_group to /usr/lib/squid. But that's a workaround. I was hoping the new cooker rpm would solve the problem. Regards, Norman [root nzhang]# rpm -Uvh squid-2.5.STABLE2-2mdk.i586.rpm Preparing... ### [100%] 1:squid ### [100%] [root nzhang]# rpm -Uvh squid-2.5.STABLE3-1mdk.i586.rpm error: failed dependencies: perl(Authen::Smb::Smb) is needed by squid-2.5.STABLE3-1mdk Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] Re: ATTN MANDRAKE: Kernel update and then everything is world writable?
Mandrake Linux Advisory: 24mdk Kernel Update Unsafe This is an urgent message for all 9.1 users. Please back out of the 24mdk kernel update and downgrade to 18mdk or 13mdk as soon as you are able. A problem exists in all kernels (except kernel-secure) where newly created files are created mode 0666 (world writeable) on any filesystem other than XFS, including remote NFS mounts. We are working hard to attempt to get this problem corrected with new kernels available in the next 24-48hrs. Thank you. -- MandrakeSoft Security; http://www.mandrakesecure.net/ Online Security Resource Book; http://linsec.ca/ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] postfix & cyrus-imapd
Hi, After installing cyrus-imapd from the contrib, I was prompted to convert the /var/lib/imap/mailboxes.db. But I get the following error not being able convert db3 to flat. Would someone please tell me how can I fix this? Regards, Norman [EMAIL PROTECTED] root]# rpm -Uvh cyrus-imapd-2.1.13-1mdk.i586.rpm Preparing...### [100%] 1:cyrus-imapd### [100%] This is the first time that this package is being installed but there's an existing /var/lib/imap/mailboxes.db file so it's not possible to know if the current configuration of the various cyrus databases corresponds to the compiled in options. Please BACK UP your configuration and spool directory and run the /usr/lib/cyrus-imapd/cvt_cyrusdb_all utility. Remember to assign a password to user cyrus in order to administer the server. [EMAIL PROTECTED] root]# /usr/lib/cyrus-imapd/cvt_cyrusdb_all chmod: changing permissions of `/var/lib/imap/tmp': Operation not permitted -bash: line 1: cd: /root: Permission denied file: Using regular magic file `/usr/share/cyrus-imapd/rpm/magic' Converting from /var/lib/imap/mailboxes.db (db3) to /var/lib/imap/mailboxes.db.flat (flat) fatal error: can't initialize old database ERROR: unable to convert /var/lib/imap/mailboxes.db from db3 to flat file: Using regular magic file `/usr/share/cyrus-imapd/rpm/magic' Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] start x windows from remote login
Hi, What's the best way to "startx" using remote login? Regards, Norman Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] sftp & ssh
Hi, Since ssh now supports sftp. Is it still recommended to use sftp on port 115? Or it is preferred to sftp into port 22 instead? Where in the log do I see sftp connection? Regards, Norman Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] Re: postfix & cyrus-imapd
Hi, >> After installing cyrus-imapd from the contrib, I was prompted to convert >> the /var/lib/imap/mailboxes.db. But I get the following error not being >> able convert db3 to flat. Would someone please tell me how can I fix this? > > Why was /var/lib/imap/mailboxes.db there? I guess it is from my manual installation. > If there's no useful data there, I suggest you remove the rpm, rm -rf > /var/lib/imap, rm -rf /var/spool/imap and reinstall the rpm. > Otherwise, if you have previuosly compiled cyrus-imapd yourself *and* I followed exactly you suggestions, since I only had a root account on it. This is my test box for postfix & cyrus-imapd. Now may I ask how do I add the root account or new accounts to cyrus? Regards, Norman Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] root
In 8.2 I can creat a /root partition on its own, but in 9.0 I can longer do that. When I try, I get a prompt telling me that /root should be with the root partition. Can I still create /root on its own? If not why not? Thanks. Norman Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert]
In 8.2 I can creat a /root partition on its own, but in 9.0 I can longer do that. When I try, I get a prompt telling me that /root should be with the root partition. Can I still create /root on its own? If not why not? Thanks. Norman Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] DNS
- Original Message - From: "hans privat" <[EMAIL PROTECTED]> : have theat situation : : mdk-box 8.2 on internet : mdk-box 8.2 workstation : mdk-box 8.2 workstation : rh-8.0 workstation Since you have 4 boxes. Maybe it is easier for you to create a /etc/hosts file for the the 4 boxes. Likewise it would be easier for you to assign static IP to the 4 boxes instead of using DHCP. You save some $ on electricity with that too ;) : now the first mdk-box will be settet up as a firewall- and : masquerade-box : : for an efficient operating I should install a DNS-System for my : local-network. so far so good, but whichone of the above mentioned boxes : should be configured as the DNS-Server ? and whichone should be the the : 2nd DNS-server ? If you still want to setup DNS and DHCP. I would recommend you put them on a different box from your firewall box. So people cannot use DNS or DHCP ports to hack your firwall. If one box is compromised they still have to hack the other box. Theoretically, you should have a dedicated box for firewall alone. Regards, Norman Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] Duplex Printing
I have setup HP 2200D on the LM 9.0 box. For all duplex print jobs the reverse side is always printed upside down. (i.e., flipped on the short edge) I cannot find a way to configure this in KDE3. Is there a way I can configure it to flip on the long edge? Regards, Norman Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Duplex Printing
: - Original Message - : From: "Barry Rountree" <[EMAIL PROTECTED]> : To: <[EMAIL PROTECTED]> : Sent: Wednesday, October 16, 2002 12:11 AM : Subject: Re: [expert] Duplex Printing : : This is the wrong way of doing it, but it works. : : Open up KPresenter (or any other K application, perhaps). File->Print : (verify you're using CUPS and the HP2200D is selected) ->Properties : and start playing the duplex printing settings. Be sure to hit save, then : cancel out of it. Then try printing again. : : There's a bug (or a really bad policy decision, or something I'm missing) : that lets KPresenter (and others?) affect printer settings for (all?) other : programs. I've verified that ghostscript and Open|Star Office are affected. : : If you want to follow along, I've submitted the problem as Mandrake Expert : incident #35156 and sent a note over to the cooker list. No it didn't work. When I made the change as you described, I end up printing single sided. So it is a bug indeed. I need to go into printerdrake\change printing system to make it to flip on long edge. This option is really hidden from the user. Bad design from Mandrake. : (Keep in mind that although we have the same printer, same distro & version, : and it looks like we have the same problem, I could be completely wrong...) Thanks, Norman Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Duplex Printing
- Original Message - From: "Ron Stodden" <[EMAIL PROTECTED]> To: "Mandrake Expert" <[EMAIL PROTECTED]> Sent: Tuesday, October 15, 2002 11:18 PM Subject: Re: [expert] Duplex Printing : Which of the drivers for HP 2200D are you using? : : Are you using CUPS? : : Did you set up as root with printerdrake? : : And what call do you put in your applications? : For KDE 'kprinter -stdin' is probably the most useful. : : This will give you the option of which edge to duplex on (none, long, : short). : : What happens when you print Reverse Portrait? Is the obverse page now : the same orientation as the front? Thanks for your hints and suggestions. I ended fixing the problem in printerdrake (i.e., Mandrake Control Center\Hardware\Printer\Change the printing system). It was not obvious. Configuration\Printing and Configuration\KDE\System\Printing Manager didn't work... Beats me. Mandrake developers, are you listening? Thanks, Norman Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] hot-swap breaks raid-1
Hi, I took out a hot-swap SCSI HD and re-insert it back in. But RAID-1 breaks. The following were found in /var/log/kernel/errors Oct 22 10:58:29 testsamba kernel: md: superblock update time inconsistency -- using the most recent one Oct 22 10:58:29 testsamba kernel: raid1: md0, not all disks are operational -- trying to recover array Oct 22 10:58:29 testsamba kernel: md0: no spare disk to reconstruct array! -- continuing in degraded mode Oct 22 10:58:29 testsamba kernel: md1: no spare disk to reconstruct array! -- continuing in degraded mode Oct 22 10:58:29 testsamba kernel: md3: no spare disk to reconstruct array! -- continuing in degraded mode Oct 22 10:58:29 testsamba kernel: md4: no spare disk to reconstruct array! -- continuing in degraded mode Oct 22 10:58:29 testsamba kernel: md5: no spare disk to reconstruct array! -- continuing in degraded mode How do I fix RAID-1? It also breaks samba too. Regards, Norman Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] mozilla bug
Hi, I discovered a reproduced mozilla 1.1 bug in LM 9.0. Would someone test if this also true on his/her machine? To activate it select \Edit\Preferences...\Mail & Newsgroups\Addressing. Norman Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] mozilla bug
On my machine Mozilla just closes automatically. By selecting those key sequence. At first I thought I clicked the close button by accident. But I could repeat that by going through the Preferences... and mozilla quits. Obviously it is not reproducible on your machine. So the bug is more subtle. I did open mozilla mail and added some newsgroups and changed my email address before selecting \Edit\Preferences...\Mail & Newsgroups\Addressing. I will tried again and report this to bugzilla. Sorry that I wasted your time. Norman - Original Message - From: "Michael Biddulph" <[EMAIL PROTECTED]> On Fri, 25 Oct 2002 7:32 am, Lorne wrote: > On Thursday 24 October 2002 09:20 pm, Norman Zhang wrote: > > Hi, > > > > I discovered a reproduced mozilla 1.1 bug in LM 9.0. Would someone test > > if this also true on his/her machine? To activate it select > > \Edit\Preferences...\Mail & Newsgroups\Addressing. > > > > Norman > > Okay, I did that. What next? Me too, what is the bug exactly? Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] mozilla bug
John Haywood wrote: Instead just mv ~/.mozilla ~/.mozilla.old, then move stuff back until it crashes again. (you don't have to move the all the stuff back - cache files spring to mind) I suspect the bug will reappear with this. But should we care if it works 8) Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] usernames
Hi, How do I disable login names on the login screen? I think msec does it. But I don't want all there features. Is there a config file I can edit? Regads, Norman Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] usernames
: > How do I disable login names on the login screen? I think : > msec does it. But I don't want all there features. Is there : > a config file I can edit? : : it's a gdm or kdm thing, depending on which you use. I'm using kdm. Which file do I edit? Am I in right folder with /usr/share/config/kdm/? Regards, Norman Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] usernames
Thanks everyone for your help. I found out that you can edit /usr/share/config/kdm/kdmrc and change ShowUsers=None under [X-*-greeter] Norman Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] where's pine?
If you still wants to use it, you can grab it off here http://rpmfind.net/linux/rpm2html/search.php?query=pine&submit=Search+...&sy stem=Red+Hat&arch= or http://rpmfind.net/linux/rpm2html/search.php?query=pine&submit=Search+...&sy stem=mandrake&arch= Norman Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Hardware ide raid question
Did you try searching through lkml http://marc.theaimsgroup.com/?l=linux-kernel&r=1&w=2? I remember seeing something of Promise support while back... Another option is try Adaptec. HTH Norman - Original Message - From: "Benoit Joseph" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, November 05, 2002 10:16 AM Subject: [expert] Hardware ide raid question The ide raid controler is Promise 20276 and it seems it does not work under Linux. Can someone tell me if there are solutions for this controller with any of the two distributions above. Maybe some module or kernel parameters...?? I've already looked on google and I've found something for RH7.2. If there is no way to get this controller working, wich ide raid controller do you recommend? Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] adding icons
Hi, I have downloaded the crystal icons from www.kde-look.org. Now I tried to install the icons using Configuration\KDE\Look N Feel\Icons\Theme\Install New Themes... but can't install the icons. There are only *.ico files from downloaded file. I can see the icons in preview but cannot use them :( I followed the exact instructions given on the web site and by others but just can't get it to work. Is this a problem with LM9.0? Or am I missing some packages? Your help is greatly appreciated. Regards, Norman Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] adding icons
My bad. I think I downloaded the file for Windows XP. It is .zip not .tar.gz. No wonder I can't install. I will try again. Sorry. Norman James Sparenberg wrote: go to the kcontrol center. click on look and feel then icons. click on the folder at the bottom and surf to the still gzipped file I want to install. Then click on install new icon theme wait a few seconds.. and the theme is available. James On Thu, 2002-11-14 at 23:10, Norman Zhang wrote: I have downloaded the crystal icons from www.kde-look.org. Now I tried to install the icons using Configuration\KDE\Look N Feel\Icons\Theme\Install New Themes... but can't install the icons. There are only *.ico files from downloaded file. I can see the icons in preview but cannot use them :( I followed the exact instructions given Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] RealOne
: Has anyone got RealOne to work on Mandrake Release 9 ? I think i made : the error of not uninstalling Real 8 first. Which dir should it go into It works fine for me. But it still crashes every once a while... # rpm -Uvh Try this link. http://forms.real.com/real/player/unix/unix.html?src=111302realhome_1 Norman Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] root telnet
Hi, >From \Mandrake Control Center\Security\System Options\, I see allow_remote_root_login is set to default (enabled). But I can't seem to telnet into LM 9.0 with root. I can however telnet using other users. How do I enable root telnet? I need it for backup job access. Regards, Norman Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] root telnet
Thanks. I will use ssh in the future. But I just need telent now to verify the backup works. I see /etc/securetty/ contains tty1 to tty6. When I do a ps aux, I see JohnDoe is telnet in using pts/1. How do enabled root tlent for now? Added pts/1 to /etc/securetty? I will try... Regads, Norman - Original Message - From: "Gonzalo Avaria" <[EMAIL PROTECTED]> To: "Norman Zhang" <[EMAIL PROTECTED]> Sent: Monday, November 18, 2002 3:26 PM Subject: Re: [expert] root telnet Hi Norman, my advice, from a not so expert linux user is, DO NOT use telnet, it's very insecure for sending info. Just work with ssh, it's a lot better. I've been working on ssh from my work to my home, and it was no trouble. If you want to install ssh, go to the http://www.mandrakeuser.org It has a nice tutorial about installing ssh. That should be all, SALUDOS Gonzalo --- Norman Zhang <[EMAIL PROTECTED]> escribió: > Hi, > > From \Mandrake Control Center\Security\System > Options\, I see > allow_remote_root_login is set to default (enabled). > But I can't seem to > telnet into LM 9.0 with root. I can however telnet > using other users. How do > I enable root telnet? I need it for backup job > access. > > Regards, > Norman > > > > Want to buy your Pack or Services from MandrakeSoft? > > Go to http://www.mandrakestore.com > = Gonzalo Avaria Alumno de Licenciatura en Fisica Facultad de Cs. Fisicas y Matematicas Universidad de Concepcion CHILE _ Do You Yahoo!? Información de Estados Unidos y América Latina, en Yahoo! Noticias. VisÃtanos en http://noticias.espanol.yahoo.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] root telnet
: When I do a ps aux, I see JohnDoe is telnet in : using pts/1. How do enabled root tlent for now? : Added pts/1 to /etc/securetty? I will try... Yup. It works 8) Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] ARCServe Backup
Hi, I've done some googling, some sites claims that LM works with ARCServe. I can backup Samba share on LM 9.0 with ARCServe, but cannot backup the file permissions. When I tried the Linux Agent came with ARCServe, it keeps on prompting me for password. Though I type in the right password, I still cannot get in. I checked port 6051 is opened on LM box and Windows NT box. Would someone care to share with me their experience? Is something block by default (for security reasons)? I'm trying to backup the Linux files from a NT backup server through LAN. Regards, Norman Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] boot partition
Hi, I have an Intel Server (SE7500WV2S) that comes with Intel server monitor software. The software is installed on the a service partition on the first disk (/sda1). Then I installed LM9.0 with boot partition on (/sda5). But system won't boot even I set LILO to load /sda5 during the setup process. When I turn on the computer I see ... on the screen. Would someone please help? Regards, Norman Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] boot partition
I resolved this by moving the service partition to /sdb1 and reinstall LM 9.0 to /sda1. LILO then boots fine. Norman - Original Message - From: "Norman Zhang" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, December 16, 2002 4:26 PM Subject: [expert] boot partition > I have an Intel Server (SE7500WV2S) that comes with Intel server monitor > software. The software is installed on the a service partition on the first > disk (/sda1). Then I installed LM9.0 with boot partition on (/sda5). But > system won't boot even I set LILO to load /sda5 during the setup process. > When I turn on the computer I see ... on the screen. Would someone > please help? Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] samba upgrade
Hi, LM 9.0 can setup to authenticate using winbind. When I do wbinfo -u, only users of my NT domain is listed, e.g., user_a user_b ... Now I upgrade to 2.2.7 using Mandrake update, and wbinfo -u, I see e.g., DOMAIN\user_a DOMAIN\user_b ... How do I make DOMAIN go away? Regards, Norman Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] unable to mount root fs
Hi, I installed LM 9.0 on my Asus XG-DLS server board. Install was successful, but as soon as I rebooted I get the message Kernel panic: VFS: Unable to mount root fs on 09:05 I have lastest BIOS installed. 8.3 runs fine on this machine before. Does anyone know how I can solve this? Regards, Norman Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] Re: unable to mount root fs
Hi, I tried updating after install. But when it reboots, I get EXT3-fs: unable to read superblock mount: error 22 mounting ext3 flags Kernel panic: No init found. Try passing in it= option to kernel Would someone please give me some pointers here? Thanks, Norman : I installed LM 9.0 on my Asus XG-DLS server board. Install was successful, : but as soon as I rebooted I get the message : : Kernel panic: VFS: Unable to mount root fs on 09:05 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] clear mandrake-update list
Hi, LM 8.2 seems to get the security update list wrong. How do I reset it or rebuild the database list? Regards, Norman Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] cups
Hi, How do I add a printer to Linux using CUPS. I have a Intel NetPro Print Server with 2 parallel ports and 1 serial port. I'm trying to hook up to it and access parallel port 1 (factory default for this port is 3001). So I tried making a connection using 192.168.xx.yy. port 3001 with no driver using webmin. I can add the printer but when I tried to print a test page, I get Error - Perl execution failed Undefined subroutine &main::quotemeta at cups-lib.pl line 267. Would someone kindly offer their experience on this? Thanks. Regards, Norman Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] cups
Hi, After some researching 8) I need to set cups to use lpd://192.168.xx.yy/queue_name to get it to print. Regards, Norman - Original Message - From: "Norman Zhang" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, January 10, 2003 3:50 PM Subject: [expert] cups Hi, How do I add a printer to Linux using CUPS. I have a Intel NetPro Print Server with 2 parallel ports and 1 serial port. I'm trying to hook up to it and access parallel port 1 (factory default for this port is 3001). So I tried making a connection using 192.168.xx.yy. port 3001 with no driver using webmin. I can add the printer but when I tried to print a test page, I get Error - Perl execution failed Undefined subroutine &main::quotemeta at cups-lib.pl line 267. Would someone kindly offer their experience on this? Thanks. Regards, Norman 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] printer driver in samba
Hi, I'm trying to add driver to the print$ share in Windows 2000 as a printer administrator. But after selecting Printers/Server Properties/Drivers, all tabs cannot be selected (grayed out). Is there a way I can enable them so workstations can automatically install the print drivers? The print$ path is /var/lib/samba/printers, and permission is set to 755 with user:group=root:root. I tried 777 and change group to printer admin but nothing worked. Would someone please help? Regards, Norman Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] printer driver in samba
Hi Buchan, : > I'm trying to add driver to the print$ share in Windows 2000 as a printer : > administrator. But after selecting Printers/Server Properties/Drivers, all : > tabs cannot be selected (grayed out). : : You need to be listed in 'printer admin group' or a member of such a : group, such as: : : printer admin group = @adm root : etc : : BTW, process is like this, browse to the Printers share on the machine, : right-click the printer, choose properties, say no when offered to : install a driver, click advanced, choose "New Driver". I do have printer_admin = @"MYNTDOMAIN\Print Admins", root. I also set my Print Admins to be the primary group for the operators. I also tried the process you described, but I still got access denied. Does this have to do with CUPS? Do I need to use cupsaddsmb? But I can't find the PPD from CUPS. They were available in the CUPS web config. : > Is there a way I can enable them so : > workstations can automatically install the print drivers? The print$ path is : > /var/lib/samba/printers, and permission is set to 755 with : > user:group=root:root. I tried 777 and change group to printer admin but : > nothing worked. Would someone please help? : : Well, you should also have some directories under there such as W32X86 etc : : Check the perms of those, and also ensure the share has enabled write : for whoever is trying to upload drivers. All subfolder are there. It is 755 for all subfolders. The subfolders were created by Mandrake by default. I even did a setfacl -m g:"ARKONDOMAIN\Print Admins":rwx /var/lib/samba/printers, and gave rx access for all parent folders. But still unsuccessful 8( Please help. Regards, Norman Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] printer driver in samba
Hi Buchan and Everyone, I'm not sure if I have tracked this down or not? I setup my printer in CUPS as raw device, as it is a HP LaserJet 5P (no postscript). I tried putting the the PPD, Adobe Postscript Printer Drivers and CUPS drivers in /usr/share/samba/drivers. But can't seem to transferred them to /var/lib/samba/printers as cupsaddsmb keeps on complaining that no PPD found for HP5P. I'm pretty sure the right PPDs are there. I tried the ones come with /usr/share/cups/model/ and the ones on HP's site. But none works. Would someone please give me some advice here? Thanks. Regards, Norman --- Hi Buchan, :> I'm trying to add driver to the print$ share in Windows 2000 as a :> printer administrator. But after selecting Printers/Server :> Properties/Drivers, all tabs cannot be selected (grayed out). : : You need to be listed in 'printer admin group' or a member of such a : group, such as: : : printer admin group = @adm root : etc : : BTW, process is like this, browse to the Printers share on the machine, : right-click the printer, choose properties, say no when offered to : install a driver, click advanced, choose "New Driver". I do have printer_admin = @"MYNTDOMAIN\Print Admins", root. I also set my Print Admins to be the primary group for the operators. I also tried the process you described, but I still got access denied. Does this have to do with CUPS? Do I need to use cupsaddsmb? But I can't find the PPD from CUPS. They were available in the CUPS web config. :> Is there a way I can enable them so workstations can automatically :> install the print drivers? The print$ path is /var/lib/samba/printers, :> and permission is set to 755 with user:group=root:root. I tried 777 and :> change group to printer admin but nothing worked. Would someone please :> help? : : Well, you should also have some directories under there such as W32X86 etc : : Check the perms of those, and also ensure the share has enabled write : for whoever is trying to upload drivers. All subfolder are there. It is 755 for all subfolders. The subfolders were created by Mandrake by default. I even did a setfacl -m g:"ARKONDOMAIN\Print Admins":rwx /var/lib/samba/printers, and gave rx access for all parent folders. But still unsuccessful 8( Please help. Regards, Norman Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] printer driver in samba
Hi Buchan and All, I have appended my smb.conf at the bottom of this email for you to review. Your comments are greatly appreciated. I have also appended some additional info of my LM9.0 system. Regards, Norman I'm trying to add driver to the print$ share in Windows 2000 as a printer administrator. But after selecting Printers/Server Properties/Drivers, all tabs cannot be selected (grayed out). ::: ::: You need to be listed in 'printer admin group' or a member of such a ::: group, such as: ::: ::: printer admin group = @adm root ::: etc ::: ::: BTW, process is like this, browse to the Printers share on the ::: machine, right-click the printer, choose properties, say no when ::: offered to install a driver, click advanced, choose "New Driver". :: :: I do have printer_admin = @"MYNTDOMAIN\Print Admins", root. I also :: set my Print Admins to be the primary group for the operators. I :: also tried the process you described, but I still got access denied. :: Does this have to do with CUPS? Do I need to use cupsaddsmb? But I :: can't find the PPD from CUPS. They were available in the CUPS web :: config. : : No, if you use the cupsaddsmb, you end up using generic ps drivers on : the windows clients, in most cases you want the windows driver to be : installed there. Thank you. I guess I won't proceed with cupsaddsmb further. ::: Well, you should also have some directories under there such as ::: W32X86 etc. Check the perms of those, and also ensure the share has ::: enabled write for whoever is trying to upload drivers. :: :: All subfolder are there. It is 755 for all subfolders. The :: subfolders were created by Mandrake by default. I even did a :: setfacl -m g:"ARKONDOMAIN\Print Admins":rwx /var/lib/samba/printers, :: and gave rx access for all parent folders. But still unsuccessful 8( :: Please help. : : You need write access to the folders *below* /var/lib/samba/printers, so : try: : # setfacl -d -m g:"ARKONDOMAIN\Print Admins":rwx /var/lib/samba/printers : :: Regards, :: Norman : : It might help to send me your whole smb.conf so I can see exactly how : you are setup. I tried changing the winbind separator to \ # Samba config file created using SWAT # from 0.0.0.0 (0.0.0.0) # Date: 2003/01/14 14:44:12 # Global parameters [global] workgroup = ARKONDOMAIN netbios name = PRNSERVER server string = Samba Server %v security = DOMAIN encrypt passwords = Yes obey pam restrictions = Yes password server = PDCSERVER log file = /var/log/samba/log.%m max log size = 50 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 printcap name = cups character set = ISO8859-15 os level = 18 preferred master = No local master = No domain master = No dns proxy = No winbind uid = 1-2 winbind gid = 1-2 template shell = /bin/bash winbind separator = + winbind use default domain = Yes printer admin = root, @"ARKONDOMAIN\Print Admins" printing = cups print command = lp -d %p -o raw %s; rm -f %s [hp5p] comment = HP LaserJet 5P--Show Room path = /var/spool/samba/hp5p guest ok = Yes printable = Yes print command = lpr-cups -P %p -o raw %s printer name = hp5p [print$] comment = Printer Drivers path = /var/lib/samba/printers write list = root, @"ARKONDOMAIN\Print Admins" guest ok = Yes dos filetimes = Yes [printers] comment = All Printers path = /var/spool/samba guest ok = Yes printable = Yes browseable = No [root@prn root]# setfacl -d -m g:"Print Admins":rwx /var/lib/samba/printers/ [root@prn root]# getfacl /var/lib/samba/printers getfacl: Removing leading '/' from absolute path names # file: var/lib/samba/printers # owner: root # group: root user::rwx group::r-x group:Print Admins:rwx mask::rwx other::r-x default:user::rwx default:group::r-x default:group:Print Admins:rwx default:mask::rwx default:other::r-x [root@prn root]# smbstatus Samba version 2.2.7 Service uid gid pid machine -- IPC$ ARKONDOMAIN+domainadmin ARKONDOMAIN+Print Admins 5178 2139-1-20 (192.168.22.34) Tue Jan 14 14:45:23 2003 IPC$ ARKONDOMAIN+domainadmin ARKONDOMAIN+Print Admins 5178 2139-1-20 (192.168.22.34) Tue Jan 14 14:44:49 2003 No locked files [root@prn printers]# ls -l total 20 drwxrwxr-x2 root root6 Nov 25 10:15 W32ALPHA/ drwxrwxr-x2 root root6 Nov 25 10:15 W32MIPS/ drwxrwxr-x2 root root6 Nov 25 10:15 W32PPC/ drwxrwxr-x2 root root6 Nov 25 10:15 W32X86/ drwxrwxr-x2 root root6 Nov 25 10:15 WIN40/ [root@prn printers]# pwd /var/lib/samba/printers [root@prn drivers]# ls ADFONTS.MFM ADOBEPS5.DLL cupsdrvr.dll DEFPRTR2.PPD PSMON.DLL ADOBEPS4.DRV ADOBEPSU.DLL cups.hlp hplj5p_1.ppd ADOBEPS4.HLP ADOBEPSU.HLP cupsui.dllICONLIB.DLL [root@prn drivers]# pwd /usr/share/cups/drivers [root@prn drivers]# getfacl /usr/share/cups/drivers getfacl: Removing leading '/' from absolute path names #
Re: [expert] printer driver in samba
Hi Buchan and All, : Did you join the domain? I assume it's a windows (NT or 2k?) : domain? Yes it is joined to the NT PDC. wbinfo -t says secret is good. : The default is "\", comment it out rather, as it's quite : difficult to get it right (you must have the quotes). Also, : for ACLs etc, it might be worthwhile disabling 'winbind use : default domain', at least to test ... I think the mismatched winbind separator is the cause. I made write_list and print_admin @"MyDomain\Print Admins" and the winbdin separator to "\". : This looks a bit suspect ... the one below for your hp5p loks : right : > print command = lp -d %p -o raw %s; rm -f %s Thanks I copied that from Samba Essentials for Windows Administrator 8( But I'm able to print on the LM9.0 box. : > [hp5p] : > comment = HP LaserJet 5P--Show Room : : You should use /var/spool/samba here unless you reall know what : you are doing. Anyway, in most cases you don't need per-printer : config, unless your printing defaults (in [printers]) are wrong. Thanks I changed that as well. I now successfully uploaded the W2K drivers from a W2K workstation. But can't upload NT4.0 drivers. I tried on a NT4.0 workstation it says they are uploaded, but I checked the directory. It's empty. Do you know why? Also I can't upload drivers by browsing server properties in printers. I can only do it by selecting the printer then add new driver. The books tells me otherwise. Also the print job from a windows machine prints out a page with some PJL commands, then a page of the print out and then some garbage. I assume this is driver's fault. Can it be because I have a Raw device setup in CUPS? They don't offer the printer driver (HP5P) when I choose add printer. I needed to select RAW device initially? I hope I'm not getting too annoying. And thank you in advance for your patience and expert advice. Regards, Norman Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] chmod reset
Hi, I am using 8.2. I can change the directory permission using chmod (as root for the /home/userA), but after an 1/2 hour or when I log out as root the permission resets itself. Does anyone know the cause of this strange behavior? I also saw another strange behavior since 8.1 (and it is still there in 8.2) that is my clock moves backward by at least couple hours after the screen saver comes up. I was okay with 8.0. Regards, Norman Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] chmod reset
May I ask what is msec? And what does it do? Is there a fix for it besides removing it? Regards, Norman > This is caused by a programme called msec. Either removed msec or setup > overrides for the directories you dont want changed. > > H Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] chmod reset
Thank you everyone. Your tips and advises are greatly appreciated. Regards, Norman Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] disk quota
Hi, I tried to set disk quota on LM8.2. But when I typed quota -u, I get Quota: Can't initialize quota on /dev/hda8: Function not implemented Disk quotas for user root (uid 0): none but /etc/mtab says /dev/hda8 /home ext3 grpquota, usrquota 0 2 Does LM8.2 kernel has quota support compiled in by default? Is this neceesary for samba support? Regards, Norman Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] disk quota
- Original Message - From: "Todd Lyons" <[EMAIL PROTECTED]> Sent: Wednesday, September 18, 2002 12:59 PM : > : > I tried to set disk quota on LM8.2. But when I typed quota -u, I get : > : > Quota: Can't initialize quota on /dev/hda8: Function not implemented : > Disk quotas for user root (uid 0): none : > but /etc/mtab says : > /dev/hda8 /home ext3 grpquota, usrquota 0 2 : : You are in luck. A couple of us have put our heads against this very : issue with 9.0 and the results are a little suprising. Warning, this is : a fairly long explanation, but I attempted to be thorough. Thanks for your detail explanation. But I still cannot turn on user & group quotas for local systems during boot. But /etc/fstab states /dev/hda8 /home ext user,defaults,usrquota 0 2 When I tried edquota -u user I get, edquota: Can't initialize quota on /dev/hda8: Function not implemented No filesystems with quota detected. I have upgraded to LM 9.0 RC2. Is there way to solve this? Regards, Norman Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] disk quota
: > When I tried edquota -u user I get, : > edquota: Can't initialize quota on /dev/hda8: Function not implemented : > No filesystems with quota detected. : : init 1 : quotaoff /home : umount /home : mount /home : quotacheck /home : quotaon /home : edquota -u user It works. Thanks Todd. Regards, Norman Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] ACL support in 8.2/9.0?
Hi, Is there build-in ACL support for ext2/ext3 and Samba in LM8.2? If not whre can I find more info or should I wait for 9.0? Sorry for the "newbie" question. Regards, Norman Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] capturing packet
Hi, I've setup to Real Player to stream through Squid. May I ask how to capture the Real Audio packet from Squid to web or vice versa? I tried tcpdump host some.realaudio.site, but nothing happens. You kind suggestions are greatly appreciated. Regards, Norman Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] Desktop Entries
Hi, I updated the following packages of my LM9.0 box. Now my desktop menu is gone (the program shortcuts) and desktop icons are gone. I tried logging as a different user, the same thing happens. Has anyone seen this strange behavior? How do I revert the changes? Regards, Norman Package name: gdm Date: August 21st, 2003 Advisory ID: MDKSA-2003:085 Affected versions: 9.0, 9.1, Corporate Server 2.1 Synopsis: Updated gdm packages fix vulnerabilities Package name: perl-CGI Date: August 20th, 2003 Advisory ID: MDKSA-2003:084 Affected versions: 8.2, 9.0, 9.1, Multi Network Firewall 8.2, Corporate Server 2.1 Synopsis: Updated perl-CGI packages fix cross-site scripting vulnerabilities Package name: unzip Date: July 7th, 2003 Advisory ID: MDKSA-2003:073 Affected versions: 8.2, 9.0, 9.1, Multi Network Firewall 8.2, Corporate Server 2.1 Synopsis: Updated unzip packages fix vulnerability Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] Re: Desktop Entries
Hi, Sorry, if I was not precise enough. All entries above Bookmarks on the KDE menu are gone (e.g., Application, Configuration, Documentation, Networking, Terminals, ..., etc.). And the shortcuts that I created on the toolbar now only displays the KDE gear icon. If I click on it, it would say the serivce not found. (e.g., Could not finnd service Terminal/kconsle.desktop). Would someone please tell me how to recover the settings? Regards, Norman > I updated the following packages of my LM9.0 box. Now my desktop menu is > gone (the program shortcuts) and desktop icons are gone. I tried logging as > a different user, the same thing happens. Has anyone seen this strange > behavior? How do I revert the changes? > > Package name: gdm > Date: August 21st, 2003 > Advisory ID: MDKSA-2003:085 > Affected versions: 9.0, 9.1, Corporate Server 2.1 > Synopsis: Updated gdm packages fix vulnerabilities > > Package name: perl-CGI > Date: August 20th, 2003 > Advisory ID: MDKSA-2003:084 > Affected versions: 8.2, 9.0, 9.1, Multi Network Firewall 8.2, Corporate > Server 2.1 > Synopsis: Updated perl-CGI packages fix cross-site scripting vulnerabilities > > Package name: unzip > Date: July 7th, 2003 > Advisory ID: MDKSA-2003:073 > Affected versions: 8.2, 9.0, 9.1, Multi Network Firewall 8.2, Corporate > Server 2.1 > Synopsis: Updated unzip packages fix vulnerability Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] Re: Desktop Entries
Hi, >> Sorry, if I was not precise enough. All entries above Bookmarks on the >> KDE menu are gone (e.g., Application, Configuration, Documentation, >> Networking, Terminals, ..., etc.). And the shortcuts that I created on >> the toolbar now only displays the KDE gear icon. If I click on it, it >> would say the serivce not found. (e.g., Could not finnd service >> Terminal/kconsle.desktop). Would someone please tell me how to recover >> the settings? > > Norman one question did you restart X ... not just logout log back in > but restart X? (ctrl-alt-backspace will restart X) I rebooted my server. But the shortcuts and desktop icons are still missing 8( Is there a directory that keeps these settings. > Second thing would be to look for files ending in .rpmsave These are > new configuration files that rpm sets to the side (so it doesn't > destroy your old preferences.) you'd then want to manually move the > ones that don't affect you to the non .rpmsave filename. Thanks. I will do a slocate for .rpmsave files. And start manually tracking for changes. > 3rd idea ... change icon set. Then change back > to the one you prefer. It's possible that Linux "forgot" where to find > your icons and needs to be reminded. May I ask how do I change my icon set? Which files do I edit? I have no more shortcuts in the GUI interface. Would it help if I change to Gnome desktop then back to KDE? Regards, Norman >> I updated the following packages of my LM9.0 box. Now my desktop menu is >> gone (the program shortcuts) and desktop icons are gone. I tried logging >> as a different user, the same thing happens. Has anyone seen this strange >> behavior? How do I revert the changes? >> >> Package name: gdm >> Date: August 21st, 2003 >> Advisory ID: MDKSA-2003:085 >> Affected versions: 9.0, 9.1, Corporate Server 2.1 >> Synopsis: Updated gdm packages fix vulnerabilities >> >> Package name: perl-CGI >> Date: August 20th, 2003 >> Advisory ID: MDKSA-2003:084 >> Affected versions: 8.2, 9.0, 9.1, Multi Network Firewall 8.2, Corporate >> Server 2.1 >> Synopsis: Updated perl-CGI packages fix cross-site scripting >> vulnerabilities >> >> Package name: unzip >> Date: July 7th, 2003 >> Advisory ID: MDKSA-2003:073 >> Affected versions: 8.2, 9.0, 9.1, Multi Network Firewall 8.2, Corporate >> Server 2.1 >> Synopsis: Updated unzip packages fix vulnerability Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] Re: Re: Desktop Entries
Hi, >> Sorry, if I was not precise enough. All entries above Bookmarks on the >> KDE menu are gone (e.g., Application, Configuration, Documentation, >> Networking, Terminals, ..., etc.). And the shortcuts that I created on >> the toolbar now only displays the KDE gear icon. If I click on it, it >> would say the serivce not found. (e.g., Could not finnd service >> Terminal/kconsle.desktop). Would someone please tell me how to recover >> the settings? > > That sounds strange, I have lost the /home icon use in Red Hat in panel, > menu and on the desktop and could only get it through the run command in > the menu and type /home to have it come up. But everything showed that > it was right in kmenuedit. You could try that. > > You might try Menudrake as well, they might still be there? Strange > indeed. I tried kmenuedit and menudrake in the console. kmenuedit does show any entries. But menudrake has the regular application groups and shortcuts showing on the left pane. So it is safe to add them to the system menu again? I'm doing cautiously as this is my working file server 8( Please advise. Regards, Norman Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] Re: Desktop Entries
Hi, >> I tried kmenuedit and menudrake in the console. kmenuedit does show any >> entries. But menudrake has the regular application groups and shortcuts >> showing on the left pane. So it is safe to add them to the system menu >> again? I'm doing cautiously as this is my working file server 8( Please >> advise. > > Quick fix: > log out of Xwindows > cd ~ > mv .kde kdestuffed (or whatever epiphet feels good!) > startx > > You will then have a generic, first time log in again > > Now log out of Xwindows and start copying stuff selectively from the old > kdestuffed to the newly created .kde. > > Stuff you most probably want lives in the share folder, and its subfolders > including the kmail resources ad configs, knode, etc etc. I was get the applications menu to reappear after I loaded the default in menudrake. However the kcontrol (KDE Control) menu show empty options. I can't find the options to for reconfiguration. I tried killing .kde but same thing happens. May I ask how do I get those options reappear? Regards, Norman Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] ACL Support in 9.2
Hi, I've searched the cooker and expert archives. But I couldn't find any conclusive answer rather 9.2 kernel includes XFS and ACL support. I believe ACL support was removed from the initial 9.1 kernel. Would someone care to update me on this? Regards, Norman Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] 9.2RC2 on VMware
Hi, I installed 9.2RC2 on VMware. I can startx, but when I exit from the Xwindows. My console is all warped. I get four tiny screens. The two on the top is identical. Two at the bottom, I can't see anything, but grided color lines. I need to reboot machine to get the normal text again. Does anyone know a fix for this? Regards, Norman Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] Re: 9.2RC2 on VMware
>>> I installed 9.2RC2 on VMware. I can startx, but when I exit from >>> the Xwindows. My console is all warped. I get four tiny screens. >>> The two on the top is identical. Two at the bottom, I can't see >>> anything, but grided color lines. I need to reboot machine to get >>> the normal text again. Does anyone know a fix for this? >> >> I don't meant to sound flippent, but the best way to handle this >> problem is to throw VMware out the window, ( at least where this >> application is concerned ) and install Mandrake on it's own >> partition and run it natively. I really don't see the sense if >> running Mandrake in this manner when the support to run it natively >> exists. > > No... I'd actually like to see this fixed as well (I get the same > behaviour here). > > Trust me, having this in vmware is very very convenient. While I'm > running 9.2/cooker/whatever as my primary desktop, I'm also running > everything from Mandrake 8.2-cooker in vmware. It's invaluable for > testing stuff. So this happens with 8.2 too. I would like to narrow this down, so I can submit appropriate bug report to right people. Is this a Mandrake, VMware or XFree issue? My guess would be the video driver. Regards, Norman Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] Re: 9.2RC2 on VMware
>> So this happens with 8.2 too. I would like to narrow this down, so I can >> submit appropriate bug report to right people. Is this a Mandrake, VMware >> or XFree issue? My guess would be the video driver. > > What's the host OS? Does all that video corruption happen within the > VMWare window, or is the whole display messed up? Recent VMWare? (I only > have and know about 2.x, so rotsaruck if you're on the latest.) My host OS is W2K Pro SP4 and am running VMware version 4.02 build-5592. 9.2RC2 would display the text properly if I boot into console mode. startx would display properly too. But after I exit from the Xwindows session, the text mode would be messed up. I get 4 tiny windows (one on each corner), two on top would be identical, two at the bottom--I can't see anything. The text from the top two windows are so tiny and fuzzy that I can make anything out of it. I did install VMware tools. Without it Xwindows won't start. Also during installation, Mandrake was able to identified the video card as VMware virtual driver. Is there a way to reset this without reboot the 9.2RC2? Regards, Norman Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] Re: 9.2RC2 on VMware
Hi, > My host OS is W2K Pro SP4 and am running VMware version 4.02 build-5592. > 9.2RC2 would display the text properly if I boot into console mode. startx > would display properly too. But after I exit from the Xwindows session, > the text mode would be messed up. I get 4 tiny windows (one on each > corner), two on top would be identical, two at the bottom--I can't see > anything. The text from the top two windows are so tiny and fuzzy that I > can make anything out of it. I did install VMware tools. Without it > Xwindows won't start. Also during installation, Mandrake was able to > identified the video card as VMware virtual driver. Is there a way to > reset this without reboot the 9.2RC2? I've found a solution from vmware list. Thought that I should update it here as well. VMware SVGA drive does not restore proper hardware state after exiting from SVGA mode. I need to boot to nonfb, and the problem goes away. Hope this helpful to others too. Regards, Norman Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] Re: 9.2RC2 on VMware
Hi Anne, >> I've found a solution from vmware list. Thought that I should >> update it here as well. VMware SVGA drive does not restore proper >> hardware state after exiting from SVGA mode. I need to boot to >> nonfb, and the problem goes away. Hope this helpful to others too. >> > Norman, there is a VMWare page at > http://mandrake.vmlinuz.ca/bin/view/Main/VmWare > > Could you please add that tidbit to it? You are right, it will help > others. I created account at the above site, logged in. Allowed to edit, preview, but couldn't save the text (some internal errors). Perhaps you may want to help update the site with the following info. Regards, Norman ###Updated Text for Wiki (Please remove this line)### *Running LM as a Guest OS* *Problem:* My host OS is W2K Pro SP4 and am running VMware version 4.02 build-5592. 9.2RC2 would display the text properly if I boot into console mode. startx would display properly too. But after I exit from the Xwindows session, the text mode would be messed up. I get 4 tiny windows (one on each corner), two on top would be identical, two at the bottom--I can't see anything. The text from the top two windows are so tiny and fuzzy that I can make anything out of it. I did install VMware tools. Without it Xwindows won't start. Also during installation, Mandrake was able to identified the video card as VMware virtual driver. Is there a way to reset this without reboot the 9.2RC2? *Solution:* (from Petr Vandrovec) Mandrake should have created "nonfb" choice in your LILO. Boot this, instead of default configuration - VMware SVGA driver does not restore proper hardware state when exiting from SVGA mode. *Follow-up:* Thanks. That seems to solve the problem. However I do see the following warning =(WW) VMWARE(0): Failed to setup write-combing range (0xf600,0x1000)= Is this critical? *Answer:* (from Peter Vandrovec) No, it is normal. Virtual CPU does not support MTRR registers, and so X server complains. You can ignore it. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] Re: 9.2RC2 on VMware
Hi Anne, > Hi, Norman. Sorry you had problems. I've put it on the page, and > attributed it to NormZ - I presume that's you? Yeah that's me thanks. BTW, just some nitpicking--VMWare should be spelled as VMware. Perhaps you may want to change that too? Thanks. http://mandrake.vmlinuz.ca/bin/view/Main/VmWare Regards, Norman Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] 9.2RC2 CD Error
Hi, While trying to install 9.2RC2 on my box, I get Loading alt0... Loading alt0/all.rdz.isolinux: Disk error 80, AX=4280, drive 9F Boot failed: press a key to retry Is this due to a corrupt image? But I was able to install 9.2RC2 on another box using same set of CDs. The other CDROM even has a slower read speed. Regards, Norman Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] Can't Start KDE
Hi, I had one system hang, now everytime I start KDE I get KDE Session Manager (ksmserver) caused an SIGSEGV error. I deleted .kde from /root. But problem still persists. How can I fix this? Regards, Norman Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] Re: Can't Start KDE
Hi James, >> I had one system hang, now everytime I start KDE I get KDE Session >> Manager (ksmserver) caused an SIGSEGV error. I deleted .kde from >> /root. But problem still persists. How can I fix this? > > with only a tiny bit of detail here. You could try doing an > rpm -Fvh kdebase.xx.mdk.rpm > > This will refresh any hosed files in kdebase ... it could also be the > kde-i18n file you use. One question first. If you go to runlevel 3 and > then try startx what error does it report? I removed .kde/ .qt/ and all files in /root/tmp and /tmp but haven't tried reinstalling kdebase as you recommended. Will try that after office hours. May I ask use another question? I don't know if it attributed to the KDE corruption. I'm seeing lots Samba sessions opened on my box, memory is taken up quickly. But no swap is used. Is there a way I can troubleshoot this further. I'm using the free command. When I do /etc/rc.d/init.d/smb restart, I see smb fails to stop but can start. Please help. Regards, Norman Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] Re: Can't Start KDE
Hi Glenn, > I've seen this problem with KDE under Mandrake 8.1 and 9.1 (i.e., several > versions of KDE). It would be really nice if KDE would delete or > re-create any files it needs during startup. Anyway, I've found that > deleting several KDE related files cures the problem. > > I've put this into my startup script (viz., /etc/rc.d/rc.local): > > # Remove KDE files that might cause hangup during KDE startup > rm -rf /tmp/{dcop*,kde*,ksocket*,mcop*} > USERS='er aoi' > for d in $USERS ; do >if [ -d /home/$d ] ; then > rm -rf /home/$d/{.DCOP*,.ICE*,.mcop*,.MCOP*} >fi > done > > These seem to all be working files for KDE, and deleting them doesn't > cause your configuration to be changed, as deleting ~/.kde would. I tried what you suggested and now I boot into KDE again. 8) Thanks. Regards, Norman Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] Re: Can't Start KDE
Hi James, >> May I ask use another question? I don't know if it attributed to the KDE >> corruption. I'm seeing lots Samba sessions opened on my box, memory is >> taken up quickly. But no swap is used. Is there a way I can troubleshoot >> this further. I'm using the free command. When I do /etc/rc.d/init.d/smb >> restart, I see smb fails to stop but can start. Please help. > > Sounds like you've got a pid that got left behind. In that it trys to > stop pid 12283 (an arbitrary number) then it starts ... immediately dies > on you and leaves behind a pid. After you do the smb restart have you > done a ps ax | grep smb or /etc/init.d/smb status to see if it is in > fact running. Sounds almost as if it's repeatedly trying to work but > can't. Not sure here others may have more info. But something is > starting to sound kinda fishy. This is exactly what I am seeing. /etc/rc.d/init.d/smb restart would cause smbd trying to stop some arbitrary pids. For some of them I get warnings that they are not found. And shutdown fails. This doesn't happen every time I restart smbd. It seems to happen only when lots users are connected to Samba and memory are exhausted. May I ask how much RAM people use for ~100 users Samba servers? Do you have any recommendations that I troubleshoot this further? I'm going to increase the RAM to 1GB today. Regards, Norman Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] Re: Can't Start KDE
Hi Bill, >> I'm going to increase the RAM to 1GB today. > > Be sure to install the "enterprise" version of the kernel (from the CDs or > from the update mirrors), as you need to use that to access >=1GB of RAM. Thanks for your reminder. I'm using 9.0 here. Would it be safer if I upgrade to 9.1/9.2? I am not sure if the recent 9.0 kernel erratum has ACL XFS support. Regards, Norman Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] Re: Can't Start KDE
Hi Bill, >>> Be sure to install the "enterprise" version of the kernel (from the >>> CDs or from the update mirrors), as you need to use that to access >>> >=1GB of RAM. >> >> Thanks for your reminder. I'm using 9.0 here. Would it be safer if I >> upgrade to 9.1/9.2? I am not sure if the recent 9.0 kernel erratum has >> ACL XFS support. > > ISTR that the 9.0 kernels do not, no idea if the ones out for the later > releases do or not; hopefully, someone else has the definitive answer. > > As for the "safety" of upgrading, I prefer clean installs that retain > /home, which I keep on a separate partition for exactly that reason. I > also back up /etc and certain subdirs of /var before the install, to be > able to quickly get the new system's settings and data as I want them. Again thanks for your suggestions. I too prefer a clean install. But I have never done an upgrade by retaining /home partition or other volumes. So if I just format and reinstall 9.1/9.2 on other volumes, will the data on /home be retained? /home is running XFS (I'm not sure if this related), will the new kernel recognized the older XFS volume? Also I'm running software RAID on my disks. Are there other things that I should look for? Regards, Norman Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] Re: Can't Start KDE
Hi James, >> This is exactly what I am seeing. /etc/rc.d/init.d/smb restart would >> cause smbd trying to stop some arbitrary pids. For some of them I >> get warnings that they are not found. And shutdown fails. This >> doesn't happen every time I restart smbd. It seems to happen only >> when lots users are connected to Samba and memory are exhausted. May >> I ask how much RAM people use for ~100 users Samba servers? Do you >> have any recommendations that I troubleshoot this further? I'm going >> to increase the RAM to 1GB today. > > I'm not running samba this heavily. In fact anymore not much at > all, as most windows boxes are gone. (This is getting ready to change > somewhat.) But I'd start first at looking into /var/log/samba to see > what if anything this is telling you. Thank you for your help. I will keep that in mind and check /var/log/samba more frequently. Regards, Norman Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] Best Use of Swap
Hi, I'm running software RAID on 9.0. I would like ask what's the best way of setting the swap partition? I currently have two swap partitions of identical (not mirrored) setup on both drives. I heard mirroring swap is waste of time. Regards, Norman Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] Re: Best Use of Swap
Hi, >> I'm running software RAID on 9.0. I would like ask what's the best way of >> setting the swap partition? I currently have two swap partitions of >> identical (not mirrored) setup on both drives. I heard mirroring swap is >> waste of time. > > you heard right. Best set up is this: > > X = total RAM * 2, rounded up to the nearest gig > > DISK1: > Partition 1 of size X/3 > Partition 2 = remaining capacity > DISK2: > Partition 1 of size X/3 > Partition 2 = remaining capacity > DISK3: > Partition 1 of size X/3 > Partition 2 = remaining capacity So it is a good practice to setup multiple swap partitions on different drives. LM knows how make best use of it? Regards, Norman Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] compiling kernel
Hi, I'm thinking of upgrading to 9.2 then compile my own kernels for the boxes. I'm thinking should I grab the latest source from www.kernel.org or should I use the source from Mandrake? Are there patches included in Mandrake's kernel source that are not in the mainline? I need XFS, ACL, supermount and quota services. Are there traps that I should watch out for? Regards, Norman Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] System Stalls
Hi, My Samba box stalls after some usage, mapped drives disappear and users can't write or read from drives. The stalls happen randomly. I'm running 2.4.19-16mdksmp and Samba 2.2.7a-9.2mdk. May I ask is this a kernel bug or Samba bug? Does anyone know a fix for it? I checked the memory from BIOS, they didn't report any errors. /var/log/kernel/warnings Oct 27 09:19:12 smbserver kernel: xfs_force_shutdown(md(9,5),0x8) called from line 1039 of file xfs_trans.c. Return address = 0xe08ae312 Oct 27 09:19:12 smbserver kernel: Corruption of in-memory data detected. Shutting down filesystem: md(9,5) Oct 27 09:19:12 smbserver kernel: Please umount the filesystem, and rectify the problem(s) /var/log/kernel/errors -- Oct 27 10:36:44 smbserver kernel: Unknown bridge resource 2: assuming transparent Oct 27 10:36:44 smbserver kernel: PCI: Unable to handle 64-bit address space for Oct 27 10:36:44 smbserver kernel: PCI: Unable to handle 64-bit address space for Oct 27 10:36:44 smbserver kernel: Unknown bridge resource 2: assuming transparent Oct 27 10:36:44 smbserver kernel: PCI: Device 00:1f.1 not available because of resource collisions /var/log/samba/log.winbindd --- [2003/10/27 10:37:23, 0] nsswitch/winbindd.c:process_loop(626) process_loop: Invalid request size (1701996389) sent, should be (1304) Regards, Norman Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] 9.2 Kernel Source
Hi, The 9.2 CDs doesn't seem to include kernel-source. Is it being renamed to something else now? I also did a urmpi kernel-source, and system told me everything is installed. May I ask where is kernel-source? I guess I could always download the kernel errata source. Regards, Norman Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] Re: where's the "kernel-source" package in download edition?
> Will it be included in the updates? I asked this question earlier. Apparently kernel-source is not included in the original 9.2 ISOs. You need to get it from one of the mirror. Previous version ISO did contain kernel-source. I'm not sure if the remaster ISO will contain it. Regards, Norman Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] Cyrus-imapd
Hi, I just installed cyrus-imapd-2.1.15-6mdk on my 9.2 box. Should I create users for /etc/postfix/aliases or should I just create them in cyrus? The cyrus-imapd package adds a cyrus user by default. Do I need to change its password? Regards, Norman Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] Re: Cyrus-imapd
Hi, >> I just installed cyrus-imapd-2.1.15-6mdk on my 9.2 box. Should I create >> users for /etc/postfix/aliases or should I just create them in cyrus? > > You create *mailboxes* for users in cyrus and *aliasies* in postfix. > Postfix will resolve aliases to mailboxes and will try to deliver > messages to those mailboxes in cyrus. If the mailbox exist the message > goes through, otherwise it will be befused by cyrus and bounced by > postfix. I read somewhere that I could create mailboxes for users in cyrus and don't need to useradd if only using MySQL. Is this correct? For example, if I'm to create a mailbox for myself, say nzhang and want to receive mail for address [EMAIL PROTECTED] Do I just create a mailbox nzhang with alias nzhang: norman.zhang? >> The cyrus-imapd package adds a cyrus user by default. Do I need to change >> its password? > > Yes (it's in the README.RPM in the doc directory). Sorry I will read up on that again. BTW thanks for making the RPM available in Contrib. Regards, Norman Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] Re: Cyrus-imapd
> The second issue is aliases. Of course you can have a mailbox nzhang > with an alias (in postfix) norman.zhang. Or you can create a mailbox > norman.zhang (actually you cannot in the default configuration, since > the dot is the hierarchy separator in cyrus, but you can change it with > altnamespace in /etc/imapd.conf). If I have a mailbox "nzhang" but with alias "norman.zhang". Does that mean mail for both nzhang @ abc.com and norman.zhang @ abc.com will get to mailbox nzhang? If I want to only accept mail for norman.zhang @ abc.com, I need to create a mailbox norman.zhang? Regards, Norman Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] Re: Cyrus-imapd
Hi, >> Does that mean mail for both nzhang @ abc.com and norman.zhang >> @ abc.com will get to mailbox nzhang? If I want to only accept mail >> for norman.zhang @ abc.com, I need to create a mailbox norman.zhang? > > No, Your MTA (usualy postfix) does not know anything of the data stored > in cyrus. By default postfix only knows addresses from users stored in > the local user base (unix users) and the aliased addresses. > > If nzhang is not a local user and not listed as an alias, postfix > rejects the mail. I have created user nzhang and mailbox nzhang in cyrus. I also added nzhang: norman.zhang to /etc/postfix/aliases. I still can't receive mail in cyrus' inbox. BTW, I'm using lmtp TCP sockets as per suggestion given in README.RPM. I changed mailbox_transport = lmtp:$myhostname Is this correct? Regards, Norman Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] Re: Cyrus-imapd
Hi, >>> If nzhang is not a local user and not listed as an alias, postfix >>> rejects the mail. >> >> I have created user nzhang and mailbox nzhang in cyrus. I also added >> nzhang: norman.zhang > > It is the wrong order, type (the left hand side is expanded to the > right hand side) > > norman.zhang: nzhang Thanks for your eagle eyes. I changed that. >> to /etc/postfix/aliases. I still can't receive mail in cyrus' inbox. >> BTW, I'm using lmtp TCP sockets as per suggestion given in >> README.RPM. I changed >> >> mailbox_transport = lmtp:$myhostname > > I don't use the tcp socket but it seems correct so far. BTW, the tcp > socket needs authentication by default. Possibly you have to add the > port number of the lmtp server. I was told postfix lmtp uses default port 24 and cyrus uses 2003. Is the above statement mailbox_transport = lmtp:$myhostname sufficient? Regards, Norman Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] Re: Cyrus-imapd
Hi, >> I was told postfix lmtp uses default port 24 and cyrus uses 2003. Is the >> above statement mailbox_transport = lmtp:$myhostname sufficient? > > Both should use the port specified in /etc/services, and since the > cyrus-imapd rpm adds a line in /etc/services for lmtp you should be fine. Thanks. I just verified it is 2003 in /etc/services. I followed the steps given in README.RPM 1. mailbox_transport = lmtp:$myhostname (/etc/postfix/main.cf) 2. lmtp cmd="lmtpd" listen="lmtp" prefork=0 (/etc/cyrus.conf) 3. add "lmtp_admins: cyruslmtp" at the bottom of /etc/cyrus.conf 4. useradd "cyruslmtp" with password "testing123" 5. create /etc/postfix/lmtp_sasl_pass for root:root with 600 permissions. File contents are $myhostnamecyruslmtp:testing123 6. postmap /etc/postfix/lmtp_sasl_pass postconf -e "lmtp_sasl_auth_enable = yes" postconf -e "lmtp_sasl_password_maps = hash:/etc/postfix/lmtp_sasl_pass" postconf -e "lmtp_sasl_security_options = noanonymous" but I'm still getting lmtpd[1822]: connection from mail.rd.arkonnetworks.com [207.34.136.7] postfix/lmtp[1821]: 594C018000A0: to=<[EMAIL PROTECTED]>, relay=mail.rd.arkonnetworks.com[207.34.136.7], delay=0, status=deferred (host mail.rd.arkonnetworks.com[207.34.136.7] said: 430 Authentication required (in reply to MAIL FROM command)) May I ask what am I don't wrong? I'm trying to send email from external user to local user. Regards, Norman Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] Re: Cyrus-imapd
Hi, >> I followed the steps given in README.RPM >> >> 1. mailbox_transport = lmtp:$myhostname >>(/etc/postfix/main.cf) >> 2. lmtp cmd="lmtpd" listen="lmtp" prefork=0 (/etc/cyrus.conf) >> 3. add "lmtp_admins: cyruslmtp" at the bottom of /etc/cyrus.conf >> 4. useradd "cyruslmtp" with password "testing123" I think I found the cause to the problem. I need to use saslpasswd2 for cyruslmtp rather than useradd/passwd? I'm a little confused with sasldb and saslauthd. I'm using cyrus-imapd-2.1.15-6mdk. I have saslauthd 2.1.15 (authentication mechanisms: getpwent kerberos5 pam rimap shadow ldap) and saslpasswd2 installed. Which one should I use? How do I check if saslauthd is used by default? BTW, I don't have /etc/imapd.conf. Is that replaced by /etc/postfix/main.cf? >> 5. create /etc/postfix/lmtp_sasl_pass for root:root with 600 >>permissions. File contents are >> $myhostnamecyruslmtp:testing123 > > Literally? I think you should use the real hostname here instead of > $myhostname (mail.rd.arkonnetworks.com?) > >> 6. postmap /etc/postfix/lmtp_sasl_pass >>postconf -e "lmtp_sasl_auth_enable = yes" >>postconf -e "lmtp_sasl_password_maps = hash:/etc/postfix/lmtp_sasl_pass" >>postconf -e "lmtp_sasl_security_options = noanonymous" >> >> but I'm still getting >> >> lmtpd[1822]: connection from mail.rd.arkonnetworks.com [207.34.136.7] >> postfix/lmtp[1821]: 594C018000A0: to=, >> relay=mail.rd.arkonnetworks.com[207.34.136.7], delay=0, status=deferred >> (host mail.rd.arkonnetworks.com[207.34.136.7] said: 430 Authentication >> required (in reply to MAIL FROM command)) > > Or maybe the problem is that postfix cannot access the file due to the > chroot? Sorry I cannot be of more help, I never used tcp sockets with > lmtp (as you can see that section in the readme comes from another > person). Regards, Norman Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] Re: Cyrus-imapd
Hi, >>> I followed the steps given in README.RPM >>> >>> 1. mailbox_transport = lmtp:$myhostname >>>(/etc/postfix/main.cf) >>> 2. lmtp cmd="lmtpd" listen="lmtp" prefork=0 (/etc/cyrus.conf) >>> 3. add "lmtp_admins: cyruslmtp" at the bottom of /etc/cyrus.conf >>> 4. useradd "cyruslmtp" with password "testing123" > > I think I found the cause to the problem. I need to use saslpasswd2 for > cyruslmtp rather than useradd/passwd? I'm a little confused with sasldb and > saslauthd. I'm using cyrus-imapd-2.1.15-6mdk. I have saslauthd 2.1.15 > (authentication mechanisms: getpwent kerberos5 pam rimap shadow ldap) and > saslpasswd2 installed. Which one should I use? How do I check if saslauthd > is used by default? BTW, I don't have /etc/imapd.conf. Is that replaced by > /etc/postfix/main.cf? Sorry for all the noise. I found that 9.2 is using saslauthd by default. The information is provided in /etc/imapd.conf. sasl_pwcheck_method: saslauthd sasl_mech_list: PLAIN I do have /etc/imapd.conf as it came with LM 9.2, but not smtpd.conf. I guess smtpd.conf is indeed replaced by main.cf. Regards, Norman Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] Re: Cyrus-imapd
Hi, >>I followed the steps given in README.RPM >> >>1. mailbox_transport = lmtp:$myhostname >> (/etc/postfix/main.cf) >>2. lmtp cmd="lmtpd" listen="lmtp" prefork=0 (/etc/cyrus.conf) >>3. add "lmtp_admins: cyruslmtp" at the bottom of /etc/cyrus.conf > > There's an error in /etc/cyrus.conf. The line should be added in > /etc/imapd.conf, not /etc/cyrus.conf Thanks. I have changed that. >>4. useradd "cyruslmtp" with password "testing123" >> >> I think I found the cause to the problem. I need to use saslpasswd2 for >> cyruslmtp rather than useradd/passwd? > > Only if you want to use the sasldb for your password (either in addition > or replacing any other authentication database you can use with sasl) > >> I'm using cyrus-imapd-2.1.15-6mdk. I have saslauthd 2.1.15 >> (authentication mechanisms: getpwent kerberos5 pam rimap shadow ldap) and >> saslpasswd2 installed. Which one should I use? How do I check if >> saslauthd is used by default? > > check that in /etc/imapd.conf you have the line > > sasl_pwcheck_method: saslauthd > > *but* that will only be used for plaintext authentication. Other > authentication methods (cram md5 for example) need a shared secret (i.e. > the server need the plaintext password), and that's impossible with > saslauthd. If you want to be sure that the server only advertises > plaintext (so you are sure it will only use saslauthd and nothing else) > you can either remove all sasl plugins except plain, or restrict to > plaintext putting the following line > > sasl_mech_list: PLAIN Thanks for the clarification. I guess I will use TLS on top of PLAIN. But first I need to get postfix + cyrus working. I have been trying to get postfix + cyrus working on and off for a long time now. Hopefully, after getting it to work I can post my findings on Twiki. > in /etc/imapd.conf. > The former will affect all servers using sasl, the latter only > cyrus-imap (note that any option starting with sasl_ in /etc/imapd.conf > is actually an option for the sasl library, so you should read sasl > documentation to see what options are available). Thanks. I will read up on those docs. I now have so many docs all over the net on my desk... Sorry I have been mixing you up and Luca Berra. 8) Regards, Norman Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com