Pages

Search

how to automatically reset linux server on hard disk failure? - Forums Linux

how to automatically reset linux server on hard disk failure? - Forums Linux


how to automatically reset linux server on hard disk failure?

Posted: 29 Jun 2009 01:47 AM PDT

> What you actually need is a custom modified kernel, with a disk driver 

Sounds good. But how to get such a driver, because I can not write it on
my own. :-) I'm hoping that I might not be the first one asking for such
a functionality. 

That's not the background of my problem. The server is fine and runs
well. But I want it to be prepared for the worst case, which means the
customer is running the server until both hard disks of its RAID1 are
defective. In this case the other cluster node has to migrate all
resources to itself, but right now the failed node is still alive enough
to make the cluster think that everything is ok.

Please don't let us argue about the fact, that no reasonable IT
department or service personal would let it come so far. Agreed. But
reality showed us more than once, that some people in fact wait until
the system is broken completely, before taking actions. Therefor I want
to harden the cluster for such cirstances.

Upgrading from CentOS 5.2 to 5.3 on a *live* system?

Posted: 28 Jun 2009 08:42 PM PDT

On Sun, 28 Jun 2009, Carlos Moreno wrote:
 

I actually tried this on several non-critical systems to see what would
happen after doing the update without rebooting. Everything went smoothly,
and there was no fallout. There is a kernel update, which of course won't
take effect until a reboot (but I did that too, several days later, with
no ill effects). From the release notes, you may need to upgrade glibc
first; the procedure that I actually used was:

yum clean all
yum update glibc\*
yum update yum\* rpm\* python\*
yum clean all
yum update kernel\*
yum update

Steve

RH6 Kernel 2.2.5-15 no input device after bootup

Posted: 25 Jun 2009 12:41 PM PDT

Thank you for your advice! But I tried to change mouse and keyboard,
checked the plugs. Everything the same.

I have to admit I was away a few days. I exported the display to another
machine running SuSE, so I can use the devices.

Unfortunately three weeks ago I bought a new Windoze laptop, a cheap
one, because my daughter wanted to play chess. I wiped the HD, so she
can not connect to the Internet and only installed a chess program.
There was a running Cygwin on it I used for accessing my private network
from far away. I used it in my days of C-programming... and felt I don't
need in any more...

Until now I didn't try Moe's diagnostic, but it seems most promising to
me. As soon as I have results I will report.

Any hints welcome. Thank you so much so far.

Ernst

Matt Giwer schrieb: 

Installing Google Chrome on Slackware

Posted: 25 Jun 2009 06:50 AM PDT

On Fri, 26 Jun 2009 03:34:28 +0200, Sidney Lambe wrote:

 

And a major source of email addresses for spammers.



--
Great advances in Debian Linux; post a bug report and get spam in three
days.







--
Great advances in Debian Linux; post a bug report and get spam in three
days.

Very strange thing.. I'm puzzled.

Posted: 23 Jun 2009 06:35 AM PDT

Zibri writes: 

And that's your problem. While Ghost claims to "copy the disk",
it doesn't. It tries to be "smart" and not copy things that "don't
matter" (don't matter to Windows, that is). In general Linux tools do a
better job of handling Windows installations than Windows tools do with
Linux installations.
--
John Hasler
gt.org
Dancing Horse Hill
Elmwood, WI USA

eth0 not found on Optiplex 760 after FC9 install

Posted: 22 Jun 2009 12:42 PM PDT

The Natural Philosopher wrote: 

See if there's an eth0 in /etc/udev/rules.d/70-persistent-net.rules.

udev shouldn't skip eth0 unless it thinks there already is an eth0.

New installation error

Posted: 20 Jun 2009 09:13 AM PDT

On Monday 29 June 2009 20:50, someone identifying as *erziggy* wrote
in /comp.os.linux.setup:/
 

In recent kernels, the */dev/hd?* nomenclature has been replaced with
SCSI nomenclature, and so the device special file for the CD-ROM would
now probably be */dev/sr0* or */dev/scd0* - the distinction between the
latter two is distro-specific, as far as I know, as it depends on
the /udev/ rules. This is customizable, though.
 

Newer distributions all make use of /udev,/ which uses a /tmpfs/ mounted
over */dev* by the init scripts at boot time. Previously a similar
thing existed with /devfs/ but this was proper to kernels prior to 2.6
and is no longer being maintained. /devfs/ used non-standard filenames
for the device special files and ran in kernelspace, whereas /udev/
creates the device special files via userspace tools, based upon the
information exported by the kernel to */sys,* which is now a separate
mountpoint in the root directory, as opposed to a subdirectory of
*/proc* as it used to be.

Distributions that shipped with /devfs/ typically still had the on-disk
*/dev* directory populated with device special files, but in /udev/
systems this is most often no longer the case, and thus */dev* would be
empty until /udevd/ is started by the init scripts. /udev/ can then
populate */dev* in two ways, i.e. either by total autodetection for all
hardware or by untarring an archive of device special files of which it
is generally assumed that they are needed on every system and only
creating the extra device special files as more hardware is detected
and/or hotplugged into the system. Likewise, hardware that is removed
from the system through hot-unplugging gets its device special files
removed.

In my humble opinion, /udev/ is mainly an effort to make GNU/Linux look
more like Windows, and in the process, it then also comes with all the
same kinds of Windows-like quirks. Officially, /udev/ was developed to
avoid the clutter of device special files typically found in on-disk
*/dev* filesystems and to facilitate hotplugging and hot-unplugging.
 

That might be a matter of loading the correct driver for that device. I
don't really have any experience with tapedrives, though.
 

Hmm... Taking a wild guess here, but I presume this has to do with
certain settings in the BIOS, preventing read access, write access or
perhaps both to a given region of memory. Something to do with caching
perhaps?

