Red Hat :: Net Time Set Command Fails With Success?
Jul 12, 2010
On Red Hat Enterprise Linux Server release 5.4, I enter the command:net time set -I 192.59.196.66Where 192.59.196.66 is the IP address of a Windows Server 2008 time serverThe response is:/bin/date 071218072010.20 failed. Error was (Success)The actual clock time does not get updated. However, evidently it did really communicate with the time server on 192.59.196.66, because the value in the response 071218072010.20 does correspond to the time on the time server, albeit in the somewhat bizarre format MMDDHHMMYYYY.SS.
View 1 Replies
ADVERTISEMENT
Dec 7, 2010
I am trying to insall CPAN, apparently I do this by typing CPAN at the command line.After much else, this results in
Code:
**UNRECOVERABLE ERROR**
Could not find gdlib-config in the search path. Please install libgd 2.0.28 or higher.
If you want to try to compile anyway, please rerun this script with the option --ignore_missing_gd.
Warning: No success on command[/usr/bin/perl Makefile.PL INSTALLDIRS=site]
[code]....
View 4 Replies
View Related
Apr 28, 2011
I have a Insprion 14R (N4010) and when I hibernate it will usually restore without a problem, but maybe 15% of the time it will reboot while loading. I would like to figure why, since I'd rather not lose anything... My swap space is 5.9GB, I have 4GB RAM (video uses 1gb, so I have 3gb usable)
lspci says
00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller (rev 18)
00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 18)
00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series Chipset HECI Controller (rev 06)
[code]....
I do have the hibernate package installed...
View 6 Replies
View Related
Jun 23, 2009
I have to trace back what command and when it is used for the last 3 months. It is quite urgent as I have trouble with the system configuration.
View 5 Replies
View Related
Feb 27, 2011
logging in a server through putty in the same network when i executed last command its showing system ip logged in time and logged out time the output as followsthis is my system
oot pts1 xx.xx.xx day month date time in time out timeand similarly am geeting other than this likeroot :0day month date time still logged in this is from more than 3 days its logged in
View 2 Replies
View Related
Jan 14, 2010
About 40% of the time when I try to open Dolphin (clicking the widget on the taskbar) I get launch feedback but it never opens Dolphin. If I then click it again, this time it will open. Where can I look in some log to find what error might be happening?
View 9 Replies
View Related
Dec 13, 2010
I recently got Ubuntu up running on my HP DV1000 laptop. The problem I started noticing is that whenever I were to install packages via software center or even from the web. They simply won't install. After I enter my password it just hangs and won't continue forward.
View 4 Replies
View Related
Apr 27, 2015
When I try to install Debian 8 on my laptop I get this rather odd error. The install fails every time. I've managed to get as far as choosing which Desktop Environment I want and the shortly after it shuts off. It shows 4 messages
Code: Select allSystem is going down!
Sending Termsignal
Sending Killsignal
Requesting Machine Poweroff
The machine I'm trying to install on is a Gateway NV53, 4gb of RAM, AMD Athlon II x64.
At first I thought it might be my disc so I burnt another DVD using the 4.3GB DVD image I had downloaded. I checked the disc and it verified with the image and so I tried again with the same results as above. Any clue what might be causing this? I'm sure it isn't my hardware, Arch has been running fine for almost 6 months and never seemed to care.
View 3 Replies
View Related
Mar 30, 2011
I'm running Ubuntu Hardy 8.04 and in the UK we changed from GMT to BST last Sunday (27th March)
On GMT I was waking on LAN at 23:30, all was working fine then we changed to BST. What I usually do is leave the BIOS clock on GMT and change the Wake on Alarm to 22:30. I did this, shut down Ubuntu fine, but its not waking up at all at 22:30, or any other time I set the WOA to. I had this problem a few years ago on an old ASrock mobo and cant remember how I sorted it - maybe by blanking the bios, cant remember.
View 4 Replies
View Related
Sep 1, 2011
i am trying to install Ubuntu 11.04 on HP proliant DL 360 G6 but it fails at the time of iso_scan. /var/log/syslog shows "failed mounting /dev/sda" and menu item iso_scan failed i dont know how to solve this problem its urgent. On server RAID5 is configured
View 1 Replies
View Related
Jul 1, 2010
I am trying to build conky from SlackBuilds.org using sbopkg, but the build fails every single time. It may be worth noting that I am trying to build with extra options, namely --disable-x11 --disable-xdamage --disable-own-window --disable-xft.
This is so I can have a cli-only conky that I can pipe to my status bar. This has worked in the past, but now the build is failing with a seemingly unrelated error.
It states:
Code:
At the end of the build. I tried removing the option --enable-audacious, but that only resulted in an error which complained that yet another option (--enable-rss=yes) was a "Command not found". This continues as I remove options. I would like to keep many of those options active as I have a need for certain features.
This is a copy of the SlackBuild being used:
Code:
I have a full install of Slackware64 v13.1, so audacious is installed. I don't know what else could be going wrong, and I don't know why this worked in the past.
View 6 Replies
View Related
Mar 6, 2010
Arpwatch is failing to start at boot time. I got this message:
arpwatch: bad interface eth0: eth0: no ipv4 address assigned
Once I login into my account, I can (as root) run the arpwatch demon, but it is suppose to run at boot time. After I installed aprwatch, it was working correctly. I do not have an idea of what happens or since when the problem start to happen. I just realize, after a while , that arpwatch was not running. I am running Fedora 12 - 2.6.32.9-67.fc12
View 4 Replies
View Related
Aug 3, 2010
I have no idea what I've done but I can't compile from source anymore.
VectorLinux standard 6.0
everything I try to compile fails at ./configure with an error :
Quote:
The content of config.log: (kinda long)
Quote:
This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake.
It was created by mpc configure 0.8.2, which was generated by GNU Autoconf 2.65.
Invocation command line was:
configure: exit 1
I was intending to recompile gcc from source instead of the the one came with the distro, but to do so I need MPC, which I can't compile.
View 18 Replies
View Related
Nov 29, 2008
I have a flash drive that I want to mount as my root filesystem at boot time. When I'm in linux, I can run `mount /dev/sda1 /mnt`, and the kernel will mount the ext3 FS on the flash drive at /mnt with no problems. From this I assumed I could boot my system with the kernel option 'root=/dev/sda1', but this doesn't work. My kernel has no initrd, and is booted directly by a bootloader. It has no modules, so I know that's not the issue.
The current setup that works consists of a ramdisk that the bootloader loads into RAM before booting the kernel. The kernel detects this ramdisk and the current kernel root option ('root=/dev/ram') mounts the ramdisk as the root fs with no problems.I can see where the kernel detects the flash driveat startup, and I can't think of a reason why I couldn't just mount it as root. I can copy/paste startup logs here if necessary.
View 2 Replies
View Related
Feb 11, 2010
I have what I think is a somewhat different failure of standby than I've seen listed on other threads, and I'm stumped.The system hangs on this for a while, then comes back to the login screen without going into standby. This ONLY HAPPENS on a SECOND standby attempt--the first standby after booting ALWAYS succeeds.The standby log doesn't indicate any failures.I had made other changes previously that temporarily got standby working consistently:/etc/default/grub: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash usbcore.autosuspend=-1"
View 1 Replies
View Related
Aug 10, 2011
each time i upgrade my kernel, my installation of lirc fails to work after the upgrade, and i have to re-compile (against new kernel) and install the lirc modules... which i do via something like:
Code:
sudo modprobe -r lirc_imon
sudo dpkg-reconfigure lirc-modules-source
sudo modprobe lirc_imon
after which all is well. this of course is a problem that DKMS should solve for me but it doesn't do it. also i get this message in my messages log:
[Code]...
View 1 Replies
View Related
Apr 6, 2010
I'm timing how long it takes to run a command foo. I'm looking to append the results from the time command to a file, and discard the results from the foo command. I tried the following, but it didn't do what I want:
$ time ./foo > /dev/null >> output_from_time_command.txt
View 1 Replies
View Related
Jun 18, 2009
I have tried every variation I can think of to get an 'at' to rm a file after a certain amount of time.
echo 'rm -f /var/www/media/images/tempProducts/XYZ.png' | at now + 2 minutes
In php:
$apCommand = "echo 'rm -f " . $sTempName . "' | at now + 2 minutes";
exec ($apCommand);
I have:
- pasted the command into the command line as root and it works fine so it seems to be rights related -- rm gets scheduled and the file gets deleted after 2 minutes
- tried every variation of sudo within the statement including making sure that apache is listed in sudoers
- chmod to 777
- chown to apache
The rm command does get scheduled into the 'at' queue but the rm never removes the file.
at -c (without adding sudo to the 'at' statement)
#!/bin/sh
# atrun uid=48 gid=48
# mail apache 0
umask 22
[Code]....
View 3 Replies
View Related
Mar 22, 2010
dd if=/dev/zero of=/var/images/abc.img bs=1M count=0 seek=2097152 dd: truncating at 2199023255552 bytes in output file `/var/images/abc.img': File too large
The dd commad fails here saying its truncating if I try same command with less value for seek it works dd if=/dev/zero of=/var/images/abc.img bs=1M count=0 seek=2088960
0+0 records in
0+0 records out
0 bytes (0 B) copied, 2.1e-05 seconds, 0.0 kB/s
Whats the reason behind this and how can this be solved ? Note that there is 3.9T available on disk for the above commands to execute.
View 4 Replies
View Related
May 5, 2011
I have an ImageMagick command that is something like this:
convert "/path/to/photo" -set comment "(c) my company" -resize WxH miff:- | composite -dissolve 30 -geometry +40+138 -quality 80 "/path/to/logo.miff" - jpeg:"/path/to/photo_for_public"
Directory /path/to is mounted over NFS (same network). Some options of fstab that might be helpful:
Both rsize and wsize are 3kB
hard,proto=tcp,timeo=600,retrans=2
Sometimes the imagemagick command fails and produces no file (/path to/photo_for_public might not emerge after command execution). Files might be from 100kB to 10MB. We usually re-run the command for files not generated. Sometimes it fails even twice, so we do it third time (hilariously funny, but even a third run can fail).
Are there any thoughts what may be wrong with my photo-processing setup?
View 1 Replies
View Related
May 13, 2011
I have a problem with my filezilla (or my ftp server). When I want to connect to my ftp server (and also other ftp servers!), after MLSD command, I get a "Connection timed out" error.
Log:
Code:
Status: Resolving address of khanemashroote.ir
Status: Connecting to 46.4.196.109:21...
Status: Connection established, waiting for welcome message...
Response: 220 ProFTPD 1.3.4rc2 Server (Debian) [::ffff:46.4.196.109]
Command: USER badihi
Response: 331 Password required for badihi .....
Command: MLSD
Error: Connection timed out
Error: Failed to retrieve directory listing
View 1 Replies
View Related
Dec 26, 2010
I have a custom command I've made to quickly shut down all of my xen instances.
Code:
[root@LCENT02 ~]# virtdown
-bash: syntax error near unexpected token `2'
As you can see it fails when I try to run it on the command line. It is stored in an ~/.env file in my home directory. What is odd to me is if I open the .env file and copy the command from there and paste it into the command line, it does actually work!
Code:
[root@LCENT02 ~]# for i in `virsh list | grep -v -e Id -e --- -e Domain-0 | awk '{print $1}'`; do virsh shutdown $i; done
Domain 1 is being shutdown
Domain 2 is being shutdown
Domain 3 is being shutdown
And this is how I have the command entered into my .env file:
Code:
alias virtdown="for i in `virsh list | grep -v -e Id -e --- -e Domain-0 | awk '{print $1}'`; do virsh shutdown $i; done
Why would this command work if you paste it onto the command line but not use the custom command virtdown?
View 1 Replies
View Related
Nov 18, 2009
I installed FC 12, 64 bit yesterday. I downloaded open office and unpacked it. I then issued the command rpm -Uvh *.rpm this fails due to many dependencies Some of these are:
[Code]...
how to "link" or make these and presumably other libraries searchable.
View 1 Replies
View Related
Mar 8, 2010
Ubuntu Server 8.04. I have 2 servers in the same rack, on the same subnet, using the same DNS servers and build with the same media. On one of them the following command fails
Code:
apt-get install squid
On the other on the package was installed with out any problems. I have checked the /etc/apt/sources.list files and they are identical. Actually, it could not find mutt either.
View 5 Replies
View Related
Feb 19, 2011
Having an odd problem running a mysqldump via crontab. I have the script running on other servers and they work fine, so not sure how to actually troubleshoot, but the script looks like the following;
If I run it as a cronjob as root, it finishes in a second and a 20k file is there. If I run it from the command line as root it does the backup (takes a few minutes) but does complete the backup and can be unzipped and read successfully.
View 3 Replies
View Related
Mar 31, 2011
Here is my script for at command. The intention is to get itself executed every minute.
Code:
logfile=/tmp/attest.log
loginterval=1
[code]....
View 4 Replies
View Related
May 26, 2010
I've writte a small Munin plugin using python, which basically runs a shell command, and write the output to a file. For some reason the script fail quite often, and it seems to be failing at the "commands.getoutput" statement. This is what's leading up to that statement:
[Code]..
View 4 Replies
View Related
Mar 6, 2011
I am trying to use the time command to measure the execution time of a small program. The problem is that the command has three outputs. They look like this:
Code:
$ time ./a.out
real0m51.935s
user0m51.060s
sys0m0.040s
Should the execution time be the sum of the user and the sys time? sys time is really small.
View 2 Replies
View Related
Feb 22, 2011
I want to know how to set time format (12 hrs or 24 hrs) using command.I tried thisode:date +%T -s "2011-02-23 14:00"But it only displays 24 hrs format on TERMINAL but it does not SET 24 hrs format on the system
View 4 Replies
View Related
Aug 8, 2011
I have made a shell script as below to find that how much time is taking between one command to another.
View 3 Replies
View Related