[SLUG] How to clear sendmail unsent items
We have sendmail turned off at present, but we have an application which has been creating mail to be sent via sendmail. Could someone please tell me how to look at and manage (read DELETE) the unsent items ? Regards Ron Daniel Information Systems Manager Sims Group Limited [EMAIL PROTECTED] -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] Help - Samba Printing problems
-Original Message- From: Ron Daniel Sent: Monday, 2 August 2004 11:36 AM To: '[EMAIL PROTECTED]' Subject: Samba Printing problems I sent the following on Friday : I have 3 samba printers. They are configured in smb.conf identically except for name of course. Two printers print from windows clients reliably, the others don't. The printers on the M$ boxes all configured \\server\printer as their destination. I can successfully lp via unix to them. They worked on Monday and for many months before. We rebooted the server on Monday night and now I have problems. Smb.conf has not changed for months. It seems as though at some point in time after I print direct from Unix, I can send one print job to the printer OK but then all subsequent ones fail. Also there is another user who seems to be able to print successfully to all three printers. I have checked the contents of /var/spool/lp/logs/requests and can see successful jobs from this other userid going through OK and and the jobs I send through as unix user going OK. I have also seen my one-time jobs OK but not the others. Seems to me as though somewhere in the print chain a security permission is being messed with but I can't seem to find anything that is up. Any ideas would be greatly appreciated. Upon further trail searching, I have since found from the log. files in /var/samba/log that the problem is being reported as allocate_print_jobid: failed to allocate a print job for queue nswprint Regards Ron Daniel -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] who wrote the most code?
Where's the structure, indentation, and documentation, aka comments in the code ? Or do we open a a new OSSP for this project to get it cleaned up. But then how would we measure who wrote the most code of the code measuring code? :-) Ho hum. -Original Message- From: Jamie Wilkinson [mailto:[EMAIL PROTECTED] Sent: Tuesday, 24 February 2004 2:07 PM To: [EMAIL PROTECTED] Subject: [SLUG] who wrote the most code? A few weeks ago, Benno asked me if I had a way to use cvs annotate to work out percentages of code written, and after a short bit of hacking, there was this: a=; t=0; cvs ann 2>/dev/null | cut -c15-21 | sort | uniq -c | while read i; do u=`echo $i | cut -f2 -d' '`; s=`echo $i | cut -f1 -d' '`; t=$((${t-0} + $s)); echo $t $u $s ; done | sort -rn | while read i ; do if [ "x$a" = "x" ]; then a=`echo $i | cut -f1 -d' '`; fi ; u=`echo $i | cut -f2 -d' '`; s=`echo $i | cut -f3 -d' '`; s=$(($s * 100)); echo $u $(($s / $a)); done but I was looking at the subversion repo at work today, and wondered the same thing... so with a bit of mangling here it is: a=; t=0; find . -type f ! -regex '.*\.svn.*' -exec svn ann {} \; 2>/dev/null | awk '{print $2}' | sort | uniq -c | while read i; do u=`echo $i | cut -f2 -d' '`; s=`echo $i | cut -f1 -d' '`; t=$((${t-0} + $s)); echo $t $u $s ; done | sort -rn | while read i ; do if [ "x$a" = "x" ]; then a=`echo $i | cut -f1 -d' '`; fi ; u=`echo $i | cut -f2 -d' '`; s=`echo $i | cut -f3 -d' '`; s=$(($s * 100)); echo $u $(($s / $a)); done Fun, eh? :-) -- [EMAIL PROTECTED] http://spacepants.org/jaq.gpg -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] accessing MS desktops from Linux
We have dipped our toes in this water and can report the following : Application : Remote access to windows dependant applications for 12 users across IP Wan. Previous solution : Windows XP workstation per user in the computer room with separate machine designated to each remote user. Problems : managing users is painful, seeing who is doing what impossible, a growing stack of dedicated machines rapidly running out of vertical stack space. I know I could have used terminal server and windows server and all that guff, would have been expensive. Current solution : One linux server, running win4lin, with apps loaded under win4lin Clients user Cygwin to establish X session to server. (A window in a window, justy like RDP or windows T-S anyway) Clients use samba and windows Ip networking to share drives and printers in their local lan and the remote lan. Problems : How come I don't have to reboot every other day ? :-) User session runs windows 98 which looks a little dated, but hey, it works. Advantages : One machine in the computer room Easy user admin Locked down user configurations. Others I haven't got the time to list. I can put you onto the guys that helped us do this if you wish. -Original Message- From: Grant Parnell [mailto:[EMAIL PROTECTED] Sent: Tuesday, 24 February 2004 9:12 AM To: Sonia Hamilton Cc: [EMAIL PROTECTED] Subject: Re: [SLUG] accessing MS desktops from Linux On Sat, 21 Feb 2004, Sonia Hamilton wrote: > One of my clients is planning to upgrade their network, and I'm pricing MS > (Terminal services + a whole n/w of new desktops + licenses - ouch). What > I want to do is put Linux on all the old desktops, and have graphical > access to 1 windows machine - what can I run on Linux that will do this? > > I know I can use VNC, but it's a bit clunky, especially since the 1 > Windows app that the users need to access is their main app (which they > use all day). > > Anyone had experience with the Citrix ICA Client running on Linux? It > looks promising. > > Any other hints as to what I could use? I've read the other replies to date and have more to add. I guess I'm slightly biased as I work for EverythingLinux which sells some of the products I'm going to mention. Win4Lin Terminal Server 3.0 (5 users $882.75) plus 5 licenses for (Win95, Win95OSR2, Win98, Win98se, Windows ME). IE no additional CAL's. This solution requires a good sized server running Linux with a Win4Lin enabled kernel (they offer rpm's for various distros - plus open source patch). Then you install the Windows install files and each user runs the 'win' application as needed which launches a real copy of Windows. Licensing required is only for Win4Lin and the number of CONCURRENT windows users - ie it tells you something like "Too many users" when you try to run it. We had a copy running on RedHat 7.1 for about 2 years but decided to migrate it to a single workstation as we now only have one occasional user. (Laura running Photoshop / Corel for doing SOME advertising graphics which requires CMYK output - Gimp's catching up though). The same server or another server could be used to support PXE booting of the workstations and act as a Linux Application server (ie all the apps run on it with screens exported to the workstation's X server). This means you don't need grunty workstations with disk drives or fans or any moving parts and yeah we sell them too . Another possibility is Wine or Crossover Office which is the up-to-date commercial version of wine. Thanks to Code Weavers you can run an impressive array of Windows apps without having a single copy of Windows. MS-Office, Inernet Explorer (why bother?), Adobe products to name a few I've setup for a client. For those that don't know this is achieved by writing from scratch libraries that emulate the function calls available to Windows applications and that's VERY impressive! It is however why some apps don't yet run, they call a function that's not yet implimented - something that doesen't happen with the solutions I mentioned earlier. -- -- Electronic Hobbyist, Former Arcadia BBS nut, Occasional nudist, Linux Guru, SLUG/AUUG/Linux Australia member, Sydney Flashmobber, BMX rider, Walker, Raver & rave music lover, Big kid that refuses to grow up. I'd make a good family pet, take me home today! Do people actually read these things? -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] Synchronizing Pocket PC's (non palm-os) with Evolution.
I am considering an attempt on sync'ing my Ipaq 3800 with Evolution on my Mandrake 9.1 linux laptop. Has anyone achieved same ? Is it possible ? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, 8 October 2003 12:00 PM To: [EMAIL PROTECTED] Subject: slug Digest, Vol 7, Issue 22 Send slug mailing list submissions to [EMAIL PROTECTED] To subscribe or unsubscribe via the World Wide Web, visit http://lists.slug.org.au/listinfo/slug or, via email, send a message with subject or body 'help' to [EMAIL PROTECTED] You can reach the person managing the list at [EMAIL PROTECTED] When replying, please edit your Subject line so it is more specific than "Re: Contents of slug digest..." -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
[SLUG] Mandrake 9.1 downgrade
Great. Here I sit, stuck in the world of M$ writing this email cause I just upgraded to 9.1 Somebody should have told me about the descent (downgrade) on the other side. How in the world is this FOSS stuff going to make critical mass in the desktop arena if, when at release 9.1 in 2003 I find myself in the situation where : I had 9.0 and a working dual boot system which seemed to go painlessly and smoothly on my compaq evo N880v, albeit with display behaviour problems I believe I had three file systems in my Linux partition, although I can't remember or find out what they were I bought the 9.1 mandrake update I clicked on upgrade It wanted me to specify what my file systems were and the mount points (it should have been able to easilty work this out) I told it about my / File system It then FRUSTRATINGLY asked me all the qeustions I had already told it about my machine in the install of 9.0, only this time it said I dodn't have the room for the machine to be everything I wanted it to be, with games, and mutlitmedia etc, all I had room for were one window manager and office and internet client. Wow ! Talk about progress. So it merruily installed asking me for the second CD and then asking me for the international CD ! If I didn;t have this CD it told me to click cancel. It should have knwon that I dodn;t have the international CD, after all I am doing an upgrade with the 3 CD's of Mandrake 9.1. Other upgrades you buy always have all of the right media with them. By now my fingers are crossed hard hoping that it aint going to wipe out my windows partition with all my stuff on it. Re start time, after some worrying confusing questions about lilo and where it was going to place it. Didn't get these questions when I installed 9.0 . Myabe upgrading is trickier than installing from scratch. Hell, I wouldn't know. Ok so it boots ok in windows. Relax Ron. Can breathe now. Lets boot in Linux. Oh joy of joys !! My deskop is empty of all the stuff I had before. The glidepad mouse doesn;t work and I find that I can't get to my other file systems because the keyboard won;t respond in the mandrake control center !! I really like this upgrade stuff. Give me back my old Holden ! I hope that my other file systems are intact, and all I have to do is : 1) create two directories under / called shite1 and shite2 2) somehow mount the other two file systems at shite1 and shite2 3) find out which shite is really my old /home and my old /usr or whatever they were 4) rename everything and remount old file systems as shite1 and shite2 or home and usr 5) whatever 6) whatever But how the am I going to do this without an effing glidepad to get into the control centre. Do I now need to go and hire a unix sysadmin to fix my stupid laptop, or just my stupid linux. Stupid ! Stupid ! Stupid ! Should have stayed on 9.0. And they say debian is harder than this ! I just want it to work so I can tell others it does ! Now I wait, hoping that there is a simple solution ! -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
[SLUG] Display problems with laptop
I am running Mandrake 9.0 (dual boot) on a Compaq EVO 800N. I have a display problem the cause and recurrence of which I cannot fathom or reproduce on demand. I am running KDE windows manager The symptoms of the problem are that upon termination of a program, and it does not appear to be dependent on a program, the screen display goes haywire. The screen appears to be broken up into about 30 or so horizontal segments all of which abutt one another vertically and all of which are joined together by a thin white line from the top right corner of the segment above to the top left corner of the segment below. All of this flashes at a rate which, I suspect, would induce epilepsy in any poor sufferer who happens to be within the field of view of my machine. Ron Daniel Information Systems Manager Sims|Group Limited -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
[SLUG] Samba / Linux User administration and Authenticationand desktops.
We have a Samba server sharing drives and printers to my PC users in a network. The difficulty we currently face is the (soon to be) burgeoning number of users that move from PC to PC and need to have their own "desktop's" with their own network drives and printer shares, at each of the PC's to which they move. The PC's are running windows XP or Windows 2000. My PC guy tells me that if we installed a Windows 2000 server with domains we would be able to authenticate them onto the network using this Windows 2000 server, and also control their user profiles and desktops at each of the machines. I have a strong (at times irrational) aversion to Windows 2000 servers. What we would really like is for Samba and Solaris, or even Linux, to : 1) Authenticate the users and force them to change their passwords according to an expiry period, no matter which PC they log into 2) Share the correct drive mappings based on the user id they log into from the PC, not the PC machine name. 3) Allow their own private desktop's to appear no matter which PC they log into. 4) They need to run two MS-based applications. Sounds like a job for thin clients or something. -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
[SLUG] Question about text computer game from late seventies/eighties
Does anybody remember the name of the game which people used to play on their mainframes at university in the late seventies where you explored a labyrinth of caves and tunnels interactively on a teletype machine, usually resulting in demise by some foul or painful process often involving a creature that you were certain was not around that corner the first time you looked ? -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
FW: [SLUG] Mandrake 9.0 Newbie Ron installs in under 1.5 hours !! - Successful internal modem driver install and configure.
Done and working. Thanks very much for your assistance. I, Found out my kernel version Went to http://www.mbsi.ca/cnxtlindrv/ via Windows 2000 dial up internet connection Downloaded the appropriate rpm file to my c:\ directory aka /mnt/windows Rebooted to Linux su cd /mnt/windows cpm -i extremelylongfilenameforkernelversion.rpm drakconnect Told it my modem was at /dev/modem in the config panel Worked first go. Now browsing and emailing. I love the status window and graph of the connection window. -Original Message- From: Ron Daniel [mailto:[EMAIL PROTECTED]] Sent: Thursday, 3 October 2002 7:51 PM To: 'James Gregory' Subject: RE: [SLUG] Mandrake 9.0 Newbie Ron installs in under 1.5 hours !! Many thanx. I am on the trail as of now. I am a little short of play time at present so don't know how far I will get with it tonight but I have everything crossed. -Original Message- From: James Gregory [mailto:[EMAIL PROTECTED]] Sent: Thursday, 3 October 2002 10:10 AM To: Ron Daniel Cc: [EMAIL PROTECTED] Subject: Re: [SLUG] Mandrake 9.0 Newbie Ron installs in under 1.5 hours !! On Thu, Oct 03, 2002 at 09:12:38AM +1000, Ron Daniel wrote: > Got my CD's. Tuesday lunchtime > Got my Win2k Laptop last Friday > Chucked the CD #1 in the drive, 1945hrs Tuesday night > Followed the bouncing ball > Resized my partitions on the fly > Worked beautifully !!! Up and running 2105 hrs > Now running dual boot, with KDE or GNOME or any other windows manager of > my choice, and loving it. Excellent! > Can anyone or everyone help me please. Ok, I'm running Mandrake Cooker on a Comapq Evo N160. I don't know if it has the same modem. Anyway, I got my modem to work by installing the conexant drivers. The way to find out if you have the same modem as me is to open an xterm, su to root and rung lspcidrake. If you see a line like this: unknown : Conexant|HSF 56k HSFi Modem then you're running the same modem. I don't have the URL I used to get the drivers on me, but The RPM I have installed informs me that the homepage for it is: http://www.mbsi.ca/cnxtlindrv/ ahh, and off that is a link to the conexant page: http://www.conexant.com/customer/md_support.html Do you have ethernet or something else you can zap files to it with? Might be easiest to download it in windows and copy the files from your windows partition for installation. Once your modem is working there's a cute little app called "drakconnect" to get your connection up. I don't know if it will work with the n160 (and presumably n800) modem, because the modem installs to an odd place. HTH James. -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
[SLUG] Mandrake 9.0 Newbie Ron installs in under 1.5 hours !!
Got my CD’s. Tuesday lunchtime Got my Win2k Laptop last Friday Chucked the CD #1 in the drive, 1945hrs Tuesday night Followed the bouncing ball Resized my partitions on the fly Worked beautifully !!! Up and running 2105 hrs Now running dual boot, with KDE or GNOME or any other windows manager of my choice, and loving it. HOWEVER. I cannot get my dial up access to the internet working. The laptop is a Compaq EVO N800v P4 with on board modem. The modem is running under Com4 when used from the other operating system. I have used mcc to experiment with the modem from /dev/modem to /dev/ttys0 to /dev/ttys3 (Com1 to com4). When I try and connect it says it cannot find the modem, When I use /dev/ttys0 as the modem location it seems to find the modem but it still doesn’t work. It is expecting OK when communicating or trying to initialize the modem but doesn’t get anywhere. Can anyone or everyone help me please.