--
*Aragorn*
(registered GNU/Linux user #223157)

When to update RHEL kernels?

Posted: 19 Jun 2009 04:54 AM PDT

On Jun 19, 11:30am, Doug Freyburger <com> wrote: 

Besides using MySQL instead, or maybe SQLite for lighter databases? If
you're stuck with it, though, I'd link the kernel upgrades to OCFS2
RPM updates directly. There are some good yum utilities for doing
precisely this and blocking surprise updates.

changing partition size.

Posted: 17 Jun 2009 01:26 AM PDT

On Jun 19, 7:57pm, Nico Kadel-Garcia <com> wrote: 

Thanks everyone. resize2fs worked perfectly. The reason I used dd is
because there is some data on the disk that is not partition/file-
system specific. In fact I had tried using Acronis to clone the
partition but it didn't work. It didn't copy that data over. dd copies
everything sector by sector which is good for my purpose.

Triple booting a Macbook w/ 2 Linux systems.

Posted: 06 Jun 2009 12:57 PM PDT

piscesboy wrote:
 

The linux kernel understands MBR (DOS/MSW; PC-BIOS)
and GPT (EFI). Unfortunately, the two main boot loaders, lilo
and grub don't. There are, however, two ways to install grub
on a GPT volume. The dirty one uses the fact that GPT allows
'hidden' blocks between the partition table and the first user
LBA (stage 1_5 of grub is written in those blocks with dd(1));
grub uses the legacy MBR (LBA 0; should, according to GPT
specs, contain only one, fake entry, but linux will ignore extra
enries and use the real GPT partition table) to locate the /boot
file system. The cleaner way is to dl and aplly a set of patches
to grub, that make grub more or less GPT aware.

The MBR partition format is crap, if you don't mind the extra
effort with grub, go for GPT.

--
printf -v email $(echo \ 155 141 162 143 145 154 155 141 162 \
143 145 154 100 157 156 154 151 156 145 56 156 154 | tr \ \\)
# O Herr, lass Hirn vom Himmel fallen! #

problems with modem (ttyS0 and wvdial)

Posted: 06 Jun 2009 05:43 AM PDT

François Patte wrote: 
I dont.

Not even using wvdial.,

User cannot mount DVD, USB and other drives

Posted: 05 Jun 2009 11:12 PM PDT

On Sat, 6 Jun 2009, The Natural Philosopher wrote:

 
Mount the device, then change permission. Or more likely ownership. That
"sticks" ie the device will keep what you apply even after unmounting.
The mount point will stay as it was before you did this, so you'd
see /mnt/hd as being owned by root, but then when you mount the properly
set up drive to /mnt/hd, ownership becomes whoever you set it to.

Michael

installing jesred but getting remove kernel image

Posted: 05 Jun 2009 05:50 AM PDT

On 5 Giu, 16:49, Bill Mar <net> wrote: 


I installed Debian Lenny with Linux-image-2.6-686.
If run "apt-cache depends jesred", I got:

jesred
Depends: libc6
|Depends: squid
Depends: squid3
|Recommends: dhttpd
Recommends: <httpd>
apache2-mpm-itk
bozohttpd
tntnet
aolserver4
aolserver4-core
apache2-mpm-event
apache2-mpm-prefork
apache2-mpm-worker
boa
caudium
cherokee
dhttpd
ebhttpd
fnord
lighttpd
mathopd
micro-httpd
mini-httpd
nginx
thttpd
webfs
yaws

while if I run "dpkg -l | grep linux-image", I got:

ii linux-image-2.6-686 2.6.26+17+lenny1 Linux
2.6 image on PPro/Celeron/PII/PIII/P4
ii linux-image-2.6.26-2-686 2.6.26-15lenny2 Linux
2.6.26 image on PPro/Celeron/PII/PIII/P4


If I try to install jesred by aptitude I got:

Packages being deleted due to unsatisfied dependencies: id linux-
image-2.6-686
Packages to be removed: idA linux-image-2.6.26-2-686

glibcxx_3.4.9 not found - how to fix?

Posted: 03 Jun 2009 04:42 PM PDT

In article <invalid>, invalid
(Charlie Gibbs) writes:
 

I've tracked down and corrected down a couple of other glitches too,
and now my box not only seems to be fully operational, when I tried to
run fgrun (which got me into this mess in the first place) it came up.

And in the end, I've probably come up with the answer to my general
troubleshooting question too. Examine dmesg for error messages -
scan all of /var/log/messages if necessary. (If the system can't
boot far enough to get to a root login, boot from the installation
CD, mount the hard drive, then scan /var/log/messages.) Once you've
found a suspicious error message, type its exact text into google.
It might take some wading through results, but it's amazing what
you can find.

I'll remember that for next time.

--
/~\ invalid (Charlie Gibbs)
\ / I'm really at ac.dekanfrus if you read it the right way.
X Top-posted messages will probably be ignored. See RFC1855.
/ \ HTML will DEFINITELY be ignored. Join the ASCII ribbon campaign!

pre-allocate disk space within a folder

Posted: 29 May 2009 01:53 AM PDT

On Fri, 29 May 2009 01:53:43 -0700, com wrote:
 
Disk space problems are pretty much cured by Moore's law and just throwing
more hardware at the problem. However, here is one idea for implementing
a preallocated block. The block will be user writable at a specific
mount point under tmp. Perhaps, the compiler can be set to use that
subdirectory, etc.

This example uses a loopback allocation. The example below shows a
1G preallocation.

dd if=/dev/zero of=~/prealloc bs=512 count=2000000
losetup /dev/loop0 ~/prealloc
mke2fs /dev/loop0
mkdir /tmp/user_x
mount /dev/loop0 /tmp/user_x
chown user_x:users /tmp/user_x

Note: some of the above commands need root priviledges (su or sudo). If
working as root, add a chown to reset ownership, or use another method to
allow user access.

Caution: verify all commands work as expected and are appropriate for your
specific situation.

--
Douglas Mayne

Grub is hanging and won't reinstall after use of GParted

Posted: 28 May 2009 05:38 PM PDT

On May 29, 9:55pm, RyanMcCoskrie <com> wrote: 

Buy some Fedora disks, just to save trouble. You can also use them to
set up a local website installer for PXE installation. Seriously.
http://fedoraproject.org/wiki/Distribution/LocalVendors should also
list some local vendors.

Debian limits HD to 8.45GB

Posted: 25 May 2009 09:01 AM PDT


"Bryce" <invalid> wrote in message
news:gvepli$fbt$eternal-september.org... 


Sure thing, FWIW: I have seen a situation similar to yours before
and it did end up being a flaky HD...
so you may want to try another drive just to see how it reacts 


Why does it work

Posted: 19 May 2009 03:10 PM PDT

frankjg wrote: 


Funny stuff. I am technically inept but still with a little
help from my friends manage to use Linux for everything but the
digital rights monopoly protected stuff.

I write business letters and deal with my e-mail and
am able to see most sites, I make DVDs and CDs from isos. So
Linux is desktop ready in my humble opinion. Oh and I do it
on an old Dell with a 700 MHz Pentium III, running Mandriva
2008.1 and KDE 3.5.9.

later
bliss

debian kde 3.5 EN/DE keyboard Q

Posted: 16 May 2009 10:09 AM PDT

com wrote:



I've just seen your self-answer :)
--
"All science is either physics or stamp collecting."
Ernest Rutherford.
"All science is either physics AND stamp collecting".
Somewhere on the net

pxeboot kickstart with 1000 clients

Posted: 13 May 2009 10:17 PM PDT

On May 16, 12:18pm, Nico Kadel-Garcia <com> wrote:
 

I forgot to mention. There are two tricky bits to do in a '%post --
nochroot' script.

1: cp /etc/resolv.conf /mnt/sysimage/etc/resolv.conf

This sets up the missing network bit so that any network based
operations, such as 'yum update' or other downloading you want to do
in the '%post' step, work correctly.

2: cp /tmp/ks.cfg /mnt/sysimage/root/ks.cfg

This gets the *actual* kickstart file you used into the installed OS,
because that piece of misinterpreted output that anaconda puts out
called /root/anaconda-ks.cfg is fine fir recording special setups such
as X windows configurations or manual network setups or partition
setups, but it throws out a lot of the useful scripting steps and much
of the package information that you may have had in your actual
kickstart script.

And there's also some very useful final steps to do in their own
'%post' scripts.

* Start sshd. That way, if the kickstart gets stuck, you can still
access the machine remotely and fix things. It's worth the slight,
slight risk of SSH having a security flaw before being updated.

* Run 'yum -y update'. This takes a while and doesn't always work due
to conflicts that have to be resolved manually, but it's awfully
handy.

* Set up email so that it works, and send yourself a note that the
installation is complete.

Configuring CPU frequency scaling

Posted: 12 May 2009 01:49 PM PDT

Allen Kistler <moc> wrote:
 
power, 
affect 
2.6.28-12-generic, which is installed with Ubuntu 9.04
--
Richard Kimber
http://www.psr.keele.ac.uk/

Can I update libc without hassle?

Posted: 11 May 2009 05:04 AM PDT

Michael Mauch <de> wrote: 
 
 

OK. First time I tried chroot I got the error message "FATAL: kernel too
old", so I created another boot system with a newer kernel, otherwise
everything the same. I then did

chroot /mnt/hde8

, followed by

su acm

.. I was then able to start GHC and run a "hello world" command in it. :-)

