10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I have below script in logrotate.d to rotate logs.
logs are not rotating after the file grow to 1k, do you have any idea? Is it because of it just only 1K?
Please let me know if the below syntax is in correct.
# more trotate
/sourcepath/*/servers/*/logs/*log... (2 Replies)
Discussion started by: lpprasad321
2 Replies
2. UNIX for Dummies Questions & Answers
Hi,
i want to log rotate the /var/adm/messages file after reaching the specified limit and delete those logs. how do i do that.
i you solaris 10 OS ,Please help me in doing the same.... (2 Replies)
Discussion started by: Rahulne25
2 Replies
3. Red Hat
I'm trying to set up two virtual hosts. Here's my httpd config:
<Directory /Users/userX/dev/sandbox-2>
Order deny,allow
deny from All
Allow from localhost
</Directory>
NameVirtualHost 127.0.0.1
<VirtualHost 127.0.0.1>
DocumentRoot "/Users/userX/dev/sandbox-2"
... (0 Replies)
Discussion started by: GlideK
0 Replies
4. UNIX for Dummies Questions & Answers
Is there a directive to limit the number of virtual hosts allowed per apache instance? I am told yes but I cannot find it. (1 Reply)
Discussion started by: mojoman
1 Replies
5. UNIX for Dummies Questions & Answers
Not really a newbie, but I have a strange problem and I'm not sure how to further troubleshoot it.
I have to log out of a virtual terminal by typing exit, then exit again as in:
woodnt@toshiba-laptop ~ $ exit
logout
woodnt@toshiba-laptop ~ $ exit
logout
I DON'T have to do this when I'm... (1 Reply)
Discussion started by: Narnie
1 Replies
6. UNIX for Advanced & Expert Users
hi ,
what is the meaning of log rotate?
how do i rotate /var/adm/wtmps log and gzip it? (6 Replies)
Discussion started by: cromohawk
6 Replies
7. UNIX for Advanced & Expert Users
Hi,
This is more of a verification rather than a question of technical nature.
This is based on solaris 10 machine
Could we use Virtual hosts (within our hosts file):
123.1.1.10 virtual_host_name
123.1.1.10 host_A
(note: 123.1.1.10 - host_A is also in our DNS server entry)
And... (0 Replies)
Discussion started by: jackola
0 Replies
8. Shell Programming and Scripting
hi friends i need a shell script to rotate the logs in a directory, dated n days back. can anybody of help. appreciate.. (0 Replies)
Discussion started by: satya_skm
0 Replies
9. UNIX for Dummies Questions & Answers
Folks;
I need help knowing how to add an application to existing Virtual host on Apache. here's the details:
I have a virtual host file (Based on IP address) for Apache and is configured to run application inside it. How can i add another application to the same virtual host based on the same IP... (0 Replies)
Discussion started by: moe2266
0 Replies
10. UNIX for Advanced & Expert Users
Hey all,
I'm having some apache problems. I've installed apache countless times on FreeBSD. However, I'm having some problems and I could use some help. Here is my system info:
FreeBSD 5.2.1
Apache 2.0.51 (/usr/local/apache2), doc root (/www symlink to /var/www)
PHP 5.0.1 (/usr/local/php)... (2 Replies)
Discussion started by: ezekiel61
2 Replies
ftpaddhost(1M) System Administration Commands ftpaddhost(1M)
NAME
ftpaddhost - set up a virtual FTP host
SYNOPSIS
ftpaddhost -c | -l [-b] [-x xferlog] hostname root_dir
DESCRIPTION
The ftpaddhost script is executed by the super user to set up virtual FTP hosts. The ftpaddhost command configures the virtual host host-
name under directory root_dir. The value of hostname can be an IP address or the name of a host.
OPTIONS
The ftpaddhost script supports the following options:
-b Create a banner for the virtual host. This option is useful to confirm that the virtual host is working.
-c Configure complete virtual hosting. This option allows each virtual host to have its own version of the ftpaccess,
ftpconversions, ftpgroups, ftphosts, and ftpusers files. The master version of each of these configuration files is
copied from the /etc/ftpd directory and placed in the /etc/ftpd/virtual-ftpd/hostname directory. If the
/etc/ftpusers file exists it is appended to the virtual ftpusers file. If a virtual host lacks its own version of a
configuration file, the master version is used.
-l Configure limited virtual hosting. This option allows a small number of parameters to be configured differently
for a virtual host. See the virtual keyword on the ftpaccess(4) manual page.
-x xferlog Create a logfile entry such that the transfer logs for the virtual host are written to the specified file. An abso-
lute path must be specified for the xferlog file.
OPERANDS
The following operands are supported:
hostname The host name or IP address of the virtual server.
root_dir The absolute pathname of the directory under which the virtual server is set up.
EXIT STATUS
The following exit values are returned:
0 Successful completion
1 Improper usage of the command
2 Command failed
FILES
/etc/ftpd/virtual-ftpd/hostname The configuration files directory for the virtual host hostname.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWftpu |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
SEE ALSO
ftpconfig(1M), in.ftpd(1M), ftpaccess(4), ftpconversions(4), ftpgroups(4), ftphosts(4), ftpusers(4), xferlog(4), attributes(5)
SunOS 5.10 1 May 2003 ftpaddhost(1M)