Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...Many thanks to you for putting it together and to the forum members for taking the time to post their replies and give their time to help others. Their isn't another site that can touch it..."

Geography

Where in the world do Tek-Tips members come from?
izlude (TechnicalUser)
9 Aug 12 2:38
Hi everybody, i try to make an log server under ubuntu 11.10, i have try to install NIS but it's only for linux like not for windows.
Please help
ChrisHirst (IS/IT--Management)
9 Aug 12 8:35
And your question is???????????????????????

Chris.

Indifference will be the downfall of mankind, but who cares?
Time flies like an arrow, however, fruit flies like a banana.
Webmaster Forum

izlude (TechnicalUser)
10 Aug 12 2:26
Sorry, i thought you know the question. So my question is "is it possible ?, and how to built this kind of server ?"
Ps: the client is WinXP and the server is Ubuntu
Helpful Member!  Noway2 (Programmer)
10 Aug 12 8:52

Quote:

So my question is "is it possible ?
Yes, it sounds like you want a remote log server.

Quote:

and how to built this kind of server ?"
See this article for a starting point: http://www.linuxjournal.com/content/creating-centr...
izlude (TechnicalUser)
13 Aug 12 1:27
Hi Noway2, thank's for the link but it's very difficult to make an Syslog-ng server, i tried to make one but i don't understand the concept.
Any suggestion?
Noway2 (Programmer)
13 Aug 12 9:02
Not off hand. I've never configured a remote server. You might find some suggestions here: http://www.linuxquestions.org/questions/search.php... There looks to be some "solved" threads on getting a syslog-ng server to work.
izlude (TechnicalUser)
13 Aug 12 9:48
Me again,
Unfortunatly, they don't know "how to make this kind of server".
Thank's for the link
ChrisHirst (IS/IT--Management)
13 Aug 12 10:00

Quote (izlude)

Unfortunatly, they don't know "how to make this kind of server".
Are you sure??

http://www.linuxquestions.org/questions/linux-gene...

And 10 seconds plus Google found this

http://news.softpedia.com/news/Setting-Up-a-Centra...

Chris.

Indifference will be the downfall of mankind, but who cares?
Time flies like an arrow, however, fruit flies like a banana.
Webmaster Forum

izlude (TechnicalUser)
14 Aug 12 2:28
They know how to build an SyslogServer but i don't want to make this kind of server.
I'd like to archive open and close session's log in a linux server.
This is what i want to do:
Client-------send log--------------->linux database server



Client:WinXp
log: contain the timeand date the users open/close a session
database: store the sql file, a database over linux server

So i've try to make a script over winXp to send log in a sql file, problem n°1 it works but the script execute only over admin session.
And the problem n°2, i don't know what kind of server i have to use to store the sql file.
the problem n°3, i've try to make a crontab to execute the sql file, it works but it duplicate the same things.

Thank's to Chris and Noway for the links
Someone can help me to resolve the problem 1,2 and 3

Helpful Member!  IPGuru (TechnicalUser)
14 Aug 12 7:56
i am not sure I have fully understood your requirements but is you are just wanting to update data in a remote sql database (running on your Linux server) then depending on the database engine in use it should be possible to configure your application on the windows box to access the database directly.

for example there is a MySQL ODB driver for windows that would allow you to execute commands on the remote database without the need to transfer any files or run additional cron tasks

A Maintenance contract is essential, not a Luxury.
Do things on the cheap & it will cost you dear

izlude (TechnicalUser)
14 Aug 12 9:06
IPGuru,
Are you sure? can you give me a tutorial link.
I'd try to find one but i don't know what to write in google!
IPGuru (TechnicalUser)
14 Aug 12 9:20
you could try http://dev.mysql.com/downloads/connector/odbc/

A Maintenance contract is essential, not a Luxury.
Do things on the cheap & it will cost you dear

ChrisHirst (IS/IT--Management)
14 Aug 12 9:33
http://www.heidisql.com/

Does your Win XP machine have a fixed IP, otherwise you may have to allow "Wildcard hosts" which is not a particularly good idea

You could install http://dev.mysql.com/downloads/connector/odbc/3.51... , you do of course have to write your own commands for whatever it is you need to do on the server, in a client side process/language/application that can use the ODBC connection that you have set up.

By the way: As you can probably now tell, it wasn't necessarily the question that was not understood, it was what the question actually meant.

A "log server" to a Linux server admin means the system (process) logs, and the only connection to a MySql there is the daemon mysqld.


Chris.

Indifference will be the downfall of mankind, but who cares?
Time flies like an arrow, however, fruit flies like a banana.
Webmaster Forum

izlude (TechnicalUser)
14 Aug 12 9:41
Chris and IPGuru,
Sorry if you don't understand my problem (my english is very bad).
So i want to store windows session's log in a database (over linux).
izlude (TechnicalUser)
14 Aug 12 9:43
I want to do this automatically (it's the reason of the crontab)
Thank's to answer my post
ChrisHirst (IS/IT--Management)
14 Aug 12 9:57
Are you referring to;

"sessions" as in the currently logged in usernames? (As shown from commandline: users <return>)

Or

"sessions" as in the currently active website visitor sessions

Chris.

Indifference will be the downfall of mankind, but who cares?
Time flies like an arrow, however, fruit flies like a banana.
Webmaster Forum

izlude (TechnicalUser)
14 Aug 12 10:04
Yes, Session like the current logged in usernames.
this why i use some bat file to save the users name.

I know i'm not very good with linux but i like this OS
IPGuru (TechnicalUser)
14 Aug 12 10:49
izlude
You English may not be perfect but it is considerably better than my <insert language of your choice here>

A Maintenance contract is essential, not a Luxury.
Do things on the cheap & it will cost you dear

izlude (TechnicalUser)
16 Aug 12 1:07
IpGuru, thank's i take it like a compliment
So have you any idea to help me to build this...kind of server?

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Back To Forum

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close