Only trouble, a minor one, my console keyboard layout and character set
didn't load in the newer kernel. I can surely sort this out.

Thanks muchly!
 

--
Alan Mackenzie (Nuremberg, Germany).

Squirrelmail anyone?

Posted: 10 May 2009 12:25 PM PDT

On 05/13/09 04:03 AM, com wrote: 

I saw the name was conf.pl, but you figured it out....

Well, your alias /webmail seems to work, and you get no permission error
for config.php, so the only thing I can guess is that the apache user
has no right to read the config directory.

/bb

How do I find out what chipset I have?

Posted: 09 May 2009 11:04 AM PDT

On May 9, 7:13pm, John Reiser <net> wrote: 

Reboot, and read the motherboard's model number from the boot screen,
or check your receipts. (Dell has a fabulous website with their
service tags giving you details of your original hardware order, woo-
hoo!)

Filtering for Non-Summary Tasks Microsoft Project

Filtering for Non-Summary Tasks Microsoft Project


Filtering for Non-Summary Tasks

Posted: 30 Jan 2006 08:13 PM PST

Dale's suggestion is the best one (although I don't understand why he
filters out milestones? Dale??) but Tools, Options, View, Check out "Show
Summary Tasks" gives the result you want as well.

--
Jan De Messemaeker
Microsoft Project Most Valuable Professional
http://users.online.be/prom-ade/
+32-495-300 620
"Just Fun" <net> schreef in bericht
news:com... 
the 
so 


Match timescale with duration

Posted: 30 Jan 2006 07:16 PM PST

Hi Michael,

Welcome to this Microsoft Project newsgroup :-)

To add to David's comment, the 20 days per month is 20 WORKING days. You
might also care to see FAQ Item: 5. Default Working Hours.

FAQs, companion products and other useful Project information can be seen at
this web address: http://www.mvps.org/project/

Hope this helps - please let us know how you get on :-)

Mike Glen
Project MVP
DavidC wrote: 



Hiding some subtasks, not all

Posted: 30 Jan 2006 01:10 PM PST

Hi Bella,

Welcome to this Microsoft Project newsgroup :)

You can use a flag field and mark those you want to see, then filter on that
flag.

FAQs, companion products and other useful Project information can be seen at
this web address: http://project.mvps.org/faqs.htm

Hope this helps - please let us know how you get on :)

Mike Glen
MS Project MVP

Bella wrote: 



cannot open .mpd files in Project 2002

Posted: 30 Jan 2006 12:07 PM PST

Hi Rod,

I uninstalled MSP 2002 and then re - installed. No change. Then I
installed MSP 2003 ... same problem. All this is on my laptop.

I also own a desktop ... about a month ago i had backed up all my laptop to
the HD of the desktop. So I opened MSP 2002 on my desktop tried to open .mpd
files on my desktop only ... same problem !

