Networking :: Ddclient Fails With Uninitialized Value When Cache File Exists?
Mar 8, 2010
When I run ddclient with an existing ddclient.cache file I get errors saying "uninitialized value" and the remote IP address does not get updated. This pretty much renders ddclient useless. If I delete the cache file then things work fine and the IP address *does* get updated (if need be). I happen to be running version 3.7.3 of ddclient but I've tried this with ddclient 3.8.0 and the result is exactly the same except that the line number in the error changes to line 2030.
Here's the code at that line number :
Code:
if ($config{$host}{'login'} eq '') {
warning("null login name specified for host %s.", $host);
I'm running ubuntu ( 9.04 I think ) and using zoneedit.com for dynamic dns.
Here's a transcript showing the problem.
root@ruby:/var/cache/ddclient# ddclient
[Code]...
View 7 Replies
ADVERTISEMENT
Jul 9, 2009
I have installed ddclient for use with dyndns.org.
I can manually run it from the prompt with /etc/rc.d/init.d/ddclient start
and can verify that it works by checking that my IP has succesfully been changed at dyndns.
When I reboot though, during the startup, I get the following:
Starting ddclient: /bin/bash: ddclient: command not found [FAILED]
I am very new to Linux, so I am not sure what or where I should be looking to solve the problem. It seems to me that it must be looking in the wrong spot for ddclient, but I don't know what to check or change to point it at the right place.
View 3 Replies
View Related
Jan 24, 2010
I find a ddclient user entry in my /etc/passwd. Is this normal or have I been compromised?
View 2 Replies
View Related
Nov 19, 2010
I'm using an embedded linux with a TX25 starterkit board.To start, this board proceeds as below :1. connect to my PC to download the kernel (using a ftp connection).2. uncompress the kernel and start it.3. connect to my pc to mount the root file system using nfs.. start the system.Everything works fine, except that I noticed there's maybe a nfs cache issue.for example, if a program run on the board creates a file in /home, I can see it from my PC (nfs server). => perfect !But if a program creates a file in /var/lib/dpkg/, I can see it from the board but not from my PC, so when I restart the board everything is lost.It seems to be a bad configuration.I tried to restart the nfs and nfslock services.here is my /etc/eports file.
Code:
/tftpboot/rootfs_tx25 192.168.1.188(rw,no_root_squash,sync)
I tried to use async.
View 5 Replies
View Related
Mar 25, 2011
I'm using OpenSUSE 11.4, trying to install to an iSCSI partition. I'm using gPXE to boot to my iSCSI volume. This works fine, and pulls up grub with my boot options. I think boot the openSUSE 11.4 entry, which kicks off the boot process. I see the steps for running DHCP on the interface, but when it gets to iscsiadm, there's an error logging in to the iSCSI target portal along the lines of "15 - already exists. After that things start to fall apart - I/O errors, mainly, and the system completely fails to boot. What's going on and what this already exists message means?
View 8 Replies
View Related
Feb 26, 2010
I have Debian server and have installed Ddclient! It updates IP address when I restart the Ddclient but when I restart the router and my IP changes but the Ddclient does not updates the IP.!
View 2 Replies
View Related
Apr 15, 2010
I've started using OpenDNS on my network, the problem is, my router gets an dynamic IP, which means I have to regularly update the OpenDNS settings.
DDClient apparently supports OpenDNS, but the Ubuntu package for it asks for various details I don't know, and can't find. I'd rather not have to boot up a Windows computer just for this.
So I've got two questions, I guess - first is, are any of the Windows clients known to work under Wine (that can retrieve the IP from the router and forward it), and the second being, how exactly do you set up DDClient to use OpenDNS?
View 4 Replies
View Related
Jul 3, 2009
I'm only partially new to Linux. I'm running Fedora 11. I've just set up two machines, I thought to be identical. Evidently I missed something. I had some problems getting the network started on the second machine, and I must have forgotten a name change somewhere. Anyway, after doing lot's of comparisons between the boxes, editing and renaming and re-linking the ifcfg-GigaStorey file, they are both functioning. The problem is that whenever I start or restart the network on box 2, it reports the following error:
Bringing up interface GigaStorey: RTNETLINK answers: File exists
Error adding address 192.168.1.6 for eth0.
[ OK ]
The file ifcfg-GigaStorey is linked in the following directories
/etc/sysconfig/network-scripts
/etc/sysconfig/networking/devices
code....
Like I said, it's not super critical, just annoying. The networking comes up ok, but the error is puzzling. I figure if I learn what this problem is I'll be one step closer to my Linux beanee.
View 4 Replies
View Related
Mar 8, 2010
In the past I've used ddclient to update my zoneedit dynamic dns. Unfortunately, this seems to be broken at the moment. I've submitted a separate thread related to that problem.
What other alternatives are there to ddclient? I'm particularly interested in something that works with zoneedit.com. I'm aware of:
inadyn
inadyn-mt
Inadyn is available in ubuntu. So far I have not gotten it to work but I have not tried too hard yet either.
View 2 Replies
View Related
Feb 20, 2010
I have scenrio where i have to check first whether the files exists or not then count of records should not be equal to zero and file should be of current day not the previous day then only process my next task.There are three files totally.please let me know how to write script to achieve the same.
View 2 Replies
View Related
Jul 11, 2011
I have a rather strange issue I'm attempting to fix here. One of the servers I work with had a log file reach 2GB in size and stopped logging. The software which is logging to said file cannot be stopped or restarted and does not provide a way to rotate log files -- poor design, I know. So in my infinite wisdom (or stupidity, however you want to read that), I truncated the log file in place with:
Code:
>vmsproxy.log
When I realized the log file was not being appended to, I checked lsof output and it
[code]...
View 7 Replies
View Related
May 1, 2011
I have a directory called /data In this directory I have some files like abcejb.jar,12_ab_ejb.jar, shejb.jar, test I need a shell script like... 1st I want to check if there is any ejb file exists in the directory using some condition If ejb files exists I want to redirect the ejb files list to a file called list. Now I want to copy all the files in the list file to some remote system.
View 1 Replies
View Related
Sep 10, 2009
we have installed vignette software on the linux box and would like to uninstall it. To uninstall it we need to delete one file named vpd.properties. When we used locate vpd.properties, the file is found in 2 places. But when we used the ls -a in those locations the file is not seen. basically we want to remove that file. If we do rm vpd.properties, this also doesn't work. Also when we used find -H vpd.properties the file is not found. What is wrong here. I am sure the file vpd.properties will be added to file system as part of vignette. Can anyone suggest what could be wrong here.We logged in as root user to remove this file. Installation is done twice using root and vignette user ids. Thats why file is located in 2 places.
View 3 Replies
View Related
Dec 13, 2010
I have a script that runs each day at 6am and looks for files created within the last day and outputs the text to a file which it emailed to me. Im wanting to change it so that it would say something like "phone system backup complete" or "websense back complete" and say fail if its not there.
Dec 13 02:27 /mnt/ukwcs-net-config/IPT/Backup12-13-10#2-20.tar
Dec 13 01:00 /mnt/ukwcs-net-config/Websense/wsbackup_2010-12-13_010000.tar.gz
Script:
find /mnt/ukwcs-net-config -mtime -1 -ls | egrep '(.dmp|.tar.gz)' > log.txt
find /mnt/ukwcs-net-config -mtime -1 -ls | egrep '(/IPT/)' > logi.txt
find /mnt/ukwcs-net-config -mtime -1 -ls | egrep '(.agb)' > loga.txt
[Code]....
View 2 Replies
View Related
Sep 30, 2010
My dovecot installation crashes after sometime, normally within one day. If I restart the process manually it works again for sometime but eventually it crashes again.
Code:
root# service dovecot status
dovecot dead but pid file exists
[code].....
View 3 Replies
View Related
Jan 17, 2009
I was transferring some files from my laptop (running FC6) to a server at my work (don't know what kind) with "scp -rpC" and it stalled, don't know why.
Now when I try to delete the files from the server so I can start again I get the following error message
Code:
rm -r Single_injections/
rm: cannot remove directory `Single_injections/195320/400mA/010': File exists
rm: cannot remove directory `Single_injections/195320/400mA': File exists
rm: cannot remove directory `Single_injections/195320': File exists
rm: cannot remove directory `Single_injections': File exists
[Code].....
View 6 Replies
View Related
Mar 11, 2009
After booting I noticed that sometimes nmb was not running. The command # service nmb status gives nmbd dead but pid file exists The timestamp of the pid file suggests that at the last shutdown the pid file was not removed, and I guess this prevented nmb to start properly during booting (Although during booting the messages is [OK]).
If I shut down nmb manually, everything is fine. I checked the log in /var/log/samba/log.nmbd and it doesn't show any error. As mentioned, this occurs only occasionally, and I have no idea what may be causing this.
View 1 Replies
View Related
Jun 6, 2010
I want to create a file in the /root directory and then make sure it exists. The following code keeps telling me that the file doesn't exist even though it does.
Code:
#!/bin/bash
echo -e "username=someusername
passwordsomepassword" | sudo tee /root/.credentials
if [ -e /root/.credentials ]; then
echo "File exists!"
[Code]...
[Edit] Added second double quotation mark at the end of "somepassword"
View 5 Replies
View Related
Jun 21, 2010
1)I had download one hello.c for start working for Device drivers , and compile it . . I am using linux kernel 2.6.xx getting this error :
Error : linux / module.h file donesnot exists .
2) ad build the kernel and still getting the same error .
View 1 Replies
View Related
Dec 21, 2010
When I check the status of postfix I get this error..... what does it mean and how do I fix / troubleshoot it?
View 11 Replies
View Related
Oct 6, 2010
This script that I found online does the job it promises. it does convert the files to mp3 without an issue. What I need to include now is an if statement that says If $file.mp3 exists then delete $file.wav
Code:
#!/bin/sh
# name of this script: wav2mp3.sh
# wav to mp3
# Credit to the script creator (Nikesh Jauhari):
[Code]...
After that I'm stumped as to how to do the if statement
View 14 Replies
View Related
Jun 6, 2009
I'm running CentOS 5.3 64bit and from the get go I've had problems with the Apache serverMore specifically, on what seems to be a random occurance, the apache server stops to respond.The process is still running, but nothing happens with it, and it is not responding.The /var/logs/httpd/error_log is blank for the occurance and only shows an entry after I give it a restartSo I'm a bit confused about what is going on.With that said, I need to make sure the httpd is working one way or another.I don't want to force a restart service every 10 minutes as this seems a bit too much.However, I do want to have the following:run a crond every minute to do:
rm -Rf /root/testarea/*
wget http://ip/work.gif
then check if work.gif exists.
[code]...
View 1 Replies
View Related
Aug 10, 2010
I am writing a shell script to delete a file if it exists.
View 11 Replies
View Related
May 22, 2009
I've upgraded my raid array, and to make it boot I had to regenerate the initrd image (the root was on the raid drive)using
mkinitrd <img file> <kernel version>
after that at boot i always receive this error:
error inserting /lib/raid456.ko: -1 file exists
View 1 Replies
View Related
Jun 9, 2011
Is it possible to set up a udev rule that will check if a file exists on a USB drive?
I've got a few ubuntu servers in environments with some very not-techy peoples. Im hoping to get to the point where I can give them a few USB sticks with scripts on them, and if they plus one of these sticks in it will be mounted in, say, /media/special (rather than /media/usb0..7) and then the script would be run. But if a usb drive without special.sh is inserted, it should be mounted to /media/usb0..7 as normal.
I've been googeling for udev rules, and it seems simple enough to specify a mount point based on brand/model/serialnumber/etc... but i havent been able to find anything about checking for the existance of a file.
Tho the more i think about it, the more im starting to think its not going to be that straight forward. Can udev check for a file on a drive before that drive is mounted? Is it going to be a case of mounting every drive to /media/usb0..7 then having a script run that will check for the file, and if its there change the mount point before running special.sh?
View 1 Replies
View Related
Apr 30, 2010
I am in need of a way to check that the same file exists within two different directories using a filename as a variable. Here is the process which requires it: The script is reaches out (via ftp) and pulls down a file(s) and delete it afterwards. This is halfhazard because in the instance it doesnt pull down the file, yet still deletes it, we are up a creek. I am looking to pull it down to a temp location and then verify that file exists in the location in which it needs to be present to process before deleting it, adding a little extra layer for security. The script itself is finished.If I put a file name in manually it works perfect. I just need a way to pump the filename into the variable.
View 1 Replies
View Related
Oct 19, 2010
does first line create file in tmp directory with dsuser.exists.* ?or we are assigning the path of existing file in this directory?
View 2 Replies
View Related
Apr 14, 2011
I am using CentOS 5.6 with Apache 2.2.17. The Apache was compiled from source using RPM build to comply with PCI requirements. Also Plesk 9.3 is used as a control panel, but other than the config files the Apache is pretty standard. When the httpd is started, there are no errors reported in /var/log/messages or in the error_log, and the httpd starts, shows up in ps and the pid file exists in /var/run/httpd.pid.
However when you check the status 'service httpd status' you get 'httpd dead but subsys locked'. You can add websites normally, and the proper config files are generated so I am pretty sure this isn't a control panel issue as I have other servers running the same control panel and Apache 2.2.16 compiled and installed the same way as the 2.2.17 and there are no problems.
View 1 Replies
View Related
Jun 8, 2010
I recently set up a Linux VPS and installed JDK 6u20 on it; I tried running a class and here's the result
Code...
The file "Server.class" is in the location I specified - why am I still getting the error?
View 3 Replies
View Related
Jun 6, 2009
I'm running CentOS 5.3 64bit and from the get go I've had problems with the Apache server.More specifically, on what seems to be a random occurance, the apache server stops to respond.The process is still running, but nothing happens with it, and it is not responding.The /var/logs/httpd/error_log is blank for the occurance and only shows an entry after I give it a restart.So I'm a bit confused about what is going on.With that said, I need to make sure the httpd is working one way or another.I don't want to force a restart service every 10 minutes as this seems a bit too much.However, I do want to have the following:
run a crond every minute to do:If it fails, then do service httpd restart (and log the failure and restart to a file and email me a message).Any pointers on how to do that?It ain't the pretty solution, but it will save me from a very angry user until I'll figure what is the real cause for this failure.
View 5 Replies
View Related