I have been banging my head on this for a long time now. There are many discussions on the net about this and similar problems, but none of the solutions seems to work for me.
I have a Debian server with two ethernet network interfaces. One of them is connected to internet, while the other is connected to my LAN.
The LAN network is 10.11.100.0 (netmask 255.255.255.0).
We have some custom hardware that use network 10.4.1.0 (netmask 255.255.255.0) and we can't change that. But we need all hosts on 10.11.100.0 to be able to connect to devices on 10.4.1.0. So I added an alias for the LAN network interface so that the Debian server acts as a gateway between 10.11.100.0 and 10.4.1.0.
But then the dhcp server stopped working.
The log says:
No subnet declaration for eth1:0 (no IPv4 addresses).
** Ignoring requests on eth1:0. If this is not what
you want, please write a subnet declaration
in your dhcpd.conf file for the network segment
to which interface eth1:1 is attached. **
No subnet declaration for eth1:1 (no IPv4 addresses).
** Ignoring requests on eth1:1. If this is not what
you want, please write a subnet declaration
in your dhcpd.conf file for the network segment
to which interface eth1:1 is attached. **
I had another server before, also running Debian but with the older dhcp3 server, and it worked without any problems. I've tried everything I can think of in dhcpd.conf etc, and I've also compared with the working configuration in the old server.
The dhcp server need only handle devices on 10.11.100.0.
Any hints?
Here's all relevant config files:
/etc/default/isc-dhcp-server
INTERFACES="eth1"
/etc/network/interfaces
(I've left out eth0, that connects to the Internet, since there is no problem with that.)
auto eth1:0
iface eth1:0 inet static
address 10.11.100.202
netmask 255.255.255.0
auto eth1:1
iface eth1:1 inet static
address 10.4.1.248
netmask 255.255.255.0
/etc/dhcp/dhcpd.conf
ddns-update-style none;
option domain-name "???.com";
option domain-name-servers ?.?.?.?;
default-lease-time 86400;
max-lease-time 604800;
authorative;
subnet 10.11.100.0 netmask 255.255.255.0 {
option subnet-mask 255.255.255.0;
pool {
range 10.11.100.50 10.11.100.99;
}
option routers 10.11.100.102;
}
I have tried to add shared-network etc, but didn't manage to get that to work. I get the same error message no matter what...
Hi everyone,
I am about to setup a home network server running Ubuntu Server and I'm currently a bit worried about how to handle network shares and permissions in a good way.
After working a bit lately with Netgears ReadyNAS's units, I have become really spoiled with how easy it was to set up network shares and giving a specific user different levels of network access to a specific share (forbidden access, read, read/write).
How would I accomplish the same with my Ubuntu server through SSH?
Thanks a lot
I need to write a rewrite rule for Nginx so that if a user tries to go to an old image url:
/images/path/to/image.png
and the file doesnt exist, try to redirect to:
/website_images/path/to/image.png
ONLY if the image exists in the new URL, otherwise continue with the 404. The version of Nginx on our host doesn't have try_files yet.
Hopefully this is programming related.
Many people have reported that the NTFS-3G driver works perfectly for writing to NTFS drives without any problems.
If NTFS has been successfully reverse engineered to a useful degree, then why is the kernel driver still only read-only, with write support being very dangerous.....just as it was 5 years agi?
In an application, are there multiple permissions that acess internet? Could only part of an application be denied a certain permission, such as internet?
Could only the part of the application that is spyware be denied internet permissions, Such as through modifying the files that connect to the internet?
spyware
X no internet acess
(internet) (read) (write) (sound or harware)
| permission 1 | permission 2 | permission 3 | permission 4 |
I'm trying to find out why my application is very slow on a certain machine (runs fine everywhere else).
I think i have traced the performance-problems to hard-disk reads and writes and i think it's simply the very slow disk.
What tool could i use to measure hd read and write performance under Windows 2003 in a non-destructive way (the partitions on the drives have to remain intact)?
For one of my classes I need to write several prolog programs. Can someone suggest a mac friendly prolog compiler? I tried gnu prolog but when it doesn't work for me.
Hello,
Windows Server 2008 , Server Manager- File Services-Share and Storage Management-File Server Resource Manager Right click - Configure options- Email Notifications tab
I have already configured what I need but when I write for example smpt.google.com
in the log it writes UNABLE TO CONNECT TO THE REMOTE SERVER
I have been through this article http://support.microsoft.com/kb/947057
Please help me..
maybe this is a firewall problem?
I am trying to write an IF formula for an order form where a discount is applied depending on the amount of units ordered.....
The discounts are:
0 to 24 units - 0 discount
24 to 59 units – 5% discount
60 to 95 units – 10% discount
96 to 131 units – 15% discount
132 to 263 units – 20% discount
264+ units - 30% discount
the cell that i am taking the total from is J1028. I have no idea how to do IF formula's so desperately need some help.
Thanks
In previous versions of Outlook it was possbile to write some VBA and assign a shortcut to do this. I can't see how to do this in 2007, if indeed it is possbile.
Note - the following thread is relevant but only for earlier versions
http://superuser.com/questions/92688/outlook-keyboard-shortcut-to-move-message-to-a-different-folder
Hi,
I am having the following problem.
I am running a Windows NT server.
I need to monitor the server utilization continuously (automated process) and need to know if the server load is high. And if it high I need to trigger a scheduled task.
Can we write a VB script in order to do this?
Can someone please help me?
Kindly let me know in case you require more info on this
Thanks
I have a Ubuntu box with a ProFTPD 1.3.4a Server, when I try to log in via my FTP Client I cannot do anything as it does not allow me to list directories; I have tried logging in as root and as a regular user and tried accessing different paths within the FTP Server.
The error I get in my FTP Client is:
Status: Retrieving directory listing...
Command: CDUP
Response: 250 CDUP command successful
Command: PWD
Response: 257 "/var" is the current directory
Command: PASV
Response: 227 Entering Passive Mode (172,16,4,22,237,205).
Command: MLSD
Response: 550 Access is denied.
Error: Failed to retrieve directory listing
Any idea? Here is the config of my proftpd:
#
# /etc/proftpd/proftpd.conf -- This is a basic ProFTPD configuration file.
# To really apply changes, reload proftpd after modifications, if
# it runs in daemon mode. It is not required in inetd/xinetd mode.
#
# Includes DSO modules
Include /etc/proftpd/modules.conf
# Set off to disable IPv6 support which is annoying on IPv4 only boxes.
UseIPv6 off
# If set on you can experience a longer connection delay in many cases.
IdentLookups off
ServerName "Drupal Intranet"
ServerType standalone
ServerIdent on "FTP Server ready"
DeferWelcome on
# Set the user and group that the server runs as
User nobody
Group nogroup
MultilineRFC2228 on
DefaultServer on
ShowSymlinks on
TimeoutNoTransfer 600
TimeoutStalled 600
TimeoutIdle 1200
DisplayLogin welcome.msg
DisplayChdir .message true
ListOptions "-l"
DenyFilter \*.*/
# Use this to jail all users in their homes
# DefaultRoot ~
# Users require a valid shell listed in /etc/shells to login.
# Use this directive to release that constrain.
# RequireValidShell off
# Port 21 is the standard FTP port.
Port 21
# In some cases you have to specify passive ports range to by-pass
# firewall limitations. Ephemeral ports can be used for that, but
# feel free to use a more narrow range.
# PassivePorts 49152 65534
# If your host was NATted, this option is useful in order to
# allow passive tranfers to work. You have to use your public
# address and opening the passive ports used on your firewall as well.
# MasqueradeAddress 1.2.3.4
# This is useful for masquerading address with dynamic IPs:
# refresh any configured MasqueradeAddress directives every 8 hours
<IfModule mod_dynmasq.c>
# DynMasqRefresh 28800
</IfModule>
# To prevent DoS attacks, set the maximum number of child processes
# to 30. If you need to allow more than 30 concurrent connections
# at once, simply increase this value. Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd)
MaxInstances 30
# Set the user and group that the server normally runs at.
# Umask 022 is a good standard umask to prevent new files and dirs
# (second parm) from being group and world writable.
Umask 022 022
# Normally, we want files to be overwriteable.
AllowOverwrite on
# Uncomment this if you are using NIS or LDAP via NSS to retrieve passwords:
# PersistentPasswd off
# This is required to use both PAM-based authentication and local passwords
AuthPAMConfig proftpd
AuthOrder mod_auth_pam.c* mod_auth_unix.c
# Be warned: use of this directive impacts CPU average load!
# Uncomment this if you like to see progress and transfer rate with ftpwho
# in downloads. That is not needed for uploads rates.
#
UseSendFile off
TransferLog /var/log/proftpd/xferlog
SystemLog /var/log/proftpd/proftpd.log
# Logging onto /var/log/lastlog is enabled but set to off by default
#UseLastlog on
# In order to keep log file dates consistent after chroot, use timezone info
# from /etc/localtime. If this is not set, and proftpd is configured to
# chroot (e.g. DefaultRoot or <Anonymous>), it will use the non-daylight
# savings timezone regardless of whether DST is in effect.
#SetEnv TZ :/etc/localtime
<IfModule mod_quotatab.c>
QuotaEngine off
</IfModule>
<IfModule mod_ratio.c>
Ratios off
</IfModule>
# Delay engine reduces impact of the so-called Timing Attack described in
# http://www.securityfocus.com/bid/11430/discuss
# It is on by default.
<IfModule mod_delay.c>
DelayEngine on
</IfModule>
<IfModule mod_ctrls.c>
ControlsEngine off
ControlsMaxClients 2
ControlsLog /var/log/proftpd/controls.log
ControlsInterval 5
ControlsSocket /var/run/proftpd/proftpd.sock
</IfModule>
<IfModule mod_ctrls_admin.c>
AdminControlsEngine off
</IfModule>
#
# Alternative authentication frameworks
#
#Include /etc/proftpd/ldap.conf
#Include /etc/proftpd/sql.conf
#
# This is used for FTPS connections
#
#Include /etc/proftpd/tls.conf
#
# Useful to keep VirtualHost/VirtualRoot directives separated
#
#Include /etc/proftpd/virtuals.con
# A basic anonymous configuration, no upload directories.
# <Anonymous ~ftp>
# User ftp
# Group nogroup
# # We want clients to be able to login with "anonymous" as well as "ftp"
# UserAlias anonymous ftp
# # Cosmetic changes, all files belongs to ftp user
# DirFakeUser on ftp
# DirFakeGroup on ftp
#
# RequireValidShell off
#
# # Limit the maximum number of anonymous logins
# MaxClients 10
#
# # We want 'welcome.msg' displayed at login, and '.message' displayed
# # in each newly chdired directory.
# DisplayLogin welcome.msg
# DisplayChdir .message
#
# # Limit WRITE everywhere in the anonymous chroot
# <Directory *>
# <Limit WRITE>
# DenyAll
# </Limit>
# </Directory>
#
# # Uncomment this if you're brave.
# # <Directory incoming>
# # # Umask 022 is a good standard umask to prevent new files and dirs
# # # (second parm) from being group and world writable.
# # Umask 022 022
# # <Limit READ WRITE>
# # DenyAll
# # </Limit>
# # <Limit STOR>
# # AllowAll
# # </Limit>
# # </Directory>
#
# </Anonymous>
# Include other custom configuration files
Include /etc/proftpd/conf.d/
UseReverseDNS off
<Global>
RootLogin on
UseFtpUsers on
ServerIdent on
DefaultChdir /var/www
DeleteAbortedStores on
LoginPasswordPrompt on
AccessGrantMsg "You have been authenticated successfully."
</Global>
Any idea what could be wrong? Thanks for your help!
I'm running Adobe AIR 1.5.2 (latest) on Windows 7 (64-bit RTM) and downloaded TweetDeck 0.31.1 (latest). When I run TweetDeck I get the following errors:
Ooops, TweetDeck can't find your data
and
Sorry, Adobe AIR has a problem running on this computer
Other AIR applications install and run fine. I've uninstalled both TweetDeck and AIR and reinstalled. Following the uninstalls I've also removed all on-disk references to both TweetDeck and AIR, but no luck.
UPDATE: Using Process Monitor I did a trace of Tweetdeck from the moment it launched until the first error occurred. I saw the following information in the output of the trace:
1 5:22:18.6522338 PM TweetDeck.exe 5580
CreateFile
D:\ProgramData\Microsoft\Windows\Start Menu\Programs\rs\??\d:\Use\myusername\AppData\Roaming\Adobe\AIR\ELS\TweetDeckFast.F9107117265DB7542C1A806C8DB837742CE14C21.1\PrivateEncryptedDatak
NAME INVALID
Desired Access: Generic Write, Read Attributes, Disposition: OverwriteIf,
Options: Synchronous IO Non-Alert, Non-Directory File,
Attributes: N,
ShareMode: Read, Write,
AllocationSize: 0
In this trace output, Tweetdeck.exe is trying to create the file
D:\ProgramData\Microsoft\Windows\Start Menu\Programs\rs\??\d:\Use\myusername\AppData\Roaming\Adobe\AIR\ELS\TweetDeckFast.F9107117265DB7542C1A806C8DB837742CE14C21.1\PrivateEncryptedDatak
but the path specified is invalid. When looking at the path you can see that it is indeed an invalid path. First, there’s the “??” portion which doesn’t exist in the file system since the “?” is an invalid character in Windows/NTFS file systems. Additionally, looking at this path, it actually seems to be composed of two parts (is the "??" a delimiter?):
Part 1: D:\ProgramData\Microsoft\Windows\Start Menu\Programs\rs\??
Part 2: d:\Use\myusername\AppData\Roaming\Adobe\AIR\ELS
\TweetDeckFast.F9107117265DB7542C1A806C8DB837742CE14C21.1\PrivateEncryptedDatak
(the problem here is that d:\Use... doesn’t even exist.
What seems to be happening here is that Tweetdeck is looking for the user credentials (the “PrivateEncryptedDatak” file) but it’s looking in the wrong place, can’t find the file, and hence the error that Tweetdeck is giving (shown in the screenshot).
I'm trying to determine how TweetDeck is getting this path. I searched the contents of all files on my hard disk hoping to find some TweetDeck or Adobe AIR configuration file containing this incorrect path, but I was unable to find anything.
UPDATE: See Carl's comment regarding directory junctions and symbolic links under my accepted answer. This ended up being the problem.
Edit by Gnoupi: People, the answer section is there to provide an actual ANSWER, not to say you have the same issue. It doesn't help anyone that you have the same problem. Eventually, if you think this is really worth mentioning, put it as a comment under the question.
But simply, if what you want to add is not an answer to the question, then don't post it as an answer. This is not a forum, I recommend new users to read the FAQ: http://superuser.com/faq
In my WinXP I write a bat file to start the putty which is connected to my linux for development.
D:\PuTTY-v0.60\putty.exe [email protected] -pw 123456
But I have to set the charset to utf-8 manually everytime when I do the login.I think it's quite a waste of time.So how can I do the setting more quickly?Thanks.
I am trying to write a hotkey to minimize the current window.
My current attempt is below and it does nothing. I can't see how to make commands like WinMinimize act on the currently acitve window.
<^>!z::
WinMinimize,
return
RAM is just used for temporary storage. But since this storage is in the cpu memory (RAM) it is fast. Programs can easily read/write values into it. I've noticed more the RAM less time it takes for the application to load/execute. But doesn't this actually depend of the processor speed (MHz or GHz values). I am wondering what is the science/relationship between processor speed and RAM.
I want to run script when my mac is idle (for example after 5 minutes or screen saver start time is also ok) and when I resume it from idle state.
I know that I can write daemon using NSDistributedNotificationCenter and com.apple.screenIsLocked and com.apple.screenIsUnlocked, but I hope that there is already solution without creating new daemon.
I need this to for example turn on/off speed limit for Transmission (as it is sometimes hard to work when hashing/downloading on full speed).
Possible Duplicate:
Alternatives to Splunk?
This has been discussed, but it has been several months, so it may be time to revisit it:
Earlier discussion RE Splunk alternatives
For the record, Splunk rocks. But the pricing is simply beyond what we can consider (When I spoke with Splunk today, the cost for a system to index 5gb/day of data is over $30,000.)
That is more than we spend on SQL Server (by a large multiple), more than we spend on a rack of servers (by a multiple), etc. etc.
The splunk sales team is correct (that for $30K we get more value and functionality than if we spend the same building our own system), but it doesn't matter. The splunk cost is simply too high (by a multiple).
Soooooo, we are looking around!
Is anyone out there building a splunk like system?
Our basic need:
Able to listen for syslog messages on multiple udp ports
Able to index the incoming data in an async way
Some kind of search engine
Some kind of UI
An API to the search engine (to embed in our console)
We currently need to index 3-5gb/day, but need to be able to scale to 10gb/day or more. We do not need a lot of history (30 days is fine).
We use Windows 2008 and 2003 servers.
Thanks for your thoughts!
UPDATE: We spent two weeks researching commercial and open source options. Our conclusion: Write our own (we are a software company... we know how to write things). We built a great system built on mongodb and .NET that gives us the functions we needed from MongoDB in about one engineering week. We have now completed our implementation. We use two Mongodb servers (master and slave), and are able to log and index any amount of log data (5gb/day, 15gb/day, etc), limited only by disk space.
OBSERVATIONS: This space needs a solid solution that is $1000-3000 flat rate. The licensing models used by the commercial firms are based on a "milk the data center ops guys" models. That is their right (of course!), but it leaves a HUGE space open for someone to come in underneath them. My guess is that in another year or two there will be a good open source solution that will be really usable.
Thank you all for your input (even if it was self promotion).
I'm trying to write an upstart file for OpenConnect. The task is pretty simple, but I'm stuck because I don't want to provide the username and password in a config file, but prompt the user to provide them each time.
The upstart file, placed in /etc/init/openconnect.conf is
exec /usr/sbin/openconnect --script=/etc/vpnc/vpnc-script my-gw.example.com
However, when I execute
start openconnect
the process is backgrounded immediately and I get no chance to provide input.
How can I make this upstart job ask the user for input?
I have switched from Windows to Mac and one of the things I need to set up properly is password management. Previously on Windows I was using a small TrueCrypt file containing text files with usernames and passwords.
I need to write an Applescript that takes those text files and imports them as Secure notes into Mac's Keychain Access app.
I know that there are some Applescript commands related to Keychain, but I haven't found a way to add Secure notes.
Pretty much the entire question is in the title. I've got a powershell script watching a directory for processing, so I'd prefer that the file didn't appear until the upload was complete...presumably FileZilla would write the file to a temp directory until it was complete.
TIA.
As you can see from the above image, nero is showing some "session is open" in my DVD rewritable disc. The problem is whenever I erase the session it is not getting erased and I am unable to write the remaining part of the disc.
So, the worst part is will I be able to use this dvd-rw again or now it's just a waste scrap?
Nero version is 11
OS win7
AV is KIS2012
Dvd-rw is from Sony company
Dvd drive from samsung sh-s203b with latest firmware
1.i can't understand why Linux on flash card need install, does it simply copy certain file to certain location in flash card?
---i mean ,plan it in a response file,then one program read the plan in response file and write certain format to flash card.
2.does the file system bind tightly to the linux kernel? is it possible let each kernel,user,app have its own root? rather than mount everything under one single / "root"
I'm looking for a command line interface program that gives me the ability to write formatted text easily interoperable with MS Word and OpenOffice.
I figured RTF would be the common ground. An example of what I was hoping for would be:
[Heading 1]
Hello Heading
[Paragraph Style 1]
My name is hello world, I'm awesome.