So then i started thinking what in the world have i done to damage two
machines. Since i really don't use the desktop for much of anything the only
answer is that i installed Norton Anti - Virus 2006 brand new copy. I
uninstalled Norton AV 2006. Problem is still there.

So that leaves only one other thing i can think of ... an MS Update of some
kind to Office or Windows XP that is causing the problem. I have installed
absolutely nothing else to the desktop than Norton AV 2006 and MS Updates to
my Laptop and my Desktop.

Clarity please on your last E Mail : What is MDAC ? As i understand my
problem however its every .mpd that will not open. Am i missing your point
about repairing Project ? I did do a repair on Project originally - no luck.
Then as i said above i uninstalled it ... reinstalled it ... then I
uninstalled it and installed MSP 2003 in its place.

This is really getting me down now. I have run out of options. Any other
suggestions ?

Thanks, Rodger

"Rod Gill" wrote:
 

Remove selected task bars from gantt chart legends

Posted: 30 Jan 2006 10:09 AM PST

In article <com>,
"JimB" <microsoft.com> wrote:
 

JimB,
Your post isn't very specific but I think you might find an answer by
reading FAQ 33 - What the Gantt Chart Legend Shows on our MVP website at:
http://www.mvps.org/project/faqs.htm

John
Project MVP

How do I resolve summary task dates

Posted: 30 Jan 2006 07:51 AM PST

Hi,

Project's results are correct.
If you want it to show other results you indeed have a fight on your hand
:-))

--
Jan De Messemaeker
Microsoft Project Most Valuable Professional
http://users.online.be/prom-ade/
+32-495-300 620
"graham" <microsoft.com> schreef in bericht
news:com... 
there a 
fool 
features. 
than 



Multiple rates for resources across projects

Posted: 30 Jan 2006 06:38 AM PST

Hi Mark,

I don't have a server - try posting on the server newsgroup. Please see FAQ
Item: 24. Project Newsgroups. FAQs, companion products and other useful
Project information can be seen at this web address:
http://project.mvps.org/faqs.htm

Mike Glen
Project MVP


MarkH wrote: 



Updating the Actual Work / Task Complete on projects

Posted: 30 Jan 2006 06:31 AM PST

Karen --

The functionality you seek is in Microsoft Project Server 2003. Hope this
helps.

--
Dale A. Howard [MVP]
Enterprise Project Trainer/Consultant
http://www.msprojectexperts.com
http://www.projectserverexperts.com
"We wrote the book on Project Server"


"Karen" <microsoft.com> wrote in message
news:com... 


Using the Resource Pool

Posted: 30 Jan 2006 05:41 AM PST

Hi,

Put the pool in a directory that is read-only for them.
HTH

--
Jan De Messemaeker
Microsoft Project Most Valuable Professional
http://users.online.be/prom-ade/
+32-495-300 620
"tbeau" <microsoft.com> schreef in bericht
news:com... 
pool. 
but 
with 


Resource Usage function

Posted: 30 Jan 2006 02:21 AM PST

Hi Jan

None of the tasks are overallocated, however I am making progress - it looks
like this has something to do with a combination of levelling requirement and
the resource pool retaining the version detail each time I save. Will let you
know if I solve the issue completely - in the meanwhile, thanks for the
pointers

"Jan De Messemaeker" wrote:
 

Meaning of Duration

Posted: 29 Jan 2006 12:00 PM PST

Hi Michele,

Duration is always just that, the time taken to complete the task and
dependant on the resources used and calendars applied.

If the task is fixed duration and you specify 2 days, and you have one
person working on the task then any additional people working on the task
will simply changed the total value of work for the task.

If the task is fixed units then the duration will vary to ensure that as the
work changes so the duration will change comparably, as the number of people
assigned to the task has to remain consdtant. Adding resources to the task
will change the duration if the task and the value of the chnage will depend
on whether or not the task is effort driven.

The default is Fixed work. This presupposes that all time values entered
under duration defines the work directly based on the orgibnally assigned
resources. If the resources change then to ensure that the work remains
constant, the duration will need to change.

The start and finish dates are always calculated on the duration and the
calendar applied in the first instance to the task, and in the second
instance to the resource. If a resource only works four days a week, and the
task is a 5 day task on a 5 day calendar, then with a start on Monday the
finish will be the following Monday evening. The reason being that the
resource only works four days a week, so the fifth day is the start of the
next week. The duration though remains at five days.

Best thing is to draw up a basic plan with say five tasks each of 5 days
long and apply resources to each of them, where one resource only works
Monday to Thursday. set each task to a different setting, fixed work, fixed
units with effort driven, fixed units without effort driven and fixed
duration with and without effort driven. You will then see the different
effects on the programme.

Hope this helps a little.

DavidC

"Michele" wrote:
 

A Fixed duration task changes duration

Posted: 28 Jan 2006 02:38 AM PST

INHMO perhaps the question should be "why are you changing the duration on a
fixed duration task?" By definition, it is then no longer a fixed duration
task. What is the outcome you are looking for?

The task type should be viewed as a dynamic setting for a task - based on
what change you are making to the task and what outcome you want, you set
it. By changing the finish date on a task, you are changing the duration.
Changing the duration on a fixed duration task will result in MS Project
recalculating the work (keeping assignment units fixed). I would simply set
the task to fixed units first, this way it is very clear to me that I am
changing duration, units is fixed, so MS Project will recalculate the work.
In both of the cases you list below, if you change the task to fixed units
even after going through all your steps, it will reset the task duration to
match the assignment duration.

I can honestly say that I don't find myself setting the start or finish
dates on tasks or assignments very often at all, as the former will set
constraints on tasks that I generally don't want imposed. Perhaps you
should review the process that you are using for planning and tracking work
plans (again reviewing the FAQ's and Mike Glen's series). I don't believe
you will be successful in trying to plan for every permutation of inputs
from the project managers. Choose a standard and ensure everybody is aware
of it.

Good luck.

John M.



"Michele" <microsoft.com> wrote in message
news:com... 


SPOTLIGHT reports

Posted: 27 Jan 2006 09:41 PM PST

thanx julie.

file keeps corrupting

