10 More Discussions You Might Find Interesting
1. AIX
I am running AIX 7.1 and currently we have samba 3.6.25 installed on the server. As it stands some AIX folders are shared that can be accessed by certain Windows users.
The problem is that since Windows 10 the guest feature no longer works so users have to manually type in their Windows login/pwd... (14 Replies)
Discussion started by: linuxsnake
14 Replies
2. AIX
AIX 7.1
New to WPAR, hopefully just missing something simple here.
Creating the WPAR like this.....
(The box where the WPAR is hosted does have an iscsi protocol device)
mkwpar -h wpar08 -l -n wpar08 -N interface=en0 address=xxx.xx.xx.xxx netmask=255.255.255.0 -D devname=/dev/iscsi0 -D... (0 Replies)
Discussion started by: TomR
0 Replies
3. AIX
We have an IBM Power 710. It has a USB port on the front. I have done some searching and see that there is information out there on how to create a JFS2 file system on USB drives. A few have commented that they would not recommend it, if the server is important, may crash the server... Just... (0 Replies)
Discussion started by: mbenedi
0 Replies
4. UNIX for Dummies Questions & Answers
Hi All,
One of our clients has an old QNX server system that writes history backups on ZIP disks. They then wish to take these back up ZIP disks, plug them into a Win7 box with an external ZIP drive and copy them across to an external Hard Drive.
The files can be seen on the Win7 box but wont... (3 Replies)
Discussion started by: Beldanan
3 Replies
5. Shell Programming and Scripting
i require the shell script that is running on the AIX to download a file from Windows desktop to the location where the shell script resides onthe AIX system. I have used the below code: but it throwing the error as below.please help me at the earliest to resolve the issue.
error message :... (1 Reply)
Discussion started by: kvkc
1 Replies
6. AIX
Hello Admins,
I am trying to copy some files/packages from my windows host to AIX server. I am a normal user not root.
I am getting an error as below:
cannot initialize sftp protocol.....
I have enabled the ftp service.
Could you help me out.. (7 Replies)
Discussion started by: snchaudhari2
7 Replies
7. AIX
Hi Friends,
I have this script for ftping files from AIX server to local windows xp.
#!/bin/sh
HOST='localsystem.net'
USER='myid_onlocal'
PASSWD='mypwd_onlocal'
FILE='file.txt' ##This is a file on server(AIX)
ftp -n $HOST <<END_SCRIPT
quote USER $USER
quote PASS $PASSWD
put $FILE... (1 Reply)
Discussion started by: rajsharma
1 Replies
8. Shell Programming and Scripting
Dear Sir
How to write a small script which would permit to aix server to exchange information with windows pc after a define interval of time.
My aix server is connected to a network and after preparing messages (mosthly txt message) with my windows pc station the script should be able to go... (0 Replies)
Discussion started by: sobnc
0 Replies
9. AIX
Whenever i send a mail like: mail <mail id>, a core file is created under /var/spool/mqueue/ path. This is increasing the space of the file system. Why is that core file get created. Does it happens normally. I am getting an errpt error as:
LABEL: CORE_DUMP
IDENTIFIER: B6048838
... (0 Replies)
Discussion started by: sreereddy
0 Replies
10. AIX
hello every body
AIX 4.3.3, i want to set a write permission to files created by other users from windwos explorer or other AIX box in nfs files systems.
how can i do this
any helps will be appreciated (0 Replies)
Discussion started by: bousseta_rachid
0 Replies
DEFINE_SYSLOG_VARIABLES(3) 1 DEFINE_SYSLOG_VARIABLES(3)
define_syslog_variables - Initializes all syslog related variables
SYNOPSIS
void define_syslog_variables (void )
DESCRIPTION
Initializes all variables used in the syslog functions.
RETURN VALUES
No value is returned.
Syslog variables
+--------------+-------------------------------+---+---+
| Variable | | | |
| | | | |
| | Constant equal | | |
| | | | |
| | Meaning | | |
| | | | |
| | Notes | | |
| | | | |
+--------------+-------------------------------+---+---+
| $LOG_EMERG | | | |
| | | | |
| | | | |
| | LOG_EMERG | | |
| | | | |
| | System is unusable | | |
| | | | |
| | | | |
| | T{ $LOG_ALERT | | |
| | | | |
| | | | |
| | LOG_ALERT | | |
| | | | |
| | Immediate action required | | |
| | | | |
| | | | |
| | T{ $LOG_CRIT | | |
| | | | |
| | | | |
| | LOG_CRIT | | |
| | | | |
| | Critical conditions | | |
| | | | |
| | | | |
| | T{ $LOG_ERR | | |
| | | | |
| | | | |
| | LOG_ERR | | |
| | | | |
| | | | |
| | |T{ | | |
| | | | |
| | T{ $LOG_WARNING | | |
| | | | |
| | | | |
| | LOG_WARNING | | |
| | | | |
| | | | |
| | |T{ | | |
| | | | |
| | T{ $LOG_NOTICE | | |
| | | | |
| | | | |
| | LOG_NOTICE | | |
| | | | |
| | | | |
| | |T{ | | |
| | | | |
| | T{ $LOG_INFO | | |
| | | | |
| | | | |
| | LOG_INFO | | |
| | | | |
| | | | |
| | |T{ | | |
| | | | |
| | T{ $LOG_DEBUG | | |
| | | | |
| | | | |
| | LOG_DEBUG | | |
| | | | |
| | | | |
| | |T{ | | |
| | | | |
| | T{ $LOG_KERN | | |
| | | | |
| | | | |
| | LOG_KERN | | |
| | | | |
| | | | |
| | |T{ | | |
| | | | |
| | T{ $LOG_USER | | |
| | | | |
| | | | |
| | LOG_USER | | |
| | | | |
| | Genetic user level | | |
| | | | |
| | | | |
| | T{ $LOG_MAIL | | |
| | | | |
| | | | |
| | LOG_MAIL | | |
| | | | |
| | Log to email | | |
| | | | |
| | | | |
| | T{ $LOG_DAEMON | | |
| | | | |
| | | | |
| | LOG_DAEMON | | |
| | | | |
| | Other system daemons | | |
| | | | |
| | | | |
| | T{ $LOG_AUTH | | |
| | | | |
| | | | |
| | LOG_AUTH | | |
| | | | |
| | | | |
| | |T{ | | |
| | | | |
| | T{ $LOG_SYSLOG | | |
| | | | |
| | | | |
| | LOG_SYSLOG | | |
| | | | |
| | | | |
| | |T{ Not available on Netware | | |
| | | | |
| $LOG_LPR | | | |
| | | | |
| | | | |
| | LOG_LPR | | |
| | | | |
| | | | |
| | |T{ | | |
| | | | |
| | T{ $LOG_NEWS | | |
| | | | |
| | | | |
| | LOG_NEWS | | |
| | | | |
| | Usenet new | | |
| | | | |
| | Not available on HP-UX | | |
| | | | |
| $LOG_CRON | | | |
| | | | |
| | | | |
| | LOG_CRON | | |
| | | | |
| | | | |
| | |T{ Not available on all | | |
| | platforms | | |
| | | | |
|$LOG_AUTHPRIV | | | |
| | | | |
| | | | |
| | LOG_AUTHPRIV | | |
| | | | |
| | | | |
| | |T{ Not available on AIX | | |
| | | | |
| $LOG_LOCAL0 | | | |
| | | | |
| | | | |
| | LOG_LOCAL0 | | |
| | | | |
| | | | |
| | |T{ Not available on Windows | | |
| | and Netware | | |
| | | | |
| $LOG_LOCAL1 | | | |
| | | | |
| | | | |
| | LOG_LOCAL1 | | |
| | | | |
| | | | |
| | |T{ Not available on Windows | | |
| | and Netware | | |
| | | | |
| $LOG_LOCAL2 | | | |
| | | | |
| | | | |
| | LOG_LOCAL2 | | |
| | | | |
| | | | |
| | |T{ Not available on Windows | | |
| | and Netware | | |
| | | | |
| $LOG_LOCAL3 | | | |
| | | | |
| | | | |
| | LOG_LOCAL3 | | |
| | | | |
| | | | |
| | |T{ Not available on Windows | | |
| | and Netware | | |
| | | | |
| $LOG_LOCAL4 | | | |
| | | | |
| | | | |
| | LOG_LOCAL4 | | |
| | | | |
| | | | |
| | |T{ Not available on Windows | | |
| | and Netware | | |
| | | | |
| $LOG_LOCAL5 | | | |
| | | | |
| | | | |
| | LOG_LOCAL5 | | |
| | | | |
| | | | |
| | |T{ Not available on Windows | | |
| | and Netware | | |
| | | | |
| $LOG_LOCAL6 | | | |
| | | | |
| | | | |
| | LOG_LOCAL6 | | |
| | | | |
| | | | |
| | |T{ Not available on Windows | | |
| | and Netware | | |
| | | | |
| $LOG_LOCAL7 | | | |
| | | | |
| | | | |
| | LOG_LOCAL7 | | |
| | | | |
| | | | |
| | |T{ Not available on Windows | | |
| | and Netware | | |
| | | | |
| $LOG_PID | | | |
| | | | |
| | | | |
| | LOG_PID | | |
| | | | |
| | | | |
| | |T{ | | |
| | | | |
| | T{ $LOG_CONS | | |
| | | | |
| | | | |
| | LOG_CONS | | |
| | | | |
| | | | |
| | |T{ | | |
| | | | |
| | T{ $LOG_ODELAY | | |
| | | | |
| | | | |
| | LOG_ODELAY | | |
| | | | |
| | | | |
| | |T{ | | |
| | | | |
| | T{ $LOG_NDELAY | | |
| | | | |
| | | | |
| | LOG_NDELAY | | |
| | | | |
| | | | |
| | |T{ | | |
| | | | |
| | T{ $LOG_NOWAIT | | |
| | | | |
| | | | |
| | LOG_NOWAIT | | |
| | | | |
| | | | |
| | |T{ Not available on BeOS | | |
| | | | |
| $LOG_PERROR | | | |
| | | | |
| | | | |
| | LOG_PERROR | | |
| | | | |
| | | | |
| | |T{ Not available on AIX | | |
| | | | |
+--------------+-------------------------------+---+---+
Warning
This function has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 5.4.0.
EXAMPLES
Example #1
define_syslog_variables(3) example
<?php
// Check if syslog variables already is defined
if(!get_cfg_var('define_syslog_variables'))
{
define_syslog_variables();
}
// Open the log
openlog('', $LOG_ODELAY, $LOG_MAIL | $LOG_USER);
// Continue script ...
?>
CHANGELOG
+--------+---------------------------------------------------+
|Version | |
| | |
| | Description |
| | |
+--------+---------------------------------------------------+
| 5.4.0 | |
| | |
| | This function was removed from PHP. |
| | |
| 5.3.0 | |
| | |
| | This function now throws an E_DEPRECATED notice. |
| | |
+--------+---------------------------------------------------+
SEE ALSO
openlog(3), syslog(3), closelog(3).
PHP Documentation Group DEFINE_SYSLOG_VARIABLES(3)