Posted: 27 Jan 2006 01:23 PM PST

In article <com>,
"maryj" <microsoft.com> wrote:
 
maryj,
First of all, you're welcome.

It is possible that the "new" version of Project was simply 2003 versus
2002 or maybe 2003 pro in place of 2003 standard. Nonetheless, neither
an updated version of Project nor switching from Windows 2K to Windows
XP should affect linking. Rather, as Rod and I both stated, the sheer
quantity of linked files is most likely what "did them in". With that
many links and without extremely diligent and disciplined users, it is
basically a matter of time before corruption creeps in. It looks like
they are at that point and jockying the files to new desktop PCs didn't
help.

My suggestion still holds - combine files to achieve a more reasonable
number of links. A master can always be filtered and/or sorted to
display selected information. Filters are a whole lot more robust than
links.

John
Project MVP 

Set the Project Name to be Task 0 (zero)?

Posted: 27 Jan 2006 12:15 PM PST

In article <com>,
"KookyQstn0" <microsoft.com> wrote:
 

kookyQstn0,
The Task Name of the Project Summary task tracks with the entry in the
Title field under File/Properties/Summary tab, or you can manually enter
whatever name you like directly in the Task Name field os the Project
Summary Task.

John
Project MVP

Effort driven fixed duration task

Posted: 27 Jan 2006 10:31 AM PST

You're welcome, Michele :-)

Mike Glen
MS Project MVP


Michele wrote: 



Dragging a task in Gantt view

Posted: 26 Jan 2006 06:22 PM PST

In article <googlegroups.com>,
"Gershon" <com> wrote:
 

Gershan,
No option that I know of. However I do not have Project version 2002
installed and I am not familiar with its updates. The only advice I can
give is to check for updates on the microsoft website or hope that
someone else has a good answer - I'm stumped.

John
Project MVP

Opening .mpp without Project

Posted: 26 Jan 2006 01:22 PM PST

Gerard Ducouret and Dale Howard -

Thank you both - we will look into these programs and see how well they
solve the problem!

"SharonW" wrote:
 

when exporting a project to a Web page, how to add current date?

Posted: 26 Jan 2006 12:28 PM PST

http://vsbabu.org/mt/archives/2005/05/28/export_ms_project_to_html.html

might help -- it is a custom exporter to HTML that I wrote because I
did not like MPP's default exports. You might find this useful.

Max # of Project Files Linked to a Project Master

Posted: 26 Jan 2006 09:41 AM PST

Hi Marty,

You are welcome and thanks for the feedback. I would only echo Rod's
warning -- 550 files is highly likely for corruption.

Julie
"MartyO" <microsoft.com> wrote in message
news:com... 


Row height is fixed, unchangable, and silly

Posted: 26 Jan 2006 09:02 AM PST

Hi Vic,

Yes, it sounds like that is the last trick to try.

Let us know how you get along.

Julie

"lcVic" <microsoft.com> wrote in message
news:com... 


Copy UserDefined Fields from Summary to subtask

Posted: 26 Jan 2006 08:51 AM PST

In article <com>,
"Hadi" <microsoft.com> wrote:
 

Hadi,
Uuuuh, I think you meant, "this is sweet". You're welcome.

John 

Formula & Graphical Indicators

Posted: 26 Jan 2006 07:30 AM PST

Try replacing Now with [Current Date]:

IIf([% Complete]<100 And [Finish]<[Current Date],"RED",IIf([% Complete]>=80
And [% Complete]<100 And [Finish]>[Current Date]+10,"AMBER","GREEN"))

I don't think this does exactly what you want, but it's a start.

--

Rod Gill
Project MVP
Visit www.msproject-systems.com for Project Companion Tools and more


"dave" <microsoft.com> wrote in message
news:com... 


Missing Project Rows MSProj2003

Posted: 26 Jan 2006 06:19 AM PST


duzby wrote: 

Earlier, you said it was a single file. Now you're saying it's using
shared resources. Those kinds of things happen most of the time, if not
all, when you share resources.

summary task % complete calulation when subtask link to Excel

Posted: 26 Jan 2006 05:32 AM PST

Thanks for your post.
No, there are only the 3 tasks. I did find that not linking the summary
task % complete to the excell spread sheet (even though that link was to a
blank cell) allowed Project to correctly calculate the % complete. I did
have to adjust the summary task manually, then change the 'feeder' cell, to
get the correct summary %. This just makes for more cut / paste special
steps, but it will work.

"John M." wrote:
 

Specifically Deny Outlook Versions to Exchange - Microsoft Exchange

Specifically Deny Outlook Versions to Exchange - Microsoft Exchange


Specifically Deny Outlook Versions to Exchange

Posted: 11 Jun 2008 10:41 AM PDT

Just what I needed - Thanks Andy!!!

I did see the recommended versions you posted as well..I think we are going
to deny the ones we know we don't use and work on updating the one's we do so
that I can get above O2000 SP3

"Andy David {MVP}" wrote:
 

5.7.1 - Sender IP Must Resolve

Posted: 11 Jun 2008 06:53 AM PDT

Well honestly everything looks OK to me.
If its critical you may need to contact the email admins on the other side
to see whats up.

"Kenny" <microsoft.com> wrote in message
news:com... 

SMTP spoofing

Posted: 10 Jun 2008 03:53 AM PDT

"Lee Derbyshire [MVP]" wrote: 

No third party plugins or applications that permit this enforcement?
Seems a very simple task... :)

Clustering Options

Posted: 09 Jun 2008 12:03 PM PDT

Thanks to both of you.

"com" wrote:
 

IIS Default Web Site STOPPING

Posted: 09 Jun 2008 09:32 AM PDT

No - it seems to be deleting the event log.

But yesterday there were 3 things in the log:

6/9/2008 8:34:31
AM WinHttpAutoProxySvc Information None 12517 N/A EXCHANGE The WinHTTP Web
Proxy Auto-Discovery Service suspended operation.
6/9/2008 8:34:31
AM WinHttpAutoProxySvc Information None 12503 N/A EXCHANGE The WinHTTP Web
Proxy Auto-Discovery Service has been idle for 15 minutes, it will be shut
down.
6/8/2008 11:06:33 PM W3SVC Warning None 1013 N/A EXCHANGE A process serving
application pool 'ExchangeApplicationPool' exceeded time limits during shut
down. The process id was '832'.



"Andy David {MVP}" wrote:
 

Rapid database growth after installing archiving solution.

Posted: 08 Jun 2008 11:53 AM PDT


Sounds like a possibility. Know of any way to find out?

Ralph

"Ben M. Schorr, MVP" wrote:
 

Exchange Offline Access

Posted: 07 Jun 2008 04:57 AM PDT

A very good option!

"Rafavic" <microsoft.com> wrote in message
news:com... 

free/busy info shows detail not just blocks

Posted: 06 Jun 2008 12:52 PM PDT

I downloaded it, but can't connect to anything on my exchange 2007 server. I
keep getting could not expand errors or could not connect errors even though
it will list all the mailboxes.

"Leif Pedersen [ MVP]" wrote:
 

SSL Certificate

Posted: 05 Jun 2008 06:11 PM PDT

::hugs::!

"Andy David {MVP}" <com> wrote in message
news:com... 

Exchange Server Roles

Posted: 05 Jun 2008 01:03 PM PDT

Thanks Andy

"Andy David {MVP}" wrote:
 

Strange idea

Posted: 05 Jun 2008 01:55 AM PDT

Hi,

I would create a distribution list, grant the users send as on this group
and ask the users to select this group when sending (I don't think that
there is another automatic way).

See
http://blogs.technet.com/sbs/archive/2007/11/06/how-to-send-e-mails-with-exchange-using-a-different-from-address.aspx

Leif

"KF Thomas SHIU" <com.hk> skrev i meddelelsen
news:C46DE4B0.CC5F%com.hk... 

exchange 2007 setup fails on new 2008 server

Posted: 04 Jun 2008 09:14 PM PDT

yup it sure did
enabled ip6 and setup finished
thanks

"Alexander Zammit [MVP]" <alex@respond_to_group> wrote in message
news:%phx.gbl... 

Microsoft Word - Lost document

Microsoft Word - Lost document


Lost document

Posted: 20 Jan 2015 03:01 PM PST

I downloaded free app for word to my iPad. I started composing a rather in depth historical document which I worked on for 4-5 days. Each time I opened word the document appeared. No problem. I never did name the document but word was saving it constantly. Today I tried to use app but it was frozen. I reset iPad, still no document and word still frozen. I installed upgrade to my ipad 8.1.2 I think. After download complete word is working perfectly but the document is not there. The thought of re-researching all this material is painful. Help!


Macro to copy text, then save file as copied text

Posted: 20 Jan 2015 02:36 PM PST

I have a vast number of job applications where I am copying and pasting from a "print view" from a web browser into a MS Word document, which produces a document with lots of tables and nested tables, Somewhere in there is the name of the applicant... I can record a macro to find their name, since it'll always be in the same table/cell location, but I would like to have it Save As the name of the applicant as well. I can't seem to do that second part by just recording a macro.

Sub testing()
'
' testing Macro
'
'
    Selection.Find.ClearFormatting
    Selection.Find.Replacement.ClearFormatting
    With Selection.Find
        .Text = "Name:"
        .Replacement.Text = ""
        .Forward = True
        .Wrap = wdFindContinue
        .Format = False
        .MatchCase = False
        .MatchWholeWord = False
        .MatchWildcards = False
        .MatchSoundsLike = False
        .MatchAllWordForms = False
    End With
    Selection.Find.Execute
    Selection.MoveRight Unit:=wdCell
    Selection.Copy

so far so good, but then I'm having problems with this part because it wants to save everything as "John Smith.doc" every time.

    ChangeFileOpenDirectory "C:\Users\fogharty\Desktop\"
    ActiveDocument.SaveAs2 FileName:="John Smith.doc", FileFormat:= _
        wdFormatDocument, LockComments:=False, Password:="", AddToRecentFiles:= _
        True, WritePassword:="", ReadOnlyRecommended:=False, EmbedTrueTypeFonts:= _
        False, SaveNativePictureFormat:=False, SaveFormsData:=False, _
        SaveAsAOCELetter:=False, CompatibilityMode:=0
End Sub

Ideally, it would save as the applicant's name plus the current date... "John Smith 1-20-2015.doc, and to a specific folder on the desktop. But perhaps I'm dreaming.

Any help will be greatly appreciated. Thank you.

One more question on indexing all words in a Word document

Posted: 20 Jan 2015 01:31 PM PST

Now and then I need to make indexes in Word documents of the entire text of that particular document i.e. of every word from 1 letter and up.

Someone was kind enough to help me to a macro that helps to list the frequency, but I also need the INDEX.

I checked several macro sources, but didn't find one that simply takes over de impossible handword of marking every word in a tekst by hand.

Hoping!

Extract Comments to a new Document Macro - Including line numbers

Posted: 20 Jan 2015 01:17 PM PST

Hello

I am a newbie to using Macros. I found a template for extracting comments to a new document and managed to successfully create it and personalise the table titles. The table includes the page number the comment relates to. It would be far more useful to me for it to show the line number. Is there a way of doing this? Below is the macro code thingy I have been using. How do I get it to show which line number the comments relate to? Thank you in advance! If I manage to do this it will streamline my interview data analysis no end!

Penny

Sub ExtractCommentsToNewDocument()

    '=========================
    'Macro created 2007 by Lene Fredborg, DocTools - www.thedoctools.com
    'Revised October 2013 by Lene Fredborg: Date column added to extract
    'THIS MACRO IS COPYRIGHT. YOU ARE WELCOME TO USE THE MACRO BUT YOU MUST KEEP THE LINE ABOVE.
    'YOU ARE NOT ALLOWED TO PUBLISH THE MACRO AS YOUR OWN, IN WHOLE OR IN PART.
    '=========================
    'The macro creates a new document
    'and extracts all comments from the active document
    'incl. metadata
    
    'Minor adjustments are made to the styles used
    'You may need to change the style settings and table layout to fit your needs
    '=========================

    Dim oDoc As Document
    Dim oNewDoc As Document
    Dim oTable As Table
    Dim nCount As Long
    Dim n As Long
    Dim Title As String
    
    Title = "Extract All Comments to New Document"
    Set oDoc = ActiveDocument
    nCount = ActiveDocument.Comments.Count
    
    If nCount = 0 Then
        MsgBox "The active document contains no comments.", vbOKOnly, Title
        GoTo ExitHere
    Else
        'Stop if user does not click Yes
        If MsgBox("Do  you want to extract all comments to a new document?", _
                vbYesNo + vbQuestion, Title) <> vbYes Then
            GoTo ExitHere
        End If
    End If
        
    Application.ScreenUpdating = False
    'Create a new document for the comments, base on Normal.dot
    Set oNewDoc = Documents.Add
    'Set to landscape
    oNewDoc.PageSetup.Orientation = wdOrientLandscape
    'Insert a 4-column table for the comments
    With oNewDoc
        .Content = ""
        Set oTable = .Tables.Add _
            (Range:=Selection.Range, _
            NumRows:=nCount + 1, _
            NumColumns:=5)
    End With
    
    'Insert info in header - change date format as you wish
    oNewDoc.Sections(1).Headers(wdHeaderFooterPrimary).Range.Text = _
        "Comments extracted from: " & oDoc.FullName & vbCr & _
        "Created by: " & Application.UserName & vbCr & _
        "Creation date: " & Format(Date, "MMMM d, yyyy")
            
    'Adjust the Normal style and Header style
    With oNewDoc.Styles(wdStyleNormal)
        .Font.Name = "Arial"
        .Font.Size = 10
        .ParagraphFormat.LeftIndent = 0
        .ParagraphFormat.SpaceAfter = 6
    End With
    
    With oNewDoc.Styles(wdStyleHeader)
        .Font.Size = 8
        .ParagraphFormat.SpaceAfter = 0
    End With

    'Format the table appropriately
    With oTable
        .Range.Style = wdStyleNormal
        .AllowAutoFit = False
        .PreferredWidthType = wdPreferredWidthPercent
        .PreferredWidth = 100
        .Columns.PreferredWidthType = wdPreferredWidthPercent
        .Columns(1).PreferredWidth = 5
        .Columns(2).PreferredWidth = 23
        .Columns(3).PreferredWidth = 42
        .Columns(4).PreferredWidth = 18
        .Columns(5).PreferredWidth = 12
        .Rows(1).HeadingFormat = True
    End With

    'Insert table headings
    With oTable.Rows(1)
        .Range.Font.Bold = True
        .Cells(1).Range.Text = "Page"
        .Cells(2).Range.Text = "Code"
        .Cells(3).Range.Text = "Text"
        .Cells(4).Range.Text = "Interview"
        .Cells(5).Range.Text = "Date"
    End With
    
    'Get info from each comment from oDoc and insert in table
    For n = 1 To nCount
        With oTable.Rows(n + 1)
            'Page number
            .Cells(1).Range.Text = _
                oDoc.Comments(n).Scope.Information(wdActiveEndPageNumber)
            'The comment itself
            .Cells(2).Range.Text = oDoc.Comments(n).Range.Text
            'The text marked by the comment
            .Cells(3).Range.Text = oDoc.Comments(n).Scope
            'The comment author
            .Cells(4).Range.Text = oDoc.Comments(n).Author
            'The comment date in format dd-MMM-yyyy
            .Cells(5).Range.Text = Format(oDoc.Comments(n).Date, "dd-MMM-yyyy")
        End With
    Next n
    
    Application.ScreenUpdating = True
    Application.ScreenRefresh
        
    oNewDoc.Activate
    MsgBox nCount & " comments found. Finished creating comments document.", vbOKOnly, Title

ExitHere:
    Set oDoc = Nothing
    Set oNewDoc = Nothing
    Set oTable = Nothing
End Sub

Equation symbols in Word

Posted: 20 Jan 2015 12:27 PM PST

Hello. I've got a question about some symbols.

I want to put the "normal subgroup" Symbol, I mean, this symbol.

but I don't wanna open that menu and search for the symbol.

For example, many symbols can be written with a command, for example "less or equal than" may be inserted writting "\leq" in the equation. Or the ones at the left side of the "normal subgroup symbol", for "is subset or has this as a subset", can be inserted writting "\subseteq" or "\superseteq", "\cdot" can be used for "dot product"

This works a lot similar to LaTeX. the command for "less or equal than", and of "is subset of" is the same, the one for "has this as a subset" is "\supseteq", "\cdot" also works.
And I can write the normal subgroup symbol with the "\triangleleft" command in LaTeX. So... is there any way I can personalize this to have some command, or some quick way to write this symbol? The command \triangleleft doesn't work in word (Even when a lot of LaTeX commands work in word)...

It would be very good if I could assign it a command like the ones in LaTeX.

microsoft word wont open documents

Posted: 20 Jan 2015 12:26 PM PST

I have the brand new word, 2013, I try to open my lecture notes from my blackboard website and presentations on powerpoint and neither of the programs will allow them to be opened. Ive tried everything just says can not open no other options...anyone have any ideas?

Avery Label Template not accurate

Posted: 20 Jan 2015 10:50 AM PST

Using Office 2013 on a Windows 7 machine

I am trying to print a full page of return address labels using an Avery template (either 8167 or 5267) from the mail merge -> labels list of choices.   The label text keeps creeping down bit by bit so that by the time I am at the bottom of the printed page, the labels are not usable.  The return address has crept so low that only the first two lines of the address are actually printed on the label.   Haven't had this problem before so I don't even know where to look for a fix.

Word macro to insert review changes into a separate doc

Posted: 20 Jan 2015 09:34 AM PST

Hi,

I have the following code to take my changes into a new document but the author, type etc. are not being inputted into their own columns - the table is displaying with multiple rows and 1 column. Is there a way to assign each arev to a column?

Dim arev As Revision
Dim docsource As Document, doctarget As Document
Set docsource = ActiveDocument
Set doctarget = Documents.Add
With docsource
    For Each arev In .Revisions
        doctarget.Range.InsertAfter arev.Author & vbTab & arev.Type & vbTab & arev.Range & vbCr
    Next arev
End With
doctarget.Range.ConvertToTable
End Sub

Thanks,

Adam

Possible to hide text until it's printed?

Posted: 20 Jan 2015 07:40 AM PST

I was curious - and I can't seem to track down any sort of answer. Is it possible to format text in a way that it remains hidden in the digital view of the document, but shows up in standard black when the document is printed?

Cropping width and height not setting independently

Posted: 20 Jan 2015 07:13 AM PST

I'm using Format Picture>Crop to crop a number of images to the same exact size, entering the dimensions into the Crop position Width: and Height: fields. Although it appears that these dimensions can be set independently of each other (which is exactly what I would expect), changing one dimension very slightly changes the other. For example, I try to crop an image to 4cm high and 5.5cm wide; Word resets the dimensions to 3.99cm high and 5.49cm wide. It's not a big enough adjustment to be a problem, but I can't understand why Word is doing this in the first place. Has anyone else had this problem?

Thanks!

office 365

Posted: 20 Jan 2015 01:19 AM PST

Have had 365 since April 2014 on both my desk top and laptop, all worked fine until December 2014 now office 365 doesn't work on my laptop.  I have uninstalled and re-installed, used the repair online and had remote assistance try and help. Now it still doesn't work on my laptop and I need urgent help as I need it for my studies.

Printing Problems on Avery Label

Posted: 19 Jan 2015 11:48 PM PST

I downloaded a template for Avery 5163 labels.     I completed the label, looked at the print preview and clicked print.   The labels ran through the printer, but did not print!    I can open other documents and they print with no problem.  I ran a diagnostics test in Microsoft Office 2010  and it shows no problems.  I also ran a troubleshooter for my HP Photosmart 6515, it also shows no problems!   Has anyone else had this issue?  If so, how did you correct it?  

This is frustrating!!!

microsoft word on ipad

Posted: 19 Jan 2015 08:37 PM PST

Hi

i have been trying to save documents on microsoft word into my onedrive email account but it seems to fail cos the 'connecting' box is flashing endlessly.. does anyone know of a solution?

thanks

Double sided numerical (001-300) tickets, Please Help!

Posted: 19 Jan 2015 03:51 PM PST

I use Microsoft Office 2010.

I need to make 300 double sided tickets that will be used for a charity sub sale. I usually use templates when I need to do things like this but I cant seem to find a template that suits my exact needs.

I need to make 6 double sided tickets per page. They need to have a numerical count from 001-300. I don't have a printer that prints double sided so I will need it that I can print out the 300 tickets and then place them all in the printer again upside down and print the backside evenly for me to cut them out. I'd prefer the tickets not have an border/outline but if its necessary I will make the exception.

If someone could point me to a tutorial or explain how I could do this, it would be greatly appreciated!

Microsoft Office Programs Crash When I Try to Insert a Picture

Posted: 19 Jan 2015 03:11 PM PST

Microsoft Office programs, Word, OneNote, and Excel, crash when I try to insert a picture.  This occurs when I try to insert a picture that I had saved to the Desktop.  I have repaired Office several times but this keeps happening.

I do have the add-in "Office Tabs" installed.

Any tips?

Macro for Document and PDF-Both With New Names and Locations

Posted: 19 Jan 2015 03:08 PM PST

I want to create a macro that allows me to "save as" an existing documents with a new title, and creates a PDF of it. I want to be able to create both simultaneously, name them the same thing, and I want to choose where they get saved.

So far, I've scoured the web and found this; it creates a new document and a PDF, but saves them both in the same place the original document is saved in.

Dim strName As String

ActiveDocument.Save

strName = Left(ActiveDocument.FullName, Len(ActiveDocument.FullName) - 4)

strName = strName & "pdf"

ActiveDocument.ExportAsFixedFormat OutputFileName:=strName, _

                              ExportFormat:=wdExportFormatPDF, OpenAfterExport:=False, OptimizeFor:= _

                              wdExportOptimizeForPrint, Range:=wdExportAllDocument, From:=1, to:=99, _

                              Item:=wdExportDocumentContent, IncludeDocProps:=True, KeepIRM:=True, _

                              CreateBookmarks:=wdExportCreateNoBookmarks, DocStructureTags:=True, _

                              BitmapMissingFonts:=True, UseISO19005_1:=True


Also, I've found this; It does half of what I want. It allows me to name and choose where the PDF goes, but doesn't include the document. 

Dim StrPath As String, StrName As String, Result

With ActiveDocument

 On Error GoTo Errhandler

 StrPath = GetFolder & "\"

 StrName = Split(.Name, ".")(0)

 While Dir(StrPath & StrName & ".pdf") <> ""

   Result = InputBox("WARNING - A file already exists with the name:" & vbCr & _

     Split(.Name, ".")(0) & vbCr & _

     "You may edit the filename or continue without editing." _

     & vbCr & vbTab & vbTab & vbTab & "Proceed?", "File Exists", StrName)

   If Result = vbCancel Then Exit Sub

   If StrName = Result Then GoTo Overwrite

   StrName = Result

 Wend

Overwrite:

 .ExportAsFixedFormat OutputFileName:=StrPath & StrName & ".pdf", _

 ExportFormat:=wdExportFormatPDF, OpenAfterExport:=False, _

 OptimizeFor:=wdExportOptimizeForPrint, Range:=wdExportAllDocument, _

 Item:=wdExportDocumentContent, IncludeDocProps:=True, KeepIRM:=True, _

 CreateBookmarks:=wdExportCreateNoBookmarks, DocStructureTags:=True, _

 BitmapMissingFonts:=True, UseISO19005_1:=False

End With

Errhandler:

End Sub

Function GetFolder() As String

Dim oFolder As Object

Can anyone help come up with a variation on the two or just help fill in the gaps? I would really appreciate it. Thanks.